diff --git a/hosts b/hosts index edd2803..547c478 100644 --- a/hosts +++ b/hosts @@ -7,7 +7,7 @@ scaleway ansible_host=163.172.84.28 ansible_user=stephane scaleway ansible_host=163.172.84.28 ansible_user=stephane -[swarm] +[cluster] scale01 ansible_host=163.172.209.36 ansible_user=stephane ovh01 ansible_host=5.135.181.11 ansible_user=stephane @@ -19,6 +19,6 @@ ovh01 ansible_host=5.135.181.11 ansible_user=stephane #worker ansible_host=192.168.121.128 ansible_user=vagrant ansible_ssh_pass=vagrant scale01 ansible_host=163.172.209.36 ansible_user=stephane -[vagrant:children] +[swarm:children] docker_swarm_manager docker_swarm_worker \ No newline at end of file diff --git a/swarm.yml b/swarm.yml index c31cf3e..30ec05a 100644 --- a/swarm.yml +++ b/swarm.yml @@ -1,8 +1,7 @@ --- - name: Swarm - hosts: - # - control - - vagrant + hosts: + - swarm become: true #