IP addresses for setup
This commit is contained in:
parent
fa8425ba2a
commit
ff792d4cc5
|
@ -1,16 +1,16 @@
|
||||||
######################################
|
######################################
|
||||||
### All hosts
|
### All hosts
|
||||||
10.0.0.140
|
10.1.1.198
|
||||||
10.0.0.145
|
10.1.1.199
|
||||||
|
|
||||||
######################################
|
######################################
|
||||||
### Application servers
|
### Application servers
|
||||||
[all_kubernetes_servers]
|
[all_servers]
|
||||||
10.0.0.140
|
10.1.1.198
|
||||||
10.0.0.145
|
10.1.1.199
|
||||||
|
|
||||||
[kubernetes_master_server]
|
[datacoop1]
|
||||||
10.0.0.145
|
10.1.1.198
|
||||||
|
|
||||||
[kubernetes_slave_servers]
|
[datacoop2]
|
||||||
10.0.0.140
|
10.1.1.199
|
|
@ -23,8 +23,8 @@
|
||||||
roles:
|
roles:
|
||||||
- "ubuntu_base"
|
- "ubuntu_base"
|
||||||
|
|
||||||
- name: "Install docker on all kubernetes servers"
|
- name: "Install docker on all servers"
|
||||||
hosts: "all_kubernetes_servers"
|
hosts: "all_servers"
|
||||||
become: yes
|
become: yes
|
||||||
roles:
|
roles:
|
||||||
- "docker"
|
- "docker"
|
Loading…
Reference in a new issue