diff --git a/ansible/inventories/externals.yml b/ansible/inventories/externals.yml new file mode 100644 index 0000000..e737f91 --- /dev/null +++ b/ansible/inventories/externals.yml @@ -0,0 +1,9 @@ +external_hosts: + children: + rup_tests: + hosts: + liquid: + ansible_host: 146.48.108.15 + nextrup_copy_test: + ansible_host: 146.48.108.16 + diff --git a/ansible/inventories/group_vars/all/all.yml b/ansible/inventories/group_vars/all/all.yml new file mode 100644 index 0000000..57b2a51 --- /dev/null +++ b/ansible/inventories/group_vars/all/all.yml @@ -0,0 +1,2 @@ +ansible_user: ansible +ansible_password: "{{ ansible_crypted_password }}" \ No newline at end of file diff --git a/ansible/inventories/group_vars/all/vault.yaml b/ansible/inventories/group_vars/all/vault.yaml new file mode 100644 index 0000000..0f8d593 --- /dev/null +++ b/ansible/inventories/group_vars/all/vault.yaml @@ -0,0 +1,7 @@ +$ANSIBLE_VAULT;1.1;AES256 +37333066623836633836613066346434626134336537663236396639346235386362336637376534 +3833636230313835326663306236333837343337393530390a636464393562346662613838343738 +39356439343862633937313539323661303866316164343830363431626435396636386366376263 +6536393735363663650a383461666230633838303436643837636562343366313235393264666462 +38643366653861666364363538333230656539663134646566666664626463343433613166393337 +3432333863646664336262353262333635323436326430376465 diff --git a/ansible/inventories/host_vars/inspector.home.arpa.yml b/ansible/inventories/host_vars/inspector.home.arpa.yml new file mode 100644 index 0000000..7166053 --- /dev/null +++ b/ansible/inventories/host_vars/inspector.home.arpa.yml @@ -0,0 +1,2 @@ +--- +ansible_user: clouseau \ No newline at end of file diff --git a/ansible/inventories/main_lab.yaml b/ansible/inventories/main_lab.yaml new file mode 100644 index 0000000..9c2e7cc --- /dev/null +++ b/ansible/inventories/main_lab.yaml @@ -0,0 +1,34 @@ +main_lab_hosts: + children: + lan: + hosts: + inspector.home.arpa: + god.home.arpa: + swarm: + children: + enabling: + hosts: + enabling[1:3].home.arpa: + swarm_master: true + swarm_drain: false + vars: + swarm_name: enabling + swarm1: + hosts: + swarm1m[1:3].home.arpa: + swarm_master: true + swarm1w[1:4].home.arpa: + vars: + swarm_name: the_swarm + cluster: + hosts: + worker[1:3].home.arpa: + front: + hosts: + edge.home.arpa: + operators: + children: + lan: + enabling: + + diff --git a/ansible/inventories/production.yaml b/ansible/inventories/production.yaml new file mode 100644 index 0000000..e7de252 --- /dev/null +++ b/ansible/inventories/production.yaml @@ -0,0 +1,7 @@ +prouction_hosts: + children: + public_access: + hosts: + #cloud.reterup.it: + # ansible_host: 146.48.108.17 + diff --git a/ansible/inventories/prox1_lab.yaml b/ansible/inventories/prox1_lab.yaml new file mode 100644 index 0000000..8fb3a02 --- /dev/null +++ b/ansible/inventories/prox1_lab.yaml @@ -0,0 +1,6 @@ +prox1_lab_hosts: + children: + front: + hosts: + prox1: + ansible_host: 146.48.108.11 \ No newline at end of file