From e28b32ef3c62f46b70bc0d4103d980a77303888d Mon Sep 17 00:00:00 2001 From: Adrien Date: Thu, 4 Jun 2020 22:32:58 +0200 Subject: [PATCH] fix lint --- tasks/install.yml | 5 ++++- tasks/uninstall.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 4b1edd6..555c83a 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -5,6 +5,9 @@ - config - name: Install packages - package: name='{{ ansible_packages }}' state=latest update_cache=yes + package: + name: '{{ ansible_packages }}' + state: present + update_cache: yes tags: - installation diff --git a/tasks/uninstall.yml b/tasks/uninstall.yml index 9211a40..e2790ed 100644 --- a/tasks/uninstall.yml +++ b/tasks/uninstall.yml @@ -24,4 +24,7 @@ - ansible_distribution == "Debian" - name: Remove Ansible's packages - package: name='{{ ansible_packages }}' state=absent update_cache=yes + package: + name: '{{ ansible_packages }}' + state: absent + update_cache: yes