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, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
Using /etc/ansible/ansible.cfg as config file
[WARNING]: running playbook inside collection fedora.linux_system_roles
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_wrapper.yml ********************************************
3 plays in /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml

PLAY [Create static inventory from hostvars] ***********************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:2
Saturday 15 February 2025  02:18:41 -0500 (0:00:00.024)       0:00:00.024 ***** 
ok: [managed-node1]
META: ran handlers

TASK [Create temporary file] ***************************************************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:7
Saturday 15 February 2025  02:18:42 -0500 (0:00:01.132)       0:00:01.156 ***** 
changed: [managed-node1 -> localhost] => {
    "changed": true, 
    "gid": 0, 
    "group": "root", 
    "mode": "0600", 
    "owner": "root", 
    "path": "/tmp/ansible.0NmYeI.inventory.yaml", 
    "secontext": "unconfined_u:object_r:user_tmp_t:s0", 
    "size": 0, 
    "state": "file", 
    "uid": 0
}

TASK [Create static inventory from hostvars] ***********************************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:14
Saturday 15 February 2025  02:18:42 -0500 (0:00:00.261)       0:00:01.417 ***** 
changed: [managed-node1 -> localhost] => {
    "changed": true, 
    "checksum": "a3f691a36f30c62e959433da83cee67f248a905f", 
    "dest": "/tmp/ansible.0NmYeI.inventory.yaml", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "ffc9c70ed13ccbbb6cf97caf6a8a51b7", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "unconfined_u:object_r:user_tmp_t:s0", 
    "size": 494, 
    "src": "/root/.ansible/tmp/ansible-tmp-1739603922.57-9705-78507400522876/source", 
    "state": "file", 
    "uid": 0
}
META: ran handlers
META: ran handlers

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

TASK [Run the role. If reboot is not required - the play succeeds.] ************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10
Saturday 15 February 2025  02:18:43 -0500 (0:00:00.925)       0:00:02.343 ***** 

TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] *****
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2
Saturday 15 February 2025  02:18:43 -0500 (0:00:00.118)       0:00:02.462 ***** 
included: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed-node1

TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] *****
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2
Saturday 15 February 2025  02:18:43 -0500 (0:00:00.032)       0:00:02.495 ***** 
skipping: [managed-node1] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.kdump : Check if system is ostree] *************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10
Saturday 15 February 2025  02:18:43 -0500 (0:00:00.044)       0:00:02.539 ***** 
ok: [managed-node1] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] ***
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15
Saturday 15 February 2025  02:18:43 -0500 (0:00:00.313)       0:00:02.853 ***** 
ok: [managed-node1] => {
    "ansible_facts": {
        "__kdump_is_ostree": false
    }, 
    "changed": false
}

TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] ***
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19
Saturday 15 February 2025  02:18:44 -0500 (0:00:00.072)       0:00:02.925 ***** 
skipping: [managed-node1] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node1] => (item=CentOS.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "CentOS.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node1] => (item=CentOS_7.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "CentOS_7.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node1] => (item=CentOS_7.9.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "CentOS_7.9.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.kdump : Install required packages] *************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5
Saturday 15 February 2025  02:18:44 -0500 (0:00:00.109)       0:00:03.035 ***** 
ok: [managed-node1] => {
    "changed": false, 
    "rc": 0, 
    "results": [
        "grubby-8.28-26.el7.x86_64 providing grubby is already installed", 
        "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", 
        "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed", 
        "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed"
    ]
}
lsrpackages: grubby iproute kexec-tools openssh-clients

TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] **********
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11
Saturday 15 February 2025  02:18:44 -0500 (0:00:00.816)       0:00:03.851 ***** 
ok: [managed-node1] => {
    "changed": false, 
    "enabled": true, 
    "name": "kdump", 
    "status": {
        "ActiveEnterTimestamp": "Sat 2025-02-15 02:13:06 EST", 
        "ActiveEnterTimestampMonotonic": "27322901", 
        "ActiveExitTimestampMonotonic": "0", 
        "ActiveState": "active", 
        "After": "remote-fs.target system.slice network.target basic.target systemd-journald.socket network-online.target", 
        "AllowIsolate": "no", 
        "AmbientCapabilities": "0", 
        "AssertResult": "yes", 
        "AssertTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "AssertTimestampMonotonic": "10681794", 
        "BlockIOAccounting": "no", 
        "BlockIOWeight": "18446744073709551615", 
        "CPUAccounting": "no", 
        "CPUQuotaPerSecUSec": "infinity", 
        "CPUSchedulingPolicy": "0", 
        "CPUSchedulingPriority": "0", 
        "CPUSchedulingResetOnFork": "no", 
        "CPUShares": "18446744073709551615", 
        "CanIsolate": "no", 
        "CanReload": "yes", 
        "CanStart": "yes", 
        "CanStop": "yes", 
        "CapabilityBoundingSet": "18446744073709551615", 
        "CollectMode": "inactive", 
        "ConditionResult": "yes", 
        "ConditionTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "ConditionTimestampMonotonic": "10681793", 
        "ControlGroup": "/system.slice/kdump.service", 
        "ControlPID": "0", 
        "DefaultDependencies": "no", 
        "Delegate": "no", 
        "Description": "Crash recovery kernel arming", 
        "DevicePolicy": "auto", 
        "ExecMainCode": "1", 
        "ExecMainExitTimestamp": "Sat 2025-02-15 02:13:06 EST", 
        "ExecMainExitTimestampMonotonic": "27322678", 
        "ExecMainPID": "1212", 
        "ExecMainStartTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "ExecMainStartTimestampMonotonic": "10684220", 
        "ExecMainStatus": "0", 
        "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", 
        "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2025-02-15 02:12:49 EST] ; stop_time=[Sat 2025-02-15 02:13:06 EST] ; pid=1212 ; code=exited ; status=0 }", 
        "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", 
        "FailureAction": "none", 
        "FileDescriptorStoreMax": "0", 
        "FragmentPath": "/usr/lib/systemd/system/kdump.service", 
        "GuessMainPID": "yes", 
        "IOScheduling": "0", 
        "Id": "kdump.service", 
        "IgnoreOnIsolate": "no", 
        "IgnoreOnSnapshot": "no", 
        "IgnoreSIGPIPE": "yes", 
        "InactiveEnterTimestampMonotonic": "0", 
        "InactiveExitTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "InactiveExitTimestampMonotonic": "10684263", 
        "JobTimeoutAction": "none", 
        "JobTimeoutUSec": "0", 
        "KillMode": "control-group", 
        "KillSignal": "15", 
        "LimitAS": "18446744073709551615", 
        "LimitCORE": "18446744073709551615", 
        "LimitCPU": "18446744073709551615", 
        "LimitDATA": "18446744073709551615", 
        "LimitFSIZE": "18446744073709551615", 
        "LimitLOCKS": "18446744073709551615", 
        "LimitMEMLOCK": "65536", 
        "LimitMSGQUEUE": "819200", 
        "LimitNICE": "0", 
        "LimitNOFILE": "4096", 
        "LimitNPROC": "14311", 
        "LimitRSS": "18446744073709551615", 
        "LimitRTPRIO": "0", 
        "LimitRTTIME": "18446744073709551615", 
        "LimitSIGPENDING": "14311", 
        "LimitSTACK": "18446744073709551615", 
        "LoadState": "loaded", 
        "MainPID": "0", 
        "MemoryAccounting": "no", 
        "MemoryCurrent": "18446744073709551615", 
        "MemoryLimit": "18446744073709551615", 
        "MountFlags": "0", 
        "Names": "kdump.service", 
        "NeedDaemonReload": "no", 
        "Nice": "0", 
        "NoNewPrivileges": "no", 
        "NonBlocking": "no", 
        "NotifyAccess": "none", 
        "OOMScoreAdjust": "0", 
        "OnFailureJobMode": "replace", 
        "PermissionsStartOnly": "no", 
        "PrivateDevices": "no", 
        "PrivateNetwork": "no", 
        "PrivateTmp": "no", 
        "ProtectHome": "no", 
        "ProtectSystem": "no", 
        "RefuseManualStart": "no", 
        "RefuseManualStop": "no", 
        "RemainAfterExit": "yes", 
        "Requires": "system.slice", 
        "Restart": "no", 
        "RestartUSec": "100ms", 
        "Result": "success", 
        "RootDirectoryStartOnly": "no", 
        "RuntimeDirectoryMode": "0755", 
        "SameProcessGroup": "no", 
        "SecureBits": "0", 
        "SendSIGHUP": "no", 
        "SendSIGKILL": "yes", 
        "Slice": "system.slice", 
        "StandardError": "inherit", 
        "StandardInput": "null", 
        "StandardOutput": "journal", 
        "StartLimitAction": "none", 
        "StartLimitBurst": "5", 
        "StartLimitInterval": "0", 
        "StartupBlockIOWeight": "18446744073709551615", 
        "StartupCPUShares": "18446744073709551615", 
        "StatusErrno": "0", 
        "StopWhenUnneeded": "no", 
        "SubState": "exited", 
        "SyslogLevelPrefix": "yes", 
        "SyslogPriority": "30", 
        "SystemCallErrorNumber": "0", 
        "TTYReset": "no", 
        "TTYVHangup": "no", 
        "TTYVTDisallocate": "no", 
        "TasksAccounting": "no", 
        "TasksCurrent": "18446744073709551615", 
        "TasksMax": "18446744073709551615", 
        "TimeoutStartUSec": "0", 
        "TimeoutStopUSec": "1min 30s", 
        "TimerSlackNSec": "50000", 
        "Transient": "no", 
        "Type": "oneshot", 
        "UMask": "0022", 
        "UnitFilePreset": "enabled", 
        "UnitFileState": "enabled", 
        "WantedBy": "multi-user.target", 
        "WatchdogTimestampMonotonic": "0", 
        "WatchdogUSec": "0"
    }
}

