tripleo-validations/roles/undercloud_tokenflush
Gael Chamoulaud (Strider) bc31f762c2
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
2020-12-17 09:27:01 +01:00
..
defaults Replace all references to the old role name 2020-01-23 17:25:43 +01:00
molecule Get the undercloud.conf file from where it actually is 2020-12-17 09:27:01 +01:00
tasks Get the undercloud.conf file from where it actually is 2020-12-17 09:27:01 +01:00
vars Replace all references to the old role name 2020-01-23 17:25:43 +01:00
README.md Replace all references to the old role name 2020-01-23 17:25:43 +01:00

README.md

Undercloud-tokenflush

An Ansible role to check if keystone-manage token_flush is enabled for the keystone user.

Requirements

This role requires an installed and working Undercloud.

Role Variables

  • cron_check: <'keystone-manage token_flush'> -- the string to check in the crontab

Dependencies

No dependencies.

Example Playbook

- hosts: undercloud
  roles:
     - { role: undercloud-tokenflush }

License

Apache

Author Information

Red Hat TripleO Validations Team