openstack-ansible-os_ironic/tasks
Jesse Pretorius 996fcb7dc7 Move MQ vhost/user creation into role
There is no record for why we implement the MQ vhost/user creation
outside of the role in the playbook, when we could do it inside the
role.

Implementing it inside the role allows us to reduce the quantity of
group_vars duplicated from the role, and allows us to better document
the required variables in the role. The delegation can still be done
as it is done in the playbook too.

In this patch we implement two new variables:
- ironic_oslomsg_rpc_setup_host
- ironic_oslomsg_notify_setup_host

These are used in the role to allow delegation of the MQ vhost/user
setup for each type to any host, but they default to using the first
member of the applicable oslomsg host group.

We also adjust some of the defaults to automatically inherit existing
vars set in group_vars form the integrated build so that we do not
need to do the wiring in the integrated build's group vars. We still
default them in the role too for independent role usage.

Depends-On: https://review.openstack.org/583430
Change-Id: I331be6ce2ca304f31844d8b0cd48e2640d8312d4
2018-07-18 03:19:10 +01:00
..
ironic_conductor_post_install.yml Add ldlinux.c32 to the tftp directory 2016-12-12 18:39:58 -03:00
ironic_db_setup.yml Move database creation into role 2018-06-01 16:05:08 +01:00
ironic_init_systemd.yml Implement uWSGI for ironic-api 2017-08-11 10:48:58 +01:00
ironic_install.yml Fix usage of "|" for tests 2018-07-12 16:44:21 +02:00
ironic_oneview_setup.yml Fix usage of "|" for tests 2018-07-12 16:44:21 +02:00
ironic_post_install.yml Overhaul ironic role 2018-07-01 19:36:18 -05:00
ironic_pre_install.yml Ensure 0755 default mode on new directories 2017-01-17 15:08:32 +00:00
ironic_service_setup.yml Execute service setup against a delegated host using Ansible built-in modules 2018-07-06 13:47:22 +00:00
ironic_uwsgi.yml Implement uWSGI for ironic-api 2017-08-11 10:48:58 +01:00
main.yml Move MQ vhost/user creation into role 2018-07-18 03:19:10 +01:00
mq_setup.yml Move MQ vhost/user creation into role 2018-07-18 03:19:10 +01:00