TASK [fedora.linux_system_roles.kdump : Include SSH tasks] *********************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16
Saturday 15 February 2025  02:18:46 -0500 (0:00:01.058)       0:00:04.910 ***** 
skipping: [managed-node1] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] ***
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21
Saturday 15 February 2025  02:18:46 -0500 (0:00:00.065)       0:00:04.976 ***** 
ok: [managed-node1] => {
    "changed": false, 
    "stat": {
        "atime": 1739603569.4775329, 
        "attr_flags": "e", 
        "attributes": [
            "extents"
        ], 
        "block_size": 4096, 
        "blocks": 16, 
        "charset": "us-ascii", 
        "checksum": "adb37a9eb1d010f11b1cbc1f109bc9a591f8117b", 
        "ctime": 1718880241.3036501, 
        "dev": 51713, 
        "device_type": 0, 
        "executable": false, 
        "exists": true, 
        "gid": 0, 
        "gr_name": "root", 
        "inode": 147672, 
        "isblk": false, 
        "ischr": false, 
        "isdir": false, 
        "isfifo": false, 
        "isgid": false, 
        "islnk": false, 
        "isreg": true, 
        "issock": false, 
        "isuid": false, 
        "mimetype": "text/plain", 
        "mode": "0644", 
        "mtime": 1718880241.3036501, 
        "nlink": 1, 
        "path": "/etc/kdump.conf", 
        "pw_name": "root", 
        "readable": true, 
        "rgrp": true, 
        "roth": true, 
        "rusr": true, 
        "size": 7274, 
        "uid": 0, 
        "version": "22382559", 
        "wgrp": false, 
        "woth": false, 
        "writeable": true, 
        "wusr": true, 
        "xgrp": false, 
        "xoth": false, 
        "xusr": false
    }
}

TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] **************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26
Saturday 15 February 2025  02:18:46 -0500 (0:00:00.475)       0:00:05.451 ***** 
NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node1
changed: [managed-node1] => {
    "backup_file": "/etc/kdump.conf.9547.2025-02-15@02:18:47~", 
    "changed": true, 
    "checksum": "5eea1b4829897f2843bafdff6b482ed722029483", 
    "dest": "/etc/kdump.conf", 
    "gid": 0, 
    "group": "root", 
    "md5sum": "83ef851c050de649b64f945168d63384", 
    "mode": "0644", 
    "owner": "root", 
    "secontext": "system_u:object_r:kdump_etc_t:s0", 
    "size": 77, 
    "src": "/root/.ansible/tmp/ansible-tmp-1739603926.69-9895-45493968211783/source", 
    "state": "file", 
    "uid": 0
}

TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] ***
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34
Saturday 15 February 2025  02:18:47 -0500 (0:00:00.808)       0:00:06.259 ***** 
ok: [managed-node1] => {
    "attempts": 1, 
    "changed": false, 
    "content": "MTY4ODIwNzM2Cg==", 
    "encoding": "base64", 
    "source": "/sys/kernel/kexec_crash_size"
}

TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] ****
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40
Saturday 15 February 2025  02:18:47 -0500 (0:00:00.574)       0:00:06.834 ***** 
ok: [managed-node1] => {
    "ansible_facts": {
        "kdump_reboot_required": false
    }, 
    "changed": false
}

TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] ***
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49
Saturday 15 February 2025  02:18:48 -0500 (0:00:00.105)       0:00:06.940 ***** 
skipping: [managed-node1] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] ***
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54
Saturday 15 February 2025  02:18:48 -0500 (0:00:00.063)       0:00:07.003 ***** 
skipping: [managed-node1] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] ***
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59
Saturday 15 February 2025  02:18:48 -0500 (0:00:00.070)       0:00:07.074 ***** 
skipping: [managed-node1] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.kdump : Reboot the managed node] ***************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68
Saturday 15 February 2025  02:18:48 -0500 (0:00:00.066)       0:00:07.140 ***** 
skipping: [managed-node1] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] ***
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74
Saturday 15 February 2025  02:18:48 -0500 (0:00:00.059)       0:00:07.200 ***** 
skipping: [managed-node1] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] **********
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84
Saturday 15 February 2025  02:18:48 -0500 (0:00:00.055)       0:00:07.255 ***** 
ok: [managed-node1] => {
    "changed": false, 
    "name": "kdump", 
    "state": "started", 
    "status": {
        "ActiveEnterTimestamp": "Sat 2025-02-15 02:13:06 EST", 
        "ActiveEnterTimestampMonotonic": "27322901", 
        "ActiveExitTimestampMonotonic": "0", 
        "ActiveState": "active", 
        "After": "remote-fs.target system.slice network.target basic.target systemd-journald.socket network-online.target", 
        "AllowIsolate": "no", 
        "AmbientCapabilities": "0", 
        "AssertResult": "yes", 
        "AssertTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "AssertTimestampMonotonic": "10681794", 
        "BlockIOAccounting": "no", 
        "BlockIOWeight": "18446744073709551615", 
        "CPUAccounting": "no", 
        "CPUQuotaPerSecUSec": "infinity", 
        "CPUSchedulingPolicy": "0", 
        "CPUSchedulingPriority": "0", 
        "CPUSchedulingResetOnFork": "no", 
        "CPUShares": "18446744073709551615", 
        "CanIsolate": "no", 
        "CanReload": "yes", 
        "CanStart": "yes", 
        "CanStop": "yes", 
        "CapabilityBoundingSet": "18446744073709551615", 
        "CollectMode": "inactive", 
        "ConditionResult": "yes", 
        "ConditionTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "ConditionTimestampMonotonic": "10681793", 
        "ControlGroup": "/system.slice/kdump.service", 
        "ControlPID": "0", 
        "DefaultDependencies": "no", 
        "Delegate": "no", 
        "Description": "Crash recovery kernel arming", 
        "DevicePolicy": "auto", 
        "ExecMainCode": "1", 
        "ExecMainExitTimestamp": "Sat 2025-02-15 02:13:06 EST", 
        "ExecMainExitTimestampMonotonic": "27322678", 
        "ExecMainPID": "1212", 
        "ExecMainStartTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "ExecMainStartTimestampMonotonic": "10684220", 
        "ExecMainStatus": "0", 
        "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", 
        "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2025-02-15 02:12:49 EST] ; stop_time=[Sat 2025-02-15 02:13:06 EST] ; pid=1212 ; code=exited ; status=0 }", 
        "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", 
        "FailureAction": "none", 
        "FileDescriptorStoreMax": "0", 
        "FragmentPath": "/usr/lib/systemd/system/kdump.service", 
        "GuessMainPID": "yes", 
        "IOScheduling": "0", 
        "Id": "kdump.service", 
        "IgnoreOnIsolate": "no", 
        "IgnoreOnSnapshot": "no", 
        "IgnoreSIGPIPE": "yes", 
        "InactiveEnterTimestampMonotonic": "0", 
        "InactiveExitTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "InactiveExitTimestampMonotonic": "10684263", 
        "JobTimeoutAction": "none", 
        "JobTimeoutUSec": "0", 
        "KillMode": "control-group", 
        "KillSignal": "15", 
        "LimitAS": "18446744073709551615", 
        "LimitCORE": "18446744073709551615", 
        "LimitCPU": "18446744073709551615", 
        "LimitDATA": "18446744073709551615", 
        "LimitFSIZE": "18446744073709551615", 
        "LimitLOCKS": "18446744073709551615", 
        "LimitMEMLOCK": "65536", 
        "LimitMSGQUEUE": "819200", 
        "LimitNICE": "0", 
        "LimitNOFILE": "4096", 
        "LimitNPROC": "14311", 
        "LimitRSS": "18446744073709551615", 
        "LimitRTPRIO": "0", 
        "LimitRTTIME": "18446744073709551615", 
        "LimitSIGPENDING": "14311", 
        "LimitSTACK": "18446744073709551615", 
        "LoadState": "loaded", 
        "MainPID": "0", 
        "MemoryAccounting": "no", 
        "MemoryCurrent": "18446744073709551615", 
        "MemoryLimit": "18446744073709551615", 
        "MountFlags": "0", 
        "Names": "kdump.service", 
        "NeedDaemonReload": "no", 
        "Nice": "0", 
        "NoNewPrivileges": "no", 
        "NonBlocking": "no", 
        "NotifyAccess": "none", 
        "OOMScoreAdjust": "0", 
        "OnFailureJobMode": "replace", 
        "PermissionsStartOnly": "no", 
        "PrivateDevices": "no", 
        "PrivateNetwork": "no", 
        "PrivateTmp": "no", 
        "ProtectHome": "no", 
        "ProtectSystem": "no", 
        "RefuseManualStart": "no", 
        "RefuseManualStop": "no", 
        "RemainAfterExit": "yes", 
        "Requires": "system.slice", 
        "Restart": "no", 
        "RestartUSec": "100ms", 
        "Result": "success", 
        "RootDirectoryStartOnly": "no", 
        "RuntimeDirectoryMode": "0755", 
        "SameProcessGroup": "no", 
        "SecureBits": "0", 
        "SendSIGHUP": "no", 
        "SendSIGKILL": "yes", 
        "Slice": "system.slice", 
        "StandardError": "inherit", 
        "StandardInput": "null", 
        "StandardOutput": "journal", 
        "StartLimitAction": "none", 
        "StartLimitBurst": "5", 
        "StartLimitInterval": "0", 
        "StartupBlockIOWeight": "18446744073709551615", 
        "StartupCPUShares": "18446744073709551615", 
        "StatusErrno": "0", 
        "StopWhenUnneeded": "no", 
        "SubState": "exited", 
        "SyslogLevelPrefix": "yes", 
        "SyslogPriority": "30", 
        "SystemCallErrorNumber": "0", 
        "TTYReset": "no", 
        "TTYVHangup": "no", 
        "TTYVTDisallocate": "no", 
        "TasksAccounting": "no", 
        "TasksCurrent": "18446744073709551615", 
        "TasksMax": "18446744073709551615", 
        "TimeoutStartUSec": "0", 
        "TimeoutStopUSec": "1min 30s", 
        "TimerSlackNSec": "50000", 
        "Transient": "no", 
        "Type": "oneshot", 
        "UMask": "0022", 
        "UnitFilePreset": "enabled", 
        "UnitFileState": "enabled", 
        "WantedBy": "multi-user.target", 
        "WatchdogTimestampMonotonic": "0", 
        "WatchdogUSec": "0"
    }
}

RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] **************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2
Saturday 15 February 2025  02:18:48 -0500 (0:00:00.467)       0:00:07.723 ***** 
changed: [managed-node1] => {
    "changed": true, 
    "name": "kdump", 
    "state": "started", 
    "status": {
        "ActiveEnterTimestamp": "Sat 2025-02-15 02:13:06 EST", 
        "ActiveEnterTimestampMonotonic": "27322901", 
        "ActiveExitTimestampMonotonic": "0", 
        "ActiveState": "active", 
        "After": "remote-fs.target system.slice network.target basic.target systemd-journald.socket network-online.target", 
        "AllowIsolate": "no", 
        "AmbientCapabilities": "0", 
        "AssertResult": "yes", 
        "AssertTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "AssertTimestampMonotonic": "10681794", 
        "BlockIOAccounting": "no", 
        "BlockIOWeight": "18446744073709551615", 
        "CPUAccounting": "no", 
        "CPUQuotaPerSecUSec": "infinity", 
        "CPUSchedulingPolicy": "0", 
        "CPUSchedulingPriority": "0", 
        "CPUSchedulingResetOnFork": "no", 
        "CPUShares": "18446744073709551615", 
        "CanIsolate": "no", 
        "CanReload": "yes", 
        "CanStart": "yes", 
        "CanStop": "yes", 
        "CapabilityBoundingSet": "18446744073709551615", 
        "CollectMode": "inactive", 
        "ConditionResult": "yes", 
        "ConditionTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "ConditionTimestampMonotonic": "10681793", 
        "ControlGroup": "/system.slice/kdump.service", 
        "ControlPID": "0", 
        "DefaultDependencies": "no", 
        "Delegate": "no", 
        "Description": "Crash recovery kernel arming", 
        "DevicePolicy": "auto", 
        "ExecMainCode": "1", 
        "ExecMainExitTimestamp": "Sat 2025-02-15 02:13:06 EST", 
        "ExecMainExitTimestampMonotonic": "27322678", 
        "ExecMainPID": "1212", 
        "ExecMainStartTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "ExecMainStartTimestampMonotonic": "10684220", 
        "ExecMainStatus": "0", 
        "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", 
        "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2025-02-15 02:12:49 EST] ; stop_time=[Sat 2025-02-15 02:13:06 EST] ; pid=1212 ; code=exited ; status=0 }", 
        "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", 
        "FailureAction": "none", 
        "FileDescriptorStoreMax": "0", 
        "FragmentPath": "/usr/lib/systemd/system/kdump.service", 
        "GuessMainPID": "yes", 
        "IOScheduling": "0", 
        "Id": "kdump.service", 
        "IgnoreOnIsolate": "no", 
        "IgnoreOnSnapshot": "no", 
        "IgnoreSIGPIPE": "yes", 
        "InactiveEnterTimestampMonotonic": "0", 
        "InactiveExitTimestamp": "Sat 2025-02-15 02:12:49 EST", 
        "InactiveExitTimestampMonotonic": "10684263", 
        "JobTimeoutAction": "none", 
        "JobTimeoutUSec": "0", 
        "KillMode": "control-group", 
        "KillSignal": "15", 
        "LimitAS": "18446744073709551615", 
        "LimitCORE": "18446744073709551615", 
        "LimitCPU": "18446744073709551615", 
        "LimitDATA": "18446744073709551615", 
        "LimitFSIZE": "18446744073709551615", 
        "LimitLOCKS": "18446744073709551615", 
        "LimitMEMLOCK": "65536", 
        "LimitMSGQUEUE": "819200", 
        "LimitNICE": "0", 
        "LimitNOFILE": "4096", 
        "LimitNPROC": "14311", 
        "LimitRSS": "18446744073709551615", 
        "LimitRTPRIO": "0", 
        "LimitRTTIME": "18446744073709551615", 
        "LimitSIGPENDING": "14311", 
        "LimitSTACK": "18446744073709551615", 
        "LoadState": "loaded", 
        "MainPID": "0", 
        "MemoryAccounting": "no", 
        "MemoryCurrent": "18446744073709551615", 
        "MemoryLimit": "18446744073709551615", 
        "MountFlags": "0", 
        "Names": "kdump.service", 
        "NeedDaemonReload": "no", 
        "Nice": "0", 
        "NoNewPrivileges": "no", 
        "NonBlocking": "no", 
        "NotifyAccess": "none", 
        "OOMScoreAdjust": "0", 
        "OnFailureJobMode": "replace", 
        "PermissionsStartOnly": "no", 
        "PrivateDevices": "no", 
        "PrivateNetwork": "no", 
        "PrivateTmp": "no", 
        "ProtectHome": "no", 
        "ProtectSystem": "no", 
        "RefuseManualStart": "no", 
        "RefuseManualStop": "no", 
        "RemainAfterExit": "yes", 
        "Requires": "system.slice", 
        "Restart": "no", 
        "RestartUSec": "100ms", 
        "Result": "success", 
        "RootDirectoryStartOnly": "no", 
        "RuntimeDirectoryMode": "0755", 
        "SameProcessGroup": "no", 
        "SecureBits": "0", 
        "SendSIGHUP": "no", 
        "SendSIGKILL": "yes", 
        "Slice": "system.slice", 
        "StandardError": "inherit", 
        "StandardInput": "null", 
        "StandardOutput": "journal", 
        "StartLimitAction": "none", 
        "StartLimitBurst": "5", 
        "StartLimitInterval": "0", 
        "StartupBlockIOWeight": "18446744073709551615", 
        "StartupCPUShares": "18446744073709551615", 
        "StatusErrno": "0", 
        "StopWhenUnneeded": "no", 
        "SubState": "exited", 
        "SyslogLevelPrefix": "yes", 
        "SyslogPriority": "30", 
        "SystemCallErrorNumber": "0", 
        "TTYReset": "no", 
        "TTYVHangup": "no", 
        "TTYVTDisallocate": "no", 
        "TasksAccounting": "no", 
        "TasksCurrent": "18446744073709551615", 
        "TasksMax": "18446744073709551615", 
        "TimeoutStartUSec": "0", 
        "TimeoutStopUSec": "1min 30s", 
        "TimerSlackNSec": "50000", 
        "Transient": "no", 
        "Type": "oneshot", 
        "UMask": "0022", 
        "UnitFilePreset": "enabled", 
        "UnitFileState": "enabled", 
        "WantedBy": "multi-user.target", 
        "WatchdogTimestampMonotonic": "0", 
        "WatchdogUSec": "0"
    }
}
META: ran handlers
META: ran handlers

