gather_facts

This commit is contained in:
2023-10-18 15:29:30 +02:00
parent dfc20d7e5e
commit 08e1f406d3
7 changed files with 5012 additions and 0 deletions

12
ansible.cfg Normal file
View File

@@ -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
facts_brandine.txt Normal file

File diff suppressed because it is too large Load Diff

1538
facts_quimby.txt Normal file

File diff suppressed because it is too large Load Diff

1478
facts_terry.txt Normal file

File diff suppressed because it is too large Load Diff

6
gather_facts.yml Normal file
View File

@@ -0,0 +1,6 @@
- hosts: "{{ target }}"
gather_facts: true
remote_user: pi
roles:
- gather-facts

View File

@@ -4,6 +4,7 @@ stack4:
willie:
kirk:
brandine:
terry:
webs:
hosts:

View File

@@ -0,0 +1,3 @@
- name: Informationen sammeln
ansible.builtin.debug:
var: ansible_facts