diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-01 00:26:13 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-01 00:26:13 +0200 |
commit | a89e16c44ee6d038e4f4cf435902e66558cc5cf4 (patch) | |
tree | 745201ec1b6b2e6f5239cf4feaf790fb4a138654 /roles/docker/tasks | |
parent | apt: don't remove after autoremoving dependencies (diff) | |
download | infra-ansible-a89e16c44ee6d038e4f4cf435902e66558cc5cf4.tar.gz infra-ansible-a89e16c44ee6d038e4f4cf435902e66558cc5cf4.zip |
sort module args, add missing state args, etc.
Diffstat (limited to '')
-rw-r--r-- | roles/docker/tasks/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index 639615b..242a500 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -1,12 +1,12 @@ - name: Install Docker become: true ansible.builtin.apt: - install_recommends: false name: - docker.io - docker-compose - policy_rc_d: 101 state: present + install_recommends: false + policy_rc_d: 101 notify: docker_restart - name: Configure Docker logging driver @@ -19,10 +19,10 @@ - name: Clean up Docker data become: true community.docker.docker_prune: + builder_cache: true containers: true images: true images_filters: dangling: false networks: true volumes: true - builder_cache: true |