PLAY [Run tests_default.yml in check_mode] *************************************

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:26
Saturday 15 February 2025  02:19:03 -0500 (0:00:14.748)       0:00:22.471 ***** 
ok: [managed-node1]
META: ran handlers

TASK [Run ansible-playbook with tests_default.yml in check mode] ***************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:31
Saturday 15 February 2025  02:19:04 -0500 (0:00:00.522)       0:00:22.994 ***** 
ok: [managed-node1 -> localhost] => {
    "changed": false, 
    "cmd": [
        "ansible-playbook", 
        "-vvv", 
        "-i", 
        "/tmp/ansible.0NmYeI.inventory.yaml", 
        "--check", 
        "tests_default.yml"
    ], 
    "delta": "0:00:00.561626", 
    "end": "2025-02-15 02:19:04.964716", 
    "rc": 0, 
    "start": "2025-02-15 02:19:04.403090"
}

STDOUT:

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, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
Using /etc/ansible/ansible.cfg as config file
host_list declined parsing /tmp/ansible.0NmYeI.inventory.yaml as it did not pass its verify_file() method
script declined parsing /tmp/ansible.0NmYeI.inventory.yaml as it did not pass its verify_file() method
toml declined parsing /tmp/ansible.0NmYeI.inventory.yaml as it did not pass its verify_file() method
  File "/usr/lib/python2.7/site-packages/ansible/inventory/manager.py", line 280, in parse_source
    plugin.parse(self._inventory, self._loader, source, cache=cache)
  File "/usr/lib/python2.7/site-packages/ansible/plugins/inventory/auto.py", line 40, in parse
    config_data = loader.load_from_file(path, cache=False)
  File "/usr/lib/python2.7/site-packages/ansible/parsing/dataloader.py", line 97, in load_from_file
    parsed_data = self.load(data=file_data, file_name=file_name, show_content=show_content, json_only=json_only)
  File "/usr/lib/python2.7/site-packages/ansible/parsing/dataloader.py", line 80, in load
    return from_yaml(data, file_name, show_content, self._vault.secrets, json_only=json_only)
  File "/usr/lib/python2.7/site-packages/ansible/parsing/utils/yaml.py", line 81, in from_yaml
    _handle_error(json_exc, yaml_exc, file_name, show_content)
  File "/usr/lib/python2.7/site-packages/ansible/parsing/utils/yaml.py", line 42, in _handle_error
    raise AnsibleParserError(to_native(err_msg), obj=err_obj, show_content=show_content, orig_exc=yaml_exc)
  File "/usr/lib/python2.7/site-packages/ansible/inventory/manager.py", line 280, in parse_source
    plugin.parse(self._inventory, self._loader, source, cache=cache)
  File "/usr/lib/python2.7/site-packages/ansible/plugins/inventory/yaml.py", line 105, in parse
    raise AnsibleParserError(e)
  File "/usr/lib/python2.7/site-packages/ansible/inventory/manager.py", line 280, in parse_source
    plugin.parse(self._inventory, self._loader, source, cache=cache)
  File "/usr/lib/python2.7/site-packages/ansible/plugins/inventory/ini.py", line 138, in parse
    raise AnsibleParserError(e)
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 tests_default.yml

