[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.10] 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-8Id 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-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml PLAY [Simple journald role invocation] ***************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:3 Sunday 18 August 2024 18:10:45 -0400 (0:00:00.011) 0:00:00.011 ********* ok: [managed_node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:17 Sunday 18 August 2024 18:10:47 -0400 (0:00:01.657) 0:00:01.669 ********* TASK [fedora.linux_system_roles.journald : Set platform/version specific variables] *** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:3 Sunday 18 August 2024 18:10:47 -0400 (0:00:00.027) 0:00:01.696 ********* included: /tmp/collections-8Id/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-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:2 Sunday 18 August 2024 18:10:47 -0400 (0:00:00.018) 0:00:01.715 ********* 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-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:10 Sunday 18 August 2024 18:10:47 -0400 (0:00:00.033) 0:00:01.749 ********* 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-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:15 Sunday 18 August 2024 18:10:47 -0400 (0:00:00.416) 0:00:02.165 ********* 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-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:6 Sunday 18 August 2024 18:10:47 -0400 (0:00:00.021) 0:00:02.187 ********* skipping: [managed_node2] => { "false_condition": "not journald_persistent" } TASK [fedora.linux_system_roles.journald : Ensure required packages are installed] *** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:15 Sunday 18 August 2024 18:10:47 -0400 (0:00:00.034) 0:00:02.221 ********* 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-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:21 Sunday 18 August 2024 18:10:53 -0400 (0:00:05.657) 0:00:07.879 ********* 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": "Sun 2024-08-18 18:07:43 EDT", "ActiveEnterTimestampMonotonic": "11862188", "ActiveExitTimestamp": "Sun 2024-08-18 18:07:43 EDT", "ActiveExitTimestampMonotonic": "11784450", "ActiveState": "active", "After": "system.slice systemd-journald.socket syslog.socket systemd-journald-audit.socket systemd-journald-dev-log.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2024-08-18 18:07:43 EDT", "AssertTimestampMonotonic": "11785770", "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": "Sun 2024-08-18 18:07:43 EDT", "ConditionTimestampMonotonic": "11785769", "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": "496", "ExecMainStartTimestamp": "Sun 2024-08-18 18:07:43 EDT", "ExecMainStartTimestampMonotonic": "11786362", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[Sun 2024-08-18 18:07:43 EDT] ; stop_time=[n/a] ; pid=496 ; 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": "Sun 2024-08-18 18:07:43 EDT", "InactiveEnterTimestampMonotonic": "11785747", "InactiveExitTimestamp": "Sun 2024-08-18 18:07:43 EDT", "InactiveExitTimestampMonotonic": "11786402", "InvocationID": "18f2b817c0604cafb0f165694a1c46ed", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "496", "MemoryAccounting": "yes", "MemoryCurrent": "10166272", "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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2024-08-18 18:07:43 EDT", "StateChangeTimestampMonotonic": "11862188", "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": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "systemd-journald-dev-log.socket systemd-journald-audit.socket systemd-journald.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "sysinit.target initrd-switch-root.target", "Wants": "systemd-journald.socket systemd-journald-dev-log.socket", "WatchdogTimestamp": "Sun 2024-08-18 18:10:45 EDT", "WatchdogTimestampMonotonic": "192083577", "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": "Sun 2024-08-18 18:07:44 EDT", "ActiveEnterTimestampMonotonic": "12037998", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice -.mount systemd-remount-fs.service systemd-journald.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2024-08-18 18:07:43 EDT", "AssertTimestampMonotonic": "11971130", "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": "Sun 2024-08-18 18:07:43 EDT", "ConditionTimestampMonotonic": "11971129", "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": "Sun 2024-08-18 18:07:44 EDT", "ExecMainExitTimestampMonotonic": "12037597", "ExecMainPID": "518", "ExecMainStartTimestamp": "Sun 2024-08-18 18:07:43 EDT", "ExecMainStartTimestampMonotonic": "11971780", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --flush ; ignore_errors=no ; start_time=[Sun 2024-08-18 18:07:43 EDT] ; stop_time=[Sun 2024-08-18 18:07:44 EDT] ; pid=518 ; code=exited ; status=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": "/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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sun 2024-08-18 18:07:43 EDT", "InactiveExitTimestampMonotonic": "11971865", "InvocationID": "2906cdca97f44000b2055810e97c9be0", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "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 systemd-journald.service system.slice", "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": "Sun 2024-08-18 18:07:44 EDT", "StateChangeTimestampMonotonic": "12037998", "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": "22405", "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-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:28 Sunday 18 August 2024 18:10:54 -0400 (0:00:01.220) 0:00:09.100 ********* 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-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:36 Sunday 18 August 2024 18:10:54 -0400 (0:00:00.436) 0:00:09.536 ********* included: /tmp/collections-8Id/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-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:3 Sunday 18 August 2024 18:10:55 -0400 (0:00:00.051) 0:00:09.588 ********* 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-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:11 Sunday 18 August 2024 18:10:55 -0400 (0:00:00.334) 0:00:09.923 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "systemd-tmpfiles", "--create", "--prefix=/var/log/journal", "/usr/lib/tmpfiles.d/systemd.conf" ], "delta": "0:00:00.018164", "end": "2024-08-18 18:10:55.732208", "rc": 0, "start": "2024-08-18 18:10:55.714044" } TASK [fedora.linux_system_roles.journald : Configure volatile journal] ********* task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:40 Sunday 18 August 2024 18:10:55 -0400 (0:00:00.445) 0:00:10.368 ********* 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-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:44 Sunday 18 August 2024 18:10:55 -0400 (0:00:00.031) 0:00:10.400 ********* 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-1724019055.8498752-8388-10225280760552/source", "state": "file", "uid": 0 } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:24 Sunday 18 August 2024 18:10:56 -0400 (0:00:00.800) 0:00:11.200 ********* 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-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/handlers/main.yml:3 Sunday 18 August 2024 18:10:56 -0400 (0:00:00.004) 0:00:11.205 ********* 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": "Sun 2024-08-18 18:07:43 EDT", "ActiveEnterTimestampMonotonic": "11862188", "ActiveExitTimestamp": "Sun 2024-08-18 18:07:43 EDT", "ActiveExitTimestampMonotonic": "11784450", "ActiveState": "active", "After": "system.slice systemd-journald.socket syslog.socket systemd-journald-audit.socket systemd-journald-dev-log.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2024-08-18 18:07:43 EDT", "AssertTimestampMonotonic": "11785770", "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": "Sun 2024-08-18 18:07:43 EDT", "ConditionTimestampMonotonic": "11785769", "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": "496", "ExecMainStartTimestamp": "Sun 2024-08-18 18:07:43 EDT", "ExecMainStartTimestampMonotonic": "11786362", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[Sun 2024-08-18 18:07:43 EDT] ; stop_time=[n/a] ; pid=496 ; 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": "Sun 2024-08-18 18:07:43 EDT", "InactiveEnterTimestampMonotonic": "11785747", "InactiveExitTimestamp": "Sun 2024-08-18 18:07:43 EDT", "InactiveExitTimestampMonotonic": "11786402", "InvocationID": "18f2b817c0604cafb0f165694a1c46ed", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "496", "MemoryAccounting": "yes", "MemoryCurrent": "10190848", "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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2024-08-18 18:07:43 EDT", "StateChangeTimestampMonotonic": "11862188", "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": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "systemd-journald-dev-log.socket systemd-journald-audit.socket systemd-journald.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "sysinit.target initrd-switch-root.target", "Wants": "systemd-journald.socket systemd-journald-dev-log.socket", "WatchdogTimestamp": "Sun 2024-08-18 18:10:45 EDT", "WatchdogTimestampMonotonic": "192083577", "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": "Sun 2024-08-18 18:10:57 EDT", "ActiveEnterTimestampMonotonic": "203659374", "ActiveExitTimestamp": "Sun 2024-08-18 18:10:57 EDT", "ActiveExitTimestampMonotonic": "203596031", "ActiveState": "active", "After": "system.slice -.mount systemd-remount-fs.service systemd-journald.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2024-08-18 18:10:57 EDT", "AssertTimestampMonotonic": "203649736", "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": "Sun 2024-08-18 18:10:57 EDT", "ConditionTimestampMonotonic": "203649734", "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": "Sun 2024-08-18 18:10:57 EDT", "ExecMainExitTimestampMonotonic": "203658659", "ExecMainPID": "8757", "ExecMainStartTimestamp": "Sun 2024-08-18 18:10:57 EDT", "ExecMainStartTimestampMonotonic": "203650750", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --flush ; ignore_errors=no ; start_time=[Sun 2024-08-18 18:10:57 EDT] ; stop_time=[Sun 2024-08-18 18:10:57 EDT] ; pid=8757 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --smart-relinquish-var ; ignore_errors=no ; start_time=[Sun 2024-08-18 18:10:57 EDT] ; stop_time=[Sun 2024-08-18 18:10:57 EDT] ; pid=8753 ; 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": "Sun 2024-08-18 18:10:57 EDT", "InactiveEnterTimestampMonotonic": "203602888", "InactiveExitTimestamp": "Sun 2024-08-18 18:10:57 EDT", "InactiveExitTimestampMonotonic": "203650785", "InvocationID": "6d5086f4263942e488c8df7a0e34f9d4", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "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 systemd-journald.service system.slice", "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": "Sun 2024-08-18 18:10:57 EDT", "StateChangeTimestampMonotonic": "203659374", "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": "22405", "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-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:27 Sunday 18 August 2024 18:10:57 -0400 (0:00:01.014) 0:00:12.219 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "systemctl", "show", "--property", "SubState", "systemd-journald.service" ], "delta": "0:00:00.009312", "end": "2024-08-18 18:10:57.919397", "rc": 0, "start": "2024-08-18 18:10:57.910085" } STDOUT: SubState=running TASK [Verify that systemd-journald is running] ********************************* task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:34 Sunday 18 August 2024 18:10:57 -0400 (0:00:00.331) 0:00:12.551 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify that syslog is set properly] ************************************** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:38 Sunday 18 August 2024 18:10:57 -0400 (0:00:00.015) 0:00:12.567 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "ForwardToSyslog=yes", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:01.004100", "end": "2024-08-18 18:10:59.263032", "rc": 0, "start": "2024-08-18 18:10:58.258932" } STDOUT: ForwardToSyslog=yes TASK [Verify that rate limit interval is set properly] ************************* task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:44 Sunday 18 August 2024 18:10:59 -0400 (0:00:01.326) 0:00:13.894 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "RateLimitIntervalSec=2s", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.002938", "end": "2024-08-18 18:10:59.588096", "rc": 0, "start": "2024-08-18 18:10:59.585158" } STDOUT: RateLimitIntervalSec=2s TASK [Verify that rate limit burst is set properly] **************************** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:50 Sunday 18 August 2024 18:10:59 -0400 (0:00:00.325) 0:00:14.219 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "RateLimitBurst=2000", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.002990", "end": "2024-08-18 18:10:59.910790", "rc": 0, "start": "2024-08-18 18:10:59.907800" } STDOUT: RateLimitBurst=2000 TASK [Verify that /var/log/journal/$MACHINE_ID/system.journal exists] ********** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:56 Sunday 18 August 2024 18:10:59 -0400 (0:00:00.321) 0:00:14.541 ********* ok: [managed_node2] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1724019057.0839329, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16384, "charset": "binary", "checksum": "0212694272d2ddeff1b61a7b83dba9d37b8174b6", "ctime": 1724019059.9079607, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 190, "gr_name": "systemd-journal", "inode": 448790660, "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": 1724019059.9079607, "nlink": 1, "path": "/var/log/journal/d93604e4c3654a4a812391e3590620cd/system.journal", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 8388608, "uid": 0, "version": "2689425686", "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-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:62 Sunday 18 August 2024 18:11:00 -0400 (0:00:00.343) 0:00:14.884 ********* ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail; journalctl --header --file /var/log/journal/d93604e4c3654a4a812391e3590620cd/system.journal | grep -q 'State: ONLINE'\n", "delta": "0:00:00.008083", "end": "2024-08-18 18:11:00.585085", "rc": 0, "start": "2024-08-18 18:11:00.577002" } TASK [Verify that system.journal is compressed] ******************************** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:71 Sunday 18 August 2024 18:11:00 -0400 (0:00:00.331) 0:00:15.215 ********* ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail; journalctl --header --file /var/log/journal/d93604e4c3654a4a812391e3590620cd/system.journal | grep -q COMPRESSED\n", "delta": "0:00:00.007997", "end": "2024-08-18 18:11:00.915026", "rc": 0, "start": "2024-08-18 18:11:00.907029" } TASK [Verify that system journal can have maximum size of 2.0G] **************** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:80 Sunday 18 August 2024 18:11:00 -0400 (0:00:00.330) 0:00:15.545 ********* ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail; journalctl -b -u systemd-journald -p info | grep max | tail -n 1 | grep -q -E 'max( allowed)? 2([.]0)?G'\n", "delta": "0:00:00.009337", "end": "2024-08-18 18:11:01.248420", "rc": 0, "start": "2024-08-18 18:11:01.239083" } TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:88 Sunday 18 August 2024 18:11:01 -0400 (0:00:00.333) 0:00:15.879 ********* included: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml for managed_node2 TASK [Get file] **************************************************************** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:3 Sunday 18 August 2024 18:11:01 -0400 (0:00:00.019) 0:00:15.898 ********* 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-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:9 Sunday 18 August 2024 18:11:01 -0400 (0:00:00.412) 0:00:16.311 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:106 Sunday 18 August 2024 18:11:01 -0400 (0:00:00.048) 0:00:16.360 ********* changed: [managed_node2] => { "changed": true, "path": "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf", "state": "absent" } TASK [Restart journald services] *********************************************** task path: /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:111 Sunday 18 August 2024 18:11:02 -0400 (0:00:00.332) 0:00:16.692 ********* 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": "Sun 2024-08-18 18:10:57 EDT", "ActiveEnterTimestampMonotonic": "203649242", "ActiveExitTimestamp": "Sun 2024-08-18 18:10:57 EDT", "ActiveExitTimestampMonotonic": "203604313", "ActiveState": "active", "After": "system.slice systemd-journald.socket syslog.socket systemd-journald-audit.socket systemd-journald-dev-log.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2024-08-18 18:10:57 EDT", "AssertTimestampMonotonic": "203623509", "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": "Sun 2024-08-18 18:10:57 EDT", "ConditionTimestampMonotonic": "203623508", "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": "8756", "ExecMainStartTimestamp": "Sun 2024-08-18 18:10:57 EDT", "ExecMainStartTimestampMonotonic": "203624600", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[Sun 2024-08-18 18:10:57 EDT] ; stop_time=[n/a] ; pid=8756 ; 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": "Sun 2024-08-18 18:10:57 EDT", "InactiveEnterTimestampMonotonic": "203622569", "InactiveExitTimestamp": "Sun 2024-08-18 18:10:57 EDT", "InactiveExitTimestampMonotonic": "203624639", "InvocationID": "2ad57cff6330454b9a28ebbd9de45f8c", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8756", "MemoryAccounting": "yes", "MemoryCurrent": "1290240", "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": "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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2024-08-18 18:10:57 EDT", "StateChangeTimestampMonotonic": "203649242", "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": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "systemd-journald-dev-log.socket systemd-journald-audit.socket systemd-journald.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "sysinit.target initrd-switch-root.target", "Wants": "systemd-journald.socket systemd-journald-dev-log.socket", "WatchdogTimestamp": "Sun 2024-08-18 18:10:57 EDT", "WatchdogTimestampMonotonic": "203649720", "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": "Sun 2024-08-18 18:11:02 EDT", "ActiveEnterTimestampMonotonic": "209145031", "ActiveExitTimestamp": "Sun 2024-08-18 18:11:02 EDT", "ActiveExitTimestampMonotonic": "209083462", "ActiveState": "active", "After": "system.slice -.mount systemd-remount-fs.service systemd-journald.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2024-08-18 18:11:02 EDT", "AssertTimestampMonotonic": "209136471", "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": "Sun 2024-08-18 18:11:02 EDT", "ConditionTimestampMonotonic": "209136470", "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": "Sun 2024-08-18 18:11:02 EDT", "ExecMainExitTimestampMonotonic": "209144495", "ExecMainPID": "10270", "ExecMainStartTimestamp": "Sun 2024-08-18 18:11:02 EDT", "ExecMainStartTimestampMonotonic": "209137517", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --flush ; ignore_errors=no ; start_time=[Sun 2024-08-18 18:11:02 EDT] ; stop_time=[Sun 2024-08-18 18:11:02 EDT] ; pid=10270 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --smart-relinquish-var ; ignore_errors=no ; start_time=[Sun 2024-08-18 18:11:02 EDT] ; stop_time=[Sun 2024-08-18 18:11:02 EDT] ; pid=10266 ; 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": "Sun 2024-08-18 18:11:02 EDT", "InactiveEnterTimestampMonotonic": "209090327", "InactiveExitTimestamp": "Sun 2024-08-18 18:11:02 EDT", "InactiveExitTimestampMonotonic": "209137560", "InvocationID": "bb5e28924c1a4b0d860ff68ff2b9e315", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "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 systemd-journald.service system.slice", "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": "Sun 2024-08-18 18:11:02 EDT", "StateChangeTimestampMonotonic": "209145031", "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": "22405", "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=26 changed=6 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Sunday 18 August 2024 18:11:03 -0400 (0:00:01.022) 0:00:17.715 ********* =============================================================================== fedora.linux_system_roles.journald : Ensure required packages are installed --- 5.66s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:15 Gathering Facts --------------------------------------------------------- 1.66s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:3 Verify that syslog is set properly -------------------------------------- 1.33s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:38 fedora.linux_system_roles.journald : Ensure required services are enabled --- 1.22s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:21 Restart journald services ----------------------------------------------- 1.02s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:111 fedora.linux_system_roles.journald : Restart journald services ---------- 1.01s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/handlers/main.yml:3 fedora.linux_system_roles.journald : Deploy journald configuration drop-in --- 0.80s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:44 fedora.linux_system_roles.journald : Apply tmpfiles.d snippet on persistent log store --- 0.45s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:11 fedora.linux_system_roles.journald : Create journald configuration drop-in directory --- 0.44s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:28 fedora.linux_system_roles.journald : Check if system is ostree ---------- 0.42s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:10 Get file ---------------------------------------------------------------- 0.41s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:3 Verify that /var/log/journal/$MACHINE_ID/system.journal exists ---------- 0.34s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:56 fedora.linux_system_roles.journald : Ensure persistent log store exists --- 0.33s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:3 Verify that system journal can have maximum size of 2.0G ---------------- 0.33s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:80 Cleanup ----------------------------------------------------------------- 0.33s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:106 Get systemd-journald service state -------------------------------------- 0.33s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:27 Verify that system.journal is in online state --------------------------- 0.33s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:62 Verify that system.journal is compressed -------------------------------- 0.33s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:71 Verify that rate limit interval is set properly ------------------------- 0.33s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:44 Verify that rate limit burst is set properly ---------------------------- 0.32s /tmp/collections-8Id/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:50