blob: f091cf854497a34814194be23eb8e205c42d77bd [file] [log] [blame]
---
- name: Remove docker-python that is conflicting with python2-docker
package:
name: docker-python
state: absent
- name: Download python2-docker rpm for Ansible (docker_container module dep)
get_url:
url: "{{ python2_docker_rpm_url }}"
dest: "{{ rpm_dir }}"
register: rpm
- name: Install docker python module
package:
name: "{{ rpm_dir + '/' + python2_docker_rpm }}"
state: present