Fix deprecation warning

master
coaxial 2018-05-11 09:11:11 -04:00
parent 1a05e3ae72
commit 9f9ad7ee92
No known key found for this signature in database
GPG Key ID: D415459853232261
1 changed files with 2 additions and 2 deletions

View File

@ -25,13 +25,13 @@
- name: Ensure curl is present (on older systems without SNI).
package: name=curl state=present
when: add_repository_key|failed
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 -"
args:
warn: no
when: add_repository_key|failed
when: add_repository_key is failed
- name: Add Docker repository.
apt_repository: