# platform = multi_platform_all
# reboot = false
# strategy = configure
# complexity = low
# disruption = low
- name: Set the dir_group_ownership_library_dirs_newgroup variable if represented by gid
  ansible.builtin.set_fact:
    dir_group_ownership_library_dirs_newgroup: "0"

- name: Ensure group owner on /lib/ recursively
  ansible.builtin.file:
    path: "/lib/"
    follow: false
    state: directory

    recurse: yes

    group: "{{ dir_group_ownership_library_dirs_newgroup }}"





- name: Ensure group owner on /lib64/ recursively
  ansible.builtin.file:
    path: "/lib64/"
    follow: false
    state: directory

    recurse: yes

    group: "{{ dir_group_ownership_library_dirs_newgroup }}"





- name: Ensure group owner on /usr/lib/ recursively
  ansible.builtin.file:
    path: "/usr/lib/"
    follow: false
    state: directory

    recurse: yes

    group: "{{ dir_group_ownership_library_dirs_newgroup }}"





- name: Ensure group owner on /usr/lib64/ recursively
  ansible.builtin.file:
    path: "/usr/lib64/"
    follow: false
    state: directory

    recurse: yes

    group: "{{ dir_group_ownership_library_dirs_newgroup }}"