PLAY [Ensure that the rule runs with default parameters] ***********************
skipping: no hosts matched

PLAY RECAP *********************************************************************

Saturday 15 February 2025  02:19:04 -0500 (0:00:00.018)       0:00:00.018 ***** 
=============================================================================== 


STDERR:

[WARNING]: running playbook inside collection fedora.linux_system_roles
[WARNING]:  * Failed to parse /tmp/ansible.0NmYeI.inventory.yaml with auto
plugin: We were unable to read either as JSON nor YAML, these are the errors we
got from each: JSON: No JSON object could be decoded  Syntax Error while
loading YAML.   found unexpected ':'  The error appears to be in
'/tmp/ansible.0NmYeI.inventory.yaml': line 5, column 42, but may be elsewhere
in the file depending on the exact syntax problem.  The offending line appears
to be:        ansible_all_ipv4_addresses: [u'10.31.47.50']
ansible_all_ipv6_addresses: [u'fe80::bb:c9ff:fe79:cff1']
^ here This one looks easy to fix. There seems to be an extra unquoted colon in
the line and this is confusing the parser. It was only expecting to find one
free colon. The solution is just add some quotes around the colon, or quote the
entire line after the first colon.  For instance, if the original line was:
copy: src=file.txt dest=/path/filename:with_colon.txt  It can be written as:
copy: src=file.txt dest='/path/filename:with_colon.txt'  Or:      copy:
'src=file.txt dest=/path/filename:with_colon.txt'
[WARNING]:  * Failed to parse /tmp/ansible.0NmYeI.inventory.yaml with yaml
plugin: We were unable to read either as JSON nor YAML, these are the errors we
got from each: JSON: No JSON object could be decoded  Syntax Error while
loading YAML.   found unexpected ':'  The error appears to be in
'/tmp/ansible.0NmYeI.inventory.yaml': line 5, column 42, but may be elsewhere
in the file depending on the exact syntax problem.  The offending line appears
to be:        ansible_all_ipv4_addresses: [u'10.31.47.50']
ansible_all_ipv6_addresses: [u'fe80::bb:c9ff:fe79:cff1']
^ here This one looks easy to fix. There seems to be an extra unquoted colon in
the line and this is confusing the parser. It was only expecting to find one
free colon. The solution is just add some quotes around the colon, or quote the
entire line after the first colon.  For instance, if the original line was:
copy: src=file.txt dest=/path/filename:with_colon.txt  It can be written as:
copy: src=file.txt dest='/path/filename:with_colon.txt'  Or:      copy:
'src=file.txt dest=/path/filename:with_colon.txt'
[WARNING]:  * Failed to parse /tmp/ansible.0NmYeI.inventory.yaml with ini
plugin: Invalid host pattern 'all:' supplied, ending in ':' is not allowed,
this character is reserved to provide a port.
[WARNING]: Unable to parse /tmp/ansible.0NmYeI.inventory.yaml as an inventory
source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'

