Skip to content
  1. Oct 27, 2022
    • Thomas Woerner's avatar
      ipamodule_base_docs: Fix documentation sections · 1a8df6e9
      Thomas Woerner authored
      ansible-test with ansible-2.14 is adding a lot of new tests to ensure
      that the documentation section and the agument spec is complete. Needed
      changes:
      
      DOCUMENTATION section
      
      - `type: str` needs to be set for string parameters
      1a8df6e9
  2. Oct 26, 2022
    • Rafael Guterres Jeffman's avatar
      Merge pull request #938 from t-woerner/fix_host_docs_for_ansible_test · 169e772f
      Rafael Guterres Jeffman authored
      ipahost: Fix documentation sections and agument spec
      169e772f
    • Thomas Woerner's avatar
      ipahost: Fix documentation sections and agument spec · 44e2718a
      Thomas Woerner authored
      ansible-test with ansible-2.14 is adding a lot of new tests to ensure
      that the documentation section and the agument spec is complete. Needed
      changes:
      
      DOCUMENTATION section
      
      - `type: str` needs to be set for string parameters
      - `type: list` needs to be set for list parameters
      - `elements: str` needs to be given for list of string parameters
      - `suboptions` instead of `options` needs to be used for dict parameters
      - `required` tags need to be fixed according to the `argument_spec`
      - `aliases` tag needs to match `argument_spec`
      - `type` tag needs to match `argument_spec`
      - `default` tag needs to match `argument_spec`
      - `author` needs to be given with the github user also: `Name (@user)`
      
      RETURN section
      
      - `contains` needs to be used instead of `options` for dicts
      - `type: str` needs to be used for string parameters
      
      argument_spec
      
      - `elements="str"` needs to be added to all list of string parameters
      - `no_log=False` or `no_log=True` needs to be set for all parameters
        that have `key` in the name or for dicts also in one the key names
      
      The `copyright` date is extended with `-2022`.
      
      Additional changes:
      
      - Parameter sshpubkey changed to list of strings in argument_spec
      - New test test/host/test_host_sshpubkey.yml
      44e2718a
    • Rafael Guterres Jeffman's avatar
      Merge pull request #957 from t-woerner/fix_user_docs_for_ansible_test · c1827807
      Rafael Guterres Jeffman authored
      ipauser: Fix documentation sections and agument spec
      c1827807
    • Rafael Guterres Jeffman's avatar
      Merge pull request #958 from t-woerner/fix_vault_docs_for_ansible_test · 5c1c4d83
      Rafael Guterres Jeffman authored
      ipavault: Fix documentation sections and agument spec
      5c1c4d83
  3. Oct 21, 2022
  4. Oct 19, 2022
  5. Oct 18, 2022
    • Thomas Woerner's avatar
      Merge pull request #961 from rjeffman/ipaconfig_fix_enable_sid_not_required · f8ca8a7b
      Thomas Woerner authored
      ipaconfig: Do not require enable_sid for add_sids or netbios_name
      f8ca8a7b
    • Rafael Guterres Jeffman's avatar
      ipaconfig: Do not require enable_sid for add_sids or netbios_name · c808ad6e
      Rafael Guterres Jeffman authored
      Current behavior of ipaconfig mimics FreeIPA CLI and requires that
      'enable_sid' is set to True every time add_sids or netbios_name are
      used. It is sufficient that SID generation is enabled to use add_sids
      and netbios_name, but the IPA API requires 'enable_sid' so that the
      operations are executed.
      
      This patch allows ansible-freeipa plugin ipaconfig to run 'add_sids' or
      set 'netbios_name without requiring 'enable_sid' to be set on the
      playbook.
      
      If SID generation is enabled, 'add_sids' and 'netbios_name' can be used
      without 'enable_sid: yes'. If SID generation is not enabled, an error
      message will be raised if 'enable_sid: yes' is not used.
      c808ad6e
  6. Oct 17, 2022
  7. Oct 13, 2022
  8. Oct 08, 2022
  9. Oct 06, 2022
  10. Oct 05, 2022
    • Rafael Guterres Jeffman's avatar
      new_module: Modify new_module and templates for Ansible 2.14 · 9a8d756a
      Rafael Guterres Jeffman authored
      ansible-test with ansible-2.14 is adding a lot of new tests to ensure
      that the documentation section and the agument spec is complete.
      
      To aid the creation of new_modules that follow these rules, the
      'new_module' script and its templates were modified to use the new
      ansible-test rules. The 'new_module' script now requires a new
      argument, github_user, and the code templates provide the required
      fields (like 'type' and 'elements') to the provide examples.
      9a8d756a
  11. Oct 04, 2022
  12. Oct 03, 2022
  13. Oct 01, 2022