added inv
All checks were successful
multibranch_ansible/pipeline/head This commit looks good

This commit is contained in:
2024-09-16 15:26:47 +02:00
parent e61cecf838
commit 32c74d6c1d
2 changed files with 32 additions and 1 deletions

View File

@@ -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
View 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