From 9bd6f9cfc14aaaa5b8d49e0d23bcc6db04792f50 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 26 Aug 2014 19:12:00 +0000 Subject: [PATCH] Split this task into 3 --- roles/distgit/tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index 10bf5eddb1..240c5c0e03 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -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