a lot of corrections

This commit is contained in:
2024-07-10 11:58:07 +05:30
parent 336688d51f
commit 53599a9197

View File

@@ -1,5 +1,5 @@
--- ---
- hosts: all - hosts: "{{ tag }}"
become: true become: true
vars_files: vars_files:
- ../secret - ../secret
@@ -11,7 +11,7 @@
prompt: "State" prompt: "State"
private: no private: no
- name: tag - name: tag
hosts: "hosts" prompt: "hosts"
private: no private: no
tasks: tasks:
- name: Modify state of package in debian and ubuntu - name: Modify state of package in debian and ubuntu
@@ -21,5 +21,3 @@
state: "{{ state }}" state: "{{ state }}"
autoremove: yes autoremove: yes
when: ansible_facts['os_family'] == "Debian" when: ansible_facts['os_family'] == "Debian"
hosts:
- "{{ tag }}"