Split this task into 3

This commit is contained in:
Kevin Fenzi 2014-08-26 19:12:00 +00:00
parent 9c65d0e673
commit 9bd6f9cfc1

View file

@ -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