gather_facts
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
|||||||
|
[defaults]
|
||||||
|
inventory = inventory.yml
|
||||||
|
interpreter_python = auto_silent
|
||||||
|
nocows = 1
|
||||||
|
timeout= 60
|
||||||
|
force_valid_group_names = ignore
|
||||||
|
#private_key_file = ~/.ssh/id_ed25519
|
||||||
|
private_key_file = ~/.ssh/id_rsa
|
||||||
|
|
||||||
|
[ssh_connection]
|
||||||
|
ssh_args = -o StrictHostKeyChecking=no
|
||||||
|
|
||||||
+1974
File diff suppressed because it is too large
Load Diff
+1538
File diff suppressed because it is too large
Load Diff
+1478
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
|||||||
|
- hosts: "{{ target }}"
|
||||||
|
gather_facts: true
|
||||||
|
remote_user: pi
|
||||||
|
roles:
|
||||||
|
- gather-facts
|
||||||
|
|
||||||
@@ -4,6 +4,7 @@ stack4:
|
|||||||
willie:
|
willie:
|
||||||
kirk:
|
kirk:
|
||||||
brandine:
|
brandine:
|
||||||
|
terry:
|
||||||
|
|
||||||
webs:
|
webs:
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- name: Informationen sammeln
|
||||||
|
ansible.builtin.debug:
|
||||||
|
var: ansible_facts
|
||||||
Reference in New Issue
Block a user