diff --git a/playbooks/modify-package-state.yml b/playbooks/modify-package-state.yml index e6fc2d8..79310c1 100644 --- a/playbooks/modify-package-state.yml +++ b/playbooks/modify-package-state.yml @@ -15,11 +15,11 @@ private: no tasks: - name: Modify state of package in debian and ubuntu - tags: debian apt: name: "{{ package_name }}" update_cache: yes state: "{{ state }}" autoremove: yes when: ansible_facts['os_family'] == "Debian" - tags: "{{ tag }}" \ No newline at end of file + tags: + - "{{ tag }}"