Commit Graph

5 Commits (8cfe4d399ae0a8a3d613be4cc5f29ef4157fd974)

Author SHA1 Message Date
Kevin Carter 65e6e5b035 Ensure that the playbooks and roles can display debug data when enabled
This change will enable or disable no_log and debug options whenever the
verbosity is set to an integer greater than 2. This will ensure operators and
deployers are best equipped to troubleshoot issues by dynamically providing
additional data in an expected way. To ensure we're able to differentiate
between output masking and security masking, two options were used to enable or
disable no_log across our roles and playbooks.

> All debug options, without security implications, will now react to the
  `ansible_verbosity` built in by default. Changes have been made to our
  skeleton role to ensure this is enforced on all new roles created going
  forward.

> An additional prefixed role option, `*_hide_sensitive_logs`, has been added to
  allow operators to easily toggle sensitive output when required. The role
  prefixed variables will respond to the global option `hide_sensitive_logs` as
  defined in THT which will ensure a consistent user experience.

Depends-On: I84f3982811ade59bac5ebaf3a124f9bfa6fa22a4
Change-Id: Ia6658110326899107a0e277f0d2574c79a8a820b
Signed-off-by: Kevin Carter <kecarter@redhat.com>
3 years ago
Bogdan Dobrelya a88a3d6953 Hide passwords better
Do not show passwords in misc ansible outputs

Change-Id: I9c5f3023dbac1a9409d83341790df2a6f5d82179
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
3 years ago
Juan Badia Payno fe5d3a5f9d BaR Always do MySQL dumps even the services wont be stopped
Do MySQL dump even though the services are not managed and stopped
during the backup process

Change-Id: I54891bcb28ba082f05ce705492a14bf93bba2f66
3 years ago
Wes Hayutin 1ca652294f Migrate molecule jobs from centos 7 to 8
- assure we have docker installed
- fixed hiera call, which can be in /usr/bin/hiera,
  /opt/puppetlabs/bin/hiera, or /bin/hiera

Change-Id: I20cbcdead152ccad81fc18f5cf1af9520268a173
Co-authored-by: Sorin Sbarnea <ssbarnea@redhat.com>
3 years ago
Carlos Camacho 644df915a9 Remove all the extra folders in the backup and restore role
This review cleans up the extra folders
for when we move this to a collection.

Change-Id: Ica06a34de3e153c665cadb01fdeb6b6a7dededc2
3 years ago