aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/roles/docker/tasks/main.yml
blob: ae8f668d4e538196b78bd1c89dd46077511c6766 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                             







                                
- name: Install Docker
  become: true
  ansible.builtin.apt:
    install_recommends: false
    name:
      - docker.io
      - docker-compose
    state: present

- name: Clean up Docker data
  become: true
  community.docker.docker_prune:
    containers: true
    images: true
    images_filters:
      dangling: false
    networks: true
    volumes: true
    builder_cache: true