Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dnmvisser committed Jul 9, 2020
1 parent 0e268c8 commit ce3e26c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- import_tasks: packages.yml
tags: [crt]

- import_tasks: verify_pair.yml
tags: [crt,verify]

Expand Down
8 changes: 4 additions & 4 deletions tasks/materials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@
- name: Ensure PEM encoded all-in-one (key/crt/ca) is available
copy:
content: "{{ tls_cert_key }}{{ tls_cert_crt }}{{ tls_cert_ca }}"
dest: "{{ tls_cert_key_dest_dir }}/{{tls_cert_pem_dest_name }}"
dest: "{{ tls_cert_key_dest_dir }}/{{ tls_cert_pem_dest_name }}"
owner: "{{ tls_cert_key_owner }}"
group: "{{ tls_cert_key_group }}"
mode: "{{ tls_cert_key_mode }}"
notify: restart_services

# Cert
- name: Ensure PEM encoded certificate is available
copy:
content: "{{ tls_cert_crt }}"
dest: "{{ tls_cert_crt_dest_dir }}/{{tls_cert_crt_dest_name }}"
dest: "{{ tls_cert_crt_dest_dir }}/{{ tls_cert_crt_dest_name }}"
owner: "{{ tls_cert_crt_owner }}"
group: "{{ tls_cert_crt_group }}"
mode: "{{ tls_cert_crt_mode }}"
Expand All @@ -61,7 +61,7 @@
- name: Ensure PEM encoded certficate + CA is available
copy:
content: "{{ tls_cert_crt }}\n{{ tls_cert_ca }}"
dest: "{{ tls_cert_crt_dest_dir }}/{{tls_cert_full_dest_name }}"
dest: "{{ tls_cert_crt_dest_dir }}/{{ tls_cert_full_dest_name }}"
owner: "{{ tls_cert_crt_owner }}"
group: "{{ tls_cert_crt_group }}"
mode: "{{ tls_cert_crt_mode }}"
Expand Down

0 comments on commit ce3e26c

Please sign in to comment.