Skip to content

Tirasa/SyncopeAnsible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Syncope Collection

Test module logic

  1. From the base directory execute the unit test:

       python -m pytest tests/
  2. Make sure to edit in a proper way the following conf files: ./plugins/modules/args.json ./tests/integration/targets/syncope_user_handler/tasks/main.yml

  3. Test the module logic by running one of the following 2 options:

    1. Providing a json file: from the ./plugins/modules/ directory run

      python -m syncope_user_handler args.json

      -m [MODULE_NAME]:

      the name of the module must be equals to the name of the plugins/modules/syncope_user_handler class

    2. With Playbook: from the base directory:

      ansible-test integration

      executing ansible test requires the collection be in a specific path:

      /ansible_collections/{namespace}/SyncopeAnsible/

About

Sample PoC to support Apache Syncope from Ansible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages