Updated from OpenStack Ansible Tests
Change-Id: I4373366519890141c0b6d1575e0416087d737c3d
This commit is contained in:
parent
9ff9f1a357
commit
4da29c63cf
|
@ -26,7 +26,7 @@
|
||||||
gcc
|
gcc
|
||||||
|
|
||||||
# Base requirements for Ubuntu
|
# Base requirements for Ubuntu
|
||||||
git-core [platform:dpkg]
|
git-core [platform:dpkg platform:suse]
|
||||||
libssl-dev [platform:dpkg]
|
libssl-dev [platform:dpkg]
|
||||||
libffi-dev [platform:dpkg]
|
libffi-dev [platform:dpkg]
|
||||||
python2.7 [platform:dpkg]
|
python2.7 [platform:dpkg]
|
||||||
|
@ -38,12 +38,15 @@ python3-dev [platform:dpkg]
|
||||||
|
|
||||||
# Base requirements for RPM distros
|
# Base requirements for RPM distros
|
||||||
gcc-c++ [platform:rpm]
|
gcc-c++ [platform:rpm]
|
||||||
git [platform:rpm]
|
git [platform:rpm !platform:suse]
|
||||||
libffi-devel [platform:rpm]
|
libffi-devel [platform:rpm]
|
||||||
openssl-devel [platform:rpm]
|
openssl-devel [platform:rpm]
|
||||||
python-devel [platform:rpm]
|
python-devel [platform:rpm]
|
||||||
python2-dnf [platform:fedora]
|
python2-dnf [platform:fedora]
|
||||||
|
|
||||||
|
# Base requirements for Gentoo
|
||||||
|
git [platform:gentoo]
|
||||||
|
|
||||||
# For SELinux
|
# For SELinux
|
||||||
libselinux-python [platform:redhat]
|
libselinux-python [platform:redhat]
|
||||||
libsemanage-python [platform:redhat]
|
libsemanage-python [platform:redhat]
|
||||||
|
|
|
@ -59,7 +59,8 @@ case ${ID,,} in
|
||||||
*suse*) pkg_mgr_cmd="zypper -n in" ;;
|
*suse*) pkg_mgr_cmd="zypper -n in" ;;
|
||||||
centos|rhel|fedora) pkg_mgr_cmd="${RHT_PKG_MGR} install -y" ;;
|
centos|rhel|fedora) pkg_mgr_cmd="${RHT_PKG_MGR} install -y" ;;
|
||||||
ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;;
|
ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;;
|
||||||
gentoo) pkg_mgr_cmd="emerge" ;;
|
# Gentoo needs to have version set since it's rolling
|
||||||
|
gentoo) pkg_mgr_cmd="emerge --jobs=4"; VERSION="rolling" ;;
|
||||||
*) echo "unsupported distribution: ${ID,,}"; exit 1 ;;
|
*) echo "unsupported distribution: ${ID,,}"; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -37,12 +37,12 @@
|
||||||
rabbitmq_user:
|
rabbitmq_user:
|
||||||
user: "{{ _oslomsg_rpc_userid }}"
|
user: "{{ _oslomsg_rpc_userid }}"
|
||||||
password: "{{ _oslomsg_rpc_password }}"
|
password: "{{ _oslomsg_rpc_password }}"
|
||||||
|
update_password: always
|
||||||
vhost: "{{ _oslomsg_rpc_vhost }}"
|
vhost: "{{ _oslomsg_rpc_vhost }}"
|
||||||
configure_priv: ".*"
|
configure_priv: ".*"
|
||||||
read_priv: ".*"
|
read_priv: ".*"
|
||||||
write_priv: ".*"
|
write_priv: ".*"
|
||||||
state: "present"
|
state: "present"
|
||||||
force: true
|
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
- name: Setup Notify MQ Service (RabbitMQ)
|
- name: Setup Notify MQ Service (RabbitMQ)
|
||||||
|
|
Loading…
Reference in New Issue