You've already forked ansible-role-customca
Fixed broken loop
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
---
|
||||
- name: Find trusted root certificates to add
|
||||
- find:
|
||||
paths: /var/log
|
||||
paths: files/ca_certs
|
||||
register: ca_cert_files
|
||||
|
||||
- name: Copy public certificate files
|
||||
copy:
|
||||
src: files/ca_certs/
|
||||
src: "{{ item.path }}"
|
||||
dest: /etc/pki/ca-trust/source/anchors/
|
||||
become: true
|
||||
with_items: ca_cert_files
|
||||
with_items: ca_cert_files.files
|
||||
when: ca_cert_files.matched > 0
|
||||
notify: Update Trust Store
|
||||
|
||||
|
||||
Reference in New Issue
Block a user