initial project commit; add ansible.cfg and inventory (hosts)
This commit is contained in:
commit
2d97fbda12
27
ansible.cfg
Normal file
27
ansible.cfg
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
[defaults]
|
||||||
|
inventory = hosts
|
||||||
|
roles_path = roles
|
||||||
|
collections_path = collections
|
||||||
|
remote_tmp = /tmp/.ansible-${USER}/tmp
|
||||||
|
gathering = smart
|
||||||
|
gather_timeout = 300
|
||||||
|
fact_path = facts.d
|
||||||
|
fact_caching = jsonfile
|
||||||
|
fact_caching_connection = facts.d
|
||||||
|
fact_caching_timeout = 300
|
||||||
|
retry_files_enabled = False
|
||||||
|
forks = 40
|
||||||
|
timeout = 30
|
||||||
|
host_key_checking = False
|
||||||
|
display_skipped_hosts = False
|
||||||
|
bin_ansible_callbacks = True
|
||||||
|
callback_whitelist = ansible.posix.profile_tasks, ansible.posix.timer
|
||||||
|
deprecation_warnings = False
|
||||||
|
command_warnings = False
|
||||||
|
#strategy = free
|
||||||
|
|
||||||
|
|
||||||
|
[ssh_connection]
|
||||||
|
pipelining = True
|
||||||
|
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o PreferredAuthentications=publickey
|
||||||
|
|
22
hosts
Normal file
22
hosts
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
[dev]
|
||||||
|
lab-dev-1 ansible_host=10.10.42.235
|
||||||
|
lab-dev-2 ansible_host=10.10.42.203
|
||||||
|
lab-dev-3 ansible_host=10.10.42.218
|
||||||
|
lab-dev-4 ansible_host=10.10.42.240
|
||||||
|
lab-dev-5 ansible_host=10.10.42.208
|
||||||
|
lab-dev-6 ansible_host=10.10.42.213
|
||||||
|
lab-dev-7 ansible_host=10.10.42.202
|
||||||
|
lab-dev-8 ansible_host=10.10.42.220
|
||||||
|
lab-dev-9 ansible_host=10.10.42.239
|
||||||
|
lab-dev-10 ansible_host=10.10.42.246
|
||||||
|
lab-dev-11 ansible_host=10.10.42.244
|
||||||
|
lab-dev-12 ansible_host=10.10.42.145
|
||||||
|
lab-dev-13 ansible_host=10.10.42.147
|
||||||
|
lab-dev-14 ansible_host=10.10.42.157
|
||||||
|
lab-dev-15 ansible_host=10.10.42.177
|
||||||
|
lab-dev-16 ansible_host=10.10.42.133
|
||||||
|
lab-dev-17 ansible_host=10.10.42.179
|
||||||
|
lab-dev-18 ansible_host=10.10.42.165
|
||||||
|
lab-dev-19 ansible_host=10.10.42.188
|
||||||
|
lab-dev-20 ansible_host=10.10.42.142
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user