diff --git a/Readme.md b/Readme.md index 9820f72..6fb945c 100644 --- a/Readme.md +++ b/Readme.md @@ -37,12 +37,14 @@ Uses the `[first_master]` group from the *inventory* to select the first master. ### 5. Join other masters -Uses the `[other_masters]` group from the *inventory*. +Uses the `[other_masters]` group from the *inventory*.\ +Do it **ONE-by-ONE**. `ansible-playbook -i inventory -u root join-control-plane.yml` ### 6. Join workers -Uses the `[workers]` group from the *inventory*. +Uses the `[workers]` group from the *inventory*.\ +Do it **ONE-by-ONE**. `ansible-playbook -i inventory -u root join-workers.yml` diff --git a/group_vars/all.yml b/group_vars/all.yml index dd99968..3524989 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -1 +1 @@ -cluster_endpoint: cluster \ No newline at end of file +cluster_endpoint: control.cluster \ No newline at end of file diff --git a/inventory b/inventory index 79389e4..6b26955 100644 --- a/inventory +++ b/inventory @@ -1,13 +1,13 @@ [nodes] -192.168.122.178 -192.168.122.166 -192.168.122.103 +192.168.123.11 +192.168.123.12 +192.168.123.13 [first_master] -192.168.122.178 +192.168.123.11 [other_masters] -192.168.122.166 -192.168.122.103 +; 192.168.123.12 +192.168.123.13 [workers] diff --git a/roles/node/defaults/main.yml b/roles/node/defaults/main.yml index a51fae2..da13481 100644 --- a/roles/node/defaults/main.yml +++ b/roles/node/defaults/main.yml @@ -15,11 +15,13 @@ packages: # networking hostnames: - - ip: 192.168.122.178 - name: cluster + - ip: 192.168.123.10 + name: control.cluster + - ip: 192.168.123.1 + name: bigboss interface_name: lan0 -gateway: 192.168.122.1 +gateway: 192.168.123.1 nameservers: - 192.168.1.1 - 1.1.1.1