tripleo-validations/roles/undercloud_heat_purge_deleted
Gael Chamoulaud (Strider) 18325474cb
Get the undercloud.conf file from where it actually is
Since the deprecation of Mistral in THT, we can't get the path of this
file by using hiera anymore. This patch will get it directly in its
original place ($HOME/undercloud.conf) by using *ansible_env.HOME* fact.

Impacted Validations:
 playbooks/ceilometerdb-size.yaml
 playbooks/check-network-gateway.yaml
 playbooks/check-undercloud-conf.yaml
 playbooks/container-status.yaml
 playbooks/ctlplane-ip-range.yaml
 playbooks/dhcp-provisioning.yaml
 playbooks/neutron-sanity-check.yaml
 playbooks/tls-everywhere-pre-deployment.yaml
 playbooks/tls-everywhere-prep.yaml
 playbooks/undercloud-heat-purge-deleted.yaml
 playbooks/undercloud-process-count.yaml
 playbooks/undercloud-tokenflush.yaml

This patch also fixes every molecule tests accordingly.

NB: check_network_gateway molecule test is now voting in the CI.

Closes-Bug: 1907553

Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: Iafc38c6cd99edee89ae0305f09fe7080df148331
(cherry picked from commit bc31f762c2)
(cherry picked from commit f4ea045e42)
(cherry picked from commit a3eafbd6a2)
2021-04-09 15:59:30 +02:00
..
defaults Replace all references to the old role name 2020-02-10 14:51:12 +01:00
molecule/default Get the undercloud.conf file from where it actually is 2021-04-09 15:59:30 +02:00
tasks Get the undercloud.conf file from where it actually is 2021-04-09 15:59:30 +02:00
vars Replace all references to the old role name 2020-02-10 14:51:12 +01:00
README.md Replace all references to the old role name 2020-02-10 14:51:12 +01:00

README.md

Undercloud-heat-purge-deleted

An Ansible role to check if heat-manage purge_deleted is enabled in the crontab

Requirements

This role requires an installed and working Undercloud.

Role Variables

  • cron_check: <'heat-manage purge_deleted'> -- String to check in the crontab

Dependencies

No dependencies.

Example Playbook

- hosts: undercloud
  roles:
     - { role: undercloud-heat-purge-deleted }

License

Apache

Author Information

Red Hat TripleO Validations Team