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

- name: Ensure owner on directory /run/log/journal/ recursively
  ansible.builtin.file:
    path: "/run/log/journal/"
    follow: false
    state: directory

    recurse: yes

    owner: "{{ dir_owner_system_journal_newown }}"





- name: Ensure owner on directory /var/log/journal/ recursively
  ansible.builtin.file:
    path: "/var/log/journal/"
    follow: false
    state: directory

    recurse: yes

    owner: "{{ dir_owner_system_journal_newown }}"



