diff options
| author | Jeffrey Zhang <jeffrey.zhang@99cloud.net> | 2016-06-30 19:08:06 +0800 |
|---|---|---|
| committer | Jeffrey Zhang <jeffrey.zhang@99cloud.net> | 2016-07-02 11:20:45 +0800 |
| commit | fd641380ad42d0c75b607b6750efbcf046b084e1 (patch) | |
| tree | e455aa16424774288ffed2c2bc60fae66d9e1993 | |
| parent | b6e51e9531caaa6bda58de5c91e288763c588de2 (diff) | |
| download | kolla-fd641380ad42d0c75b607b6750efbcf046b084e1.tar.gz kolla-fd641380ad42d0c75b607b6750efbcf046b084e1.zip | |
Fix the upgrade haproxy failed
The haproxy failed when there is one stand alone network node
Closes-Bug: #1598339
Change-Id: I3390ee37eb51c292fc5149fc22b4f6a6f07da688
| -rw-r--r-- | ansible/roles/haproxy/tasks/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/haproxy/tasks/main.yml b/ansible/roles/haproxy/tasks/main.yml index b017e8b4a..0e3f30f46 100644 --- a/ansible/roles/haproxy/tasks/main.yml +++ b/ansible/roles/haproxy/tasks/main.yml @@ -1,2 +1,3 @@ --- - include: "{{ action }}.yml" + when: inventory_hostname in groups['haproxy'] |
