diff --git a/ansible.cfg b/ansible.cfg index 41fdfb7..76427b4 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -11,7 +11,7 @@ # some basic default values... -inventory = /etc/ansible/hosts.yml +inventory = ~/.ansible/hosts.yml #library = /usr/share/my_modules/ #module_utils = /usr/share/my_module_utils/ #remote_tmp = ~/.ansible/tmp @@ -65,7 +65,7 @@ sudo_user = root # inject_facts_as_vars = True # additional paths to search for roles in, colon separated -roles_path = /etc/ansible/roles +roles_path = ~/.ansible/roles # uncomment this to disable SSH key host checking #host_key_checking = False diff --git a/hosts.yml b/hosts.yml index 50fd07c..b9106a0 100644 --- a/hosts.yml +++ b/hosts.yml @@ -17,6 +17,8 @@ all: ansible_ssh_host: 192.168.0.62 kube3.realm.local: ansible_ssh_host: 192.168.0.63 + kube4.realm.local: + ansible_ssh_host: 192.168.0.64 netcup1: ansible_ssh_host: 89.58.48.28 ansible_ssh_user: caelebfi @@ -40,12 +42,14 @@ all: kube1.realm.local: kube2.realm.local: kube3.realm.local: + kube4.realm.local: realm_remote: netcup1: kubernetes: kube1.realm.local: kube2.realm.local: kube3.realm.local: + kube4.realm.local: vars: ansible_python_interpreter: /usr/bin/python3 - ansible_become_pass: "#gentoo#" \ No newline at end of file + ansible_become_pass: "#gentoo#"