Skip to content

Commit

Permalink
refactor: rename handler
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed Oct 18, 2019
1 parent 8d10f38 commit 0464d1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

- name: update certificates
- name: update ca certificates
command: "{{ openssl_cacert_update_certs_command }}"
8 changes: 4 additions & 4 deletions tasks/cacert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@

- name: Create directory for CAcert certificates
file:
path: "{{ openssl_cacert_certificates_path }}"
state: directory
recurse: yes
group: root
owner: root
state: directory
path: "{{ openssl_cacert_certificates_path }}"

- name: Download CAcert Class 1 PKI key
get_url:
dest: "{{ openssl_cacert_certificates_path }}"
url: http://www.cacert.org/certs/root.crt
sha256sum: "{{ openssl_cacert_class_one_key_sha256 }}"
notify: update certificates
notify: update ca certificates

- name: Download CAcert Class 3 PKI key
get_url:
dest: "{{ openssl_cacert_certificates_path }}"
url: http://www.cacert.org/certs/class3.crt
sha256sum: "{{ openssl_cacert_class_three_key_sha256 }}"
notify: update certificates
notify: update ca certificates

0 comments on commit 0464d1b

Please sign in to comment.