Dateien zum Ansible Tutorial
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
- 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')
|
|
|
|
|