mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-08 14:22:56 +00:00
Improve CI (#268)
* Remove superfluous remote_src. * Use temp dir twice instead of output_dir. * Use remote temp directory instead of output_dir. * Fix syntax error. * Add some fixes. * Copy more files to remote. * More fixes. * Fixing ACME/'cloud' tests. * Forgot when. * Try to fix filters. * Skip unnecessary steps. * Avoid collision.
This commit is contained in:
@@ -42,10 +42,16 @@
|
||||
dest: "/tmp/ansible.pem"
|
||||
when: ansible_os_family == 'FreeBSD'
|
||||
|
||||
- name: FreeBSD - Read test cacert
|
||||
slurp:
|
||||
src: "/tmp/ansible.pem"
|
||||
register: slurp
|
||||
when: ansible_os_family == 'FreeBSD'
|
||||
|
||||
- name: FreeBSD - Add cacert to root certificate store
|
||||
blockinfile:
|
||||
path: "/etc/ssl/cert.pem"
|
||||
block: "{{ lookup('file', '/tmp/ansible.pem') }}"
|
||||
block: "{{ slurp.content | b64decode }}"
|
||||
when: ansible_os_family == 'FreeBSD'
|
||||
|
||||
- name: MacOS - Retrieve test cacert
|
||||
|
||||
Reference in New Issue
Block a user