Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
  • v1.8.3
21 results

ansible-freeipa

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Thomas Woerner authored
    The usage of module_defaults allows to reduce the size of the tests and
    to have the needed information in the tasks only. The default values for the
    parameters are automatically passed to the module by Ansible.
    
    It is not possible to use a module group for module_defaults as this could
    only be done with Ansible Collections. The tests are also used upstream and
    downstream without a collection.
    
    Without groups of a collection it is needed to add the defaults for all
    modules separately.
    
    Simple example:
    
        module_defaults:
          ipahost:
            ipaadmin_password: SomeADMINpassword
            ipaapi_context: "{{ ipa_context | default(omit) }}"
    
    Several module example using YAML anchors and aliases:
    
        module_defaults:
          ipahost: &ipa_module_defaults
            ipaadmin_password: SomeADMINpassword
            ipaapi_context: "{{ ipa_context | default(omit) }}"
          ipauser: *ipa_module_defaults
          ipagroup: *ipa_module_defaults
    1c8f1c28
    History
    Name Last commit Last update