[copr] enable backup script on copr-keygen
This commit is contained in:
parent
b036f59214
commit
5822698bdb
1 changed files with 7 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
||||||
- name: ensure /backup dir
|
- name: ensure /backup dir
|
||||||
file: path=/backup state=directory
|
file: path=/backup state=directory
|
||||||
|
|
||||||
#- name: copy pubkey for backup encryption
|
- name: copy pubkey for backup encryption
|
||||||
# copy: src="{{ private }}/files/copr/keygen/backup_key.asc" dest="/root/backup_key.asc"
|
copy: src="{{ private }}/files/copr/keygen/backup_key.asc" dest="/root/backup_key.asc"
|
||||||
#
|
|
||||||
#- name: import pubkey for backup encryption
|
|
||||||
# shell: "gpg2 --import /root/backup_key.asc || true"
|
|
||||||
#
|
|
||||||
#- name: copy backup script
|
|
||||||
# copy: src="backup_keyring.sh" dest="/etc/cron.daily/backup_keyring.sh" owner=root group=root mode=755
|
|
||||||
|
|
||||||
|
- name: import pubkey for backup encryption
|
||||||
|
shell: "gpg2 --import /root/backup_key.asc || true"
|
||||||
|
|
||||||
|
- name: copy backup script
|
||||||
|
copy: src="backup_keyring.sh" dest="/etc/cron.hourly/backup_keyring.sh" owner=root group=root mode=755
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue