- docker
- docker.io
when: ansible_distribution == 'Ubuntu'
+ tags:
+ with_pkg
- name: install pip and docker on debian
apt:
- python-pip
- docker-engine
when: ansible_distribution == 'Debian'
+ tags:
+ with_pkg
- name: install pip and docker on redhat
yum:
when:
ansible_os_family == 'RedHat' and
ansible_pkg_mgr == "yum"
+ tags:
+ with_pkg
- name: install pip and docker on redhat
dnf:
when:
ansible_os_family == 'RedHat' and
ansible_pkg_mgr == "dnf"
+ tags:
+ with_pkg
# NOTE (jimcurtis): need at least version 1.9.0 of six or we get:
# re:NameError: global name 'DEFAULT_DOCKER_API_VERSION' is not defined
pip:
name: six
version: 1.9.0
+ tags:
+ with_pkg
# NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py
pip:
name: docker-py
version: 1.1.0
+ tags:
+ with_pkg