Skip to content
Snippets Groups Projects
Forked from infrastruktur / ansible-warpzone
1229 commits behind the upstream repository.
main.yml 379 B
---

- name: install deb packages
  apt:
    pkg: "{{ item }}"
    update_cache: yes
    state: installed
  with_items:
    - docker-ce
    - python 
    - python-pip
    
- name: uninstall pip packages
  pip: 
    name: docker-py
    state: absent

- name: install pip packages
  pip: 
    name: "{{ item }}"
    state: present
  with_items:
    - docker
    - docker-compose