Files
ansible-freeipa/plugins/modules
Rafael Guterres Jeffman 6bfcfcdc81 dnsconfig: add support for 'action: member'.
This patch adds support for 'action: member' for ipadnsconfig plugin,
impacting management of DNS forwarders setting.

Use of 'state: absent' now requires 'action: member'. With 'state:
present', orwarders can be either defined through 'action: dnsconfig'
or added using 'action: member'.

Tests have been updated to reflec the new behavior.
2022-01-20 12:09:26 -03: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.