Skip to content
  1. Dec 20, 2022
    • Thomas Woerner's avatar
      user: Use FQCN for ansible.builtin · 198298b2
      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
      198298b2
    • Thomas Woerner's avatar
      trust: Use FQCN for ansible.builtin · d5269c83
      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
      d5269c83
    • Thomas Woerner's avatar
      sudo*: Use FQCN for ansible.builtin · 9d47ffc2
      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
      9d47ffc2
    • Thomas Woerner's avatar
      servicedelegation*: Use FQCN for ansible.builtin · feadbfce
      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
      feadbfce
    • Thomas Woerner's avatar
      service: Use FQCN for ansible.builtin · a9257e7f
      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
      a9257e7f
    • Thomas Woerner's avatar
      server: Use FQCN for ansible.builtin · d204b6d4
      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
      d204b6d4
    • Thomas Woerner's avatar
      selfservice: Use FQCN for ansible.builtin · c6458414
      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
      c6458414
    • Thomas Woerner's avatar
      role: Use FQCN for ansible.builtin · f2a0edeb
      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
      f2a0edeb
    • Thomas Woerner's avatar
      pwpolicy: Use FQCN for ansible.builtin · 45baf5c1
      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
      45baf5c1
    • Thomas Woerner's avatar
      privilege: Use FQCN for ansible.builtin · deec31c3
      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
      deec31c3
    • Thomas Woerner's avatar
      permission: Use FQCN for ansible.builtin · fea480b3
      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
      fea480b3
    • Thomas Woerner's avatar
      netgroup: Use FQCN for ansible.builtin · defd1e4e
      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
      defd1e4e
    • Thomas Woerner's avatar
      location: Use FQCN for ansible.builtin · adc262bc
      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
      adc262bc
    • Thomas Woerner's avatar
      idrange: Use FQCN for ansible.builtin · 72b4b891
      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
      72b4b891
    • Thomas Woerner's avatar
      host*: Use FQCN for ansible.builtin · 473ed03e
      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
      473ed03e
    • Thomas Woerner's avatar
      hbac*: Use FQCN for ansible.builtin · d546b461
      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
      d546b461
    • Thomas Woerner's avatar
      group: Use FQCN for ansible.builtin · 872537f4
      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
      872537f4
    • 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
  2. Dec 02, 2022
  3. Nov 30, 2022
  4. Nov 28, 2022
  5. Nov 24, 2022
    • 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
  6. Nov 18, 2022
    • Rafael Guterres Jeffman's avatar
      pwpolicy: Add support for password check and grace limit. · 58725364
      Rafael Guterres Jeffman authored
      On recent versions of FreeIPA option to verify passwords and for
      controlling a password grace period have been added to IPA API.
      
      This patch adds support for the parameters maxrepeat, maxsequence,
      dictcheck and usercheck, available since FreeIPA, 4.9 and gracelimit,
      available since FreeIPA 4.9.10.
      
      Test playbooks for the module have been updated with the new supported
      parameters.
      
      New example playbooks can be found at:
      
          playbooks/pwpolicy/pwpolicy_grace_limit.yml
          playbooks/pwpolicy/pwpolicy_password_check.yml
      58725364
  7. Nov 17, 2022
    • Rafael Guterres Jeffman's avatar
      upstream tests: Removal of 'warn: no' from shell plugins · 6601ee3a
      Rafael Guterres Jeffman authored
      The parameter 'warn' from ansible.builtin.shell was deprecated in
      ansible-core version 2.11 and removed in version 2.14.
      
      This patch removes the usage of this parameter from ansible-freeipa
      tests, and adds 'deprecated-command-syntax' to the skip list of
      ansible-lint configuration to cope with the change in the linter.
      6601ee3a
  8. Nov 11, 2022
  9. Nov 07, 2022
  10. Oct 26, 2022
    • 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
  11. 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
  12. Oct 18, 2022
    • 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
Loading