Skip to content

Repository files navigation

autodeploy

prerequisites on ansible host

  • ansible
  • ansible-galaxy collection install kewlfft.aur

prerequisites on target

  • openssh
  • python
  • git

testing with molecule

To run all tests:

molecule test

To test individual roles without modifying the inventory, you can use Molecule CLI tags:

molecule converge -s default -- --tags swap    # only swap role
molecule converge -s default -- --tags user    # only user role
molecule converge -s default -- --tags ssh     # only ssh role

No special code is needed in the playbook or scenario files to support this functionality. The tags correspond to the role names and can be used with any Molecule command that supports passing additional arguments to Ansible.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages