ansible-playbook 2.9.27
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Using /etc/ansible/ansible.cfg as config file
 [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia
project.  xorriso : NOTE : Local character set is now assumed as: 'utf-8'
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.

PLAYBOOK: tests_default.yml ****************************************************
1 plays in /tmp/tmpoh43ssok/tests/tests_default.yml

PLAY [Ensure that the role runs with default parameters] ***********************
META: ran handlers

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3
Thursday 05 May 2022  04:50:01 +0000 (0:00:00.026)       0:00:00.026 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2
Thursday 05 May 2022  04:50:01 +0000 (0:00:00.024)       0:00:00.051 ********** 
[DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 
should use /usr/bin/python3, but is using /usr/bin/python for backward 
compatibility with prior Ansible releases. A future Ansible release will 
default to using the discovered platform python for this host. See https://docs
.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for 
more information. This feature will be removed in version 2.12. Deprecation 
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [/cache/fedora-34.qcow2]

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9
Thursday 05 May 2022  04:50:02 +0000 (0:00:00.923)       0:00:00.975 ********** 
skipping: [/cache/fedora-34.qcow2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6
Thursday 05 May 2022  04:50:02 +0000 (0:00:00.058)       0:00:01.034 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "rc": 0, 
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11
Thursday 05 May 2022  04:50:42 +0000 (0:00:39.920)       0:00:40.955 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:50:42 +0000 (0:00:00.024)       0:00:40.979 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.050619", 
    "end": "2022-05-05 04:50:41.887062", 
    "rc": 0, 
    "start": "2022-05-05 04:50:41.836443"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:50:43 +0000 (0:00:00.552)       0:00:41.531 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find base policies files] ***********
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13
Thursday 05 May 2022  04:50:43 +0000 (0:00:00.042)       0:00:41.574 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 9, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.421, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11804, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 395, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.422, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11805, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FIPS.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2153, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.427, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11809, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/NEXT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.423, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11806, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2535, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.424, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11807, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 953, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651393174.116, 
            "ctime": 1651393151.419, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11803, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.426, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11808, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 3000, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 7
}

TASK [linux-system-roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21
Thursday 05 May 2022  04:50:43 +0000 (0:00:00.512)       0:00:42.086 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "LEGACY", 
            "DEFAULT", 
            "NEXT", 
            "FUTURE", 
            "FIPS", 
            "GOST-ONLY", 
            "EMPTY"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find subpolicy files] ***************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28
Thursday 05 May 2022  04:50:43 +0000 (0:00:00.044)       0:00:42.130 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 8, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.435, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11816, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 150, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.433, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11814, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 776, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.434, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11815, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 246, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.438, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11818, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 135, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.43, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11812, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 220, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.429, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11811, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 306, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.431, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11813, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 442, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.437, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11817, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 832, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 8
}

TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36
Thursday 05 May 2022  04:50:44 +0000 (0:00:00.380)       0:00:42.511 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43
Thursday 05 May 2022  04:50:44 +0000 (0:00:00.049)       0:00:42.560 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49
Thursday 05 May 2022  04:50:44 +0000 (0:00:00.049)       0:00:42.610 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60
Thursday 05 May 2022  04:50:44 +0000 (0:00:00.037)       0:00:42.648 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69
Thursday 05 May 2022  04:50:44 +0000 (0:00:00.039)       0:00:42.687 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:50:44 +0000 (0:00:00.022)       0:00:42.710 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.044440", 
    "end": "2022-05-05 04:50:43.485946", 
    "rc": 0, 
    "start": "2022-05-05 04:50:43.441506"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:50:44 +0000 (0:00:00.422)       0:00:43.132 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}
META: ran handlers

TASK [Check the current policy is DEFAULT and common variables] ****************
task path: /tmp/tmpoh43ssok/tests/tests_default.yml:13
Thursday 05 May 2022  04:50:44 +0000 (0:00:00.040)       0:00:43.173 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
/cache/fedora-34.qcow2     : ok=15   changed=0    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0   

Thursday 05 May 2022  04:50:44 +0000 (0:00:00.047)       0:00:43.221 ********** 
=============================================================================== 
linux-system-roles.crypto_policies : Ensure required packages are installed -- 39.92s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 
linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.92s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.55s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find base policies files ----------- 0.51s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.42s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.38s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 
linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.06s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 
linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.05s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 
linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.05s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 
Check the current policy is DEFAULT and common variables ---------------- 0.05s
/tmp/tmpoh43ssok/tests/tests_default.yml:13 -----------------------------------
linux-system-roles.crypto_policies : Set available base policies fact --- 0.04s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 
linux-system-roles.crypto_policies : Set current policy fact ------------ 0.04s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 
linux-system-roles.crypto_policies : Set current policy fact ------------ 0.04s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 
linux-system-roles.crypto_policies : Set the reboot_required flag if needed --- 0.04s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 
linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.04s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 
linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.02s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 
linux-system-roles.crypto_policies : include_tasks ---------------------- 0.02s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 
linux-system-roles.crypto_policies : include_tasks ---------------------- 0.02s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 
ansible-playbook 2.9.27
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Using /etc/ansible/ansible.cfg as config file
 [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia
project.  xorriso : NOTE : Local character set is now assumed as: 'utf-8'
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.

PLAYBOOK: tests_include_vars_from_parent.yml ***********************************
1 plays in /tmp/tmpoh43ssok/tests/tests_include_vars_from_parent.yml

PLAY [all] *********************************************************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/tmpoh43ssok/tests/tests_include_vars_from_parent.yml:1
Thursday 05 May 2022  04:50:56 +0000 (0:00:00.022)       0:00:00.022 ********** 
[DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 
should use /usr/bin/python3, but is using /usr/bin/python for backward 
compatibility with prior Ansible releases. A future Ansible release will 
default to using the discovered platform python for this host. See https://docs
.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for 
more information. This feature will be removed in version 2.12. Deprecation 
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [/cache/fedora-34.qcow2]
META: ran handlers

TASK [create var file in caller that can override the one in called role] ******
task path: /tmp/tmpoh43ssok/tests/tests_include_vars_from_parent.yml:3
Thursday 05 May 2022  04:50:57 +0000 (0:00:01.172)       0:00:01.195 ********** 
changed: [/cache/fedora-34.qcow2 -> localhost] => (item=Fedora-34) => {
    "ansible_loop_var": "item", 
    "changed": true, 
    "checksum": "870b2314d3f4184a363b31373f07abb444f26444", 
    "dest": "/tmp/tmpoh43ssok/tests/roles/caller/vars/Fedora-34.yml", 
    "gid": 0, 
    "group": "root", 
    "item": "Fedora-34", 
    "md5sum": "5a57da448a1d752b982858b38aab344d", 
    "mode": "0600", 
    "owner": "root", 
    "size": 23, 
    "src": "/root/.ansible/tmp/ansible-tmp-1651726257.73-236858-277158913268054/source", 
    "state": "file", 
    "uid": 0
}
changed: [/cache/fedora-34.qcow2 -> localhost] => (item=Fedora_34) => {
    "ansible_loop_var": "item", 
    "changed": true, 
    "checksum": "870b2314d3f4184a363b31373f07abb444f26444", 
    "dest": "/tmp/tmpoh43ssok/tests/roles/caller/vars/Fedora_34.yml", 
    "gid": 0, 
    "group": "root", 
    "item": "Fedora_34", 
    "md5sum": "5a57da448a1d752b982858b38aab344d", 
    "mode": "0600", 
    "owner": "root", 
    "size": 23, 
    "src": "/root/.ansible/tmp/ansible-tmp-1651726258.33-236858-37223101827257/source", 
    "state": "file", 
    "uid": 0
}
changed: [/cache/fedora-34.qcow2 -> localhost] => (item=Fedora) => {
    "ansible_loop_var": "item", 
    "changed": true, 
    "checksum": "870b2314d3f4184a363b31373f07abb444f26444", 
    "dest": "/tmp/tmpoh43ssok/tests/roles/caller/vars/Fedora.yml", 
    "gid": 0, 
    "group": "root", 
    "item": "Fedora", 
    "md5sum": "5a57da448a1d752b982858b38aab344d", 
    "mode": "0600", 
    "owner": "root", 
    "size": 23, 
    "src": "/root/.ansible/tmp/ansible-tmp-1651726258.6-236858-229404760087494/source", 
    "state": "file", 
    "uid": 0
}
changed: [/cache/fedora-34.qcow2 -> localhost] => (item=RedHat) => {
    "ansible_loop_var": "item", 
    "changed": true, 
    "checksum": "870b2314d3f4184a363b31373f07abb444f26444", 
    "dest": "/tmp/tmpoh43ssok/tests/roles/caller/vars/RedHat.yml", 
    "gid": 0, 
    "group": "root", 
    "item": "RedHat", 
    "md5sum": "5a57da448a1d752b982858b38aab344d", 
    "mode": "0600", 
    "owner": "root", 
    "size": 23, 
    "src": "/root/.ansible/tmp/ansible-tmp-1651726258.86-236858-203986866107879/source", 
    "state": "file", 
    "uid": 0
}

TASK [include_role : {{ roletoinclude }}] **************************************
task path: /tmp/tmpoh43ssok/tests/roles/caller/tasks/main.yml:4
Thursday 05 May 2022  04:50:59 +0000 (0:00:01.418)       0:00:02.614 ********** 

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3
Thursday 05 May 2022  04:50:59 +0000 (0:00:00.123)       0:00:02.737 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2
Thursday 05 May 2022  04:50:59 +0000 (0:00:00.035)       0:00:02.772 ********** 
ok: [/cache/fedora-34.qcow2]

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9
Thursday 05 May 2022  04:50:59 +0000 (0:00:00.553)       0:00:03.326 ********** 
skipping: [/cache/fedora-34.qcow2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6
Thursday 05 May 2022  04:50:59 +0000 (0:00:00.040)       0:00:03.366 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "rc": 0, 
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11
Thursday 05 May 2022  04:52:01 +0000 (0:01:01.248)       0:01:04.615 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:52:01 +0000 (0:00:00.032)       0:01:04.647 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.053227", 
    "end": "2022-05-05 04:52:01.748787", 
    "rc": 0, 
    "start": "2022-05-05 04:52:01.695560"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:52:01 +0000 (0:00:00.565)       0:01:05.213 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find base policies files] ***********
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13
Thursday 05 May 2022  04:52:01 +0000 (0:00:00.023)       0:01:05.236 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 9, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.421, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11804, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 395, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.422, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11805, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FIPS.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2153, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.427, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11809, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/NEXT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.423, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11806, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2535, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.424, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11807, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 953, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651393174.116, 
            "ctime": 1651393151.419, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11803, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.426, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11808, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 3000, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 7
}

TASK [linux-system-roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21
Thursday 05 May 2022  04:52:02 +0000 (0:00:00.508)       0:01:05.745 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "LEGACY", 
            "DEFAULT", 
            "NEXT", 
            "FUTURE", 
            "FIPS", 
            "GOST-ONLY", 
            "EMPTY"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find subpolicy files] ***************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28
Thursday 05 May 2022  04:52:02 +0000 (0:00:00.026)       0:01:05.771 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 8, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.435, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11816, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 150, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.433, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11814, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 776, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.434, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11815, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 246, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.438, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11818, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 135, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.43, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11812, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 220, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.429, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11811, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 306, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.431, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11813, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 442, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.437, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11817, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 832, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 8
}

TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36
Thursday 05 May 2022  04:52:02 +0000 (0:00:00.401)       0:01:06.173 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43
Thursday 05 May 2022  04:52:02 +0000 (0:00:00.024)       0:01:06.197 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49
Thursday 05 May 2022  04:52:02 +0000 (0:00:00.024)       0:01:06.222 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60
Thursday 05 May 2022  04:52:02 +0000 (0:00:00.019)       0:01:06.241 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69
Thursday 05 May 2022  04:52:02 +0000 (0:00:00.020)       0:01:06.262 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:52:02 +0000 (0:00:00.031)       0:01:06.294 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.043859", 
    "end": "2022-05-05 04:52:03.250792", 
    "rc": 0, 
    "start": "2022-05-05 04:52:03.206933"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:52:03 +0000 (0:00:00.422)       0:01:06.716 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}

TASK [caller : assert] *********************************************************
task path: /tmp/tmpoh43ssok/tests/roles/caller/tasks/main.yml:7
Thursday 05 May 2022  04:52:03 +0000 (0:00:00.024)       0:01:06.740 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
/cache/fedora-34.qcow2     : ok=17   changed=1    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0   

Thursday 05 May 2022  04:52:03 +0000 (0:00:00.020)       0:01:06.760 ********** 
=============================================================================== 
linux-system-roles.crypto_policies : Ensure required packages are installed -- 61.25s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 
create var file in caller that can override the one in called role ------ 1.42s
/tmp/tmpoh43ssok/tests/tests_include_vars_from_parent.yml:3 -------------------
Gathering Facts --------------------------------------------------------- 1.17s
/tmp/tmpoh43ssok/tests/tests_include_vars_from_parent.yml:1 -------------------
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.57s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.55s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 
linux-system-roles.crypto_policies : Find base policies files ----------- 0.51s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.42s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.40s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 
include_role : {{ roletoinclude }} -------------------------------------- 0.12s
/tmp/tmpoh43ssok/tests/roles/caller/tasks/main.yml:4 --------------------------
linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.04s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 
linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.04s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 
linux-system-roles.crypto_policies : include_tasks ---------------------- 0.03s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 
linux-system-roles.crypto_policies : include_tasks ---------------------- 0.03s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 
linux-system-roles.crypto_policies : Set available base policies fact --- 0.03s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 
linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.02s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 
linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.02s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 
linux-system-roles.crypto_policies : Set current policy fact ------------ 0.02s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 
linux-system-roles.crypto_policies : Set current policy fact ------------ 0.02s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 
linux-system-roles.crypto_policies : Set the reboot_required flag if needed --- 0.02s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 
caller : assert --------------------------------------------------------- 0.02s
/tmp/tmpoh43ssok/tests/roles/caller/tasks/main.yml:7 --------------------------
ansible-playbook 2.9.27
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Using /etc/ansible/ansible.cfg as config file
 [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia
project.  xorriso : NOTE : Local character set is now assumed as: 'utf-8'
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.

PLAYBOOK: tests_no_package_update.yml ******************************************
1 plays in /tmp/tmpoh43ssok/tests/tests_no_package_update.yml

PLAY [Ensure that running the role does not update packages] *******************

TASK [Gathering Facts] *********************************************************
task path: /tmp/tmpoh43ssok/tests/tests_no_package_update.yml:3
Thursday 05 May 2022  04:52:15 +0000 (0:00:00.023)       0:00:00.023 ********** 
[DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 
should use /usr/bin/python3, but is using /usr/bin/python for backward 
compatibility with prior Ansible releases. A future Ansible release will 
default to using the discovered platform python for this host. See https://docs
.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for 
more information. This feature will be removed in version 2.12. Deprecation 
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [/cache/fedora-34.qcow2]
META: ran handlers

TASK [Get package facts] *******************************************************
task path: /tmp/tmpoh43ssok/tests/tests_no_package_update.yml:6
Thursday 05 May 2022  04:52:16 +0000 (0:00:00.992)       0:00:01.015 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", 
    "changed": false
}

TASK [Save current package facts] **********************************************
task path: /tmp/tmpoh43ssok/tests/tests_no_package_update.yml:10
Thursday 05 May 2022  04:52:18 +0000 (0:00:01.074)       0:00:02.089 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", 
    "changed": false
}

