Updated from OpenStack Ansible Tests

Change-Id: I731716385fe5499f36ab43bfd2ce94a4f83a7075
This commit is contained in:
OpenStack Proposal Bot 2021-11-10 17:20:16 +00:00
parent d45263e40c
commit bf793973ac
2 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@
gcc
# Base requirements for Ubuntu
git-core [platform:dpkg platform:suse]
git-core [platform:dpkg]
libssl-dev [platform:dpkg]
libffi-dev [platform:dpkg]
python3 [platform:dpkg]
@ -35,15 +35,12 @@ python3-dev [platform:dpkg]
# Base requirements for RPM distros
gcc-c++ [platform:rpm]
git [platform:rpm !platform:suse]
git [platform:rpm]
libffi-devel [platform:rpm]
openssl-devel [platform:rpm]
python3-dnf [platform:fedora]
python3-devel [platform:rpm]
# Base requirements for Gentoo
git [platform:gentoo]
# For SELinux
libselinux-python3 [platform:redhat]
libsemanage-python3 [platform:redhat]

View File

@ -68,7 +68,8 @@
state: "present"
when:
- (_oslomsg_rpc_vhost is undefined) or
(_oslomsg_notify_vhost != _oslomsg_rpc_vhost)
(_oslomsg_notify_vhost != _oslomsg_rpc_vhost) or
(_oslomsg_notify_setup_host != _oslomsg_rpc_setup_host)
- name: Apply Notify RabbitMQ vhost policies
community.rabbitmq.rabbitmq_policy:
@ -80,7 +81,8 @@
loop: "{{ _oslomsg_notify_policies | default([]) + oslomsg_notify_policies }}"
when:
- (_oslomsg_rpc_vhost is undefined) or
(_oslomsg_notify_vhost != _oslomsg_rpc_vhost)
(_oslomsg_notify_vhost != _oslomsg_rpc_vhost) or
(_oslomsg_notify_setup_host != _oslomsg_rpc_setup_host)
- name: Add Notify RabbitMQ user
community.rabbitmq.rabbitmq_user:
@ -95,7 +97,8 @@
no_log: true
when:
- (_oslomsg_rpc_userid is undefined) or
(_oslomsg_notify_userid != _oslomsg_rpc_userid)
(_oslomsg_notify_userid != _oslomsg_rpc_userid) or
(_oslomsg_notify_setup_host != _oslomsg_rpc_setup_host)
- name: Setup RPC MQ Service (Qdrouterd)
delegate_to: "{{ _oslomsg_rpc_setup_host }}"