diff --git a/datacoop_hosts b/datacoop_hosts index 14fb72bb..55b667f4 100644 --- a/datacoop_hosts +++ b/datacoop_hosts @@ -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 \ No newline at end of file +[datacoop2] +10.1.1.199 \ No newline at end of file diff --git a/roles/playbook.yml b/roles/playbook.yml index 92d09de8..76f06a6e 100644 --- a/roles/playbook.yml +++ b/roles/playbook.yml @@ -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" \ No newline at end of file