Skip to content
  1. Nov 14, 2022
    • Thomas Woerner's avatar
      ipareplica_prepare: Fix documentation sections and agument spec · 732133a4
      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
      - `required` tags need to be fixed according to the `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)`
      - `choices` needs to match `argument_spec`
      
      argument_spec
      
      - `type='str'` needs to be set for string parameters
      - `elements='str'` needs to be added to all list of string parameters
      
      supports_check_mode is turned off as it is not supported.
      
      A call to ansible_ipa_replica.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      732133a4
    • Thomas Woerner's avatar
      ipareplica_master_password: Fix documentation sections and agument spec · 4a342685
      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
      - `required` tags need to be fixed according to the `argument_spec`
      - `author` needs to be given with the github user also: `Name (@user)`
      
      argument_spec
      
      - `type='str'` needs to be set for string parameters
      
      supports_check_mode is turned off as it is not supported.
      
      A call to ansible_ipa_replica.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      4a342685
    • Thomas Woerner's avatar
      ipareplica_krb_enable_ssl: Fix documentation sections and agument spec · 1a809544
      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
      - `required` tags need to be fixed according to the `argument_spec`
      - `type` tag needs to match `argument_spec`
      - `author` needs to be given with the github user also: `Name (@user)`
      
      argument_spec
      
      - `type='str'` needs to be set for string parameters
      
      supports_check_mode is turned off as it is not supported.
      
      A call to ansible_ipa_replica.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      1a809544
    • Thomas Woerner's avatar
      ipareplica_install_ca_certs: Fix documentation sections and agument spec · 55393307
      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
      
      - `module` tag needs to be correct
      - `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
      - `required` tags need to be fixed according to the `argument_spec`
      - `author` needs to be given with the github user also: `Name (@user)`
      
      argument_spec
      
      - `type='str'` needs to be set for string parameters
      - `elements='str'` needs to be added to all list of string parameters
      
      supports_check_mode is turned off as it is not supported.
      
      A call to ansible_ipa_replica.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      55393307
    • Thomas Woerner's avatar
      ipareplica_enable_ipa: Fix documentation sections and agument spec · 88645e5c
      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
      - `required` tags need to be fixed according to the `argument_spec`
      - `type` tag needs to match `argument_spec`
      - `author` needs to be given with the github user also: `Name (@user)`
      
      argument_spec
      
      - `type='str'` needs to be set for string parameters
      - `elements='str'` needs to be added to all list of string parameters
      
      supports_check_mode is turned off as it is not supported.
      
      A call to ansible_ipa_replica.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      88645e5c
    • Thomas Woerner's avatar
      ipareplica_ds_enable_ssl: Fix documentation sections and agument spec · ae4aaf51
      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
      - `required` tags need to be fixed according to the `argument_spec`
      - `type` tag needs to match `argument_spec`
      - `author` needs to be given with the github user also: `Name (@user)`
      
      argument_spec
      
      - `type='str'` needs to be set for string parameters
      - `elements='str'` needs to be added to all list of string parameters
      
      supports_check_mode is turned off as it is not supported.
      
      A call to ansible_ipa_replica.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      ae4aaf51
    • Thomas Woerner's avatar
      ipareplica_ds_apply_updates: Fix documentation sections and agument spec · 32f681db
      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
      - `type` tag needs to match `argument_spec`
      - `author` needs to be given with the github user also: `Name (@user)`
      
      argument_spec
      
      - `type='str'` needs to be set for string parameters
      - `elements='str'` needs to be added to all list of string parameters
      
      supports_check_mode is turned off as it is not supported.
      
      A call to ansible_ipa_replica.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      32f681db
    • Thomas Woerner's avatar
      ipareplica_custodia_import_dm_password: Fix doc sections and agument spec · bd04171a
      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
      - `required` tags need to be fixed according to the `argument_spec`
      - `type` tag needs to match `argument_spec`
      - `author` needs to be given with the github user also: `Name (@user)`
      
      argument_spec
      
      - `type='str'` needs to be set for string parameters
      
      supports_check_mode is turned off as it is not supported.
      
      A call to ansible_ipa_replica.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      bd04171a
    • Thomas Woerner's avatar
      ipareplica_create_ipa_conf: Fix documentation sections and agument spec · 065db1b3
      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
      - `required` tags need to be fixed according to the `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)`
      
      argument_spec
      
      - `type='str'` needs to be set for string parameters
      - `elements='str'` needs to be added to all list of string parameters
      
      supports_check_mode is turned off as it is not supported.
      
      A call to ansible_ipa_replica.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      065db1b3
    • Thomas Woerner's avatar
      ipareplica_add_to_ipaservers: Fix documentation sections and agument spec · 8c81ac0f
      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
      - `required` tags need to be fixed according to the `argument_spec`
      - `type` tag needs to match `argument_spec`
      - `author` needs to be given with the github user also: `Name (@user)`
      
      argument_spec
      
      - `type='str'` needs to be set for string parameters
      
      supports_check_mode is turned off as it is not supported.
      
      A call to ansible_ipa_replica.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      8c81ac0f
    • Thomas Woerner's avatar
      ansible_ipa_replica: Fix ansible-test fake execution test findings · d4c34a28
      Thomas Woerner authored
      All imports that are only available after installing IPA need to be in a
      try exception clause to be able to pass the fake execution test. The old
      workaround "if 'ansible.executor' in sys.modules:" is not working with
      this test anymore.
      
      If the imports can not be done, all used and needed attributes are
      defines with the value None.
      
      The new function check_imports has been added to fail with module.fail_json
      if an import exception occured and ANSIBLE_IPA_REPLICA_MODULE_IMPORT_ERROR is
      not None. This function needs to be called in all modules.
      
      The `copyright` date is extended with `-2022`.
      d4c34a28
    • Thomas Woerner's avatar
      Merge pull request #978 from rjeffman/ci_update_linters · 0f0c098f
      Thomas Woerner authored
      linters: Fix versions of linter packages due to Python 3.11.
      0f0c098f
  2. Nov 11, 2022
  3. Nov 10, 2022
    • Thomas Woerner's avatar
      ipaclient_setup_nss: Fix undefined ca_certs for NoCertificateError case · 1ba397e7
      Thomas Woerner authored
      In case get_certs_from_ldap failed with errors.NoCertificateError the
      code lead to a trace back as certstore.make_compat_ca_certs was using
      with undefined ca_certs variable.
      
      The code to generate ca_certs for this case was copied over from
      ipaclient_api. This is loading the certificate list from paths.IPA_CA_CRT.
      1ba397e7
  4. Nov 07, 2022
  5. Oct 27, 2022
  6. Oct 26, 2022
    • Thomas Woerner's avatar
      ipadnsrecord: Fix documentation sections and agument spec · 77c6770b
      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
      - `type: string` is not valid and needs to be replaced by `type: str`
      - `suboptions` instead of `options` needs to be used for dict parameters
      - `authors` needs to be given with the github user also: `Name (@user)`
      - `choices` needs to match `argument_spec`
      - `description` needs to match parameter
      - all parameters need to be defined
      
      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
      - `elements="dict"` needs to be added to all list of dict parameters
      
      The `copyright` date is extended with `-2022`.
      77c6770b
    • 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
  7. Oct 21, 2022
  8. Oct 19, 2022
    • Denis Karpelevich's avatar
      New netgroup management module · 495677df
      Denis Karpelevich authored
      
      
      There is a new netgroup management module placed in the plugins folder:
      
          plugins/modules/ipanetgroup.py
      
      The netgroup module allows to ensure presence or absence of netgroup
      and manage netgroup members.
      
      Here is the documentation for the module:
      
          README-netgroup.md
      
      New example playbooks have been added:
      
          playbooks/netgroup/netgroup-absent.yml
          playbooks/netgroup/netgroup-member-absent.yml
          playbooks/netgroup/netgroup-member-present.yml
          playbooks/netgroup/netgroup-present.yml
      
      New tests for the module:
      
          tests/netgroup/test_netgroup.yml
          tests/netgroup/test_netgroup_client_context.yml
          tests/netgroup/test_netgroup_member.yml
          tests/netgroup/test_netgroup_member_absent.yml
          tests/netgroup/test_netgroup_member_case_insensitive.yml
      
      Signed-off-by: default avatarDenis Karpelevich <dkarpele@redhat.com>
      495677df
    • Rafael Guterres Jeffman's avatar
      Merge pull request #954 from t-woerner/fix_ipatopologysegment_docs_for_ansible_test · 6e44b4d0
      Rafael Guterres Jeffman authored
      ipatopologysegment: Fix documentation sections and agument spec
      6e44b4d0
    • Thomas Woerner's avatar
      ipatopologysegment: Fix documentation sections and agument spec · 9c71d91a
      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
      - `author` needs to be given with the github user also: `Name (@user)`
      
      argument_spec
      
      - `type="str"` needs to added to all string parameters
      
      The `copyright` date is extended with `-2022`.
      9c71d91a
    • Thomas Woerner's avatar
      README-vault: Add new_public_key and new_public_key_file · 9271b84d
      Thomas Woerner authored
      According to the argument_spec new_public_key is an alias for
      vault_public_key and new_public_key_file is an alias for
      vault_public_key_file. The aliases have been added.
      9271b84d
    • Thomas Woerner's avatar
      ipavault: Fix documentation sections and agument spec · 2621b311
      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: bool` needs to be set for bool parameters
      
      - `type: list` needs to be set for list parameters
      - `elements: str` needs to be given for list of string parameters
      - `type: string` is not valid and needs to be replaced by `type: str`
      - `required` tags need to be fixed according to the `argument_spec`
      - `aliases` tag needs to match `argument_spec`
      - `author` needs to be given with the github user also: `Name (@user)`
      - `choices` needs to match `argument_spec`
      - all parameters need to be defined
      
      RETURN section
      
      - `contains` needs to be used instead of `options` for dicts
      - `type: string` is not valid and needs to be replaced by `type: str`
      
      argument_spec
      
      - `elements="str"` needs to be added to all list of string parameters
      - `default=.*` needs to be dropped if `required=True` is also given
      
      The `copyright` date is extended with `-2022`.
      2621b311
    • Thomas Woerner's avatar
      Merge pull request #959 from rjeffman/remove_whitelist · 9480841b
      Thomas Woerner authored
      documentation: Change occurences of whitelist to allowlist.
      9480841b
    • Thomas Woerner's avatar
      Merge pull request #960 from rjeffman/ansbile_2_14_new_module · 461a9ec0
      Thomas Woerner authored
      new_module: Modify new_module and templates for Ansible 2.14
      461a9ec0