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: I2a83e31a9de998cd10dd95fc0cffc1ad68061da5
This commit is contained in:
parent
8b102ff94b
commit
c9da7d6975
@ -29,16 +29,3 @@ Example playbook
|
||||
|
||||
.. literalinclude:: ../../examples/playbook.yml
|
||||
:language: yaml
|
||||
|
||||
External Restart Hooks
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
When the role performs a restart of the mariadb 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``, that way external roles
|
||||
can manage the load balancer endpoints responsible for sending traffic to the
|
||||
MariaDB 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.
|
||||
|
@ -89,10 +89,6 @@
|
||||
notify:
|
||||
- Delete encryption keyfile after starting Galera
|
||||
|
||||
- meta: noop
|
||||
listen: Manage LB
|
||||
when: false
|
||||
|
||||
- name: Delete encryption keyfile after starting Galera
|
||||
file:
|
||||
path: "/tmp/.keyfile.key"
|
||||
|
@ -91,7 +91,6 @@
|
||||
retries: 5
|
||||
delay: 2
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart all mysql
|
||||
|
||||
|
||||
|
@ -148,5 +148,4 @@
|
||||
retries: 5
|
||||
delay: 2
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart all mysql
|
||||
|
@ -59,7 +59,6 @@
|
||||
when:
|
||||
- (galera_ignore_cluster_state | bool) or (galera_force_bootstrap | bool)
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart all mysql
|
||||
tags:
|
||||
- always
|
||||
|
@ -160,7 +160,6 @@
|
||||
mode: "0600"
|
||||
condition: "{{ (galera_root_user == 'root') }}"
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart all mysql
|
||||
|
||||
- name: Apply service defaults
|
||||
@ -169,7 +168,6 @@
|
||||
dest: "/etc/default/mariadb"
|
||||
mode: "0644"
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart all mysql
|
||||
|
||||
- name: Link mysql and mariadb config files
|
||||
|
Loading…
Reference in New Issue
Block a user