Displaying 1 result from an estimated 1 matches for "rpm_key_module".
2017 Mar 05
1
How to automatically confirm importing repo key?
...loud.io/gpg.key
sslverify: 1
sslcacert: /etc/pki/tls/certs/ca-bundle.crt
# http://docs.ansible.com/ansible/command_module.html
- name: (1) Add repository key (shell command)
command: rpm --import https://packagecloud.io/gpg.key
# # http://docs.ansible.com/ansible/rpm_key_module.html
# - name: (2) Add repository key (python code)
# rpm_key:
# key: https://packagecloud.io/gpg.key
# http://docs.ansible.com/ansible/yum_module.html
- name: Install nginx
yum: name={{ item }}
with_items: nginx
ansible fails performing the last task with:...