TASK [Include role] ************************************************************
task path: /tmp/tmpoh43ssok/tests/tests_no_package_update.yml:15
Thursday 05 May 2022  04:52:18 +0000 (0:00:00.154)       0:00:02.244 ********** 

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3
Thursday 05 May 2022  04:52:18 +0000 (0:00:00.078)       0:00:02.323 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2
Thursday 05 May 2022  04:52:18 +0000 (0:00:00.071)       0:00:02.394 ********** 
ok: [/cache/fedora-34.qcow2]

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9
Thursday 05 May 2022  04:52:18 +0000 (0:00:00.553)       0:00:02.948 ********** 
skipping: [/cache/fedora-34.qcow2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6
Thursday 05 May 2022  04:52:19 +0000 (0:00:00.119)       0:00:03.068 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "rc": 0, 
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11
Thursday 05 May 2022  04:53:27 +0000 (0:01:08.929)       0:01:11.997 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:53:28 +0000 (0:00:00.073)       0:01:12.070 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.050694", 
    "end": "2022-05-05 04:53:27.247530", 
    "rc": 0, 
    "start": "2022-05-05 04:53:27.196836"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:53:28 +0000 (0:00:00.574)       0:01:12.645 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find base policies files] ***********
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13
Thursday 05 May 2022  04:53:28 +0000 (0:00:00.064)       0:01:12.709 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 9, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.421, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11804, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 395, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.422, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11805, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FIPS.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2153, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.427, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11809, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/NEXT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.423, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11806, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2535, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.424, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11807, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 953, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651393174.116, 
            "ctime": 1651393151.419, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11803, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.426, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11808, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 3000, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 7
}

TASK [linux-system-roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21
Thursday 05 May 2022  04:53:29 +0000 (0:00:00.561)       0:01:13.270 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "LEGACY", 
            "DEFAULT", 
            "NEXT", 
            "FUTURE", 
            "FIPS", 
            "GOST-ONLY", 
            "EMPTY"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find subpolicy files] ***************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28
Thursday 05 May 2022  04:53:29 +0000 (0:00:00.068)       0:01:13.339 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 8, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.435, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11816, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 150, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.433, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11814, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 776, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.434, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11815, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 246, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.438, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11818, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 135, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.43, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11812, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 220, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.429, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11811, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 306, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.431, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11813, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 442, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.437, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11817, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 832, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 8
}

TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36
Thursday 05 May 2022  04:53:29 +0000 (0:00:00.405)       0:01:13.744 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43
Thursday 05 May 2022  04:53:29 +0000 (0:00:00.079)       0:01:13.824 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49
Thursday 05 May 2022  04:53:29 +0000 (0:00:00.072)       0:01:13.896 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60
Thursday 05 May 2022  04:53:29 +0000 (0:00:00.064)       0:01:13.961 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69
Thursday 05 May 2022  04:53:29 +0000 (0:00:00.067)       0:01:14.028 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:53:30 +0000 (0:00:00.071)       0:01:14.100 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.041579", 
    "end": "2022-05-05 04:53:29.142326", 
    "rc": 0, 
    "start": "2022-05-05 04:53:29.100747"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:53:30 +0000 (0:00:00.440)       0:01:14.541 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}

TASK [Refresh package facts] ***************************************************
task path: /tmp/tmpoh43ssok/tests/tests_no_package_update.yml:19
Thursday 05 May 2022  04:53:30 +0000 (0:00:00.065)       0:01:14.606 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", 
    "changed": false
}

TASK [Verify packages were not changed] ****************************************
task path: /tmp/tmpoh43ssok/tests/tests_no_package_update.yml:23
Thursday 05 May 2022  04:53:31 +0000 (0:00:00.696)       0:01:15.302 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
/cache/fedora-34.qcow2     : ok=19   changed=0    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0   

Thursday 05 May 2022  04:53:31 +0000 (0:00:00.053)       0:01:15.356 ********** 
=============================================================================== 
linux-system-roles.crypto_policies : Ensure required packages are installed -- 68.93s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 
Get package facts ------------------------------------------------------- 1.07s
/tmp/tmpoh43ssok/tests/tests_no_package_update.yml:6 --------------------------
Gathering Facts --------------------------------------------------------- 0.99s
/tmp/tmpoh43ssok/tests/tests_no_package_update.yml:3 --------------------------
Refresh package facts --------------------------------------------------- 0.70s
/tmp/tmpoh43ssok/tests/tests_no_package_update.yml:19 -------------------------
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.57s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find base policies files ----------- 0.56s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 
linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.55s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.44s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.41s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 
Save current package facts ---------------------------------------------- 0.15s
/tmp/tmpoh43ssok/tests/tests_no_package_update.yml:10 -------------------------
linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.12s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 
linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.08s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 
Include role ------------------------------------------------------------ 0.08s
/tmp/tmpoh43ssok/tests/tests_no_package_update.yml:15 -------------------------
linux-system-roles.crypto_policies : include_tasks ---------------------- 0.07s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 
linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.07s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 
linux-system-roles.crypto_policies : include_tasks ---------------------- 0.07s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 
linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.07s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 
linux-system-roles.crypto_policies : Set available base policies fact --- 0.07s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 
linux-system-roles.crypto_policies : Set the reboot_required flag if needed --- 0.07s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 
linux-system-roles.crypto_policies : Set current policy fact ------------ 0.07s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 
ansible-playbook 2.9.27
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Using /etc/ansible/ansible.cfg as config file
 [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia
project.  xorriso : NOTE : Local character set is now assumed as: 'utf-8'
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.

PLAYBOOK: tests_reboot.yml *****************************************************
1 plays in /tmp/tmpoh43ssok/tests/tests_reboot.yml

PLAY [Ensure we can set crypto policy including reboot of the system] **********

TASK [Gathering Facts] *********************************************************
task path: /tmp/tmpoh43ssok/tests/tests_reboot.yml:3
Thursday 05 May 2022  04:53:43 +0000 (0:00:00.026)       0:00:00.026 ********** 
[DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 
should use /usr/bin/python3, but is using /usr/bin/python for backward 
compatibility with prior Ansible releases. A future Ansible release will 
default to using the discovered platform python for this host. See https://docs
.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for 
more information. This feature will be removed in version 2.12. Deprecation 
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [/cache/fedora-34.qcow2]
META: ran handlers

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3
Thursday 05 May 2022  04:53:44 +0000 (0:00:01.020)       0:00:01.046 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2
Thursday 05 May 2022  04:53:44 +0000 (0:00:00.032)       0:00:01.079 ********** 
ok: [/cache/fedora-34.qcow2]

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9
Thursday 05 May 2022  04:53:45 +0000 (0:00:00.553)       0:00:01.632 ********** 
skipping: [/cache/fedora-34.qcow2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6
Thursday 05 May 2022  04:53:45 +0000 (0:00:00.061)       0:00:01.694 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "rc": 0, 
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11
Thursday 05 May 2022  04:55:23 +0000 (0:01:38.411)       0:01:40.105 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:55:23 +0000 (0:00:00.025)       0:01:40.131 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.051276", 
    "end": "2022-05-05 04:55:22.699107", 
    "rc": 0, 
    "start": "2022-05-05 04:55:22.647831"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:55:24 +0000 (0:00:00.540)       0:01:40.671 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find base policies files] ***********
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13
Thursday 05 May 2022  04:55:24 +0000 (0:00:00.047)       0:01:40.718 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 9, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.421, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11804, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 395, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.422, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11805, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FIPS.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2153, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.427, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11809, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/NEXT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.423, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11806, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2535, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.424, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11807, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 953, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651393174.116, 
            "ctime": 1651393151.419, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11803, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.426, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11808, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 3000, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 7
}

TASK [linux-system-roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21
Thursday 05 May 2022  04:55:24 +0000 (0:00:00.511)       0:01:41.230 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "LEGACY", 
            "DEFAULT", 
            "NEXT", 
            "FUTURE", 
            "FIPS", 
            "GOST-ONLY", 
            "EMPTY"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find subpolicy files] ***************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28
Thursday 05 May 2022  04:55:24 +0000 (0:00:00.045)       0:01:41.275 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 8, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.435, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11816, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 150, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.433, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11814, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 776, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.434, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11815, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 246, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.438, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11818, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 135, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.43, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11812, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 220, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.429, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11811, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 306, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.431, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11813, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 442, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.437, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11817, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 832, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 8
}

TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36
Thursday 05 May 2022  04:55:25 +0000 (0:00:00.379)       0:01:41.654 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43
Thursday 05 May 2022  04:55:25 +0000 (0:00:00.042)       0:01:41.697 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49
Thursday 05 May 2022  04:55:25 +0000 (0:00:00.043)       0:01:41.740 ********** 
NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-34.qcow2
NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-34.qcow2
changed: [/cache/fedora-34.qcow2] => {
    "changed": true, 
    "cmd": [
        "update-crypto-policies", 
        "--set", 
        "FUTURE"
    ], 
    "delta": "0:00:00.099973", 
    "end": "2022-05-05 04:55:24.245997", 
    "rc": 0, 
    "start": "2022-05-05 04:55:24.146024"
}

STDOUT:

Setting system policy to FUTURE
Note: System-wide crypto policies are applied on application start-up.
It is recommended to restart the system for the change of policies
to fully take place.

TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60
Thursday 05 May 2022  04:55:25 +0000 (0:00:00.474)       0:01:42.215 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_reboot_required": true
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69
Thursday 05 May 2022  04:55:25 +0000 (0:00:00.044)       0:01:42.259 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:55:25 +0000 (0:00:00.023)       0:01:42.283 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.043526", 
    "end": "2022-05-05 04:55:24.701765", 
    "rc": 0, 
    "start": "2022-05-05 04:55:24.658239"
}

STDOUT:

FUTURE

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:55:26 +0000 (0:00:00.392)       0:01:42.675 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "FUTURE"
    }, 
    "changed": false
}

RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4
Thursday 05 May 2022  04:55:26 +0000 (0:00:00.037)       0:01:42.712 ********** 
changed: [/cache/fedora-34.qcow2] => {
    "changed": true, 
    "elapsed": 9, 
    "rebooted": true
}

RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11
Thursday 05 May 2022  04:55:36 +0000 (0:00:10.427)       0:01:53.140 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_reboot_required": false
    }, 
    "changed": false
}
META: ran handlers

TASK [Check the current policy is FUTURE] **************************************
task path: /tmp/tmpoh43ssok/tests/tests_reboot.yml:18
Thursday 05 May 2022  04:55:36 +0000 (0:00:00.056)       0:01:53.196 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
/cache/fedora-34.qcow2     : ok=20   changed=2    unreachable=0    failed=0    skipped=1    rescued=0    ignored=0   

Thursday 05 May 2022  04:55:36 +0000 (0:00:00.039)       0:01:53.235 ********** 
=============================================================================== 
linux-system-roles.crypto_policies : Ensure required packages are installed -- 98.41s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 
linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes -- 10.43s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 
Gathering Facts --------------------------------------------------------- 1.02s
/tmp/tmpoh43ssok/tests/tests_reboot.yml:3 -------------------------------------
linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.55s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.54s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find base policies files ----------- 0.51s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 
linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.47s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.39s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.38s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 
linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.06s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 
linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag --- 0.06s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 
linux-system-roles.crypto_policies : Set current policy fact ------------ 0.05s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 
linux-system-roles.crypto_policies : Set available base policies fact --- 0.05s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 
linux-system-roles.crypto_policies : Set the reboot_required flag if needed --- 0.04s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 
linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.04s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 
linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.04s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 
Check the current policy is FUTURE -------------------------------------- 0.04s
/tmp/tmpoh43ssok/tests/tests_reboot.yml:18 ------------------------------------
linux-system-roles.crypto_policies : Set current policy fact ------------ 0.04s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 
linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.03s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 
linux-system-roles.crypto_policies : include_tasks ---------------------- 0.03s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 
ansible-playbook 2.9.27
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Using /etc/ansible/ansible.cfg as config file
 [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia
project.  xorriso : NOTE : Local character set is now assumed as: 'utf-8'
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.

PLAYBOOK: tests_reload.yml *****************************************************
1 plays in /tmp/tmpoh43ssok/tests/tests_reload.yml

PLAY [Ensure that crypto_policy_reload variable works] *************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/tmpoh43ssok/tests/tests_reload.yml:3
Thursday 05 May 2022  04:55:47 +0000 (0:00:00.024)       0:00:00.024 ********** 
[DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 
should use /usr/bin/python3, but is using /usr/bin/python for backward 
compatibility with prior Ansible releases. A future Ansible release will 
default to using the discovered platform python for this host. See https://docs
.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for 
more information. This feature will be removed in version 2.12. Deprecation 
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [/cache/fedora-34.qcow2]
META: ran handlers

TASK [Run role to make sure all dependencies are installed] ********************
task path: /tmp/tmpoh43ssok/tests/tests_reload.yml:7
Thursday 05 May 2022  04:55:48 +0000 (0:00:00.990)       0:00:01.014 ********** 

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3
Thursday 05 May 2022  04:55:48 +0000 (0:00:00.039)       0:00:01.054 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2
Thursday 05 May 2022  04:55:48 +0000 (0:00:00.026)       0:00:01.080 ********** 
ok: [/cache/fedora-34.qcow2]

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9
Thursday 05 May 2022  04:55:48 +0000 (0:00:00.525)       0:00:01.606 ********** 
skipping: [/cache/fedora-34.qcow2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6
Thursday 05 May 2022  04:55:49 +0000 (0:00:00.063)       0:00:01.669 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "rc": 0, 
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11
Thursday 05 May 2022  04:56:33 +0000 (0:00:44.029)       0:00:45.699 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:56:33 +0000 (0:00:00.030)       0:00:45.729 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.052063", 
    "end": "2022-05-05 04:56:32.724721", 
    "rc": 0, 
    "start": "2022-05-05 04:56:32.672658"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:56:33 +0000 (0:00:00.567)       0:00:46.297 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find base policies files] ***********
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13
Thursday 05 May 2022  04:56:33 +0000 (0:00:00.043)       0:00:46.341 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 9, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.421, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11804, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 395, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.422, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11805, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FIPS.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2153, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.427, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11809, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/NEXT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.423, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11806, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2535, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.424, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11807, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 953, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651393174.116, 
            "ctime": 1651393151.419, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11803, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.426, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11808, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 3000, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 7
}

TASK [linux-system-roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21
Thursday 05 May 2022  04:56:34 +0000 (0:00:00.514)       0:00:46.855 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "LEGACY", 
            "DEFAULT", 
            "NEXT", 
            "FUTURE", 
            "FIPS", 
            "GOST-ONLY", 
            "EMPTY"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find subpolicy files] ***************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28
Thursday 05 May 2022  04:56:34 +0000 (0:00:00.046)       0:00:46.901 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 8, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.435, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11816, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 150, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.433, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11814, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 776, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.434, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11815, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 246, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.438, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11818, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 135, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.43, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11812, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 220, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.429, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11811, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 306, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.431, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11813, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 442, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.437, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11817, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 832, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 8
}

TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36
Thursday 05 May 2022  04:56:34 +0000 (0:00:00.389)       0:00:47.290 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43
Thursday 05 May 2022  04:56:34 +0000 (0:00:00.045)       0:00:47.336 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49
Thursday 05 May 2022  04:56:34 +0000 (0:00:00.044)       0:00:47.381 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60
Thursday 05 May 2022  04:56:34 +0000 (0:00:00.040)       0:00:47.421 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69
Thursday 05 May 2022  04:56:34 +0000 (0:00:00.041)       0:00:47.463 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:56:34 +0000 (0:00:00.029)       0:00:47.493 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.043486", 
    "end": "2022-05-05 04:56:34.345159", 
    "rc": 0, 
    "start": "2022-05-05 04:56:34.301673"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:56:35 +0000 (0:00:00.430)       0:00:47.924 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}

