Files
ansible-freeipa/plugins/modules
Thomas Woerner 8010d19be9 servicedelegation: Do not fail for not existing members with state absent
Ensuring absence of members (services and targets) that do not exist may
not fail as they are not members for servicedelegationtarget and
servicedelegationrule.

servicedelegation_normalize_principals in ansible_freeipa_module has
been extended with a check_exists argument that defaults to False. state
== "present" is now given as this argument to turn on the element exists
check only if elements should be added.
2022-02-14 18:16:29 +01:00
..
2022-01-12 16:54:52 +01:00
2021-11-24 10:07:02 +01:00
2021-11-24 10:07:02 +01:00
2021-11-24 10:07:02 +01:00
2021-11-24 10:07:02 +01:00
2021-11-24 10:07:02 +01:00
2021-11-24 10:07:02 +01:00
2021-11-24 10:07:02 +01:00
2021-11-24 10:07:02 +01:00
2021-11-24 10:07:02 +01:00
2021-11-24 10:07:02 +01:00
2021-11-24 10:07:02 +01:00
2021-11-24 10:07:02 +01:00

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.