Skip to content
  1. Dec 20, 2022
    • Thomas Woerner's avatar
      tests/external-signed-ca-*: Use FQCN for ansible.builtin · d6658347
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      d6658347
    • Thomas Woerner's avatar
      tests/env_freeipa_facts.yml: Use FQCN for ansible.builtin · 062b53a6
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      062b53a6
    • Thomas Woerner's avatar
      dnszone: Use FQCN for ansible.builtin · 470d0ddc
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      470d0ddc
    • Thomas Woerner's avatar
      dnsrecord: Use FQCN for ansible.builtin · 2e707a48
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      2e707a48
    • Thomas Woerner's avatar
      dnsforwardzone: Use FQCN for ansible.builtin · 971d40c3
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      971d40c3
    • Thomas Woerner's avatar
      dnsconfig: Use FQCN for ansible.builtin · 7d89af48
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      7d89af48
    • Thomas Woerner's avatar
      delegation: Use FQCN for ansible.builtin · 03ce096f
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      03ce096f
    • Thomas Woerner's avatar
      config: Use FQCN for ansible.builtin · 91edff3b
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      91edff3b
    • Thomas Woerner's avatar
      tests/ca-less: Use FQCN for ansible.builtin · 84c01880
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      84c01880
    • Thomas Woerner's avatar
      automount: Use FQCN for ansible.builtin · 1f91730b
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      1f91730b
    • Thomas Woerner's avatar
      automember: Use FQCN for ansible.builtin · 99c7acbe
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      99c7acbe
    • Thomas Woerner's avatar
      ipabackup role: Use FQCN for ansible.builtin · 14706cc4
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      14706cc4
    • Thomas Woerner's avatar
      ipaclient role: Use FQCN for ansible.builtin · dde5b06b
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      dde5b06b
    • Thomas Woerner's avatar
      ipareplica role: Use FQCN for ansible.builtin · c7e83685
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      c7e83685
    • Thomas Woerner's avatar
      ipaserver role: Use FQCN for ansible.builtin · 882d6051
      Thomas Woerner authored
      Use Fully Qualified Collection Name (FQCN) for ansible builtins. This is
      ansible.builtin.set_fact instead of set_fact for example and aplies for
      all actions that are part of ansible.builtin.
      
      All the replaced ansible.builtins:
        assert, command, copy, debug, fail, fetch, file, import_playbook,
        import_tasks, include_role, include_tasks, include_vars, package,
        set_fact, shell, slurp, stat, systemd
      882d6051
  2. Dec 02, 2022
  3. Dec 01, 2022
  4. Nov 30, 2022
  5. Nov 29, 2022
  6. Nov 28, 2022
  7. 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
  8. 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
  9. Nov 18, 2022