Skip to content
Snippets Groups Projects
Select Git revision
  • 3a37a49690031adbb63b73798a9b3e5dbfee7e93
  • master default protected
  • v2.28.0
  • v2.27.0
  • v2.25.1
  • v2.24.3
  • v2.26.0
  • v2.24.2
  • v2.25.0
  • v2.24.1
  • v2.22.2
  • v2.23.3
  • v2.24.0
  • v2.23.2
  • v2.23.1
  • v2.23.0
  • v2.22.1
  • v2.22.0
  • v2.21.0
  • v2.20.0
  • v2.19.1
  • v2.18.2
22 results

docs

  • Clone with SSH
  • Clone with HTTPS
  • Writing a new Ansible FreeIPA module

    A ansible-freeipa module should have:

    • Code:

      • A module file placed in plugins/modules/<ipa_module_name>.py
    • Documentation:

      • README-<module_name>.md file in the root directory and linked from the main README.md
      • Example playbooks in playbooks/<module_name>/ directory
    • Tests:

      • Test cases (also playbooks) defined in tests/<module_name>/test_<something>.yml. It's ok to have multiple files in this directory.

    Use the script utils/new_module to create the stub files for a new module.