From 32c74d6c1d10240e44113dee184d8ca09ffce5a4 Mon Sep 17 00:00:00 2001 From: jonnybravo Date: Mon, 16 Sep 2024 15:26:47 +0200 Subject: [PATCH] added inv --- ansible.cfg | 2 +- inv/hosts | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100755 inv/hosts 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 +