Remove mention of haproxy-endpoints role
Keystone role was never migrated to usage of haproxy-endpoints role and included task was used instead the whole time. With that to reduce complexity and to have unified approach, all mention of the role and handler are removed from the code. Change-Id: I3693ee3a9a756161324e3a79464f9650fb7a9f1a
This commit is contained in:
parent
cf66cd365c
commit
604085ffe6
@ -35,19 +35,6 @@ Example playbook
|
||||
.. literalinclude:: ../../examples/playbook.yml
|
||||
:language: yaml
|
||||
|
||||
External Restart Hooks
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
When the role performs a restart of the service, it will notify an Ansible
|
||||
handler named ``Manage LB``, which is a noop within this role. In the
|
||||
playbook, other roles may be loaded before and after this role which will
|
||||
implement Ansible handler listeners for ``Manage LB``, allowing external roles
|
||||
to manage the load balancer endpoints responsible for sending traffic to the
|
||||
servers being restarted by marking them in maintenance or active mode,
|
||||
draining sessions, etc. For an example implementation, please reference the
|
||||
`ansible-haproxy-endpoints role <https://github.com/Logan2211/ansible-haproxy-endpoints>`_
|
||||
used by the openstack-ansible project.
|
||||
|
||||
Tags
|
||||
~~~~
|
||||
|
||||
|
@ -86,7 +86,3 @@
|
||||
- "Restart nova services"
|
||||
- "venv changed"
|
||||
- "cert installed"
|
||||
|
||||
- meta: noop
|
||||
listen: Manage LB
|
||||
when: false
|
||||
|
@ -54,7 +54,6 @@
|
||||
delay: 2
|
||||
when: nova_install_method == 'source'
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart nova services
|
||||
- Restart uwsgi services
|
||||
tags:
|
||||
|
@ -41,7 +41,6 @@
|
||||
- { content: "{{ nova_console_user_ssl_combined.stdout ~ '\n' }}", dest: "{{ nova_console_ssl_cert }}", mode: "0644" }
|
||||
- { src: "{{ nova_console_user_ssl_key }}", dest: "{{ nova_console_ssl_key }}", mode: "0640" }
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart nova services
|
||||
- Restart uwsgi services
|
||||
tags:
|
||||
|
@ -54,7 +54,6 @@
|
||||
delay: 2
|
||||
when: nova_install_method == 'source' or ansible_facts['os_family'] | lower == 'redhat'
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart nova services
|
||||
- Restart uwsgi services
|
||||
tags:
|
||||
|
@ -48,7 +48,6 @@
|
||||
with_fileglob:
|
||||
- rootwrap.d/*
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart nova services
|
||||
- Restart uwsgi services
|
||||
tags:
|
||||
@ -74,7 +73,6 @@
|
||||
config_overrides: "{{ nova_vendor_data_overrides }}"
|
||||
config_type: "json"
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart nova services
|
||||
- Restart uwsgi services
|
||||
tags:
|
||||
@ -151,7 +149,6 @@
|
||||
path: /etc/nova/nova-compute.conf
|
||||
state: absent
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart nova services
|
||||
- Restart uwsgi services
|
||||
tags:
|
||||
|
Loading…
Reference in New Issue
Block a user