Changeset - 1640ad5b4cac
15
1
18
MAR-128: Upgraded tests for common role:
- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (easies
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Switched to extracting IP address instead of hard-coding it in a
couple of tests.
- Fixed invalid indentation on task responsible for creating the
pipreqcheck Python virtual environment.
- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (easies
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Switched to extracting IP address instead of hard-coding it in a
couple of tests.
- Fixed invalid indentation on task responsible for creating the
pipreqcheck Python virtual environment.
20 files changed with 377 insertions and 221 deletions:
0 comments (0 inline, 0 general)
file renamed from roles/common/tests/data/gnupg/backup_encryption_key to roles/common/molecule/default/tests/data/gnupg/backup_encryption_key |
file renamed from roles/common/tests/data/ssh/clientkey1 to roles/common/molecule/default/tests/data/ssh/clientkey1 |
file renamed from roles/common/tests/data/ssh/clientkey1.pub to roles/common/molecule/default/tests/data/ssh/clientkey1.pub |
file renamed from roles/common/tests/data/ssh/clientkey2 to roles/common/molecule/default/tests/data/ssh/clientkey2 |
file renamed from roles/common/tests/data/ssh/clientkey2.pub to roles/common/molecule/default/tests/data/ssh/clientkey2.pub |
file renamed from roles/common/tests/data/ssh/clientkey3 to roles/common/molecule/default/tests/data/ssh/clientkey3 |
file renamed from roles/common/tests/data/ssh/clientkey3.pub to roles/common/molecule/default/tests/data/ssh/clientkey3.pub |
file renamed from roles/common/tests/data/ssh/ssh_config to roles/common/molecule/default/tests/data/ssh/ssh_config |
file renamed from roles/common/tests/data/x509/ca1.cert.pem to roles/common/molecule/default/tests/data/x509/ca1.cert.pem |
file renamed from roles/common/tests/data/x509/ca2.cert.pem to roles/common/molecule/default/tests/data/x509/ca2.cert.pem |
0 comments (0 inline, 0 general)