Skip to content

Commit

Permalink
Merge pull request #32 from dennisse/github
Browse files Browse the repository at this point in the history
Move autoremove after remove
  • Loading branch information
tersmitten authored May 1, 2020
2 parents 3bf8483 + 11f66a8 commit f0e9a86
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,6 @@
- apt
- apt-clean

- name: autoremove
apt:
autoremove: true
dpkg_options: "{{ apt_upgrade_dpkg_options | join(',') }}"
when: apt_autoremove
tags:
- configuration
- apt
- apt-autoremove

- name: install
apt:
name: "{{ apt_install }}"
Expand All @@ -110,3 +100,13 @@
- configuration
- apt
- apt-remove

- name: autoremove
apt:
autoremove: true
dpkg_options: "{{ apt_upgrade_dpkg_options | join(',') }}"
when: apt_autoremove
tags:
- configuration
- apt
- apt-autoremove

0 comments on commit f0e9a86

Please sign in to comment.