mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-23 19:06:54 +01:00
Merge pull request #61 from coaxial/fix-warning
Fix 'using tests as filters' deprecation warning
This commit is contained in:
commit
99dc588c77
@ -25,13 +25,13 @@
|
|||||||
|
|
||||||
- name: Ensure curl is present (on older systems without SNI).
|
- name: Ensure curl is present (on older systems without SNI).
|
||||||
package: name=curl state=present
|
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).
|
- 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: "curl -sSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -"
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
when: add_repository_key|failed
|
when: add_repository_key is failed
|
||||||
|
|
||||||
- name: Add Docker repository.
|
- name: Add Docker repository.
|
||||||
apt_repository:
|
apt_repository:
|
||||||
|
Loading…
Reference in New Issue
Block a user