From d8db111bb38f5d764ddfa853629a42e86e9572ac Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 29 Aug 2019 20:46:56 +0300 Subject: [PATCH] Feat(apt): Remove option `purge` It's used only with `state: absent`. --- playbooks/debian/init-local-phd.yml | 1 - playbooks/debian/roles/apache/tasks/main.yml | 1 - playbooks/debian/roles/dehydrated/tasks/main.yml | 1 - playbooks/debian/roles/dev-packages/tasks/main.yml | 1 - playbooks/debian/roles/init-system/tasks/apt.yml | 1 - playbooks/debian/roles/init-system/tasks/python.yml | 1 - playbooks/debian/roles/logcheck/tasks/main.yml | 1 - playbooks/debian/roles/named/tasks/main.yml | 1 - playbooks/debian/roles/packages/tasks/main.yml | 1 - playbooks/debian/roles/remove-systemd/tasks/main.yml | 1 - playbooks/debian/update-all-apt.yml | 1 - 11 files changed, 11 deletions(-) diff --git a/playbooks/debian/init-local-phd.yml b/playbooks/debian/init-local-phd.yml index 2a740e5..f43b7d8 100644 --- a/playbooks/debian/init-local-phd.yml +++ b/playbooks/debian/init-local-phd.yml @@ -26,6 +26,5 @@ autoremove: yes install_recommends: no name: ['fvwm', 'rxvt-unicode', 'xorg'] - purge: yes state: latest update_cache: yes diff --git a/playbooks/debian/roles/apache/tasks/main.yml b/playbooks/debian/roles/apache/tasks/main.yml index ac576c0..e893ce4 100644 --- a/playbooks/debian/roles/apache/tasks/main.yml +++ b/playbooks/debian/roles/apache/tasks/main.yml @@ -16,7 +16,6 @@ autoremove: yes install_recommends: no name: apache2 - purge: yes state: latest update_cache: yes diff --git a/playbooks/debian/roles/dehydrated/tasks/main.yml b/playbooks/debian/roles/dehydrated/tasks/main.yml index c80d72f..0b7ae4d 100644 --- a/playbooks/debian/roles/dehydrated/tasks/main.yml +++ b/playbooks/debian/roles/dehydrated/tasks/main.yml @@ -14,7 +14,6 @@ autoremove: yes install_recommends: no name: git - purge: yes state: latest update_cache: yes diff --git a/playbooks/debian/roles/dev-packages/tasks/main.yml b/playbooks/debian/roles/dev-packages/tasks/main.yml index be93096..852de97 100644 --- a/playbooks/debian/roles/dev-packages/tasks/main.yml +++ b/playbooks/debian/roles/dev-packages/tasks/main.yml @@ -6,6 +6,5 @@ install_recommends: no name: ['gcc', 'g++', 'git', 'make', ] - purge: yes state: latest update_cache: yes diff --git a/playbooks/debian/roles/init-system/tasks/apt.yml b/playbooks/debian/roles/init-system/tasks/apt.yml index b0b1dbb..2173229 100644 --- a/playbooks/debian/roles/init-system/tasks/apt.yml +++ b/playbooks/debian/roles/init-system/tasks/apt.yml @@ -29,7 +29,6 @@ 'gnupg', 'gnupg2', 'logcheck', 'mc', 'mutt', 'procmail', 'rsync', 'unzip', 'vim', 'wget', 'zip', ] - purge: yes state: latest update_cache: yes diff --git a/playbooks/debian/roles/init-system/tasks/python.yml b/playbooks/debian/roles/init-system/tasks/python.yml index 447cb42..e2667e1 100644 --- a/playbooks/debian/roles/init-system/tasks/python.yml +++ b/playbooks/debian/roles/init-system/tasks/python.yml @@ -7,7 +7,6 @@ name: ['python', 'python2.7', 'python3', 'python-pip', 'python3-pip', 'python-setuptools', 'python3-setuptools', ] - purge: yes state: latest update_cache: yes register: python diff --git a/playbooks/debian/roles/logcheck/tasks/main.yml b/playbooks/debian/roles/logcheck/tasks/main.yml index 81a2b55..e11edf7 100644 --- a/playbooks/debian/roles/logcheck/tasks/main.yml +++ b/playbooks/debian/roles/logcheck/tasks/main.yml @@ -5,7 +5,6 @@ autoremove: yes install_recommends: no name: logcheck - purge: yes state: latest update_cache: yes diff --git a/playbooks/debian/roles/named/tasks/main.yml b/playbooks/debian/roles/named/tasks/main.yml index d3bf3da..f0410a9 100644 --- a/playbooks/debian/roles/named/tasks/main.yml +++ b/playbooks/debian/roles/named/tasks/main.yml @@ -16,7 +16,6 @@ autoremove: yes install_recommends: no name: bind9 - purge: yes state: latest update_cache: yes diff --git a/playbooks/debian/roles/packages/tasks/main.yml b/playbooks/debian/roles/packages/tasks/main.yml index f4fd360..53f8c52 100644 --- a/playbooks/debian/roles/packages/tasks/main.yml +++ b/playbooks/debian/roles/packages/tasks/main.yml @@ -7,6 +7,5 @@ name: ['adjtimex', 'arj', 'bsd-mailx', 'elinks', 'fetchmail', 'links2', 'lzip', 'lzma', 'lzop', 'p7zip', 'xz-utils', ] - purge: yes state: latest update_cache: yes diff --git a/playbooks/debian/roles/remove-systemd/tasks/main.yml b/playbooks/debian/roles/remove-systemd/tasks/main.yml index 80aead0..109694e 100644 --- a/playbooks/debian/roles/remove-systemd/tasks/main.yml +++ b/playbooks/debian/roles/remove-systemd/tasks/main.yml @@ -16,7 +16,6 @@ autoremove: yes install_recommends: no name: ['sysvinit-core', 'sysvinit-utils'] - purge: yes state: latest update_cache: yes diff --git a/playbooks/debian/update-all-apt.yml b/playbooks/debian/update-all-apt.yml index 40a1af7..ac2b31e 100644 --- a/playbooks/debian/update-all-apt.yml +++ b/playbooks/debian/update-all-apt.yml @@ -9,6 +9,5 @@ autoremove: yes install_recommends: no name: "*" - purge: yes state: latest update_cache: yes -- 2.39.5