This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
inventory = ./inv/devel/
|
inventory = ./inv/
|
||||||
log_path = ~/.ansible/log_ansible.log
|
log_path = ~/.ansible/log_ansible.log
|
||||||
privat_key_file = ~/.ssh/ansible
|
privat_key_file = ~/.ssh/ansible
|
||||||
roles_path = ./roles
|
roles_path = ./roles
|
||||||
|
|||||||
31
inv/hosts
Executable file
31
inv/hosts
Executable file
@@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
test:
|
||||||
|
hosts:
|
||||||
|
# debian:
|
||||||
|
192.168.50.150:
|
||||||
|
# rocky:
|
||||||
|
dan-jam-02:
|
||||||
|
ras-dan-01:
|
||||||
|
vars:
|
||||||
|
ansible_python_interpreter: "/usr/bin/python3"
|
||||||
|
ansible_ssh_common_args: '-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
|
||||||
|
ansible_user: jonnybravo
|
||||||
|
ansible_become: true
|
||||||
|
|
||||||
|
Prep:
|
||||||
|
hosts:
|
||||||
|
mandan01
|
||||||
|
vars:
|
||||||
|
ansible_python_interpreter: "/usr/bin/python3"
|
||||||
|
ansible_ssh_common_args: '-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
|
||||||
|
ansible_user: jonnybravo
|
||||||
|
ansible_become: true
|
||||||
|
pihome:
|
||||||
|
hosts:
|
||||||
|
192.168.50.150
|
||||||
|
vars:
|
||||||
|
ansible_python_interpreter: "/usr/bin/python3"
|
||||||
|
ansible_ssh_common_args: '-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
|
||||||
|
ansible_user: jonnybravo
|
||||||
|
ansible_become: true
|
||||||
|
|
||||||
Reference in New Issue
Block a user