Files @ ca784c26d35c
Branch filter:

Location: majic-ansible-roles/.gitignore

branko
MAR-150: Use Gimmecert for X.509 test fixtures in the common role:

- Drop the statically-generated X.509 certificates used for testing.
- Introduce fixture playbook in preparation phase that sets-up the
necessary certificates.
- Update the tests to use the fixture.
- Dynamically calculate the OpenSSL hash for CA certificate instead of
having the hard-coded value.
- Add the fixture artefacts to .gitignore files.
*.pyc
*~
.pytest_cache/
tmp/
docs/_build/
testsite/preseed_files/

# Ignore "temporary" files created with the playbook tls.yml (certs, keys, and
# host config files for GnuTLS - ca.cfg is versioned, though).
testsite/tls/*.pem
testsite/tls/*.key
testsite/tls/*.*_*.cfg
testsite/ssh/*_key
testsite/ssh/*_key.pub
testsite/ssh/*.example.com
testsite/ssh/*.example.com.pub
testsite/backup_keyring/

# Ignore Molecule artefacts.
.molecule
.vagrant
.cache
.yamllint

# Ignore test fixtures.
**/tests/data/.gimmecert
**/tests/data/x509

# Ignore test report artefacts
test_report*

# Ignore test site CLI artefacts.
testsite/mutt/*files