Skip to content
  1. Dec 02, 2022
  2. Dec 01, 2022
  3. Nov 30, 2022
  4. Nov 29, 2022
  5. Nov 28, 2022
  6. Nov 24, 2022
    • Rafael Guterres Jeffman's avatar
      pre-commit: Fix pycqa pre-commit repos. · 0bb0d99a
      Rafael Guterres Jeffman authored
      The pycqa pre-commit repos were using 'gitlab.com', instead of
      'github.com', which is, today, the correct repository to use.
      
      This patch fixes the addresses for Flake8 and pydocstyle checks.
      0bb0d99a
    • Rafael Guterres Jeffman's avatar
      sudorule: Add support for 'hostmask' parameter · d859ddc7
      Rafael Guterres Jeffman authored
      The hostmask parameter allows matching a sudorule against a network
      address, and was missing from ipasudorule module.
      
      Documentation and tests were updated to reflect changes.
      
      Two new example playbooks are available:
      
          playbooks/sudorule/ensure-sudorule-hostmask-member-is-absent.yml
          playbooks/sudorule/ensure-sudorule-hostmask-member-is-present.yml
      d859ddc7
  7. Nov 23, 2022
    • Rafael Guterres Jeffman's avatar
      Merge pull request #988 from t-woerner/ipaclient_configure_dns_resolver · 460adff1
      Rafael Guterres Jeffman authored
      ipaclient: Configure DNS resolver
      460adff1
    • Rafael Guterres Jeffman's avatar
      Merge pull request #987 from t-woerner/ipaclient_no_kinit_on_controller_for_OTP · a823c0b0
      Rafael Guterres Jeffman authored
      ipaclient: No kinit on controller for deployment using OTP
      a823c0b0
    • Thomas Woerner's avatar
      ipaclient: No kinit on controller for deployment using OTP · 624e0d34
      Thomas Woerner authored
      The generation of the OTP for client deployment is now completely
      happening on the first of the given or detected servers with delegate_to.
      The module ipaclient_get_otp has been replaced by a new module using code
      from ipahost module and module_utils ansible_freeipa_module.
      
      The action plugin ipaclient_get_otp has been removed and with this also
      ipaclient_get_facts.
      
      If an admin keytab is used instead of an admin password, it is copied to
      the server as a temporary file to enable the OTP generation. The temporary
      file is removed again after using the ipaclient_get_otp module.
      
      The utils script build-galaxy-release.sh has been updated to not copy the
      ipaclient action plugin to the global plugins folder of the collection.
      
      This change is import for the use of the ipaclient role with AAP as only
      the base environment is sufficient now.
      
      The ipaclient README and also the global README have been updated as
      kinit is not needed anymore on the controller for OTP.
      
      Fixes #903 (Allow the use of principals other than admin when using
                  ipaadmin_keytab)
      624e0d34
    • Thomas Woerner's avatar
      ipaclient: Configure DNS resolver · 1c17f426
      Thomas Woerner authored
      The configuration of the DNS resolver is useful if the IPA server has
      internal DNS support.
      
      The installation of packages is happening before the DNS resolver is
      configured, therefore package installation needs to be possible without
      the configuration of the DNS resolver.
      
      The DNS nameservers are configured for `NetworkManager`, `systemd-resolved`
      (if installed and enabled) and `/etc/resolv.conf` if neither NetworkManager
      nor systemd-resolved is used.
      
      Example inventory:
      
        [ipaserver]
        ipaserver.example.com
      
        [ipaclients]
        ipaclient1.example.com
      
        [ipaclients:vars]
        ipaadmin_principal=admin
        ipaadmin_password=MySecretPassword123
        ipaclient_domain=example.com
        ipaclient_configure_dns_resolver=yes
        ipaclient_dns_servers=192.168.100.1
        ipaclient_cleanup_dns_resolver=yes
      
      New parameters:
      
      ipaclient_configure_dns_resolver
        The bool value defines if the DNS resolver is configured. before deploying
        the client. This is useful if the IPA server has internal DNS support.
        ipaclient_dns_server need to be set also.
      ipaclient_dns_servers
        The list of DNS server IP addresses. This is only useful with
        ipaclient_configure_dns_resolver.
      ipaclient_cleanup_dns_resolver
        The bool value defines if DNS resolvers that have been configured before
        with ipaclient_configure_dns_resolver will be cleaned up again.
      
      New module:
      
      roles/ipaclient/library/ipaclient_configure_dns_resolver.py
      
      Fixes: #902 (Consider adding support for client DNS resolver
                   configuration)
      1c17f426
  8. Nov 18, 2022
  9. Nov 17, 2022
  10. Nov 14, 2022
    • Thomas Woerner's avatar
      Merge pull request #980 from rjeffman/ci_update_checkout · 2cfa9af5
      Thomas Woerner authored
      upstream ci: Update Github actions due to old Node.js.     
      2cfa9af5
    • Rafael Guterres Jeffman's avatar
      upstream ci: Use Shellcheck action from 'master'. · f2632d8c
      Rafael Guterres Jeffman authored
      The Shellcheck action used in Gtihub workflows has bee updated, but has
      not have a new release in 18 months. It is recommended by the action
      developers to use the 'master' branch for the action.
      
      This patch enables the use of the master branch for the Shellcheck
      action.
      f2632d8c
    • Rafael Guterres Jeffman's avatar
      upstream ci: Update Github actions due to old Node.js. · f82b93a8
      Rafael Guterres Jeffman authored
      There are warnings on Github workflows about the need to update actions
      'checkout' and 'setup-python' due to the use of Node.js versions that
      are too old.
      
      This patch updates the use of actions/checkout from v2 to v3.1.0, and
      setup-python from v2 to v4.3.0.
      f82b93a8
    • Thomas Woerner's avatar
      ipaserver_test: Fix documentation sections and agument spec · 57c303d8
      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_server.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      57c303d8
    • Thomas Woerner's avatar
      ipaserver_setup_otpd: Fix documentation sections and agument spec · 165c3f06
      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`
      - `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
      
      A call to ansible_ipa_server.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      165c3f06
    • Thomas Woerner's avatar
      ipaserver_setup_ntp: Fix documentation sections and agument spec · 300292c0
      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`
      - `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
      
      A call to ansible_ipa_server.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      300292c0
    • Thomas Woerner's avatar
      ipaserver_setup_krb: Fix documentation sections and agument spec · 15454c3a
      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
      
      A call to ansible_ipa_server.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      15454c3a
    • Thomas Woerner's avatar
      ipaserver_setup_kra: Fix documentation sections and agument spec · d962939a
      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
      
      A call to ansible_ipa_server.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      d962939a
    • Thomas Woerner's avatar
      ipaserver_setup_http: Fix documentation sections and agument spec · 66dbfce0
      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
      
      A call to ansible_ipa_server.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      66dbfce0
    • Thomas Woerner's avatar
      ipaserver_setup_ds: Fix documentation sections and agument spec · b22207d6
      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
      
      A call to ansible_ipa_server.check_imports has been added to check for import
      errors.
      
      The `copyright` date is extended with `-2022`.
      b22207d6