remove duplicate key mapping

This commit is contained in:
2024-07-10 11:52:47 +05:30
parent 051f6fbc3f
commit 83a298cae5

View File

@@ -15,11 +15,11 @@
private: no private: no
tasks: tasks:
- name: Modify state of package in debian and ubuntu - name: Modify state of package in debian and ubuntu
tags: debian
apt: apt:
name: "{{ package_name }}" name: "{{ package_name }}"
update_cache: yes update_cache: yes
state: "{{ state }}" state: "{{ state }}"
autoremove: yes autoremove: yes
when: ansible_facts['os_family'] == "Debian" when: ansible_facts['os_family'] == "Debian"
tags: "{{ tag }}" tags:
- "{{ tag }}"