Skip to content

AbsyssLab/vtom-ansible

Ansible integration with Visual TOM

License  fr

This project provides an integration between Visual TOM and Ansible to execute Playbook with options or not.

Disclaimer

No Support and No Warranty are provided by Absyss SAS for this project and related material. The use of this project's files is at your own risk.

Absyss SAS assumes no liability for damage caused by the usage of any of the files offered here via this Github repository.

Consultings days can be requested to help for the implementation.

Prerequisites

  • Visual TOM 7.1.2 or greater
  • python3
  • ansible
  • ansible-runner

Instructions

You need the Python add-on module ansible-runner. To install it, run the following commands using the provided requirement.txt file:

pip install -U update
pip install -U -r requirement.txt

The ansible.xml template must be imported into VTOM. It contains 5 parameters to be filled in (mandatory or optional):

  • The working directory containing the playbook(s) (mandatory)
  • The name of the playbook to execute (.yml) (mandatory)
  • The inventory file (full path) (optional)
  • Extra variables (optional)
  • Tags (optional)

The Python script ansible.py is executed from the queue batch tom_submit.ansible. Provide the full path to the ansible.py script in the queue batch. If the script is located in $TOM_SCRIPT, no changes are required.

Line 31 : python3 ${TOM_SCRIPT}/ansible.py

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details

Code of Conduct

Contributor Covenant
Absyss SAS has adopted the Contributor Covenant as its Code of Conduct, and we expect project participants to adhere to it. Please read the full text so that you can understand what actions will and will not be tolerated.

About

Repository for the Visual TOM to Ansible connector

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •