[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var 
naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This 
feature will be removed from ansible-core in version 2.19. Deprecation warnings
 can be disabled by setting deprecation_warnings=False in ansible.cfg.
ansible-playbook [core 2.17.3]
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible
  ansible collection location = /tmp/collections-ErT
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.12.4 (main, Jun  7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12)
  jinja version = 3.1.4
  libyaml = True
No config file found; using defaults
running playbook inside collection fedora.linux_system_roles
redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug
redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug
redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.

PLAYBOOK: tests_default.yml ****************************************************
1 plays in /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_default.yml

PLAY [Ensure that the role runs with default parameters] ***********************

TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3
Saturday 17 August 2024  00:24:57 -0400 (0:00:00.014)       0:00:00.014 ******* 
included: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node1

TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2
Saturday 17 August 2024  00:24:57 -0400 (0:00:00.032)       0:00:00.047 ******* 
[WARNING]: Platform linux on host managed_node1 is using the discovered Python
interpreter at /usr/bin/python3.12, but future installation of another Python
interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [managed_node1]

TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10
Saturday 17 August 2024  00:25:00 -0400 (0:00:02.944)       0:00:02.992 ******* 
ok: [managed_node1] => {
    "changed": false,
    "stat": {
        "exists": false
    }
}

TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15
Saturday 17 August 2024  00:25:00 -0400 (0:00:00.581)       0:00:03.573 ******* 
ok: [managed_node1] => {
    "ansible_facts": {
        "__crypto_policies_is_ostree": false
    },
    "changed": false
}

TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22
Saturday 17 August 2024  00:25:00 -0400 (0:00:00.038)       0:00:03.612 ******* 
ok: [managed_node1] => {
    "changed": false,
    "stat": {
        "exists": false
    }
}

TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27
Saturday 17 August 2024  00:25:01 -0400 (0:00:00.429)       0:00:04.041 ******* 
ok: [managed_node1] => {
    "ansible_facts": {
        "__crypto_policies_is_transactional": false
    },
    "changed": false
}

TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31
Saturday 17 August 2024  00:25:01 -0400 (0:00:00.039)       0:00:04.081 ******* 
skipping: [managed_node1] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "RedHat.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node1] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "Fedora.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node1] => (item=Fedora_39.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "Fedora_39.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node1] => (item=Fedora_39.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "Fedora_39.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node1] => {
    "changed": false
}

MSG:

All items skipped

TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6
Saturday 17 August 2024  00:25:01 -0400 (0:00:00.041)       0:00:04.123 ******* 
ok: [managed_node1] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do
lsrpackages: crypto-policies crypto-policies-scripts

TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18
Saturday 17 August 2024  00:25:40 -0400 (0:00:39.100)       0:00:43.224 ******* 
skipping: [managed_node1] => {
    "false_condition": "__crypto_policies_is_transactional | d(false)"
}

TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23
Saturday 17 August 2024  00:25:40 -0400 (0:00:00.035)       0:00:43.259 ******* 
skipping: [managed_node1] => {
    "changed": false,
    "false_condition": "__crypto_policies_is_transactional | d(false)",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28
Saturday 17 August 2024  00:25:40 -0400 (0:00:00.035)       0:00:43.294 ******* 
skipping: [managed_node1] => {
    "changed": false,
    "false_condition": "__crypto_policies_is_transactional | d(false)",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.crypto_policies : Gather facts] ****************
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36
Saturday 17 August 2024  00:25:40 -0400 (0:00:00.035)       0:00:43.329 ******* 
included: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1

TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3
Saturday 17 August 2024  00:25:40 -0400 (0:00:00.016)       0:00:43.346 ******* 
ok: [managed_node1] => {
    "changed": false,
    "cmd": [
        "update-crypto-policies",
        "--show"
    ],
    "delta": "0:00:00.089778",
    "end": "2024-08-17 00:25:41.010681",
    "rc": 0,
    "start": "2024-08-17 00:25:40.920903"
}

STDOUT:

DEFAULT

TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] *****
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9
Saturday 17 August 2024  00:25:41 -0400 (0:00:00.570)       0:00:43.916 ******* 
ok: [managed_node1] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    },
    "changed": false
}

TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] ****
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39
Saturday 17 August 2024  00:25:41 -0400 (0:00:00.018)       0:00:43.935 ******* 
ok: [managed_node1] => {
    "changed": false,
    "examined": 12,
    "files": [
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148099,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 277,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148102,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 2765,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148104,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 3100,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148101,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/FIPS.pol",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 2244,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1722940884.806,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148098,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 3085,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148097,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/BSI.pol",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 4054,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148105,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/NEXT.pol",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 3085,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148100,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/FEDORA38.pol",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 3085,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148103,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 936,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148106,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 2844,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        }
    ],
    "matched": 10,
    "skipped_paths": {}
}

MSG:

All paths examined

TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47
Saturday 17 August 2024  00:25:41 -0400 (0:00:00.495)       0:00:44.430 ******* 
ok: [managed_node1] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "EMPTY",
            "FUTURE",
            "LEGACY",
            "FIPS",
            "DEFAULT",
            "BSI",
            "NEXT",
            "FEDORA38",
            "GOST-ONLY",
            "TEST-FEDORA39"
        ]
    },
    "changed": false
}

TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ********
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54
Saturday 17 August 2024  00:25:41 -0400 (0:00:00.043)       0:00:44.474 ******* 
ok: [managed_node1] => {
    "changed": false,
    "examined": 10,
    "files": [
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148116,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 131,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148108,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 331,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148115,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 2014,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148111,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 789,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148113,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/modules/NO-ENFORCE-EMS.pmod",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 248,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148110,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 398,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148109,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 136,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148117,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/modules/TEST-PQ.pmod",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 208,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148112,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 93,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        },
        {
            "atime": 1701648000.0,
            "ctime": 1722940806.966,
            "dev": 51714,
            "gid": 0,
            "gr_name": "root",
            "inode": 148114,
            "isblk": false,
            "ischr": false,
            "isdir": false,
            "isfifo": false,
            "isgid": false,
            "islnk": false,
            "isreg": true,
            "issock": false,
            "isuid": false,
            "mode": "0644",
            "mtime": 1701648000.0,
            "nlink": 1,
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod",
            "pw_name": "root",
            "rgrp": true,
            "roth": true,
            "rusr": true,
            "size": 288,
            "uid": 0,
            "wgrp": false,
            "woth": false,
            "wusr": true,
            "xgrp": false,
            "xoth": false,
            "xusr": false
        }
    ],
    "matched": 10,
    "skipped_paths": {}
}

MSG:

All paths examined

TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62
Saturday 17 August 2024  00:25:41 -0400 (0:00:00.377)       0:00:44.852 ******* 
ok: [managed_node1] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1",
            "AD-SUPPORT",
            "OSPP",
            "GOST",
            "NO-ENFORCE-EMS",
            "FEDORA32",
            "ECDHE-ONLY",
            "TEST-PQ",
            "NO-CAMELLIA",
            "NO-SHA1"
        ]
    },
    "changed": false
}

TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69
Saturday 17 August 2024  00:25:42 -0400 (0:00:00.043)       0:00:44.895 ******* 
ok: [managed_node1] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1",
            "AD-SUPPORT",
            "OSPP",
            "GOST",
            "NO-ENFORCE-EMS",
            "FEDORA32",
            "ECDHE-ONLY",
            "TEST-PQ",
            "NO-CAMELLIA",
            "NO-SHA1"
        ]
    },
    "changed": false
}

TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75
Saturday 17 August 2024  00:25:42 -0400 (0:00:00.017)       0:00:44.912 ******* 
skipping: [managed_node1] => {
    "changed": false,
    "false_condition": "crypto_policies_policy is not none",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87
Saturday 17 August 2024  00:25:42 -0400 (0:00:00.018)       0:00:44.930 ******* 
skipping: [managed_node1] => {
    "changed": false,
    "false_condition": "crypto_policies_policy is not none",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95
Saturday 17 August 2024  00:25:42 -0400 (0:00:00.018)       0:00:44.949 ******* 
included: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1

TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3
Saturday 17 August 2024  00:25:42 -0400 (0:00:00.016)       0:00:44.965 ******* 
ok: [managed_node1] => {
    "changed": false,
    "cmd": [
        "update-crypto-policies",
        "--show"
    ],
    "delta": "0:00:00.061047",
    "end": "2024-08-17 00:25:42.489950",
    "rc": 0,
    "start": "2024-08-17 00:25:42.428903"
}

STDOUT:

DEFAULT

TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] *****
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9
Saturday 17 August 2024  00:25:42 -0400 (0:00:00.431)       0:00:45.396 ******* 
ok: [managed_node1] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    },
    "changed": false
}

TASK [Flush handlers] **********************************************************
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_default.yml:11
Saturday 17 August 2024  00:25:42 -0400 (0:00:00.019)       0:00:45.416 ******* 
META: triggered running handlers for managed_node1

TASK [Check the current policy is DEFAULT and common variables] ****************
task path: /tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_default.yml:14
Saturday 17 August 2024  00:25:42 -0400 (0:00:00.002)       0:00:45.418 ******* 
ok: [managed_node1] => {
    "changed": false
}

MSG:

All assertions passed

PLAY RECAP *********************************************************************
managed_node1              : ok=19   changed=0    unreachable=0    failed=0    skipped=6    rescued=0    ignored=0   

Saturday 17 August 2024  00:25:42 -0400 (0:00:00.027)       0:00:45.446 ******* 
=============================================================================== 
fedora.linux_system_roles.crypto_policies : Ensure required packages are installed -- 39.10s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 
fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 2.94s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 
fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.58s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 
fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.57s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 
fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.50s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 
fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.43s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 
fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin --- 0.43s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 
fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.38s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 
fedora.linux_system_roles.crypto_policies : Set available base policies fact --- 0.04s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 
fedora.linux_system_roles.crypto_policies : Set available subpolicies fact --- 0.04s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 
fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.04s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 
fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists --- 0.04s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 
fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree --- 0.04s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 
fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes --- 0.04s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 
fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set --- 0.04s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 
fedora.linux_system_roles.crypto_policies : Reboot transactional update systems --- 0.04s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 
fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.03s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 
Check the current policy is DEFAULT and common variables ---------------- 0.03s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_default.yml:14 
fedora.linux_system_roles.crypto_policies : Set current policy fact ----- 0.02s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 
fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed --- 0.02s
/tmp/collections-ErT/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87