ens18 is the new interface for swarm need to put this in a param
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
|
||||
vars:
|
||||
join_addr:
|
||||
"{{ hostvars[groups['swarm-bootstrap'][0]].ansible_eth0.ipv4.address }}"
|
||||
"{{ hostvars[groups['swarm-bootstrap'][0]].ansible_ens18.ipv4.address }}"
|
||||
manager_key:
|
||||
"{{ hostvars[groups['swarm-bootstrap'][0]]['manager_key']['stdout'] }}"
|
||||
tasks:
|
||||
@@ -61,7 +61,7 @@
|
||||
ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
|
||||
vars:
|
||||
join_addr:
|
||||
"{{ hostvars[groups['swarm-bootstrap'][0]].ansible_eth0.ipv4.address }}"
|
||||
"{{ hostvars[groups['swarm-bootstrap'][0]].ansible_ens18.ipv4.address }}"
|
||||
worker_key:
|
||||
"{{ hostvars[groups['swarm-bootstrap'][0]]['worker_key']['stdout'] }}"
|
||||
tasks:
|
||||
|
||||
Reference in New Issue
Block a user