Replaces many references to file: with ansible.builtin.file Signed-off-by: Ryan Lerch <rlerch@redhat.com>
9 lines
349 B
YAML
9 lines
349 B
YAML
---
|
|
- name: Ensure /backup dir
|
|
ansible.builtin.file: path=/backup state=directory
|
|
|
|
- name: Copy pubkey for backup encryption
|
|
copy: src="{{ private }}/files/copr/keygen/backup_key.asc" dest="/root/backup_key.asc"
|
|
|
|
- name: Copy backup script
|
|
copy: src="backup_keyring.sh" dest="/etc/cron.hourly/backup_keyring.sh" owner=root group=root mode=755
|