TASK [Get SSHD pid before policy update] ***************************************
task path: /tmp/tmpoh43ssok/tests/tests_reload.yml:11
Thursday 05 May 2022  04:56:35 +0000 (0:00:00.048)       0:00:47.973 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "content": "NzgyCg==", 
    "encoding": "base64", 
    "source": "/var/run/sshd.pid"
}

TASK [Change policy from DEFAULT TO LEGACY (disable reload)] *******************
task path: /tmp/tmpoh43ssok/tests/tests_reload.yml:16
Thursday 05 May 2022  04:56:35 +0000 (0:00:00.491)       0:00:48.464 ********** 

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3
Thursday 05 May 2022  04:56:35 +0000 (0:00:00.041)       0:00:48.506 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2
Thursday 05 May 2022  04:56:35 +0000 (0:00:00.025)       0:00:48.532 ********** 
ok: [/cache/fedora-34.qcow2]

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9
Thursday 05 May 2022  04:56:36 +0000 (0:00:00.529)       0:00:49.061 ********** 
skipping: [/cache/fedora-34.qcow2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6
Thursday 05 May 2022  04:56:36 +0000 (0:00:00.064)       0:00:49.126 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "rc": 0, 
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11
Thursday 05 May 2022  04:56:38 +0000 (0:00:02.143)       0:00:51.269 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:56:38 +0000 (0:00:00.026)       0:00:51.295 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.042770", 
    "end": "2022-05-05 04:56:38.137144", 
    "rc": 0, 
    "start": "2022-05-05 04:56:38.094374"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:56:39 +0000 (0:00:00.414)       0:00:51.710 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find base policies files] ***********
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13
Thursday 05 May 2022  04:56:39 +0000 (0:00:00.042)       0:00:51.752 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 9, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.421, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11804, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 395, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.422, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11805, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FIPS.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2153, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.427, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11809, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/NEXT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.423, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11806, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2535, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.424, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11807, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 953, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651393174.116, 
            "ctime": 1651393151.419, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11803, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.426, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11808, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 3000, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 7
}

TASK [linux-system-roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21
Thursday 05 May 2022  04:56:39 +0000 (0:00:00.363)       0:00:52.115 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "LEGACY", 
            "DEFAULT", 
            "NEXT", 
            "FUTURE", 
            "FIPS", 
            "GOST-ONLY", 
            "EMPTY"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find subpolicy files] ***************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28
Thursday 05 May 2022  04:56:39 +0000 (0:00:00.046)       0:00:52.162 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 8, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.435, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11816, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 150, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.433, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11814, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 776, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.434, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11815, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 246, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.438, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11818, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 135, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.43, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11812, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 220, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.429, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11811, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 306, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.431, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11813, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 442, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.437, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11817, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 832, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 8
}

TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36
Thursday 05 May 2022  04:56:39 +0000 (0:00:00.383)       0:00:52.545 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43
Thursday 05 May 2022  04:56:39 +0000 (0:00:00.044)       0:00:52.589 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49
Thursday 05 May 2022  04:56:39 +0000 (0:00:00.043)       0:00:52.632 ********** 
NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-34.qcow2
NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-34.qcow2
NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-34.qcow2
NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-34.qcow2
changed: [/cache/fedora-34.qcow2] => {
    "changed": true, 
    "cmd": [
        "update-crypto-policies", 
        "--no-reload", 
        "--set", 
        "LEGACY"
    ], 
    "delta": "0:00:00.057845", 
    "end": "2022-05-05 04:56:39.514003", 
    "rc": 0, 
    "start": "2022-05-05 04:56:39.456158"
}

STDOUT:

Setting system policy to LEGACY
Note: System-wide crypto policies are applied on application start-up.
It is recommended to restart the system for the change of policies
to fully take place.

TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60
Thursday 05 May 2022  04:56:40 +0000 (0:00:00.465)       0:00:53.098 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_reboot_required": true
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69
Thursday 05 May 2022  04:56:40 +0000 (0:00:00.052)       0:00:53.151 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:56:40 +0000 (0:00:00.028)       0:00:53.179 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.045122", 
    "end": "2022-05-05 04:56:40.028257", 
    "rc": 0, 
    "start": "2022-05-05 04:56:39.983135"
}

STDOUT:

LEGACY

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:56:40 +0000 (0:00:00.425)       0:00:53.604 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "LEGACY"
    }, 
    "changed": false
}

TASK [Get sshd pid after first update] *****************************************
task path: /tmp/tmpoh43ssok/tests/tests_reload.yml:23
Thursday 05 May 2022  04:56:40 +0000 (0:00:00.040)       0:00:53.644 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "content": "NzgyCg==", 
    "encoding": "base64", 
    "source": "/var/run/sshd.pid"
}

TASK [Verify that policy was changed to LEGACY] ********************************
task path: /tmp/tmpoh43ssok/tests/tests_reload.yml:28
Thursday 05 May 2022  04:56:41 +0000 (0:00:00.357)       0:00:54.002 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Check the sshd was not reloaded] *****************************************
task path: /tmp/tmpoh43ssok/tests/tests_reload.yml:32
Thursday 05 May 2022  04:56:41 +0000 (0:00:00.041)       0:00:54.044 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Change policy from LEGACY to DEFAULT (reload by default)] ****************
task path: /tmp/tmpoh43ssok/tests/tests_reload.yml:37
Thursday 05 May 2022  04:56:41 +0000 (0:00:00.040)       0:00:54.085 ********** 

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3
Thursday 05 May 2022  04:56:41 +0000 (0:00:00.090)       0:00:54.176 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2
Thursday 05 May 2022  04:56:41 +0000 (0:00:00.025)       0:00:54.201 ********** 
ok: [/cache/fedora-34.qcow2]

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9
Thursday 05 May 2022  04:56:42 +0000 (0:00:00.529)       0:00:54.731 ********** 
skipping: [/cache/fedora-34.qcow2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6
Thursday 05 May 2022  04:56:42 +0000 (0:00:00.065)       0:00:54.796 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "rc": 0, 
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11
Thursday 05 May 2022  04:56:44 +0000 (0:00:02.102)       0:00:56.898 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:56:44 +0000 (0:00:00.028)       0:00:56.927 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.047265", 
    "end": "2022-05-05 04:56:43.771343", 
    "rc": 0, 
    "start": "2022-05-05 04:56:43.724078"
}

STDOUT:

LEGACY

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:56:44 +0000 (0:00:00.420)       0:00:57.347 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "LEGACY"
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find base policies files] ***********
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13
Thursday 05 May 2022  04:56:44 +0000 (0:00:00.044)       0:00:57.392 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 9, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.421, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11804, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 395, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.422, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11805, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FIPS.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2153, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.427, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11809, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/NEXT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.423, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11806, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2535, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.424, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11807, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 953, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651393174.116, 
            "ctime": 1651393151.419, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11803, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651726599.494377, 
            "ctime": 1651393151.426, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11808, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 3000, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 7
}

TASK [linux-system-roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21
Thursday 05 May 2022  04:56:45 +0000 (0:00:00.384)       0:00:57.776 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "LEGACY", 
            "DEFAULT", 
            "NEXT", 
            "FUTURE", 
            "FIPS", 
            "GOST-ONLY", 
            "EMPTY"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find subpolicy files] ***************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28
Thursday 05 May 2022  04:56:45 +0000 (0:00:00.053)       0:00:57.830 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 8, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.435, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11816, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 150, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.433, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11814, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 776, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.434, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11815, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 246, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.438, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11818, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 135, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.43, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11812, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 220, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.429, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11811, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 306, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.431, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11813, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 442, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.437, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11817, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 832, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 8
}

TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36
Thursday 05 May 2022  04:56:45 +0000 (0:00:00.376)       0:00:58.207 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43
Thursday 05 May 2022  04:56:45 +0000 (0:00:00.044)       0:00:58.252 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49
Thursday 05 May 2022  04:56:45 +0000 (0:00:00.044)       0:00:58.296 ********** 
NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-34.qcow2
NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-34.qcow2
changed: [/cache/fedora-34.qcow2] => {
    "changed": true, 
    "cmd": [
        "update-crypto-policies", 
        "--set", 
        "DEFAULT"
    ], 
    "delta": "0:00:00.110276", 
    "end": "2022-05-05 04:56:45.231851", 
    "rc": 0, 
    "start": "2022-05-05 04:56:45.121575"
}

STDOUT:

Setting system policy to DEFAULT
Note: System-wide crypto policies are applied on application start-up.
It is recommended to restart the system for the change of policies
to fully take place.

TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60
Thursday 05 May 2022  04:56:46 +0000 (0:00:00.512)       0:00:58.809 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_reboot_required": true
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69
Thursday 05 May 2022  04:56:46 +0000 (0:00:00.048)       0:00:58.857 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:56:46 +0000 (0:00:00.028)       0:00:58.886 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.042348", 
    "end": "2022-05-05 04:56:45.731004", 
    "rc": 0, 
    "start": "2022-05-05 04:56:45.688656"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:56:46 +0000 (0:00:00.418)       0:00:59.305 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}

TASK [Get sshd pid after second update] ****************************************
task path: /tmp/tmpoh43ssok/tests/tests_reload.yml:43
Thursday 05 May 2022  04:56:46 +0000 (0:00:00.045)       0:00:59.350 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "content": "MjU5Mwo=", 
    "encoding": "base64", 
    "source": "/var/run/sshd.pid"
}

TASK [Verify that policy was changed to DEFAULT] *******************************
task path: /tmp/tmpoh43ssok/tests/tests_reload.yml:48
Thursday 05 May 2022  04:56:47 +0000 (0:00:00.360)       0:00:59.711 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Check the sshd was reloaded] *********************************************
task path: /tmp/tmpoh43ssok/tests/tests_reload.yml:53
Thursday 05 May 2022  04:56:47 +0000 (0:00:00.045)       0:00:59.757 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed

RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4
Thursday 05 May 2022  04:56:47 +0000 (0:00:00.039)       0:00:59.796 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11
Thursday 05 May 2022  04:56:47 +0000 (0:00:00.044)       0:00:59.840 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4
Thursday 05 May 2022  04:56:47 +0000 (0:00:00.041)       0:00:59.882 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11
Thursday 05 May 2022  04:56:47 +0000 (0:00:00.044)       0:00:59.926 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4
Thursday 05 May 2022  04:56:47 +0000 (0:00:00.043)       0:00:59.969 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11
Thursday 05 May 2022  04:56:47 +0000 (0:00:00.039)       0:01:00.009 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
/cache/fedora-34.qcow2     : ok=54   changed=2    unreachable=0    failed=0    skipped=11   rescued=0    ignored=0   

Thursday 05 May 2022  04:56:47 +0000 (0:00:00.047)       0:01:00.056 ********** 
=============================================================================== 
linux-system-roles.crypto_policies : Ensure required packages are installed -- 44.03s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 
linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.14s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 
linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.10s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 
Gathering Facts --------------------------------------------------------- 0.99s
/tmp/tmpoh43ssok/tests/tests_reload.yml:3 -------------------------------------
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.57s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 
linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 
linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 
linux-system-roles.crypto_policies : Find base policies files ----------- 0.51s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 
linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.51s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 
Get SSHD pid before policy update --------------------------------------- 0.49s
/tmp/tmpoh43ssok/tests/tests_reload.yml:11 ------------------------------------
linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.47s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.43s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.43s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.42s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.42s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.41s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.39s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 
linux-system-roles.crypto_policies : Find base policies files ----------- 0.38s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 
linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.38s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 
ansible-playbook 2.9.27
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Using /etc/ansible/ansible.cfg as config file
 [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia
project.  xorriso : NOTE : Local character set is now assumed as: 'utf-8'
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.

PLAYBOOK: tests_update.yml *****************************************************
1 plays in /tmp/tmpoh43ssok/tests/tests_update.yml

PLAY [Ensure that we can set the policy using this role (without reboot)] ******

TASK [Gathering Facts] *********************************************************
task path: /tmp/tmpoh43ssok/tests/tests_update.yml:3
Thursday 05 May 2022  04:56:59 +0000 (0:00:00.022)       0:00:00.022 ********** 
[DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 
should use /usr/bin/python3, but is using /usr/bin/python for backward 
compatibility with prior Ansible releases. A future Ansible release will 
default to using the discovered platform python for this host. See https://docs
.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for 
more information. This feature will be removed in version 2.12. Deprecation 
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [/cache/fedora-34.qcow2]
META: ran handlers

TASK [Set correct base policy] *************************************************
task path: /tmp/tmpoh43ssok/tests/tests_update.yml:7
Thursday 05 May 2022  04:57:00 +0000 (0:00:01.071)       0:00:01.094 ********** 

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3
Thursday 05 May 2022  04:57:00 +0000 (0:00:00.120)       0:00:01.214 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2
Thursday 05 May 2022  04:57:00 +0000 (0:00:00.032)       0:00:01.246 ********** 
ok: [/cache/fedora-34.qcow2]

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9
Thursday 05 May 2022  04:57:00 +0000 (0:00:00.550)       0:00:01.797 ********** 
skipping: [/cache/fedora-34.qcow2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6
Thursday 05 May 2022  04:57:00 +0000 (0:00:00.061)       0:00:01.858 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "rc": 0, 
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11
Thursday 05 May 2022  04:58:03 +0000 (0:01:02.370)       0:01:04.228 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:58:03 +0000 (0:00:00.032)       0:01:04.261 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.052250", 
    "end": "2022-05-05 04:58:03.299122", 
    "rc": 0, 
    "start": "2022-05-05 04:58:03.246872"
}

STDOUT:

DEFAULT

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:58:03 +0000 (0:00:00.548)       0:01:04.810 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT"
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find base policies files] ***********
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13
Thursday 05 May 2022  04:58:03 +0000 (0:00:00.045)       0:01:04.856 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 9, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.421, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11804, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 395, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.422, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11805, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FIPS.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2153, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.427, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11809, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/NEXT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.423, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11806, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2535, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.424, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11807, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 953, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651393174.116, 
            "ctime": 1651393151.419, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11803, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.426, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11808, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 3000, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 7
}

TASK [linux-system-roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21
Thursday 05 May 2022  04:58:04 +0000 (0:00:00.491)       0:01:05.347 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "LEGACY", 
            "DEFAULT", 
            "NEXT", 
            "FUTURE", 
            "FIPS", 
            "GOST-ONLY", 
            "EMPTY"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find subpolicy files] ***************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28
Thursday 05 May 2022  04:58:04 +0000 (0:00:00.046)       0:01:05.394 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 8, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.435, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11816, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 150, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.433, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11814, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 776, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.434, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11815, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 246, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.438, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11818, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 135, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.43, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11812, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 220, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.429, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11811, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 306, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.431, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11813, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 442, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.437, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11817, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 832, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 8
}

TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36
Thursday 05 May 2022  04:58:04 +0000 (0:00:00.375)       0:01:05.769 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43
Thursday 05 May 2022  04:58:04 +0000 (0:00:00.046)       0:01:05.816 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49
Thursday 05 May 2022  04:58:04 +0000 (0:00:00.046)       0:01:05.862 ********** 
NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-34.qcow2
NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-34.qcow2
changed: [/cache/fedora-34.qcow2] => {
    "changed": true, 
    "cmd": [
        "update-crypto-policies", 
        "--no-reload", 
        "--set", 
        "LEGACY"
    ], 
    "delta": "0:00:00.083717", 
    "end": "2022-05-05 04:58:04.816263", 
    "rc": 0, 
    "start": "2022-05-05 04:58:04.732546"
}

STDOUT:

Setting system policy to LEGACY
Note: System-wide crypto policies are applied on application start-up.
It is recommended to restart the system for the change of policies
to fully take place.

TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60
Thursday 05 May 2022  04:58:05 +0000 (0:00:00.480)       0:01:06.342 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_reboot_required": true
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69
Thursday 05 May 2022  04:58:05 +0000 (0:00:00.046)       0:01:06.388 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:58:05 +0000 (0:00:00.026)       0:01:06.415 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.045018", 
    "end": "2022-05-05 04:58:05.308006", 
    "rc": 0, 
    "start": "2022-05-05 04:58:05.262988"
}

STDOUT:

LEGACY

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:58:05 +0000 (0:00:00.404)       0:01:06.820 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "LEGACY"
    }, 
    "changed": false
}

TASK [Verify that base policy was updated] *************************************
task path: /tmp/tmpoh43ssok/tests/tests_update.yml:13
Thursday 05 May 2022  04:58:05 +0000 (0:00:00.055)       0:01:06.875 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Set correct base policy and subpolicy] ***********************************
task path: /tmp/tmpoh43ssok/tests/tests_update.yml:19
Thursday 05 May 2022  04:58:06 +0000 (0:00:00.044)       0:01:06.919 ********** 

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3
Thursday 05 May 2022  04:58:06 +0000 (0:00:00.046)       0:01:06.966 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2
Thursday 05 May 2022  04:58:06 +0000 (0:00:00.027)       0:01:06.994 ********** 
ok: [/cache/fedora-34.qcow2]

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9
Thursday 05 May 2022  04:58:06 +0000 (0:00:00.528)       0:01:07.522 ********** 
skipping: [/cache/fedora-34.qcow2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6
Thursday 05 May 2022  04:58:06 +0000 (0:00:00.069)       0:01:07.592 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "rc": 0, 
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11
Thursday 05 May 2022  04:58:09 +0000 (0:00:02.365)       0:01:09.957 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:58:09 +0000 (0:00:00.027)       0:01:09.985 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.043338", 
    "end": "2022-05-05 04:58:08.869303", 
    "rc": 0, 
    "start": "2022-05-05 04:58:08.825965"
}

STDOUT:

LEGACY

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:58:09 +0000 (0:00:00.399)       0:01:10.384 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "LEGACY"
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find base policies files] ***********
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13
Thursday 05 May 2022  04:58:09 +0000 (0:00:00.044)       0:01:10.429 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 9, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.421, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11804, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 395, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.422, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11805, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FIPS.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2153, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.427, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11809, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/NEXT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.423, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11806, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2535, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.424, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11807, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 953, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651393174.116, 
            "ctime": 1651393151.419, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11803, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651726684.7918394, 
            "ctime": 1651393151.426, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11808, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 3000, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 7
}

TASK [linux-system-roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21
Thursday 05 May 2022  04:58:09 +0000 (0:00:00.391)       0:01:10.820 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "LEGACY", 
            "DEFAULT", 
            "NEXT", 
            "FUTURE", 
            "FIPS", 
            "GOST-ONLY", 
            "EMPTY"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find subpolicy files] ***************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28
Thursday 05 May 2022  04:58:09 +0000 (0:00:00.045)       0:01:10.865 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 8, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.435, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11816, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 150, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.433, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11814, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 776, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.434, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11815, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 246, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.438, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11818, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 135, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.43, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11812, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 220, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.429, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11811, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 306, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.431, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11813, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 442, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.437, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11817, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 832, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 8
}

TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36
Thursday 05 May 2022  04:58:10 +0000 (0:00:00.382)       0:01:11.248 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43
Thursday 05 May 2022  04:58:10 +0000 (0:00:00.049)       0:01:11.297 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49
Thursday 05 May 2022  04:58:10 +0000 (0:00:00.053)       0:01:11.350 ********** 
NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-34.qcow2
NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-34.qcow2
changed: [/cache/fedora-34.qcow2] => {
    "changed": true, 
    "cmd": [
        "update-crypto-policies", 
        "--no-reload", 
        "--set", 
        "DEFAULT:NO-SHA1"
    ], 
    "delta": "0:00:00.059621", 
    "end": "2022-05-05 04:58:10.290149", 
    "rc": 0, 
    "start": "2022-05-05 04:58:10.230528"
}

STDOUT:

Setting system policy to DEFAULT:NO-SHA1
Note: System-wide crypto policies are applied on application start-up.
It is recommended to restart the system for the change of policies
to fully take place.

TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60
Thursday 05 May 2022  04:58:10 +0000 (0:00:00.453)       0:01:11.804 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_reboot_required": true
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69
Thursday 05 May 2022  04:58:10 +0000 (0:00:00.090)       0:01:11.894 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:58:11 +0000 (0:00:00.028)       0:01:11.923 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.045136", 
    "end": "2022-05-05 04:58:10.831895", 
    "rc": 0, 
    "start": "2022-05-05 04:58:10.786759"
}

STDOUT:

DEFAULT:NO-SHA1

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:58:11 +0000 (0:00:00.424)       0:01:12.348 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT:NO-SHA1"
    }, 
    "changed": false
}

TASK [Verify that base policy and subpolicy were updated] **********************
task path: /tmp/tmpoh43ssok/tests/tests_update.yml:25
Thursday 05 May 2022  04:58:11 +0000 (0:00:00.043)       0:01:12.391 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Set incorrect base policy] ***********************************************
task path: /tmp/tmpoh43ssok/tests/tests_update.yml:33
Thursday 05 May 2022  04:58:11 +0000 (0:00:00.046)       0:01:12.437 ********** 

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3
Thursday 05 May 2022  04:58:11 +0000 (0:00:00.033)       0:01:12.471 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2
Thursday 05 May 2022  04:58:11 +0000 (0:00:00.026)       0:01:12.498 ********** 
ok: [/cache/fedora-34.qcow2]

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9
Thursday 05 May 2022  04:58:12 +0000 (0:00:00.525)       0:01:13.023 ********** 
skipping: [/cache/fedora-34.qcow2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6
Thursday 05 May 2022  04:58:12 +0000 (0:00:00.070)       0:01:13.094 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "rc": 0, 
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11
Thursday 05 May 2022  04:58:14 +0000 (0:00:02.094)       0:01:15.188 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:58:14 +0000 (0:00:00.026)       0:01:15.214 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.045265", 
    "end": "2022-05-05 04:58:14.118904", 
    "rc": 0, 
    "start": "2022-05-05 04:58:14.073639"
}

STDOUT:

DEFAULT:NO-SHA1

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:58:14 +0000 (0:00:00.419)       0:01:15.634 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT:NO-SHA1"
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find base policies files] ***********
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13
Thursday 05 May 2022  04:58:14 +0000 (0:00:00.047)       0:01:15.682 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 9, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.421, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11804, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 395, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.422, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11805, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FIPS.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2153, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.427, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11809, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/NEXT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.423, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11806, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2535, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.424, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11807, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 953, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651726690.2678394, 
            "ctime": 1651393151.419, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11803, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651726684.7918394, 
            "ctime": 1651393151.426, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11808, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 3000, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 7
}

TASK [linux-system-roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21
Thursday 05 May 2022  04:58:15 +0000 (0:00:00.378)       0:01:16.061 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "LEGACY", 
            "DEFAULT", 
            "NEXT", 
            "FUTURE", 
            "FIPS", 
            "GOST-ONLY", 
            "EMPTY"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find subpolicy files] ***************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28
