Switch to using run_once instead of matching the first node only
Ansible allows us to run tasks once so we should use that, also the service add is not something that has to be necessarily be done on the first node specifically. Change-Id: I6826fd89dfa09b8f8567a85e61c2210e8d3f76e1
This commit is contained in:
parent
1092950508
commit
d5afc9ff8c
@ -49,7 +49,7 @@
|
||||
- octavia-install
|
||||
|
||||
- include: octavia_service_add.yml
|
||||
when: inventory_hostname == groups['octavia_all'][0]
|
||||
run_once: true
|
||||
tags:
|
||||
- octavia-install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user