Files
James MilliganandGitHub ea7f24a1d5 Support ignoring of certificates for ansible-galaxy during SCM cloning (#67616)
* Support ignoring of certificates for ansible-galaxy during SCM cloning

* Add integration tests installing a role from an untrusted repository

Test installing the role without --ignore-certs fails
Test installing the role with --ignore-certs is successful
2022-03-24 13:56:21 -04:00

14 lines
388 B
YAML

- name: remove git package
package:
name: git
state: absent
when: git_install.changed
- name: remove openssl package
package:
name: openssl
state: absent
when: ansible_distribution not in ["MacOSX", "Alpine"] and openssl_install.changed
- name: remove openssl package
command: apk del openssl
when: ansible_distribution == "Alpine" and openssl_install.changed