diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-21 19:01:59 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-21 19:01:59 +0200 |
commit | f20e3bf3557451047a3ab035de503cd2ce35a550 (patch) | |
tree | aee99bb289cf4ca1a85ac983e8148f2eb1b8d82c /roles/apt | |
parent | my_server: update docker-compose flags (diff) | |
download | maintenance-f20e3bf3557451047a3ab035de503cd2ce35a550.tar.gz maintenance-f20e3bf3557451047a3ab035de503cd2ce35a550.zip |
fix some ansible-lint warnings
Diffstat (limited to 'roles/apt')
-rw-r--r-- | roles/apt/tasks/main.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml index d658651..297307b 100644 --- a/roles/apt/tasks/main.yml +++ b/roles/apt/tasks/main.yml @@ -1,19 +1,19 @@ - name: Upgrade packages become: true - apt: + ansible.builtin.apt: update_cache: true upgrade: full notify: reboot - name: Flush handlers - meta: flush_handlers + ansible.builtin.meta: flush_handlers - name: Clean up dependencies become: true - apt: + ansible.builtin.apt: autoremove: true purge: true notify: reboot - name: Flush handlers - meta: flush_handlers + ansible.builtin.meta: flush_handlers |