In order to ANSIBLE_INJECT_FACT_VARS=False we have to use ansible_facts
instead of ansible_* vars. This change switches our distribution and
hostname related items to use ansible_facts instead.
Change-Id: Id01e754f0cf9f6e98c02f45a4011f3d6f59f80a1
Related-Bug: #1915761
This change converts our use of CentOS7/88 to UBI8, which should
provide a better test environment which will match that of
production for future releases of TripleO. While this image change
will better match production clouds thanks in large part to TCIB,
it will also remove our use of docker.io (dockerhub) which fraught
with peril due to the ongoing API rate limits saga.
Story: 2006061
Task: 34774
Change-Id: I067046e5fd4d56cd88712f553e25a61db60ced7f
Signed-off-by: Kevin Carter <kecarter@redhat.com>
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>
This change updates all uses of docker to podman and removes our docker
installation process from zuul and our local test process. Some container
based tests have been moved to "delegated" becuase they no longer make
sense to run in a container and the hacks needed to maintain the container
based testing are not worth maintaining for podman.
Change-Id: I02de94a1229bfa847f14ecf282eadbcfe6396875
Signed-off-by: Kevin Carter <kecarter@redhat.com>
Mount mirrors file into molecule containers if docker driver is
used, otherwise use hosts mirrors file.
Change-Id: I179004fde7587a81eb87f3cc477870b4b48bd83e
This is needed for https://review.opendev.org/#/c/693826 which improves
linting.
The funny aspect is that we already had pre-commit rule to check this
inside the repository but it was not active on CI.
Change-Id: I7c528e193c7656d71d53908620970e7b51e9e6cc
This change moves all of the fedora28 container images to centos8 to ensure
we're maximizing coverage in all of our roles with OS images that represent
real deployments. While fedora28 was useful to exercise RHEL8 code path's
while there was no RHEL/CentOS8 container image, we can now use the upstream
CentOS8 image ensuring we're getting a true, representitive, environment.
> In the process of testsing it was noticed that the test_deps role was
triggering scenario jobs. This role is only used for test purposes and
should not test scenarios deployments.
Molecule requirements have been updated to ensure we're testing with package
versions that reflect the realities of production deployments.
Hacks that were added to enable fedora28 testing have been removed.
The ptp role now only will test the ntp stop scenario on centos7. This is
done because there is no NTP package/service in centos8.
Change-Id: I0e960f9ee230c82edb2ad9d40557aa6d0237dfc0
Signed-off-by: Kevin Carter <kecarter@redhat.com>
Fixes a typo in the skeleton role and the generated roles that had been
affected.
Note that the tripleo-packages and tripleo-ovs-dpdk roles are excluded
from being updated because those CI jobs are presently failing.
Change-Id: I0d66af8c5395a0ee4910f8475e1f70ccb7bfa52c
The readme files are unnessesary, and unused. All of the role documentation
is generated as part of the tripleo-ansible docs. Because these files are
generally neglected the documentation they provide is at best missing
information and at worst incorrect. This change removes all of the role
readme files and ensures our role generation process no longer creates
the file.
Change-Id: I030d7f9ef54250cef4019d40366febe899f37bd9
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This change rmeoves files that serve no purpose. Most of these things
were brought over on the initial role import and were kept for
consistency. Now that we can test the roles and are confident in the
setup it is time to clean things up by removing files and options
that are empty or pointless.
Change-Id: I832c003a36d82cf37d128e5934aeb5448112e6f8
Signed-off-by: Kevin Carter <kevin@cloudnull.com>
This change imports the aide content from the tripleo-heat-templates
project and creates a role which can be used throughout the tripleo
project ecosystem.
The role will test in docker containers running both fedora28 and
centos7.
Change-Id: I3a34152dd0cd7363a6f138d6e1c6fd0f062a3ac6
Signed-off-by: Kevin Carter <kevin@cloudnull.com>
Signed-off-by: Kevin Carter <kecarter@redhat.com>