[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.9] 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/tmp.fbsdUZ66Xs 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/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml PLAY [Simple journald role invocation] ***************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:3 Saturday 27 July 2024 08:50:24 -0400 (0:00:00.006) 0:00:00.006 ********* ok: [managed_node1] TASK [Run the role] ************************************************************ task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:17 Saturday 27 July 2024 08:50:25 -0400 (0:00:01.042) 0:00:01.049 ********* TASK [fedora.linux_system_roles.journald : Set platform/version specific variables] *** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:3 Saturday 27 July 2024 08:50:25 -0400 (0:00:00.026) 0:00:01.075 ********* included: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.journald : Ensure ansible_facts used by role] *** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:2 Saturday 27 July 2024 08:50:25 -0400 (0:00:00.016) 0:00:01.092 ********* skipping: [managed_node1] => { "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/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:10 Saturday 27 July 2024 08:50:25 -0400 (0:00:00.024) 0:00:01.116 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.journald : Set flag to indicate system is ostree] *** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:15 Saturday 27 July 2024 08:50:25 -0400 (0:00:00.402) 0:00:01.518 ********* ok: [managed_node1] => { "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/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:6 Saturday 27 July 2024 08:50:25 -0400 (0:00:00.020) 0:00:01.538 ********* skipping: [managed_node1] => { "false_condition": "not journald_persistent" } TASK [fedora.linux_system_roles.journald : Ensure required packages are installed] *** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:15 Saturday 27 July 2024 08:50:25 -0400 (0:00:00.025) 0:00:01.563 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: systemd TASK [fedora.linux_system_roles.journald : Ensure required services are enabled] *** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:21 Saturday 27 July 2024 08:50:28 -0400 (0:00:02.520) 0:00:04.084 ********* ok: [managed_node1] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "systemd-journald.service", "name": "systemd-journald.service", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 08:50:21 EDT", "ActiveEnterTimestampMonotonic": "193489968", "ActiveExitTimestamp": "Sat 2024-07-27 08:50:21 EDT", "ActiveExitTimestampMonotonic": "193463911", "ActiveState": "active", "After": "syslog.socket system.slice systemd-journald.socket systemd-journald-audit.socket systemd-journald-dev-log.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:50:21 EDT", "AssertTimestampMonotonic": "193467029", "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": "Sat 2024-07-27 08:50:21 EDT", "ConditionTimestampMonotonic": "193467028", "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": "7389", "ExecMainStartTimestamp": "Sat 2024-07-27 08:50:21 EDT", "ExecMainStartTimestampMonotonic": "193467970", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:50:21 EDT] ; stop_time=[n/a] ; pid=7389 ; 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": "Sat 2024-07-27 08:50:21 EDT", "InactiveEnterTimestampMonotonic": "193466162", "InactiveExitTimestamp": "Sat 2024-07-27 08:50:21 EDT", "InactiveExitTimestampMonotonic": "193468058", "InvocationID": "2d3a17ab4b60447280debd33ce419f59", "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": "7389", "MemoryAccounting": "yes", "MemoryCurrent": "1298432", "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": "Sat 2024-07-27 08:50:21 EDT", "StateChangeTimestampMonotonic": "193489968", "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.socket systemd-journald-audit.socket systemd-journald-dev-log.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": "Sat 2024-07-27 08:50:21 EDT", "WatchdogTimestampMonotonic": "193490381", "WatchdogUSec": "3min" } } ok: [managed_node1] => (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": "Sat 2024-07-27 08:50:21 EDT", "ActiveEnterTimestampMonotonic": "193964748", "ActiveExitTimestamp": "Sat 2024-07-27 08:50:21 EDT", "ActiveExitTimestampMonotonic": "193945453", "ActiveState": "active", "After": "system.slice systemd-remount-fs.service -.mount systemd-journald.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:50:21 EDT", "AssertTimestampMonotonic": "193957752", "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": "Sat 2024-07-27 08:50:21 EDT", "ConditionTimestampMonotonic": "193957751", "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": "Sat 2024-07-27 08:50:21 EDT", "ExecMainExitTimestampMonotonic": "193964222", "ExecMainPID": "7522", "ExecMainStartTimestamp": "Sat 2024-07-27 08:50:21 EDT", "ExecMainStartTimestampMonotonic": "193958669", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --flush ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:50:21 EDT] ; stop_time=[Sat 2024-07-27 08:50:21 EDT] ; pid=7522 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --smart-relinquish-var ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:50:21 EDT] ; stop_time=[Sat 2024-07-27 08:50:21 EDT] ; pid=7520 ; 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": "Sat 2024-07-27 08:50:21 EDT", "InactiveEnterTimestampMonotonic": "193956829", "InactiveExitTimestamp": "Sat 2024-07-27 08:50:21 EDT", "InactiveExitTimestampMonotonic": "193958708", "InvocationID": "53bff34101d6424692aafe6f50715a95", "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": "systemd-journald.service -.mount 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": "Sat 2024-07-27 08:50:21 EDT", "StateChangeTimestampMonotonic": "193964748", "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 [fedora.linux_system_roles.journald : Create journald configuration drop-in directory] *** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:28 Saturday 27 July 2024 08:50:29 -0400 (0:00:01.110) 0:00:05.195 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/systemd/journald.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 49, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.journald : Configure persistent journal] ******* task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:36 Saturday 27 July 2024 08:50:29 -0400 (0:00:00.429) 0:00:05.625 ********* included: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml for managed_node1 TASK [fedora.linux_system_roles.journald : Ensure persistent log store exists] *** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:3 Saturday 27 July 2024 08:50:29 -0400 (0:00:00.031) 0:00:05.656 ********* changed: [managed_node1] => { "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/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:11 Saturday 27 July 2024 08:50:30 -0400 (0:00:00.328) 0:00:05.984 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "systemd-tmpfiles", "--create", "--prefix=/var/log/journal", "/usr/lib/tmpfiles.d/systemd.conf" ], "delta": "0:00:00.013364", "end": "2024-07-27 08:50:30.645496", "rc": 0, "start": "2024-07-27 08:50:30.632132" } TASK [fedora.linux_system_roles.journald : Configure volatile journal] ********* task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:40 Saturday 27 July 2024 08:50:30 -0400 (0:00:00.418) 0:00:06.403 ********* skipping: [managed_node1] => { "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/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:44 Saturday 27 July 2024 08:50:30 -0400 (0:00:00.114) 0:00:06.518 ********* Notification for handler Restart journald services has been saved. changed: [managed_node1] => { "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-1722084630.8437965-8431-1022893917319/source", "state": "file", "uid": 0 } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:24 Saturday 27 July 2024 08:50:31 -0400 (0:00:00.741) 0:00:07.259 ********* NOTIFIED HANDLER fedora.linux_system_roles.journald : Restart journald services for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.journald : Restart journald services] *** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/handlers/main.yml:3 Saturday 27 July 2024 08:50:31 -0400 (0:00:00.004) 0:00:07.264 ********* changed: [managed_node1] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journald.service", "name": "systemd-journald.service", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 08:50:21 EDT", "ActiveEnterTimestampMonotonic": "193489968", "ActiveExitTimestamp": "Sat 2024-07-27 08:50:21 EDT", "ActiveExitTimestampMonotonic": "193463911", "ActiveState": "active", "After": "syslog.socket system.slice systemd-journald.socket systemd-journald-audit.socket systemd-journald-dev-log.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:50:21 EDT", "AssertTimestampMonotonic": "193467029", "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": "Sat 2024-07-27 08:50:21 EDT", "ConditionTimestampMonotonic": "193467028", "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": "7389", "ExecMainStartTimestamp": "Sat 2024-07-27 08:50:21 EDT", "ExecMainStartTimestampMonotonic": "193467970", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:50:21 EDT] ; stop_time=[n/a] ; pid=7389 ; 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": "Sat 2024-07-27 08:50:21 EDT", "InactiveEnterTimestampMonotonic": "193466162", "InactiveExitTimestamp": "Sat 2024-07-27 08:50:21 EDT", "InactiveExitTimestampMonotonic": "193468058", "InvocationID": "2d3a17ab4b60447280debd33ce419f59", "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": "7389", "MemoryAccounting": "yes", "MemoryCurrent": "1368064", "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": "Sat 2024-07-27 08:50:21 EDT", "StateChangeTimestampMonotonic": "193489968", "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.socket systemd-journald-audit.socket systemd-journald-dev-log.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": "Sat 2024-07-27 08:50:21 EDT", "WatchdogTimestampMonotonic": "193490381", "WatchdogUSec": "3min" } } changed: [managed_node1] => (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": "Sat 2024-07-27 08:50:32 EDT", "ActiveEnterTimestampMonotonic": "204101901", "ActiveExitTimestamp": "Sat 2024-07-27 08:50:31 EDT", "ActiveExitTimestampMonotonic": "203966168", "ActiveState": "active", "After": "system.slice systemd-remount-fs.service -.mount systemd-journald.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:50:32 EDT", "AssertTimestampMonotonic": "204092964", "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": "Sat 2024-07-27 08:50:32 EDT", "ConditionTimestampMonotonic": "204092962", "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": "Sat 2024-07-27 08:50:32 EDT", "ExecMainExitTimestampMonotonic": "204101271", "ExecMainPID": "9445", "ExecMainStartTimestamp": "Sat 2024-07-27 08:50:32 EDT", "ExecMainStartTimestampMonotonic": "204094047", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --flush ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:50:32 EDT] ; stop_time=[Sat 2024-07-27 08:50:32 EDT] ; pid=9445 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --smart-relinquish-var ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:50:31 EDT] ; stop_time=[Sat 2024-07-27 08:50:31 EDT] ; pid=9441 ; 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": "Sat 2024-07-27 08:50:31 EDT", "InactiveEnterTimestampMonotonic": "203972512", "InactiveExitTimestamp": "Sat 2024-07-27 08:50:32 EDT", "InactiveExitTimestampMonotonic": "204094091", "InvocationID": "98d19a9b04434edfbc3572a4a612fb89", "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": "systemd-journald.service -.mount 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": "Sat 2024-07-27 08:50:32 EDT", "StateChangeTimestampMonotonic": "204101901", "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/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:27 Saturday 27 July 2024 08:50:32 -0400 (0:00:01.062) 0:00:08.327 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "systemctl", "show", "--property", "SubState", "systemd-journald.service" ], "delta": "0:00:00.009068", "end": "2024-07-27 08:50:32.891451", "rc": 0, "start": "2024-07-27 08:50:32.882383" } STDOUT: SubState=running TASK [Verify that systemd-journald is running] ********************************* task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:34 Saturday 27 July 2024 08:50:32 -0400 (0:00:00.321) 0:00:08.648 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that syslog is set properly] ************************************** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:38 Saturday 27 July 2024 08:50:32 -0400 (0:00:00.015) 0:00:08.664 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "ForwardToSyslog=yes", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.002442", "end": "2024-07-27 08:50:33.223117", "rc": 0, "start": "2024-07-27 08:50:33.220675" } STDOUT: ForwardToSyslog=yes TASK [Verify that rate limit interval is set properly] ************************* task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:44 Saturday 27 July 2024 08:50:33 -0400 (0:00:00.315) 0:00:08.980 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "RateLimitIntervalSec=2s", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.002443", "end": "2024-07-27 08:50:33.547594", "rc": 0, "start": "2024-07-27 08:50:33.545151" } STDOUT: RateLimitIntervalSec=2s TASK [Verify that rate limit burst is set properly] **************************** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:50 Saturday 27 July 2024 08:50:33 -0400 (0:00:00.322) 0:00:09.302 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "RateLimitBurst=2000", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.002423", "end": "2024-07-27 08:50:33.862367", "rc": 0, "start": "2024-07-27 08:50:33.859944" } STDOUT: RateLimitBurst=2000 TASK [Verify that /var/log/journal/$MACHINE_ID/system.journal exists] ********** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:56 Saturday 27 July 2024 08:50:33 -0400 (0:00:00.313) 0:00:09.616 ********* ok: [managed_node1] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1722084632.087507, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16384, "charset": "binary", "checksum": "6e9539ac34fe071572fcdea6ac05ed978dbdf8c2", "ctime": 1722084633.8045113, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 190, "gr_name": "systemd-journal", "inode": 308281537, "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": 1722084633.8045113, "nlink": 1, "path": "/var/log/journal/3c419fb40c894d368cae5829bf320b0d/system.journal", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 8388608, "uid": 0, "version": "237726704", "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/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:62 Saturday 27 July 2024 08:50:34 -0400 (0:00:00.331) 0:00:09.948 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; journalctl --header --file /var/log/journal/3c419fb40c894d368cae5829bf320b0d/system.journal | grep -q 'State: ONLINE'\n", "delta": "0:00:00.007060", "end": "2024-07-27 08:50:34.514386", "rc": 0, "start": "2024-07-27 08:50:34.507326" } TASK [Verify that system.journal is compressed] ******************************** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:71 Saturday 27 July 2024 08:50:34 -0400 (0:00:00.320) 0:00:10.268 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; journalctl --header --file /var/log/journal/3c419fb40c894d368cae5829bf320b0d/system.journal | grep -q COMPRESSED\n", "delta": "0:00:00.007753", "end": "2024-07-27 08:50:34.835122", "rc": 0, "start": "2024-07-27 08:50:34.827369" } TASK [Verify that system journal can have maximum size of 2.0G] **************** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:80 Saturday 27 July 2024 08:50:34 -0400 (0:00:00.319) 0:00:10.588 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; journalctl -b -u systemd-journald -p info | grep max | tail -n 1 | grep -q -E 'max( allowed)? 2.0G'\n", "delta": "0:00:00.009771", "end": "2024-07-27 08:50:35.157112", "rc": 0, "start": "2024-07-27 08:50:35.147341" } TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:88 Saturday 27 July 2024 08:50:35 -0400 (0:00:00.323) 0:00:10.912 ********* included: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml for managed_node1 TASK [Get file] **************************************************************** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:3 Saturday 27 July 2024 08:50:35 -0400 (0:00:00.019) 0:00:10.931 ********* ok: [managed_node1] => { "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/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:9 Saturday 27 July 2024 08:50:35 -0400 (0:00:00.402) 0:00:11.333 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:94 Saturday 27 July 2024 08:50:35 -0400 (0:00:00.038) 0:00:11.372 ********* changed: [managed_node1] => { "changed": true, "path": "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf", "state": "absent" } TASK [Restart journald services] *********************************************** task path: /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:99 Saturday 27 July 2024 08:50:35 -0400 (0:00:00.322) 0:00:11.694 ********* changed: [managed_node1] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journald.service", "name": "systemd-journald.service", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 08:50:32 EDT", "ActiveEnterTimestampMonotonic": "204092418", "ActiveExitTimestamp": "Sat 2024-07-27 08:50:31 EDT", "ActiveExitTimestampMonotonic": "203973501", "ActiveState": "active", "After": "syslog.socket system.slice systemd-journald.socket systemd-journald-audit.socket systemd-journald-dev-log.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:50:31 EDT", "AssertTimestampMonotonic": "203977130", "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": "Sat 2024-07-27 08:50:31 EDT", "ConditionTimestampMonotonic": "203977128", "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": "9444", "ExecMainStartTimestamp": "Sat 2024-07-27 08:50:31 EDT", "ExecMainStartTimestampMonotonic": "203978165", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:50:31 EDT] ; stop_time=[n/a] ; pid=9444 ; 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": "Sat 2024-07-27 08:50:31 EDT", "InactiveEnterTimestampMonotonic": "203976129", "InactiveExitTimestamp": "Sat 2024-07-27 08:50:31 EDT", "InactiveExitTimestampMonotonic": "203978194", "InvocationID": "f51d35fdeafd48f8acaa77922164f8a6", "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": "9444", "MemoryAccounting": "yes", "MemoryCurrent": "9834496", "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": "Sat 2024-07-27 08:50:32 EDT", "StateChangeTimestampMonotonic": "204092418", "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.socket systemd-journald-audit.socket systemd-journald-dev-log.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": "Sat 2024-07-27 08:50:32 EDT", "WatchdogTimestampMonotonic": "204092946", "WatchdogUSec": "3min" } } changed: [managed_node1] => (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": "Sat 2024-07-27 08:50:36 EDT", "ActiveEnterTimestampMonotonic": "208453896", "ActiveExitTimestamp": "Sat 2024-07-27 08:50:36 EDT", "ActiveExitTimestampMonotonic": "208398387", "ActiveState": "active", "After": "system.slice systemd-remount-fs.service -.mount systemd-journald.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:50:36 EDT", "AssertTimestampMonotonic": "208446302", "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": "Sat 2024-07-27 08:50:36 EDT", "ConditionTimestampMonotonic": "208446301", "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": "Sat 2024-07-27 08:50:36 EDT", "ExecMainExitTimestampMonotonic": "208453443", "ExecMainPID": "10958", "ExecMainStartTimestamp": "Sat 2024-07-27 08:50:36 EDT", "ExecMainStartTimestampMonotonic": "208447092", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --flush ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:50:36 EDT] ; stop_time=[Sat 2024-07-27 08:50:36 EDT] ; pid=10958 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/journalctl ; argv[]=/usr/bin/journalctl --smart-relinquish-var ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:50:36 EDT] ; stop_time=[Sat 2024-07-27 08:50:36 EDT] ; pid=10954 ; 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": "Sat 2024-07-27 08:50:36 EDT", "InactiveEnterTimestampMonotonic": "208404559", "InactiveExitTimestamp": "Sat 2024-07-27 08:50:36 EDT", "InactiveExitTimestampMonotonic": "208447131", "InvocationID": "513b58245be847d6b23b9dafd10b09a3", "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": "systemd-journald.service -.mount 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": "Sat 2024-07-27 08:50:36 EDT", "StateChangeTimestampMonotonic": "208453896", "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_node1 : ok=26 changed=5 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Saturday 27 July 2024 08:50:36 -0400 (0:00:00.988) 0:00:12.683 ********* =============================================================================== fedora.linux_system_roles.journald : Ensure required packages are installed --- 2.52s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:15 fedora.linux_system_roles.journald : Ensure required services are enabled --- 1.11s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:21 fedora.linux_system_roles.journald : Restart journald services ---------- 1.06s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/handlers/main.yml:3 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:3 Restart journald services ----------------------------------------------- 0.99s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:99 fedora.linux_system_roles.journald : Deploy journald configuration drop-in --- 0.74s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:44 fedora.linux_system_roles.journald : Create journald configuration drop-in directory --- 0.43s /tmp/tmp.fbsdUZ66Xs/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.42s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:11 fedora.linux_system_roles.journald : Check if system is ostree ---------- 0.40s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:10 Get file ---------------------------------------------------------------- 0.40s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:3 Verify that /var/log/journal/$MACHINE_ID/system.journal exists ---------- 0.33s /tmp/tmp.fbsdUZ66Xs/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/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:3 Verify that system journal can have maximum size of 2.0G ---------------- 0.32s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:80 Verify that rate limit interval is set properly ------------------------- 0.32s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:44 Cleanup ----------------------------------------------------------------- 0.32s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:94 Get systemd-journald service state -------------------------------------- 0.32s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:27 Verify that system.journal is in online state --------------------------- 0.32s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:62 Verify that system.journal is compressed -------------------------------- 0.32s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:71 Verify that syslog is set properly -------------------------------------- 0.32s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:38 Verify that rate limit burst is set properly ---------------------------- 0.31s /tmp/tmp.fbsdUZ66Xs/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:50