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