Split this task into 3
This commit is contained in:
parent
9c65d0e673
commit
9bd6f9cfc1
1 changed files with 5 additions and 1 deletions
|
@ -138,9 +138,13 @@
|
|||
copy: src={{private}}/fedora-ca.cert dest=/etc/httpd/conf/cacert.pem
|
||||
copy: src={{private}}/pkgs.fedoraproject.org_key_and_cert.pem dest=/etc/httpd/conf/pkgs.fedoraproject.org_key_and_cert.pem owner=apache mode=0400
|
||||
|
||||
- name: install, run, and schedule the updatecrl.sh script
|
||||
- name: install the updatecrl.sh script
|
||||
copy: src=updatecrl.sh dest=/usr/local/bin/updatecrl.sh owner=root mode=755
|
||||
|
||||
- name: run the updatecrl script
|
||||
command: /usr/local/bin/updatecrl.sh creates=/etc/pki/tls/crl.pem
|
||||
|
||||
- name: schedule cron job to run the updatectl script
|
||||
cron: >
|
||||
name="updatecrl" cron_file="ansible-updatecrl"
|
||||
minute=0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue