diff --git a/ansible.cfg b/ansible.cfg index bcb7594..41da49c 100755 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -inventory = ./inv/devel/ +inventory = ./inv/ log_path = ~/.ansible/log_ansible.log privat_key_file = ~/.ssh/ansible roles_path = ./roles diff --git a/inv/hosts b/inv/hosts new file mode 100755 index 0000000..0b8ea62 --- /dev/null +++ b/inv/hosts @@ -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 +