ansible-playbook [core 2.17.6] 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-1vU executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Oct 29 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-2)] (/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-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml PLAY [Simple journald role invocation] ***************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:3 Saturday 30 November 2024 07:43:11 -0500 (0:00:00.007) 0:00:00.007 ***** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Make a copy of the service files] **************************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:20 Saturday 30 November 2024 07:43:15 -0500 (0:00:03.186) 0:00:03.194 ***** changed: [managed-node2] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": true, "checksum": "93107c9d5a4ff3ee0b033e488b9a04cd56ec2ad1", "dest": "/etc/systemd/system/systemd-journald.service", "gid": 0, "group": "root", "item": "systemd-journald.service", "md5sum": "f3eb103789308494b42f32d02504378f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 2833, "src": "/usr/lib/systemd/system/systemd-journald.service", "state": "file", "uid": 0 } changed: [managed-node2] => (item=systemd-journal-flush.service) => { "ansible_loop_var": "item", "changed": true, "checksum": "d99a348616139dec7488b59e194be30ed8f96b03", "dest": "/etc/systemd/system/systemd-journal-flush.service", "gid": 0, "group": "root", "item": "systemd-journal-flush.service", "md5sum": "80f0309484b0b6ae8e800a4e27c65f76", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 943, "src": "/usr/lib/systemd/system/systemd-journal-flush.service", "state": "file", "uid": 0 } TASK [Change the startlimit to avoid errors with excessive journald restarts] *** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:28 Saturday 30 November 2024 07:43:15 -0500 (0:00:00.818) 0:00:04.013 ***** changed: [managed-node2] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "backup": "", "changed": true, "item": "systemd-journald.service" } MSG: line added changed: [managed-node2] => (item=systemd-journal-flush.service) => { "ansible_loop_var": "item", "backup": "", "changed": true, "item": "systemd-journal-flush.service" } MSG: line added TASK [Make a copy of the systemd-journald.service] ***************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:35 Saturday 30 November 2024 07:43:16 -0500 (0:00:00.826) 0:00:04.839 ***** changed: [managed-node2] => { "changed": true, "checksum": "93107c9d5a4ff3ee0b033e488b9a04cd56ec2ad1", "dest": "/etc/systemd/system/systemd-journald.service", "gid": 0, "group": "root", "md5sum": "f3eb103789308494b42f32d02504378f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 2833, "src": "/usr/lib/systemd/system/systemd-journald.service", "state": "file", "uid": 0 } TASK [Change the startlimit to avoid errors with excessive journald restarts] *** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:42 Saturday 30 November 2024 07:43:17 -0500 (0:00:00.391) 0:00:05.231 ***** changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [Reload systemd to ensure startlimit changes take effect upon restart] **** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:48 Saturday 30 November 2024 07:43:17 -0500 (0:00:00.367) 0:00:05.599 ***** ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Run the role] ************************************************************ task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:52 Saturday 30 November 2024 07:43:18 -0500 (0:00:00.910) 0:00:06.509 ***** included: fedora.linux_system_roles.journald for managed-node2 TASK [fedora.linux_system_roles.journald : Set platform/version specific variables] *** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:3 Saturday 30 November 2024 07:43:18 -0500 (0:00:00.028) 0:00:06.538 ***** included: /tmp/collections-1vU/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-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:2 Saturday 30 November 2024 07:43:18 -0500 (0:00:00.017) 0:00:06.555 ***** 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-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:10 Saturday 30 November 2024 07:43:18 -0500 (0:00:00.033) 0:00:06.589 ***** 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-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:15 Saturday 30 November 2024 07:43:18 -0500 (0:00:00.456) 0:00:07.046 ***** 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-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:6 Saturday 30 November 2024 07:43:18 -0500 (0:00:00.021) 0:00:07.068 ***** skipping: [managed-node2] => { "false_condition": "not journald_persistent" } TASK [fedora.linux_system_roles.journald : Ensure required packages are installed] *** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:15 Saturday 30 November 2024 07:43:19 -0500 (0:00:00.032) 0:00:07.101 ***** ok: [managed-node2] => { "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/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:21 Saturday 30 November 2024 07:43:22 -0500 (0:00:03.501) 0:00:10.602 ***** 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": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-30 07:39:29 EST", "ActiveEnterTimestampMonotonic": "15279401", "ActiveExitTimestamp": "Sat 2024-11-30 07:39:28 EST", "ActiveExitTimestampMonotonic": "14634434", "ActiveState": "active", "After": "syslog.socket systemd-journald-audit.socket -.mount system.slice systemd-journald-dev-log.socket systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 07:39:14 EST", "AssertTimestampMonotonic": "1138195", "Before": "systemd-soft-reboot.service sysinit.target soft-reboot.target systemd-tmpfiles-setup.service systemd-journal-flush.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "196627000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanClean": "runtime fdstore", "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", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-30 07:39:14 EST", "ConditionTimestampMonotonic": "1138192", "ConfigurationDirectoryMode": "0755", "Conflicts": "soft-reboot.target", "ControlGroup": "/system.slice/systemd-journald.service", "ControlGroupId": "1715", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Journal Service", "DeviceAllow": "char-* rw", "DevicePolicy": "auto", "Documentation": "\"man:systemd-journald.service(8)\" \"man:journald.conf(5)\"", "DynamicUser": "no", "EffectiveMemoryHigh": "3698229248", "EffectiveMemoryMax": "3698229248", "EffectiveTasksMax": "22361", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Sat 2024-11-30 07:39:28 EST", "ExecMainHandoffTimestampMonotonic": "15106865", "ExecMainPID": "524", "ExecMainStartTimestamp": "Sat 2024-11-30 07:39:28 EST", "ExecMainStartTimestampMonotonic": "14908219", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "4224", "FileDescriptorStorePreserve": "yes", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/systemd-journald.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPAddressDeny": "::/0 0.0.0.0/0", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "systemd-journald.service", "IgnoreOnIsolate": "yes", "IgnoreSIGPIPE": "yes", "ImportCredential": "\"journal.*\"", "InactiveEnterTimestamp": "Sat 2024-11-30 07:39:28 EST", "InactiveEnterTimestampMonotonic": "14634434", "InactiveExitTimestamp": "Sat 2024-11-30 07:39:28 EST", "InactiveExitTimestampMonotonic": "14635253", "InvocationID": "d0c312699861477ca0e3543858267248", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "524288", "LimitNPROC": "13976", "LimitNPROCSoft": "13976", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13976", "LimitSIGPENDINGSoft": "13976", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "524", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3307438080", "MemoryCurrent": "10362880", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "10739712", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "13", "NRestarts": "1", "NUMAPolicy": "n/a", "Names": "systemd-journald.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "yes", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-250", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PassEnvironment": "TERM", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "yes", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount systemd-journald.socket", "RequiresMountsFor": "/run/systemd/journal", "Restart": "always", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "0", "RestartUSecNext": "0", "RestrictAddressFamilies": "AF_INET AF_INET6 AF_NETLINK AF_UNIX AF_VSOCK", "RestrictNamespaces": "yes", "RestrictRealtime": "yes", "RestrictSUIDSGID": "yes", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectory": "systemd/journal", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "yes", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-11-30 07:39:29 EST", "StateChangeTimestampMonotonic": "15279401", "StateDirectoryMode": "0755", "StatusErrno": "0", "StatusText": "Processing requests...", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallArchitectures": "native", "SystemCallErrorNumber": "1", "SystemCallFilter": "_llseek _newselect accept accept4 access add_key alarm arch_prctl arm_fadvise64_64 bind brk cacheflush capget capset chdir chmod chown chown32 clock_getres clock_getres_time64 clock_gettime clock_gettime64 clock_nanosleep clock_nanosleep_time64 clone clone3 close close_range connect copy_file_range creat dup dup2 dup3 epoll_create epoll_create1 epoll_ctl epoll_ctl_old epoll_pwait epoll_pwait2 epoll_wait epoll_wait_old eventfd eventfd2 execve execveat exit exit_group faccessat faccessat2 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 futex_time64 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_pgetevents io_pgetevents_time64 io_setup io_submit io_uring_enter io_uring_register io_uring_setup 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 mkdir mkdirat mknod mknodat mlock mlock2 mlockall mmap mmap2 move_pages mprotect mq_getsetattr mq_notify mq_open mq_timedreceive mq_timedreceive_time64 mq_timedsend mq_timedsend_time64 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 openat2 pause personality pidfd_open pidfd_send_signal pipe pipe2 poll ppoll ppoll_time64 prctl pread64 preadv preadv2 prlimit64 process_madvise process_vm_readv process_vm_writev pselect6 pselect6_time64 pwrite64 pwritev pwritev2 read readahead readdir readlink readlinkat readv recv recvfrom recvmmsg recvmmsg_time64 recvmsg remap_file_pages removexattr rename renameat renameat2 request_key restart_syscall riscv_flush_icache rmdir rseq rt_sigaction rt_sigpending rt_sigprocmask rt_sigqueueinfo rt_sigreturn rt_sigsuspend rt_sigtimedwait rt_sigtimedwait_time64 rt_tgsigqueueinfo sched_get_priority_max sched_get_priority_min sched_getaffinity sched_getattr sched_getparam sched_getscheduler sched_rr_get_interval sched_rr_get_interval_time64 sched_setaffinity sched_setattr sched_setparam sched_setscheduler sched_yield select semctl semget semop semtimedop semtimedop_time64 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 swapcontext symlink symlinkat sync sync_file_range sync_file_range2 syncfs sysinfo tee tgkill time timer_create timer_delete timer_getoverrun timer_gettime timer_gettime64 timer_settime timer_settime64 timerfd_create timerfd_gettime timerfd_gettime64 timerfd_settime timerfd_settime64 times tkill truncate truncate64 ugetrlimit umask uname unlink unlinkat unshare userfaultfd utime utimensat utimensat_time64 utimes vfork vmsplice wait4 waitid waitpid write writev", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22361", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "sysinit.target systemd-journal-flush.service initrd-switch-root.target", "Wants": "systemd-journald-dev-log.socket systemd-journald.socket", "WatchdogSignal": "6", "WatchdogTimestamp": "Sat 2024-11-30 07:42:29 EST", "WatchdogTimestampMonotonic": "196005982", "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": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-30 07:39:29 EST", "ActiveEnterTimestampMonotonic": "15441640", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount systemd-remount-fs.service system.slice systemd-quotacheck-root.service systemd-journald.socket systemd-journald.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 07:39:29 EST", "AssertTimestampMonotonic": "15295648", "Before": "systemd-soft-reboot.service soft-reboot.target systemd-tmpfiles-setup.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-30 07:39:29 EST", "ConditionTimestampMonotonic": "15295634", "ConfigurationDirectoryMode": "0755", "Conflicts": "soft-reboot.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Flush Journal to Persistent Storage", "DevicePolicy": "auto", "Documentation": "\"man:systemd-journald.service(8)\" \"man:journald.conf(5)\"", "DynamicUser": "no", "EffectiveMemoryHigh": "3698229248", "EffectiveMemoryMax": "3698229248", "EffectiveTasksMax": "22361", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 07:39:29 EST", "ExecMainExitTimestampMonotonic": "15441435", "ExecMainHandoffTimestamp": "Sat 2024-11-30 07:39:29 EST", "ExecMainHandoffTimestampMonotonic": "15321443", "ExecMainPID": "554", "ExecMainStartTimestamp": "Sat 2024-11-30 07:39:29 EST", "ExecMainStartTimestampMonotonic": "15297534", "ExecMainStatus": "0", "ExecStart": "{ path=journalctl ; argv[]=journalctl --flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=journalctl ; argv[]=journalctl --flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=journalctl ; argv[]=journalctl --smart-relinquish-var ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=journalctl ; argv[]=journalctl --smart-relinquish-var ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/systemd-journal-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "systemd-journal-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-11-30 07:39:29 EST", "InactiveExitTimestampMonotonic": "15297859", "InvocationID": "f02b83da49c44d56bd1777b6a2e7763b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13976", "LimitNPROCSoft": "13976", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13976", "LimitSIGPENDINGSoft": "13976", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3315372032", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "systemd-journal-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice -.mount", "RequiresMountsFor": "/var/log/journal", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-11-30 07:39:29 EST", "StateChangeTimestampMonotonic": "15441640", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22361", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "sysinit.target", "Wants": "systemd-journald.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.journald : Create journald configuration drop-in directory] *** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:28 Saturday 30 November 2024 07:43:23 -0500 (0:00:01.045) 0:00:11.648 ***** 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-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:36 Saturday 30 November 2024 07:43:24 -0500 (0:00:00.452) 0:00:12.101 ***** included: /tmp/collections-1vU/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-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:3 Saturday 30 November 2024 07:43:24 -0500 (0:00:00.038) 0:00:12.139 ***** 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-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:11 Saturday 30 November 2024 07:43:24 -0500 (0:00:00.372) 0:00:12.512 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "systemd-tmpfiles", "--create", "--prefix=/var/log/journal", "/usr/lib/tmpfiles.d/systemd.conf" ], "delta": "0:00:00.026307", "end": "2024-11-30 07:43:24.846843", "rc": 0, "start": "2024-11-30 07:43:24.820536" } TASK [fedora.linux_system_roles.journald : Configure volatile journal] ********* task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:40 Saturday 30 November 2024 07:43:24 -0500 (0:00:00.457) 0:00:12.969 ***** 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-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:44 Saturday 30 November 2024 07:43:24 -0500 (0:00:00.032) 0:00:13.002 ***** 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:systemd_conf_t:s0", "size": 236, "src": "/root/.ansible/tmp/ansible-tmp-1732970604.9730253-7172-136630094671223/.source.conf", "state": "file", "uid": 0 } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:59 Saturday 30 November 2024 07:43:25 -0500 (0:00:00.706) 0:00:13.708 ***** 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-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/handlers/main.yml:3 Saturday 30 November 2024 07:43:25 -0500 (0:00:00.003) 0:00:13.712 ***** changed: [managed-node2] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journald.service", "name": "systemd-journald.service", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-30 07:39:29 EST", "ActiveEnterTimestampMonotonic": "15279401", "ActiveExitTimestamp": "Sat 2024-11-30 07:39:28 EST", "ActiveExitTimestampMonotonic": "14634434", "ActiveState": "active", "After": "syslog.socket systemd-journald-audit.socket -.mount system.slice systemd-journald-dev-log.socket systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 07:39:14 EST", "AssertTimestampMonotonic": "1138195", "Before": "systemd-soft-reboot.service sysinit.target soft-reboot.target systemd-tmpfiles-setup.service systemd-journal-flush.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "200472000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanClean": "runtime fdstore", "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", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-30 07:39:14 EST", "ConditionTimestampMonotonic": "1138192", "ConfigurationDirectoryMode": "0755", "Conflicts": "soft-reboot.target", "ControlGroup": "/system.slice/systemd-journald.service", "ControlGroupId": "1715", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Journal Service", "DeviceAllow": "char-* rw", "DevicePolicy": "auto", "Documentation": "\"man:systemd-journald.service(8)\" \"man:journald.conf(5)\"", "DynamicUser": "no", "EffectiveMemoryHigh": "3698229248", "EffectiveMemoryMax": "3698229248", "EffectiveTasksMax": "22361", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Sat 2024-11-30 07:39:28 EST", "ExecMainHandoffTimestampMonotonic": "15106865", "ExecMainPID": "524", "ExecMainStartTimestamp": "Sat 2024-11-30 07:39:28 EST", "ExecMainStartTimestampMonotonic": "14908219", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "4224", "FileDescriptorStorePreserve": "yes", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/systemd-journald.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPAddressDeny": "::/0 0.0.0.0/0", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "systemd-journald.service", "IgnoreOnIsolate": "yes", "IgnoreSIGPIPE": "yes", "ImportCredential": "\"journal.*\"", "InactiveEnterTimestamp": "Sat 2024-11-30 07:39:28 EST", "InactiveEnterTimestampMonotonic": "14634434", "InactiveExitTimestamp": "Sat 2024-11-30 07:39:28 EST", "InactiveExitTimestampMonotonic": "14635253", "InvocationID": "d0c312699861477ca0e3543858267248", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "524288", "LimitNPROC": "13976", "LimitNPROCSoft": "13976", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13976", "LimitSIGPENDINGSoft": "13976", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "524", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3315703808", "MemoryCurrent": "10362880", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "10739712", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "13", "NRestarts": "1", "NUMAPolicy": "n/a", "Names": "systemd-journald.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "yes", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-250", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PassEnvironment": "TERM", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "yes", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount systemd-journald.socket", "RequiresMountsFor": "/run/systemd/journal", "Restart": "always", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "0", "RestartUSecNext": "0", "RestrictAddressFamilies": "AF_INET AF_INET6 AF_NETLINK AF_UNIX AF_VSOCK", "RestrictNamespaces": "yes", "RestrictRealtime": "yes", "RestrictSUIDSGID": "yes", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectory": "systemd/journal", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "yes", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-11-30 07:39:29 EST", "StateChangeTimestampMonotonic": "15279401", "StateDirectoryMode": "0755", "StatusErrno": "0", "StatusText": "Processing requests...", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallArchitectures": "native", "SystemCallErrorNumber": "1", "SystemCallFilter": "_llseek _newselect accept accept4 access add_key alarm arch_prctl arm_fadvise64_64 bind brk cacheflush capget capset chdir chmod chown chown32 clock_getres clock_getres_time64 clock_gettime clock_gettime64 clock_nanosleep clock_nanosleep_time64 clone clone3 close close_range connect copy_file_range creat dup dup2 dup3 epoll_create epoll_create1 epoll_ctl epoll_ctl_old epoll_pwait epoll_pwait2 epoll_wait epoll_wait_old eventfd eventfd2 execve execveat exit exit_group faccessat faccessat2 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 futex_time64 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_pgetevents io_pgetevents_time64 io_setup io_submit io_uring_enter io_uring_register io_uring_setup 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 mkdir mkdirat mknod mknodat mlock mlock2 mlockall mmap mmap2 move_pages mprotect mq_getsetattr mq_notify mq_open mq_timedreceive mq_timedreceive_time64 mq_timedsend mq_timedsend_time64 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 openat2 pause personality pidfd_open pidfd_send_signal pipe pipe2 poll ppoll ppoll_time64 prctl pread64 preadv preadv2 prlimit64 process_madvise process_vm_readv process_vm_writev pselect6 pselect6_time64 pwrite64 pwritev pwritev2 read readahead readdir readlink readlinkat readv recv recvfrom recvmmsg recvmmsg_time64 recvmsg remap_file_pages removexattr rename renameat renameat2 request_key restart_syscall riscv_flush_icache rmdir rseq rt_sigaction rt_sigpending rt_sigprocmask rt_sigqueueinfo rt_sigreturn rt_sigsuspend rt_sigtimedwait rt_sigtimedwait_time64 rt_tgsigqueueinfo sched_get_priority_max sched_get_priority_min sched_getaffinity sched_getattr sched_getparam sched_getscheduler sched_rr_get_interval sched_rr_get_interval_time64 sched_setaffinity sched_setattr sched_setparam sched_setscheduler sched_yield select semctl semget semop semtimedop semtimedop_time64 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 swapcontext symlink symlinkat sync sync_file_range sync_file_range2 syncfs sysinfo tee tgkill time timer_create timer_delete timer_getoverrun timer_gettime timer_gettime64 timer_settime timer_settime64 timerfd_create timerfd_gettime timerfd_gettime64 timerfd_settime timerfd_settime64 times tkill truncate truncate64 ugetrlimit umask uname unlink unlinkat unshare userfaultfd utime utimensat utimensat_time64 utimes vfork vmsplice wait4 waitid waitpid write writev", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22361", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "sysinit.target systemd-journal-flush.service initrd-switch-root.target", "Wants": "systemd-journald-dev-log.socket systemd-journald.socket", "WatchdogSignal": "6", "WatchdogTimestamp": "Sat 2024-11-30 07:42:29 EST", "WatchdogTimestampMonotonic": "196005982", "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": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-30 07:39:29 EST", "ActiveEnterTimestampMonotonic": "15441640", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount systemd-remount-fs.service system.slice systemd-quotacheck-root.service systemd-journald.socket systemd-journald.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 07:39:29 EST", "AssertTimestampMonotonic": "15295648", "Before": "systemd-soft-reboot.service soft-reboot.target systemd-tmpfiles-setup.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-30 07:39:29 EST", "ConditionTimestampMonotonic": "15295634", "ConfigurationDirectoryMode": "0755", "Conflicts": "soft-reboot.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Flush Journal to Persistent Storage", "DevicePolicy": "auto", "Documentation": "\"man:systemd-journald.service(8)\" \"man:journald.conf(5)\"", "DynamicUser": "no", "EffectiveMemoryHigh": "3698229248", "EffectiveMemoryMax": "3698229248", "EffectiveTasksMax": "22361", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 07:39:29 EST", "ExecMainExitTimestampMonotonic": "15441435", "ExecMainHandoffTimestamp": "Sat 2024-11-30 07:39:29 EST", "ExecMainHandoffTimestampMonotonic": "15321443", "ExecMainPID": "554", "ExecMainStartTimestamp": "Sat 2024-11-30 07:39:29 EST", "ExecMainStartTimestampMonotonic": "15297534", "ExecMainStatus": "0", "ExecStart": "{ path=journalctl ; argv[]=journalctl --flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=journalctl ; argv[]=journalctl --flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=journalctl ; argv[]=journalctl --smart-relinquish-var ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=journalctl ; argv[]=journalctl --smart-relinquish-var ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/systemd-journal-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "systemd-journal-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-11-30 07:39:29 EST", "InactiveExitTimestampMonotonic": "15297859", "InvocationID": "f02b83da49c44d56bd1777b6a2e7763b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13976", "LimitNPROCSoft": "13976", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13976", "LimitSIGPENDINGSoft": "13976", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3315593216", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "systemd-journal-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice -.mount", "RequiresMountsFor": "/var/log/journal", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-11-30 07:39:29 EST", "StateChangeTimestampMonotonic": "15441640", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22361", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "sysinit.target", "Wants": "systemd-journald.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Get systemd-journald service state] ************************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:62 Saturday 30 November 2024 07:43:26 -0500 (0:00:01.154) 0:00:14.866 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "show", "--property", "SubState", "systemd-journald.service" ], "delta": "0:00:00.010304", "end": "2024-11-30 07:43:27.109659", "rc": 0, "start": "2024-11-30 07:43:27.099355" } STDOUT: SubState=running TASK [Verify that systemd-journald is running] ********************************* task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:69 Saturday 30 November 2024 07:43:27 -0500 (0:00:00.366) 0:00:15.233 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that syslog is set properly] ************************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:73 Saturday 30 November 2024 07:43:27 -0500 (0:00:00.017) 0:00:15.250 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "ForwardToSyslog=yes", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.003416", "end": "2024-11-30 07:43:27.484828", "rc": 0, "start": "2024-11-30 07:43:27.481412" } STDOUT: ForwardToSyslog=yes TASK [Verify that rate limit interval is set properly] ************************* task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:79 Saturday 30 November 2024 07:43:27 -0500 (0:00:00.356) 0:00:15.607 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "RateLimitIntervalSec=2s", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.003936", "end": "2024-11-30 07:43:27.845999", "rc": 0, "start": "2024-11-30 07:43:27.842063" } STDOUT: RateLimitIntervalSec=2s TASK [Verify that rate limit burst is set properly] **************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:85 Saturday 30 November 2024 07:43:27 -0500 (0:00:00.361) 0:00:15.968 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "RateLimitBurst=2000", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.003807", "end": "2024-11-30 07:43:28.207109", "rc": 0, "start": "2024-11-30 07:43:28.203302" } STDOUT: RateLimitBurst=2000 TASK [Verify that /var/log/journal/$MACHINE_ID/system.journal exists] ********** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:91 Saturday 30 November 2024 07:43:28 -0500 (0:00:00.360) 0:00:16.329 ***** ok: [managed-node2] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1732970606.7233658, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16384, "charset": "binary", "checksum": "4520b31d7572eeab9f0c22d6b43fd8c43f3b904d", "ctime": 1732970608.5623937, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 190, "gr_name": "systemd-journal", "inode": 197132482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-linux-journal", "mode": "0640", "mtime": 1732970608.5623937, "nlink": 1, "path": "/var/log/journal/ec25d78fbf96b6bd80de753aaf0f7aa4/system.journal", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 8388608, "uid": 0, "version": "3321350546", "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-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:97 Saturday 30 November 2024 07:43:28 -0500 (0:00:00.531) 0:00:16.860 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; journalctl --header --file /var/log/journal/ec25d78fbf96b6bd80de753aaf0f7aa4/system.journal | grep -q 'State: ONLINE'\n", "delta": "0:00:00.007799", "end": "2024-11-30 07:43:29.102264", "rc": 0, "start": "2024-11-30 07:43:29.094465" } TASK [Verify that system.journal is compressed] ******************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:106 Saturday 30 November 2024 07:43:29 -0500 (0:00:00.363) 0:00:17.224 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; journalctl --header --file /var/log/journal/ec25d78fbf96b6bd80de753aaf0f7aa4/system.journal | grep -q COMPRESSED\n", "delta": "0:00:00.008299", "end": "2024-11-30 07:43:29.467084", "rc": 0, "start": "2024-11-30 07:43:29.458785" } TASK [Verify that system journal can have maximum size of 2.0G] **************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:115 Saturday 30 November 2024 07:43:29 -0500 (0:00:00.365) 0:00:17.590 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; journalctl -b -u systemd-journald -p info | grep -E \"((System [Jj]ournal)|(Permanent journal)) .*max\" | tail -n 1 | grep -q -E 'max( allowed)? 2([.]0)?G'\n", "delta": "0:00:00.009787", "end": "2024-11-30 07:43:29.827833", "rc": 0, "start": "2024-11-30 07:43:29.818046" } TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:124 Saturday 30 November 2024 07:43:29 -0500 (0:00:00.360) 0:00:17.950 ***** included: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml for managed-node2 TASK [Get file] **************************************************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:3 Saturday 30 November 2024 07:43:29 -0500 (0:00:00.019) 0:00:17.969 ***** 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-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:9 Saturday 30 November 2024 07:43:30 -0500 (0:00:00.432) 0:00:18.402 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:142 Saturday 30 November 2024 07:43:30 -0500 (0:00:00.046) 0:00:18.448 ***** changed: [managed-node2] => { "changed": true, "path": "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf", "state": "absent" } TASK [Remove copy of the service files] **************************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:147 Saturday 30 November 2024 07:43:30 -0500 (0:00:00.365) 0:00:18.813 ***** changed: [managed-node2] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journald.service", "path": "/etc/systemd/system/systemd-journald.service", "state": "absent" } changed: [managed-node2] => (item=systemd-journal-flush.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journal-flush.service", "path": "/etc/systemd/system/systemd-journal-flush.service", "state": "absent" } TASK [Reload systemd to cleanup] *********************************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:153 Saturday 30 November 2024 07:43:31 -0500 (0:00:00.712) 0:00:19.526 ***** ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Restart journald services] *********************************************** task path: /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:157 Saturday 30 November 2024 07:43:32 -0500 (0:00:00.688) 0:00:20.215 ***** changed: [managed-node2] => (item=systemd-journald.service) => { "ansible_loop_var": "item", "changed": true, "item": "systemd-journald.service", "name": "systemd-journald.service", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-30 07:43:26 EST", "ActiveEnterTimestampMonotonic": "252360337", "ActiveExitTimestamp": "Sat 2024-11-30 07:43:26 EST", "ActiveExitTimestampMonotonic": "252312878", "ActiveState": "active", "After": "systemd-journald.socket syslog.socket systemd-journald-dev-log.socket system.slice systemd-journald-audit.socket -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 07:43:26 EST", "AssertTimestampMonotonic": "252327679", "Before": "systemd-tmpfiles-setup.service soft-reboot.target systemd-soft-reboot.service sysinit.target systemd-journal-flush.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "56282000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanClean": "runtime fdstore", "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", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-30 07:43:26 EST", "ConditionTimestampMonotonic": "252327676", "ConfigurationDirectoryMode": "0755", "Conflicts": "soft-reboot.target", "ControlGroup": "/system.slice/systemd-journald.service", "ControlGroupId": "4234", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Journal Service", "DeviceAllow": "char-* rw", "DevicePolicy": "auto", "Documentation": "\"man:systemd-journald.service(8)\" \"man:journald.conf(5)\"", "DynamicUser": "no", "EffectiveMemoryHigh": "3698229248", "EffectiveMemoryMax": "3698229248", "EffectiveTasksMax": "22361", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Sat 2024-11-30 07:43:26 EST", "ExecMainHandoffTimestampMonotonic": "252352516", "ExecMainPID": "8983", "ExecMainStartTimestamp": "Sat 2024-11-30 07:43:26 EST", "ExecMainStartTimestampMonotonic": "252329092", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/lib/systemd/systemd-journald ; argv[]=/usr/lib/systemd/systemd-journald ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "4224", "FileDescriptorStorePreserve": "yes", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/systemd-journald.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPAddressDeny": "::/0 0.0.0.0/0", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "systemd-journald.service", "IgnoreOnIsolate": "yes", "IgnoreSIGPIPE": "yes", "ImportCredential": "\"journal.*\"", "InactiveEnterTimestamp": "Sat 2024-11-30 07:43:26 EST", "InactiveEnterTimestampMonotonic": "252317276", "InactiveExitTimestamp": "Sat 2024-11-30 07:43:26 EST", "InactiveExitTimestampMonotonic": "252329611", "InvocationID": "1a14292523ba489bbef9b9c45e6ca789", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "524288", "LimitNPROC": "13976", "LimitNPROCSoft": "13976", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13976", "LimitSIGPENDINGSoft": "13976", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8983", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3331514368", "MemoryCurrent": "6209536", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "6471680", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "13", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "systemd-journald.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "yes", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-250", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PassEnvironment": "TERM", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "yes", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount systemd-journald.socket", "RequiresMountsFor": "/run/systemd/journal", "Restart": "always", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "0", "RestartUSecNext": "0", "RestrictAddressFamilies": "AF_INET AF_INET6 AF_NETLINK AF_UNIX AF_VSOCK", "RestrictNamespaces": "yes", "RestrictRealtime": "yes", "RestrictSUIDSGID": "yes", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectory": "systemd/journal", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "yes", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-11-30 07:43:26 EST", "StateChangeTimestampMonotonic": "252360337", "StateDirectoryMode": "0755", "StatusErrno": "0", "StatusText": "Processing requests...", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallArchitectures": "native", "SystemCallErrorNumber": "1", "SystemCallFilter": "_llseek _newselect accept accept4 access add_key alarm arch_prctl arm_fadvise64_64 bind brk cacheflush capget capset chdir chmod chown chown32 clock_getres clock_getres_time64 clock_gettime clock_gettime64 clock_nanosleep clock_nanosleep_time64 clone clone3 close close_range connect copy_file_range creat dup dup2 dup3 epoll_create epoll_create1 epoll_ctl epoll_ctl_old epoll_pwait epoll_pwait2 epoll_wait epoll_wait_old eventfd eventfd2 execve execveat exit exit_group faccessat faccessat2 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 futex_time64 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_pgetevents io_pgetevents_time64 io_setup io_submit io_uring_enter io_uring_register io_uring_setup 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 mkdir mkdirat mknod mknodat mlock mlock2 mlockall mmap mmap2 move_pages mprotect mq_getsetattr mq_notify mq_open mq_timedreceive mq_timedreceive_time64 mq_timedsend mq_timedsend_time64 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 openat2 pause personality pidfd_open pidfd_send_signal pipe pipe2 poll ppoll ppoll_time64 prctl pread64 preadv preadv2 prlimit64 process_madvise process_vm_readv process_vm_writev pselect6 pselect6_time64 pwrite64 pwritev pwritev2 read readahead readdir readlink readlinkat readv recv recvfrom recvmmsg recvmmsg_time64 recvmsg remap_file_pages removexattr rename renameat renameat2 request_key restart_syscall riscv_flush_icache rmdir rseq rt_sigaction rt_sigpending rt_sigprocmask rt_sigqueueinfo rt_sigreturn rt_sigsuspend rt_sigtimedwait rt_sigtimedwait_time64 rt_tgsigqueueinfo sched_get_priority_max sched_get_priority_min sched_getaffinity sched_getattr sched_getparam sched_getscheduler sched_rr_get_interval sched_rr_get_interval_time64 sched_setaffinity sched_setattr sched_setparam sched_setscheduler sched_yield select semctl semget semop semtimedop semtimedop_time64 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 swapcontext symlink symlinkat sync sync_file_range sync_file_range2 syncfs sysinfo tee tgkill time timer_create timer_delete timer_getoverrun timer_gettime timer_gettime64 timer_settime timer_settime64 timerfd_create timerfd_gettime timerfd_gettime64 timerfd_settime timerfd_settime64 times tkill truncate truncate64 ugetrlimit umask uname unlink unlinkat unshare userfaultfd utime utimensat utimensat_time64 utimes vfork vmsplice wait4 waitid waitpid write writev", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22361", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "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 systemd-journal-flush.service", "Wants": "systemd-journald-dev-log.socket systemd-journald.socket", "WatchdogSignal": "6", "WatchdogTimestamp": "Sat 2024-11-30 07:43:26 EST", "WatchdogTimestampMonotonic": "252361161", "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": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-30 07:43:26 EST", "ActiveEnterTimestampMonotonic": "252929689", "ActiveExitTimestamp": "Sat 2024-11-30 07:43:26 EST", "ActiveExitTimestampMonotonic": "252876350", "ActiveState": "active", "After": "system.slice systemd-remount-fs.service -.mount systemd-journald.service systemd-quotacheck-root.service systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 07:43:26 EST", "AssertTimestampMonotonic": "252890964", "Before": "systemd-soft-reboot.service soft-reboot.target systemd-tmpfiles-setup.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-30 07:43:26 EST", "ConditionTimestampMonotonic": "252890958", "ConfigurationDirectoryMode": "0755", "Conflicts": "soft-reboot.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Flush Journal to Persistent Storage", "DevicePolicy": "auto", "Documentation": "\"man:systemd-journald.service(8)\" \"man:journald.conf(5)\"", "DynamicUser": "no", "EffectiveMemoryHigh": "3698229248", "EffectiveMemoryMax": "3698229248", "EffectiveTasksMax": "22361", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 07:43:26 EST", "ExecMainExitTimestampMonotonic": "252929413", "ExecMainHandoffTimestamp": "Sat 2024-11-30 07:43:26 EST", "ExecMainHandoffTimestampMonotonic": "252900230", "ExecMainPID": "9121", "ExecMainStartTimestamp": "Sat 2024-11-30 07:43:26 EST", "ExecMainStartTimestampMonotonic": "252891929", "ExecMainStatus": "0", "ExecStart": "{ path=journalctl ; argv[]=journalctl --flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=journalctl ; argv[]=journalctl --flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=journalctl ; argv[]=journalctl --smart-relinquish-var ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=journalctl ; argv[]=journalctl --smart-relinquish-var ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/systemd-journal-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "systemd-journal-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-30 07:43:26 EST", "InactiveEnterTimestampMonotonic": "252890188", "InactiveExitTimestamp": "Sat 2024-11-30 07:43:26 EST", "InactiveExitTimestampMonotonic": "252892388", "InvocationID": "7b3425acccbf428d9e8f181dc3fbbb56", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13976", "LimitNPROCSoft": "13976", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13976", "LimitSIGPENDINGSoft": "13976", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3333341184", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "systemd-journal-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice -.mount", "RequiresMountsFor": "/var/log/journal", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-11-30 07:43:26 EST", "StateChangeTimestampMonotonic": "252929689", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22361", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "sysinit.target", "Wants": "systemd-journald.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } PLAY RECAP ********************************************************************* managed-node2 : ok=34 changed=11 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Saturday 30 November 2024 07:43:33 -0500 (0:00:01.139) 0:00:21.354 ***** =============================================================================== fedora.linux_system_roles.journald : Ensure required packages are installed --- 3.50s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:15 Gathering Facts --------------------------------------------------------- 3.19s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:3 fedora.linux_system_roles.journald : Restart journald services ---------- 1.15s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/handlers/main.yml:3 Restart journald services ----------------------------------------------- 1.14s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:157 fedora.linux_system_roles.journald : Ensure required services are enabled --- 1.05s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:21 Reload systemd to ensure startlimit changes take effect upon restart ---- 0.91s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:48 Change the startlimit to avoid errors with excessive journald restarts --- 0.83s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:28 Make a copy of the service files ---------------------------------------- 0.82s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:20 Remove copy of the service files ---------------------------------------- 0.71s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:147 fedora.linux_system_roles.journald : Deploy journald configuration drop-in --- 0.71s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:44 Reload systemd to cleanup ----------------------------------------------- 0.69s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:153 Verify that /var/log/journal/$MACHINE_ID/system.journal exists ---------- 0.53s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:91 fedora.linux_system_roles.journald : Apply tmpfiles.d snippet on persistent log store --- 0.46s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:11 fedora.linux_system_roles.journald : Check if system is ostree ---------- 0.46s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:10 fedora.linux_system_roles.journald : Create journald configuration drop-in directory --- 0.45s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:28 Get file ---------------------------------------------------------------- 0.43s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:3 Make a copy of the systemd-journald.service ----------------------------- 0.39s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:35 fedora.linux_system_roles.journald : Ensure persistent log store exists --- 0.37s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:3 Change the startlimit to avoid errors with excessive journald restarts --- 0.37s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:42 Get systemd-journald service state -------------------------------------- 0.37s /tmp/collections-1vU/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:62