main.yml 271 B

123456789
  1. - name: copy SSL CA cert
  2. copy:
  3. src: "{{ item.source_path }}"
  4. dest: "{{ ssl_ca_certs_install_path }}/{{ item.source_path | basename | splitext | first}}.crt"
  5. owner: root
  6. group: root
  7. mode: u=rw,g=r,o=r
  8. become: yes
  9. with_items: "{{ ssl_ca_certs }}"