-
Notifications
You must be signed in to change notification settings - Fork 1
/
inventory.yml
38 lines (38 loc) · 1.19 KB
/
inventory.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
all:
children:
# local:
# hosts:
# localhost:
# ansible_connection: local
clients:
vars:
ansible_python_interpreter: /usr/bin/python3
ansible_ssh_connection: ssh
ansible_ssh_common_args: "-o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
ansible_ssh_transfer_method: scp
children:
deb_based:
children:
debian:
hosts:
ansible-client-debian:
ansible_ssh_user: root
ansible_ssh_private_key_file: ~/.ssh/id_rsa
# ubuntu:
# hosts:
# ansible-client-ubuntu:
# ansible_ssh_user: root
# ansible_ssh_private_key_file: ~/.ssh/id_rsa
rpm_based:
children:
almalinux:
hosts:
ansible-client-alma:
ansible_ssh_user: root
ansible_ssh_private_key_file: ~/.ssh/id_rsa
# suse:
# hosts:
# ansible-client-suse:
# ansible_ssh_user: root
# ansible_ssh_private_key_file: ~/.ssh/id_rsa