Confom to newer Ansible lint

This commit is contained in:
Tibor Csóka 2019-04-25 16:11:30 +02:00
parent fa1a56824e
commit 86c5b3f887

View File

@ -22,11 +22,13 @@
ignore_errors: "{{ docker_apt_ignore_key_error }}"
- name: Ensure curl is present (on older systems without SNI).
package: name=curl state=present
get_url:
url: https://download.docker.com/linux/ubuntu/gpg
dest: /tmp/docker-repo-key
when: add_repository_key is failed
- name: Add Docker apt key (alternative for older systems without SNI).
shell: "curl -sSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -"
shell: sudo apt-key add /tmp/docker-repo-key
args:
warn: false
when: add_repository_key is failed