switch for debian/ubuntu
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
- block:
|
||||
- name: docker | install docker | get convenience script
|
||||
get_url:
|
||||
url: "https://get.docker.com"
|
||||
@@ -12,6 +13,7 @@
|
||||
file:
|
||||
path: "/tmp/get-docker.sh" # required. Path to the file being managed.
|
||||
state: absent
|
||||
when: ansible_distribution in ["Debian", "Ubuntu"]
|
||||
|
||||
- name: docker | install docker | docker-compose
|
||||
package:
|
||||
|
||||
Reference in New Issue
Block a user