a lot of corrections
This commit is contained in:
@@ -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 }}"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user