TASK [Remove the temporary file] ***********************************************
task path: /tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:38
Saturday 15 February 2025  02:19:05 -0500 (0:00:00.894)       0:00:23.889 ***** 
changed: [managed-node1 -> localhost] => {
    "changed": true, 
    "path": "/tmp/ansible.0NmYeI.inventory.yaml", 
    "state": "absent"
}
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
managed-node1              : ok=17   changed=5    unreachable=0    failed=0    skipped=8    rescued=0    ignored=0   

Saturday 15 February 2025  02:19:05 -0500 (0:00:00.343)       0:00:24.233 ***** 
=============================================================================== 
fedora.linux_system_roles.kdump : Restart kdump ------------------------ 14.75s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 
Gathering Facts --------------------------------------------------------- 1.13s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:2 
fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 1.06s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 
Create static inventory from hostvars ----------------------------------- 0.93s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:14 
Run ansible-playbook with tests_default.yml in check mode --------------- 0.89s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:31 
fedora.linux_system_roles.kdump : Install required packages ------------- 0.82s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 
fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.81s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 
fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.58s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 
Gathering Facts --------------------------------------------------------- 0.52s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:26 
fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.48s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 
fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.47s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 
Remove the temporary file ----------------------------------------------- 0.34s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:38 
fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.31s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 
Create temporary file --------------------------------------------------- 0.26s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:7 
Run the role. If reboot is not required - the play succeeds. ------------ 0.12s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10 
fedora.linux_system_roles.kdump : Set platform/version specific variables --- 0.11s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 
fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact ---- 0.11s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 
fedora.linux_system_roles.kdump : Set flag to indicate system is ostree --- 0.07s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 
fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed --- 0.07s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 
fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false --- 0.07s
/tmp/collections-1Vl/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59