sommerfeld-io-archive / configs

Configuration as code for all my computers and RasPi nodes.
Other
1 stars 0 forks source link

Test Ansible playbooks with molecule #15

Open sebastian-sommerfeld-io opened 1 year ago

sebastian-sommerfeld-io commented 1 year ago

As a DevOps engineer, I want to be able to test my Ansible playbooks using Molecule. This will allow me to ensure the playbooks work as intended and identify any issues before deploying to production. I should be able to specify the scenario and test platform, such as a Raspberry Pi, and run tests that validate the playbook's behavior. The tests should verify that the playbook performs the correct actions, such as installing packages and configuring services, and that it does not cause any unintended consequences. Additionally, I want to be able to run the tests in a controlled environment, such as a virtual machine, to minimize the impact on my production systems. With this testing in place, I can have confidence in my playbooks and deploy them with peace of mind.

See: https://molecule.readthedocs.io/en/latest/

Acceptance Criteria

Implementation tasks