Thursday 05 May 2022  04:58:15 +0000 (0:00:00.046)       0:01:16.107 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 8, 
    "files": [
        {
            "atime": 1651726690.2688394, 
            "ctime": 1651393151.435, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11816, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 150, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.433, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11814, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 776, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.434, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11815, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 246, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.438, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11818, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 135, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.43, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11812, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 220, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.429, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11811, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 306, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.431, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11813, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 442, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.437, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11817, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 832, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 8
}

TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36
Thursday 05 May 2022  04:58:15 +0000 (0:00:00.373)       0:01:16.480 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43
Thursday 05 May 2022  04:58:15 +0000 (0:00:00.047)       0:01:16.527 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49
Thursday 05 May 2022  04:58:15 +0000 (0:00:00.044)       0:01:16.572 ********** 
fatal: [/cache/fedora-34.qcow2]: FAILED! => {
    "changed": true, 
    "cmd": [
        "update-crypto-policies", 
        "--no-reload", 
        "--set", 
        "NOEXIST"
    ], 
    "delta": "0:00:00.047872", 
    "end": "2022-05-05 04:58:15.502736", 
    "rc": 1, 
    "start": "2022-05-05 04:58:15.454864"
}

STDERR:

Error: Unknown policy: NOEXIST


MSG:

non-zero return code

TASK [Check that we failed in the role] ****************************************
task path: /tmp/tmpoh43ssok/tests/tests_update.yml:43
Thursday 05 May 2022  04:58:16 +0000 (0:00:00.443)       0:01:17.016 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Set incorrect subpolicy] *************************************************
task path: /tmp/tmpoh43ssok/tests/tests_update.yml:52
Thursday 05 May 2022  04:58:16 +0000 (0:00:00.058)       0:01:17.074 ********** 

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3
Thursday 05 May 2022  04:58:16 +0000 (0:00:00.033)       0:01:17.107 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2
Thursday 05 May 2022  04:58:16 +0000 (0:00:00.030)       0:01:17.138 ********** 
ok: [/cache/fedora-34.qcow2]

TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9
Thursday 05 May 2022  04:58:16 +0000 (0:00:00.525)       0:01:17.663 ********** 
skipping: [/cache/fedora-34.qcow2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [/cache/fedora-34.qcow2] => (item=Fedora_34.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "Fedora_34.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6
Thursday 05 May 2022  04:58:16 +0000 (0:00:00.064)       0:01:17.728 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "rc": 0, 
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.crypto_policies : include_tasks] **********************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11
Thursday 05 May 2022  04:58:18 +0000 (0:00:02.183)       0:01:19.912 ********** 
included: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-34.qcow2

TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3
Thursday 05 May 2022  04:58:19 +0000 (0:00:00.028)       0:01:19.940 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "cmd": [
        "update-crypto-policies", 
        "--show"
    ], 
    "delta": "0:00:00.043808", 
    "end": "2022-05-05 04:58:18.835067", 
    "rc": 0, 
    "start": "2022-05-05 04:58:18.791259"
}

STDOUT:

DEFAULT:NO-SHA1

TASK [linux-system-roles.crypto_policies : Set current policy fact] ************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9
Thursday 05 May 2022  04:58:19 +0000 (0:00:00.411)       0:01:20.351 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_active": "DEFAULT:NO-SHA1"
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find base policies files] ***********
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13
Thursday 05 May 2022  04:58:19 +0000 (0:00:00.043)       0:01:20.395 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 9, 
    "files": [
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.421, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11804, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/EMPTY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 395, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.422, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11805, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FIPS.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2153, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.427, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11809, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/NEXT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.423, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11806, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/FUTURE.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2535, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.424, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11807, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 953, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651726690.2678394, 
            "ctime": 1651393151.419, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11803, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 2642, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1651726684.7918394, 
            "ctime": 1651393151.426, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11808, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/LEGACY.pol", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 3000, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 7
}

TASK [linux-system-roles.crypto_policies : Set available base policies fact] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21
Thursday 05 May 2022  04:58:19 +0000 (0:00:00.393)       0:01:20.788 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_policies": [
            "LEGACY", 
            "DEFAULT", 
            "NEXT", 
            "FUTURE", 
            "FIPS", 
            "GOST-ONLY", 
            "EMPTY"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Find subpolicy files] ***************
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28
Thursday 05 May 2022  04:58:19 +0000 (0:00:00.047)       0:01:20.835 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "examined": 8, 
    "files": [
        {
            "atime": 1651726690.2688394, 
            "ctime": 1651393151.435, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11816, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 150, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.433, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11814, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 776, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.434, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11815, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 246, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.438, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11818, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 135, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.43, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11812, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 220, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.429, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11811, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 306, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.431, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11813, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 442, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }, 
        {
            "atime": 1613217207.0, 
            "ctime": 1651393151.437, 
            "dev": 64513, 
            "gid": 0, 
            "gr_name": "root", 
            "inode": 11817, 
            "isblk": false, 
            "ischr": false, 
            "isdir": false, 
            "isfifo": false, 
            "isgid": false, 
            "islnk": false, 
            "isreg": true, 
            "issock": false, 
            "isuid": false, 
            "mode": "0644", 
            "mtime": 1613217207.0, 
            "nlink": 1, 
            "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", 
            "pw_name": "root", 
            "rgrp": true, 
            "roth": true, 
            "rusr": true, 
            "size": 832, 
            "uid": 0, 
            "wgrp": false, 
            "woth": false, 
            "wusr": true, 
            "xgrp": false, 
            "xoth": false, 
            "xusr": false
        }
    ], 
    "matched": 8
}

TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36
Thursday 05 May 2022  04:58:20 +0000 (0:00:00.397)       0:01:21.233 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_subpolicies": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43
Thursday 05 May 2022  04:58:20 +0000 (0:00:00.042)       0:01:21.276 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "ansible_facts": {
        "crypto_policies_available_modules": [
            "SHA1", 
            "GOST", 
            "NO-CAMELLIA", 
            "OSPP", 
            "AD-SUPPORT", 
            "ECDHE-ONLY", 
            "FEDORA32", 
            "NO-SHA1"
        ]
    }, 
    "changed": false
}

TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] *****
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49
Thursday 05 May 2022  04:58:20 +0000 (0:00:00.041)       0:01:21.317 ********** 
fatal: [/cache/fedora-34.qcow2]: FAILED! => {
    "changed": true, 
    "cmd": [
        "update-crypto-policies", 
        "--no-reload", 
        "--set", 
        "DEFAULT:NOEXIST"
    ], 
    "delta": "0:00:00.043251", 
    "end": "2022-05-05 04:58:20.249770", 
    "rc": 1, 
    "start": "2022-05-05 04:58:20.206519"
}

STDERR:

Error: Unknown policy: NOEXIST


MSG:

non-zero return code

TASK [Check that we failed in the role] ****************************************
task path: /tmp/tmpoh43ssok/tests/tests_update.yml:62
Thursday 05 May 2022  04:58:20 +0000 (0:00:00.447)       0:01:21.764 ********** 
ok: [/cache/fedora-34.qcow2] => {
    "changed": false
}

MSG:

All assertions passed

RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4
Thursday 05 May 2022  04:58:20 +0000 (0:00:00.039)       0:01:21.804 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11
Thursday 05 May 2022  04:58:20 +0000 (0:00:00.041)       0:01:21.845 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4
Thursday 05 May 2022  04:58:20 +0000 (0:00:00.041)       0:01:21.887 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] ***
task path: /tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11
Thursday 05 May 2022  04:58:21 +0000 (0:00:00.041)       0:01:21.928 ********** 
skipping: [/cache/fedora-34.qcow2] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
/cache/fedora-34.qcow2     : ok=59   changed=2    unreachable=0    failed=0    skipped=8    rescued=2    ignored=0   

Thursday 05 May 2022  04:58:21 +0000 (0:00:00.040)       0:01:21.968 ********** 
=============================================================================== 
linux-system-roles.crypto_policies : Ensure required packages are installed -- 62.37s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 
linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.37s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 
linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.18s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 
linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.09s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 
Gathering Facts --------------------------------------------------------- 1.07s
/tmp/tmpoh43ssok/tests/tests_update.yml:3 -------------------------------------
linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.55s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.55s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 
linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 
linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 
linux-system-roles.crypto_policies : Find base policies files ----------- 0.49s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 
linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.48s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 
linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.45s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 
linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.45s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 
linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.44s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.42s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.42s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.41s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.40s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 
linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.40s
/tmp/tmpoh43ssok/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3