tripleo-common/container-images/tcib/base/redis/redis.yaml
Emilien Macchi 640b76608d TCIB: move RHEL modules into base image
Moving the RHEL modules management into the base image will make it
so we will have shared and consistent modules across all container
images; and also configurable from a central place, the base.yaml.

Also, allow to find the module versions from the
{{ tcib_rhel_modules }} variable so later in tripleoclient we can
override the modules versions from the CLI with a new --rhel-modules
argument (which will take comma separated list of modules and their
versions).

Change-Id: I782cbfd3c88b30c801961c6d8ba875d36f59bf42
2020-08-19 20:06:11 +00:00

17 lines
477 B
YAML

tcib_actions:
- run: bash /usr/local/bin/uid_gid_manage {{ tcib_user }}
- run: dnf -y install {{ tcib_packages.common | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
- run: mkdir /etc/libqb
- run: ln -s /usr/share/openstack-tripleo-common/healthcheck/redis /openstack/healthcheck && chmod a+rx /openstack/healthcheck
tcib_packages:
common:
- libqb
- pacemaker
- pacemaker-remote
- pcs
- procps-ng
- redis
- resource-agents
- stunnel
tcib_user: redis