ansible-playbook [core 2.16.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-GsH executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_example.yml **************************************************** 1 plays in /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml PLAY [Simple journald role invocation] ***************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:3 Tuesday 29 October 2024 19:06:19 -0400 (0:00:00.011) 0:00:00.011 ******* ok: [managed-node2] TASK [Make a copy of the service files] **************************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:20 Tuesday 29 October 2024 19:06:20 -0400 (0:00:01.298) 0:00:01.309 ******* changed: [managed-node2] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": true, "checksum": "c2a7375dacd7ab607a2c16050de7d8efecb35e1e", "dest": "/etc/systemd/system/systemd-journald.service", "gid": 0, "group": "root", "item": "systemd-journald.service", "md5sum": "e1c9d84da74e4387603ac307513e7abd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 1537, "src": "/usr/lib/systemd/system/systemd-journald.service", "state": "file", "uid": 0 } changed: [managed-node2] => (item=systemd-journal-flush.service) => { "ansible_loop_var": "item", "changed": true, "checksum": "a263af66f98428fedde2287928a1e9e607729b3b", "dest": "/etc/systemd/system/systemd-journal-flush.service", "gid": 0, "group": "root", "item": "systemd-journal-flush.service", "md5sum": "ba4461f71703332d1c3465ef31347c40", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 827, "src": "/usr/lib/systemd/system/systemd-journal-flush.service", "state": "file", "uid": 0 } TASK [Change the startlimit to avoid errors with excessive journald restarts] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:28 Tuesday 29 October 2024 19:06:21 -0400 (0:00:00.819) 0:00:02.129 ******* changed: [managed-node2] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "backup": "", "changed": true, "item": "systemd-journald.service" } MSG: line added changed: [managed-node2] => (item=systemd-journal-flush.service) => { "ansible_loop_var": "item", "backup": "", "changed": true, "item": "systemd-journal-flush.service" } MSG: line added TASK [Make a copy of the systemd-journald.service] ***************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:35 Tuesday 29 October 2024 19:06:22 -0400 (0:00:00.785) 0:00:02.914 ******* changed: [managed-node2] => { "changed": true, "checksum": "c2a7375dacd7ab607a2c16050de7d8efecb35e1e", "dest": "/etc/systemd/system/systemd-journald.service", "gid": 0, "group": "root", "md5sum": "e1c9d84da74e4387603ac307513e7abd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 1537, "src": "/usr/lib/systemd/system/systemd-journald.service", "state": "file", "uid": 0 } TASK [Change the startlimit to avoid errors with excessive journald restarts] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:42 Tuesday 29 October 2024 19:06:22 -0400 (0:00:00.385) 0:00:03.299 ******* changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [Reload systemd to ensure startlimit changes take effect upon restart] **** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:48 Tuesday 29 October 2024 19:06:23 -0400 (0:00:00.340) 0:00:03.640 ******* ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Run the role] ************************************************************ task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:52 Tuesday 29 October 2024 19:06:23 -0400 (0:00:00.820) 0:00:04.460 ******* TASK [fedora.linux_system_roles.journald : Set platform/version specific variables] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:3 Tuesday 29 October 2024 19:06:23 -0400 (0:00:00.031) 0:00:04.491 ******* included: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.journald : Ensure ansible_facts used by role] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:2 Tuesday 29 October 2024 19:06:23 -0400 (0:00:00.022) 0:00:04.514 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__journald_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.journald : Check if system is ostree] ********** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:10 Tuesday 29 October 2024 19:06:24 -0400 (0:00:00.033) 0:00:04.547 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.journald : Set flag to indicate system is ostree] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:15 Tuesday 29 October 2024 19:06:24 -0400 (0:00:00.429) 0:00:04.976 ******* ok: [managed-node2] => { "ansible_facts": { "__journald_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.journald : Warn if journald_sync_interval is set in volatile mode] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:6 Tuesday 29 October 2024 19:06:24 -0400 (0:00:00.022) 0:00:04.999 ******* skipping: [managed-node2] => { "false_condition": "not journald_persistent" } TASK [fedora.linux_system_roles.journald : Ensure required packages are installed] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:15 Tuesday 29 October 2024 19:06:24 -0400 (0:00:00.033) 0:00:05.033 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.journald : Ensure required services are enabled] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:21 Tuesday 29 October 2024 19:06:39 -0400 (0:00:15.415) 0:00:20.448 ******* ok: [managed-node2] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "systemd-journald.service", "name": "systemd-journald.service", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ActiveEnterTimestampMonotonic": "5358870", "ActiveExitTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ActiveExitTimestampMonotonic": "5266806", "ActiveState": "active", "After": "systemd-journald-dev-log.socket systemd-journald-audit.socket system.slice systemd-journald.socket syslog.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-10-29 18:59:37 EDT", "AssertTimestampMonotonic": "5268186", "Before": "sysinit.target systemd-journal-flush.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_setgid cap_setuid cap_sys_ptrace cap_sys_admin cap_audit_control cap_mac_override cap_syslog cap_audit_read", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ConditionTimestampMonotonic": "5268185", "ConfigurationDirectoryMode": "0755", "ControlGroup": "/system.slice/systemd-journald.service", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Journal Service", "DevicePolicy": "auto", "Documentation": "man:systemd-journald.service(8) man:journald.conf(5)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "497", "ExecMainStartTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ExecMainStartTimestampMonotonic": "5268790", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "4224", "FragmentPath": "/etc/systemd/system/systemd-journald.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "systemd-journald.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-10-29 18:59:37 EDT", "InactiveEnterTimestampMonotonic": "5268163", "InactiveExitTimestamp": "Tue 2024-10-29 18:59:37 EDT", "InactiveExitTimestampMonotonic": "5268828", "InvocationID": "ec0abf3f51694ae2b0418d622bb32869", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "497", "MemoryAccounting": "yes", "MemoryCurrent": "10186752", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "14", "NRestarts": "1", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "systemd-journald.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "systemd-journal-flush.service", "Requires": "systemd-journald.socket system.slice", "Restart": "always", "RestartUSec": "0", "RestrictNamespaces": "yes", "RestrictRealtime": "yes", "RestrictSUIDSGID": "yes", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-10-29 18:59:37 EDT", "StateChangeTimestampMonotonic": "5358870", "StateDirectoryMode": "0755", "StatusErrno": "0", "StatusText": "Processing requests...", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallArchitectures": "native", "SystemCallErrorNumber": "1", "SystemCallFilter": "_llseek _newselect accept accept4 access add_key alarm arch_prctl bind brk capget capset chdir chmod chown chown32 clock_getres clock_gettime clock_nanosleep clone close connect copy_file_range creat dup dup2 dup3 epoll_create epoll_create1 epoll_ctl epoll_ctl_old epoll_pwait epoll_wait epoll_wait_old eventfd eventfd2 execve execveat exit exit_group faccessat fadvise64 fadvise64_64 fallocate fchdir fchmod fchmodat fchown fchown32 fchownat fcntl fcntl64 fdatasync fgetxattr flistxattr flock fork fremovexattr fsetxattr fstat fstat64 fstatat64 fstatfs fstatfs64 fsync ftruncate ftruncate64 futex futimesat get_mempolicy get_robust_list get_thread_area getcpu getcwd getdents getdents64 getegid getegid32 geteuid geteuid32 getgid getgid32 getgroups getgroups32 getitimer getpeername getpgid getpgrp getpid getppid getpriority getrandom getresgid getresgid32 getresuid getresuid32 getrlimit getrusage getsid getsockname getsockopt gettid gettimeofday getuid getuid32 getxattr inotify_add_watch inotify_init inotify_init1 inotify_rm_watch io_cancel io_destroy io_getevents io_setup io_submit ioctl ioprio_get ioprio_set ipc kcmp keyctl kill lchown lchown32 lgetxattr link linkat listen listxattr llistxattr lremovexattr lseek lsetxattr lstat lstat64 madvise mbind membarrier memfd_create migrate_pages mincore mkdir mkdirat mknod mknodat mlock mlock2 mlockall mmap mmap2 move_pages mprotect mq_getsetattr mq_notify mq_open mq_timedreceive mq_timedsend mq_unlink mremap msgctl msgget msgrcv msgsnd msync munlock munlockall munmap name_to_handle_at nanosleep newfstatat nice oldfstat oldlstat oldolduname oldstat olduname open openat pause personality pipe pipe2 poll ppoll prctl pread64 preadv preadv2 prlimit64 process_vm_readv process_vm_writev pselect6 pwrite64 pwritev pwritev2 read readahead readdir readlink readlinkat readv recv recvfrom recvmmsg recvmsg remap_file_pages removexattr rename renameat renameat2 request_key restart_syscall rmdir rt_sigaction rt_sigpending rt_sigprocmask rt_sigqueueinfo rt_sigreturn rt_sigsuspend rt_sigtimedwait rt_tgsigqueueinfo sched_get_priority_max sched_get_priority_min sched_getaffinity sched_getattr sched_getparam sched_getscheduler sched_rr_get_interval sched_setaffinity sched_setattr sched_setparam sched_setscheduler sched_yield select semctl semget semop semtimedop send sendfile sendfile64 sendmmsg sendmsg sendto set_mempolicy set_robust_list set_thread_area set_tid_address set_tls setfsgid setfsgid32 setfsuid setfsuid32 setgid setgid32 setgroups setgroups32 setitimer setns setpgid setpriority setregid setregid32 setresgid setresgid32 setresuid setresuid32 setreuid setreuid32 setrlimit setsid setsockopt setuid setuid32 setxattr shmat shmctl shmdt shmget shutdown sigaction sigaltstack signal signalfd signalfd4 sigpending sigprocmask sigreturn sigsuspend socket socketcall socketpair splice stat stat64 statfs statfs64 statx symlink symlinkat sync sync_file_range syncfs sysinfo tee tgkill time timer_create timer_delete timer_getoverrun timer_gettime timer_settime timerfd_create timerfd_gettime timerfd_settime times tkill truncate truncate64 ugetrlimit umask uname unlink unlinkat unshare userfaultfd utime utimensat utimes vfork vmsplice wait4 waitid waitpid write writev", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "systemd-journald-audit.socket systemd-journald.socket systemd-journald-dev-log.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "initrd-switch-root.target sysinit.target", "Wants": "systemd-journald.socket systemd-journald-dev-log.socket", "WatchdogTimestamp": "Tue 2024-10-29 19:05:44 EDT", "WatchdogTimestampMonotonic": "372525880", "WatchdogUSec": "3min" } } ok: [managed-node2] => (item=systemd-journal-flush.service) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "systemd-journal-flush.service", "name": "systemd-journal-flush.service", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ActiveEnterTimestampMonotonic": "5432112", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount systemd-remount-fs.service system.slice systemd-journald.socket systemd-journald.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-10-29 18:59:37 EDT", "AssertTimestampMonotonic": "5372498", "Before": "systemd-user-sessions.service systemd-tmpfiles-setup.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ConditionTimestampMonotonic": "5372497", "ConfigurationDirectoryMode": "0755", "ControlGroup": "/system.slice/systemd-journal-flush.service", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Flush Journal to Persistent Storage", "DevicePolicy": "auto", "Documentation": "man:systemd-journald.service(8) man:journald.conf(5)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ExecMainExitTimestampMonotonic": "5431704", "ExecMainPID": "521", "ExecMainStartTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ExecMainStartTimestampMonotonic": "5373119", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --smart-relinquish-var ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/systemd-journal-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "systemd-journal-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-10-29 18:59:37 EDT", "InactiveExitTimestampMonotonic": "5373153", "InvocationID": "c5056bc45087473eaa005dafe2080c5c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "systemd-journal-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "-.mount system.slice systemd-journald.service", "RequiresMountsFor": "/var/log/journal", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-10-29 18:59:37 EDT", "StateChangeTimestampMonotonic": "5432112", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "sysinit.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.journald : Create journald configuration drop-in directory] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:28 Tuesday 29 October 2024 19:06:40 -0400 (0:00:01.021) 0:00:21.470 ******* changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/systemd/journald.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.journald : Configure persistent journal] ******* task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:36 Tuesday 29 October 2024 19:06:41 -0400 (0:00:00.476) 0:00:21.946 ******* included: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml for managed-node2 TASK [fedora.linux_system_roles.journald : Ensure persistent log store exists] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:3 Tuesday 29 October 2024 19:06:41 -0400 (0:00:00.054) 0:00:22.001 ******* changed: [managed-node2] => { "changed": true, "gid": 190, "group": "systemd-journal", "mode": "02755", "owner": "root", "path": "/var/log/journal", "secontext": "unconfined_u:object_r:var_log_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.journald : Apply tmpfiles.d snippet on persistent log store] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:11 Tuesday 29 October 2024 19:06:41 -0400 (0:00:00.353) 0:00:22.355 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemd-tmpfiles", "--create", "--prefix=/var/log/journal", "/usr/lib/tmpfiles.d/systemd.conf" ], "delta": "0:00:00.017352", "end": "2024-10-29 19:06:42.250009", "rc": 0, "start": "2024-10-29 19:06:42.232657" } TASK [fedora.linux_system_roles.journald : Configure volatile journal] ********* task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:40 Tuesday 29 October 2024 19:06:42 -0400 (0:00:00.463) 0:00:22.818 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not (journald_persistent | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.journald : Deploy journald configuration drop-in] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:44 Tuesday 29 October 2024 19:06:42 -0400 (0:00:00.032) 0:00:22.851 ******* Notification for handler Restart journald services has been saved. changed: [managed-node2] => { "changed": true, "checksum": "145d6969c386e1ad3341efbcf9e5d533aa41f499", "dest": "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf", "gid": 0, "group": "root", "md5sum": "ededd1698c93f8f78b3ad15261037cb1", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 236, "src": "/root/.ansible/tmp/ansible-tmp-1730243202.369491-8240-194857738757021/source", "state": "file", "uid": 0 } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:59 Tuesday 29 October 2024 19:06:43 -0400 (0:00:00.682) 0:00:23.533 ******* NOTIFIED HANDLER fedora.linux_system_roles.journald : Restart journald services for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.journald : Restart journald services] *** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/handlers/main.yml:3 Tuesday 29 October 2024 19:06:43 -0400 (0:00:00.005) 0:00:23.538 ******* changed: [managed-node2] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journald.service", "name": "systemd-journald.service", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ActiveEnterTimestampMonotonic": "5358870", "ActiveExitTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ActiveExitTimestampMonotonic": "5266806", "ActiveState": "active", "After": "systemd-journald-dev-log.socket systemd-journald-audit.socket system.slice systemd-journald.socket syslog.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-10-29 18:59:37 EDT", "AssertTimestampMonotonic": "5268186", "Before": "sysinit.target systemd-journal-flush.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_setgid cap_setuid cap_sys_ptrace cap_sys_admin cap_audit_control cap_mac_override cap_syslog cap_audit_read", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ConditionTimestampMonotonic": "5268185", "ConfigurationDirectoryMode": "0755", "ControlGroup": "/system.slice/systemd-journald.service", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Journal Service", "DevicePolicy": "auto", "Documentation": "man:systemd-journald.service(8) man:journald.conf(5)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "497", "ExecMainStartTimestamp": "Tue 2024-10-29 18:59:37 EDT", "ExecMainStartTimestampMonotonic": "5268790", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "4224", "FragmentPath": "/etc/systemd/system/systemd-journald.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "systemd-journald.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-10-29 18:59:37 EDT", "InactiveEnterTimestampMonotonic": "5268163", "InactiveExitTimestamp": "Tue 2024-10-29 18:59:37 EDT", "InactiveExitTimestampMonotonic": "5268828", "InvocationID": "ec0abf3f51694ae2b0418d622bb32869", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "497", "MemoryAccounting": "yes", "MemoryCurrent": "10219520", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "14", "NRestarts": "1", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "systemd-journald.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "systemd-journal-flush.service", "Requires": "systemd-journald.socket system.slice", "Restart": "always", "RestartUSec": "0", "RestrictNamespaces": "yes", "RestrictRealtime": "yes", "RestrictSUIDSGID": "yes", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-10-29 18:59:37 EDT", "StateChangeTimestampMonotonic": "5358870", "StateDirectoryMode": "0755", "StatusErrno": "0", "StatusText": "Processing requests...", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallArchitectures": "native", "SystemCallErrorNumber": "1", "SystemCallFilter": "_llseek _newselect accept accept4 access add_key alarm arch_prctl bind brk capget capset chdir chmod chown chown32 clock_getres clock_gettime clock_nanosleep clone close connect copy_file_range creat dup dup2 dup3 epoll_create epoll_create1 epoll_ctl epoll_ctl_old epoll_pwait epoll_wait epoll_wait_old eventfd eventfd2 execve execveat exit exit_group faccessat fadvise64 fadvise64_64 fallocate fchdir fchmod fchmodat fchown fchown32 fchownat fcntl fcntl64 fdatasync fgetxattr flistxattr flock fork fremovexattr fsetxattr fstat fstat64 fstatat64 fstatfs fstatfs64 fsync ftruncate ftruncate64 futex futimesat get_mempolicy get_robust_list get_thread_area getcpu getcwd getdents getdents64 getegid getegid32 geteuid geteuid32 getgid getgid32 getgroups getgroups32 getitimer getpeername getpgid getpgrp getpid getppid getpriority getrandom getresgid getresgid32 getresuid getresuid32 getrlimit getrusage getsid getsockname getsockopt gettid gettimeofday getuid getuid32 getxattr inotify_add_watch inotify_init inotify_init1 inotify_rm_watch io_cancel io_destroy io_getevents io_setup io_submit ioctl ioprio_get ioprio_set ipc kcmp keyctl kill lchown lchown32 lgetxattr link linkat listen listxattr llistxattr lremovexattr lseek lsetxattr lstat lstat64 madvise mbind membarrier memfd_create migrate_pages mincore mkdir mkdirat mknod mknodat mlock mlock2 mlockall mmap mmap2 move_pages mprotect mq_getsetattr mq_notify mq_open mq_timedreceive mq_timedsend mq_unlink mremap msgctl msgget msgrcv msgsnd msync munlock munlockall munmap name_to_handle_at nanosleep newfstatat nice oldfstat oldlstat oldolduname oldstat olduname open openat pause personality pipe pipe2 poll ppoll prctl pread64 preadv preadv2 prlimit64 process_vm_readv process_vm_writev pselect6 pwrite64 pwritev pwritev2 read readahead readdir readlink readlinkat readv recv recvfrom recvmmsg recvmsg remap_file_pages removexattr rename renameat renameat2 request_key restart_syscall rmdir rt_sigaction rt_sigpending rt_sigprocmask rt_sigqueueinfo rt_sigreturn rt_sigsuspend rt_sigtimedwait rt_tgsigqueueinfo sched_get_priority_max sched_get_priority_min sched_getaffinity sched_getattr sched_getparam sched_getscheduler sched_rr_get_interval sched_setaffinity sched_setattr sched_setparam sched_setscheduler sched_yield select semctl semget semop semtimedop send sendfile sendfile64 sendmmsg sendmsg sendto set_mempolicy set_robust_list set_thread_area set_tid_address set_tls setfsgid setfsgid32 setfsuid setfsuid32 setgid setgid32 setgroups setgroups32 setitimer setns setpgid setpriority setregid setregid32 setresgid setresgid32 setresuid setresuid32 setreuid setreuid32 setrlimit setsid setsockopt setuid setuid32 setxattr shmat shmctl shmdt shmget shutdown sigaction sigaltstack signal signalfd signalfd4 sigpending sigprocmask sigreturn sigsuspend socket socketcall socketpair splice stat stat64 statfs statfs64 statx symlink symlinkat sync sync_file_range syncfs sysinfo tee tgkill time timer_create timer_delete timer_getoverrun timer_gettime timer_settime timerfd_create timerfd_gettime timerfd_settime times tkill truncate truncate64 ugetrlimit umask uname unlink unlinkat unshare userfaultfd utime utimensat utimes vfork vmsplice wait4 waitid waitpid write writev", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "systemd-journald-audit.socket systemd-journald.socket systemd-journald-dev-log.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "initrd-switch-root.target sysinit.target", "Wants": "systemd-journald.socket systemd-journald-dev-log.socket", "WatchdogTimestamp": "Tue 2024-10-29 19:05:44 EDT", "WatchdogTimestampMonotonic": "372525880", "WatchdogUSec": "3min" } } changed: [managed-node2] => (item=systemd-journal-flush.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journal-flush.service", "name": "systemd-journal-flush.service", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-10-29 19:06:43 EDT", "ActiveEnterTimestampMonotonic": "431547148", "ActiveExitTimestamp": "Tue 2024-10-29 19:06:43 EDT", "ActiveExitTimestampMonotonic": "431489665", "ActiveState": "active", "After": "-.mount systemd-remount-fs.service system.slice systemd-journald.socket systemd-journald.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-10-29 19:06:43 EDT", "AssertTimestampMonotonic": "431538270", "Before": "systemd-user-sessions.service systemd-tmpfiles-setup.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-10-29 19:06:43 EDT", "ConditionTimestampMonotonic": "431538269", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Flush Journal to Persistent Storage", "DevicePolicy": "auto", "Documentation": "man:systemd-journald.service(8) man:journald.conf(5)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2024-10-29 19:06:43 EDT", "ExecMainExitTimestampMonotonic": "431546730", "ExecMainPID": "9441", "ExecMainStartTimestamp": "Tue 2024-10-29 19:06:43 EDT", "ExecMainStartTimestampMonotonic": "431539442", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --flush ; ignore_errors=no ; start_time=[Tue 2024-10-29 19:06:43 EDT] ; stop_time=[Tue 2024-10-29 19:06:43 EDT] ; pid=9441 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --smart-relinquish-var ; ignore_errors=no ; start_time=[Tue 2024-10-29 19:06:43 EDT] ; stop_time=[Tue 2024-10-29 19:06:43 EDT] ; pid=9437 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/systemd-journal-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "systemd-journal-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-10-29 19:06:43 EDT", "InactiveEnterTimestampMonotonic": "431497515", "InactiveExitTimestamp": "Tue 2024-10-29 19:06:43 EDT", "InactiveExitTimestampMonotonic": "431539500", "InvocationID": "8fc04f8d1b9a45138c76de03a8ccb81c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "systemd-journal-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "-.mount system.slice systemd-journald.service", "RequiresMountsFor": "/var/log/journal", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-10-29 19:06:43 EDT", "StateChangeTimestampMonotonic": "431547148", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "sysinit.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Get systemd-journald service state] ************************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:62 Tuesday 29 October 2024 19:06:44 -0400 (0:00:01.058) 0:00:24.596 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "show", "--property", "SubState", "systemd-journald.service" ], "delta": "0:00:00.009022", "end": "2024-10-29 19:06:44.371578", "rc": 0, "start": "2024-10-29 19:06:44.362556" } STDOUT: SubState=running TASK [Verify that systemd-journald is running] ********************************* task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:69 Tuesday 29 October 2024 19:06:44 -0400 (0:00:00.339) 0:00:24.935 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that syslog is set properly] ************************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:73 Tuesday 29 October 2024 19:06:44 -0400 (0:00:00.017) 0:00:24.953 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "ForwardToSyslog=yes", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.002940", "end": "2024-10-29 19:06:44.728913", "rc": 0, "start": "2024-10-29 19:06:44.725973" } STDOUT: ForwardToSyslog=yes TASK [Verify that rate limit interval is set properly] ************************* task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:79 Tuesday 29 October 2024 19:06:44 -0400 (0:00:00.338) 0:00:25.291 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "RateLimitIntervalSec=2s", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.003212", "end": "2024-10-29 19:06:45.070064", "rc": 0, "start": "2024-10-29 19:06:45.066852" } STDOUT: RateLimitIntervalSec=2s TASK [Verify that rate limit burst is set properly] **************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:85 Tuesday 29 October 2024 19:06:45 -0400 (0:00:00.340) 0:00:25.632 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "RateLimitBurst=2000", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.002966", "end": "2024-10-29 19:06:45.411449", "rc": 0, "start": "2024-10-29 19:06:45.408483" } STDOUT: RateLimitBurst=2000 TASK [Verify that /var/log/journal/$MACHINE_ID/system.journal exists] ********** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:91 Tuesday 29 October 2024 19:06:45 -0400 (0:00:00.341) 0:00:25.973 ******* ok: [managed-node2] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1730243203.509893, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16384, "charset": "binary", "checksum": "1759f18a2e75fe524d557b10d43849cf2a19d3bc", "ctime": 1730243205.407899, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 190, "gr_name": "systemd-journal", "inode": 228589761, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/octet-stream", "mode": "0640", "mtime": 1730243205.407899, "nlink": 1, "path": "/var/log/journal/159f63f7d24f4b9fb851321a4fce489b/system.journal", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 8388608, "uid": 0, "version": "119785974", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify that system.journal is in online state] *************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:97 Tuesday 29 October 2024 19:06:45 -0400 (0:00:00.362) 0:00:26.336 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; journalctl --header --file /var/log/journal/159f63f7d24f4b9fb851321a4fce489b/system.journal | grep -q 'State: ONLINE'\n", "delta": "0:00:00.008857", "end": "2024-10-29 19:06:46.119918", "rc": 0, "start": "2024-10-29 19:06:46.111061" } TASK [Verify that system.journal is compressed] ******************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:106 Tuesday 29 October 2024 19:06:46 -0400 (0:00:00.349) 0:00:26.686 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; journalctl --header --file /var/log/journal/159f63f7d24f4b9fb851321a4fce489b/system.journal | grep -q COMPRESSED\n", "delta": "0:00:00.008035", "end": "2024-10-29 19:06:46.467094", "rc": 0, "start": "2024-10-29 19:06:46.459059" } TASK [Verify that system journal can have maximum size of 2.0G] **************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:115 Tuesday 29 October 2024 19:06:46 -0400 (0:00:00.343) 0:00:27.029 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; journalctl -b -u systemd-journald -p info | grep -E \"((System [Jj]ournal)|(Permanent journal)) .*max\" | tail -n 1 | grep -q -E 'max( allowed)? 2([.]0)?G'\n", "delta": "0:00:00.009502", "end": "2024-10-29 19:06:46.815856", "rc": 0, "start": "2024-10-29 19:06:46.806354" } TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:124 Tuesday 29 October 2024 19:06:46 -0400 (0:00:00.350) 0:00:27.380 ******* included: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml for managed-node2 TASK [Get file] **************************************************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:3 Tuesday 29 October 2024 19:06:46 -0400 (0:00:00.020) 0:00:27.401 ******* ok: [managed-node2] => { "changed": false, "content": "IyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogTUlUCgojCiMgQW5zaWJsZSBtYW5hZ2VkCiMKIyBzeXN0ZW1fcm9sZTpqb3VybmFsZAoKW0pvdXJuYWxdClN0b3JhZ2U9cGVyc2lzdGVudApTeXN0ZW1NYXhVc2U9MjA0OE0KU3BsaXRNb2RlPXVpZApTeW5jSW50ZXJ2YWxTZWM9MW0KQ29tcHJlc3M9eWVzCkZvcndhcmRUb1N5c2xvZz15ZXMKUmF0ZUxpbWl0SW50ZXJ2YWxTZWM9MnMKUmF0ZUxpbWl0QnVyc3Q9MjAwMAo=", "encoding": "base64", "source": "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:9 Tuesday 29 October 2024 19:06:47 -0400 (0:00:00.439) 0:00:27.840 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:142 Tuesday 29 October 2024 19:06:47 -0400 (0:00:00.048) 0:00:27.888 ******* changed: [managed-node2] => { "changed": true, "path": "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf", "state": "absent" } TASK [Remove copy of the service files] **************************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:147 Tuesday 29 October 2024 19:06:47 -0400 (0:00:00.341) 0:00:28.230 ******* changed: [managed-node2] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journald.service", "path": "/etc/systemd/system/systemd-journald.service", "state": "absent" } changed: [managed-node2] => (item=systemd-journal-flush.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journal-flush.service", "path": "/etc/systemd/system/systemd-journal-flush.service", "state": "absent" } TASK [Reload systemd to cleanup] *********************************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:153 Tuesday 29 October 2024 19:06:48 -0400 (0:00:00.673) 0:00:28.904 ******* ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Restart journald services] *********************************************** task path: /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:157 Tuesday 29 October 2024 19:06:48 -0400 (0:00:00.598) 0:00:29.502 ******* changed: [managed-node2] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journald.service", "name": "systemd-journald.service", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-10-29 19:06:43 EDT", "ActiveEnterTimestampMonotonic": "431537071", "ActiveExitTimestamp": "Tue 2024-10-29 19:06:43 EDT", "ActiveExitTimestampMonotonic": "431498632", "ActiveState": "active", "After": "systemd-journald.socket syslog.socket systemd-journald-dev-log.socket systemd-journald-audit.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-10-29 19:06:43 EDT", "AssertTimestampMonotonic": "431510781", "Before": "systemd-journal-flush.service sysinit.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_setgid cap_setuid cap_sys_ptrace cap_sys_admin cap_audit_control cap_mac_override cap_syslog cap_audit_read", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-10-29 19:06:43 EDT", "ConditionTimestampMonotonic": "431510779", "ConfigurationDirectoryMode": "0755", "ControlGroup": "/system.slice/systemd-journald.service", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Journal Service", "DevicePolicy": "auto", "Documentation": "man:systemd-journald.service(8) man:journald.conf(5)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9440", "ExecMainStartTimestamp": "Tue 2024-10-29 19:06:43 EDT", "ExecMainStartTimestampMonotonic": "431511848", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "4224", "FragmentPath": "/usr/lib/systemd/system/systemd-journald.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "systemd-journald.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-10-29 19:06:43 EDT", "InactiveEnterTimestampMonotonic": "431509933", "InactiveExitTimestamp": "Tue 2024-10-29 19:06:43 EDT", "InactiveExitTimestampMonotonic": "431511887", "InvocationID": "8ca60fc57d7a45d8b665b13d4a7093fc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9440", "MemoryAccounting": "yes", "MemoryCurrent": "1314816", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "14", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "systemd-journald.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "systemd-journal-flush.service", "Requires": "system.slice systemd-journald.socket", "Restart": "always", "RestartUSec": "0", "RestrictNamespaces": "yes", "RestrictRealtime": "yes", "RestrictSUIDSGID": "yes", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-10-29 19:06:43 EDT", "StateChangeTimestampMonotonic": "431537071", "StateDirectoryMode": "0755", "StatusErrno": "0", "StatusText": "Processing requests...", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallArchitectures": "native", "SystemCallErrorNumber": "1", "SystemCallFilter": "_llseek _newselect accept accept4 access add_key alarm arch_prctl bind brk capget capset chdir chmod chown chown32 clock_getres clock_gettime clock_nanosleep clone close connect copy_file_range creat dup dup2 dup3 epoll_create epoll_create1 epoll_ctl epoll_ctl_old epoll_pwait epoll_wait epoll_wait_old eventfd eventfd2 execve execveat exit exit_group faccessat fadvise64 fadvise64_64 fallocate fchdir fchmod fchmodat fchown fchown32 fchownat fcntl fcntl64 fdatasync fgetxattr flistxattr flock fork fremovexattr fsetxattr fstat fstat64 fstatat64 fstatfs fstatfs64 fsync ftruncate ftruncate64 futex futimesat get_mempolicy get_robust_list get_thread_area getcpu getcwd getdents getdents64 getegid getegid32 geteuid geteuid32 getgid getgid32 getgroups getgroups32 getitimer getpeername getpgid getpgrp getpid getppid getpriority getrandom getresgid getresgid32 getresuid getresuid32 getrlimit getrusage getsid getsockname getsockopt gettid gettimeofday getuid getuid32 getxattr inotify_add_watch inotify_init inotify_init1 inotify_rm_watch io_cancel io_destroy io_getevents io_setup io_submit ioctl ioprio_get ioprio_set ipc kcmp keyctl kill lchown lchown32 lgetxattr link linkat listen listxattr llistxattr lremovexattr lseek lsetxattr lstat lstat64 madvise mbind membarrier memfd_create migrate_pages mincore mkdir mkdirat mknod mknodat mlock mlock2 mlockall mmap mmap2 move_pages mprotect mq_getsetattr mq_notify mq_open mq_timedreceive mq_timedsend mq_unlink mremap msgctl msgget msgrcv msgsnd msync munlock munlockall munmap name_to_handle_at nanosleep newfstatat nice oldfstat oldlstat oldolduname oldstat olduname open openat pause personality pipe pipe2 poll ppoll prctl pread64 preadv preadv2 prlimit64 process_vm_readv process_vm_writev pselect6 pwrite64 pwritev pwritev2 read readahead readdir readlink readlinkat readv recv recvfrom recvmmsg recvmsg remap_file_pages removexattr rename renameat renameat2 request_key restart_syscall rmdir rt_sigaction rt_sigpending rt_sigprocmask rt_sigqueueinfo rt_sigreturn rt_sigsuspend rt_sigtimedwait rt_tgsigqueueinfo sched_get_priority_max sched_get_priority_min sched_getaffinity sched_getattr sched_getparam sched_getscheduler sched_rr_get_interval sched_setaffinity sched_setattr sched_setparam sched_setscheduler sched_yield select semctl semget semop semtimedop send sendfile sendfile64 sendmmsg sendmsg sendto set_mempolicy set_robust_list set_thread_area set_tid_address set_tls setfsgid setfsgid32 setfsuid setfsuid32 setgid setgid32 setgroups setgroups32 setitimer setns setpgid setpriority setregid setregid32 setresgid setresgid32 setresuid setresuid32 setreuid setreuid32 setrlimit setsid setsockopt setuid setuid32 setxattr shmat shmctl shmdt shmget shutdown sigaction sigaltstack signal signalfd signalfd4 sigpending sigprocmask sigreturn sigsuspend socket socketcall socketpair splice stat stat64 statfs statfs64 statx symlink symlinkat sync sync_file_range syncfs sysinfo tee tgkill time timer_create timer_delete timer_getoverrun timer_gettime timer_settime timerfd_create timerfd_gettime timerfd_settime times tkill truncate truncate64 ugetrlimit umask uname unlink unlinkat unshare userfaultfd utime utimensat utimes vfork vmsplice wait4 waitid waitpid write writev", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "systemd-journald-audit.socket systemd-journald-dev-log.socket systemd-journald.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "initrd-switch-root.target sysinit.target", "Wants": "systemd-journald-dev-log.socket systemd-journald.socket", "WatchdogTimestamp": "Tue 2024-10-29 19:06:43 EDT", "WatchdogTimestampMonotonic": "431537529", "WatchdogUSec": "3min" } } changed: [managed-node2] => (item=systemd-journal-flush.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journal-flush.service", "name": "systemd-journal-flush.service", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-10-29 19:06:49 EDT", "ActiveEnterTimestampMonotonic": "437515470", "ActiveExitTimestamp": "Tue 2024-10-29 19:06:49 EDT", "ActiveExitTimestampMonotonic": "437458232", "ActiveState": "active", "After": "systemd-journald.service -.mount systemd-remount-fs.service systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-10-29 19:06:49 EDT", "AssertTimestampMonotonic": "437505716", "Before": "systemd-tmpfiles-setup.service systemd-user-sessions.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-10-29 19:06:49 EDT", "ConditionTimestampMonotonic": "437505715", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Flush Journal to Persistent Storage", "DevicePolicy": "auto", "Documentation": "man:systemd-journald.service(8) man:journald.conf(5)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2024-10-29 19:06:49 EDT", "ExecMainExitTimestampMonotonic": "437515099", "ExecMainPID": "11348", "ExecMainStartTimestamp": "Tue 2024-10-29 19:06:49 EDT", "ExecMainStartTimestampMonotonic": "437506626", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --flush ; ignore_errors=no ; start_time=[Tue 2024-10-29 19:06:49 EDT] ; stop_time=[Tue 2024-10-29 19:06:49 EDT] ; pid=11348 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --smart-relinquish-var ; ignore_errors=no ; start_time=[Tue 2024-10-29 19:06:49 EDT] ; stop_time=[Tue 2024-10-29 19:06:49 EDT] ; pid=11344 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/systemd-journal-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "systemd-journal-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-10-29 19:06:49 EDT", "InactiveEnterTimestampMonotonic": "437465482", "InactiveExitTimestamp": "Tue 2024-10-29 19:06:49 EDT", "InactiveExitTimestampMonotonic": "437506681", "InvocationID": "bbf62aa0903f4074a3879ad1159d3738", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "systemd-journal-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice -.mount systemd-journald.service", "RequiresMountsFor": "/var/log/journal", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-10-29 19:06:49 EDT", "StateChangeTimestampMonotonic": "437515470", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "sysinit.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } PLAY RECAP ********************************************************************* managed-node2 : ok=33 changed=11 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Tuesday 29 October 2024 19:06:50 -0400 (0:00:01.074) 0:00:30.577 ******* =============================================================================== fedora.linux_system_roles.journald : Ensure required packages are installed -- 15.42s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:15 Gathering Facts --------------------------------------------------------- 1.30s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:3 Restart journald services ----------------------------------------------- 1.07s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:157 fedora.linux_system_roles.journald : Restart journald services ---------- 1.06s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/handlers/main.yml:3 fedora.linux_system_roles.journald : Ensure required services are enabled --- 1.02s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:21 Reload systemd to ensure startlimit changes take effect upon restart ---- 0.82s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:48 Make a copy of the service files ---------------------------------------- 0.82s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:20 Change the startlimit to avoid errors with excessive journald restarts --- 0.79s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:28 fedora.linux_system_roles.journald : Deploy journald configuration drop-in --- 0.68s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:44 Remove copy of the service files ---------------------------------------- 0.67s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:147 Reload systemd to cleanup ----------------------------------------------- 0.60s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:153 fedora.linux_system_roles.journald : Create journald configuration drop-in directory --- 0.48s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:28 fedora.linux_system_roles.journald : Apply tmpfiles.d snippet on persistent log store --- 0.46s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:11 Get file ---------------------------------------------------------------- 0.44s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:3 fedora.linux_system_roles.journald : Check if system is ostree ---------- 0.43s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:10 Make a copy of the systemd-journald.service ----------------------------- 0.39s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:35 Verify that /var/log/journal/$MACHINE_ID/system.journal exists ---------- 0.36s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:91 fedora.linux_system_roles.journald : Ensure persistent log store exists --- 0.35s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:3 Verify that system journal can have maximum size of 2.0G ---------------- 0.35s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:115 Verify that system.journal is in online state --------------------------- 0.35s /tmp/collections-GsH/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:97