subtasks.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
- name: Informationen sammeln
|
||||
ansible.builtin.debug:
|
||||
var: ansible_facts
|
||||
|
||||
- name: leeres File anlegen
|
||||
file:
|
||||
path: /home/pi/testwhen
|
||||
state: touch
|
||||
when: (ansible_facts['hostname'] == 'brandine' or ansible_facts['hostname'] == 'kirk')
|
||||
|
||||
|
Reference in New Issue
Block a user