Skip to content

support setup-snapshot.yml; support set_vars.yml; test improvements

Compare
Choose a tag to compare
@richm richm released this 25 Apr 20:26
cc7d5a9

Remove the unnecessary code (#115)

In the condition of param_sha1 == file_sha1, the condition "param !=
cur_script (contents of file)" never be true and never be executed.
It was introduced in commit e5fe039
System Roles should consistently use ansible_managed in configuration files it manages

Replace ansible_managed_new with __header

Signed-off-by: Noriko Hosoi [email protected]

Let each test use a different certificate file name (#116)

This is part of the effort to allow CI tests run in the serialized
manner on one VM for shortening the duration of the CI tests. In
the current tests, the same certificate file path is shared and
there is no cleaning up implemented. When multiple tests run
sequentially, some attribute, e.g., the file ownership, could be
inherited from the previous tests, which could make the test fail
in the attribute verification. To avoid the false negative failure,
this commit chooses different certificate file name per test.

support setup-snapshot.yml; support set_vars.yml (#118)

support setup-snapshot.yml - tests can use
--setup-yml tests/setup-snapshot.yml --use-snapshot
to create a pre-populated image to make subsequent tests faster.
support gather_facts: false playbooks - the role will gather
the facts it needs.
Update ansible-freeipa to use master branch.