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-TFg executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/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-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml PLAY [Simple journald role invocation] ***************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:3 Monday 11 November 2024 19:55:47 -0500 (0:00:00.010) 0:00:00.010 ******* [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-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:20 Monday 11 November 2024 19:55:50 -0500 (0:00:02.888) 0:00:02.899 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:28 Monday 11 November 2024 19:55:51 -0500 (0:00:00.768) 0:00:03.668 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:35 Monday 11 November 2024 19:55:52 -0500 (0:00:00.764) 0:00:04.433 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:42 Monday 11 November 2024 19:55:52 -0500 (0:00:00.347) 0:00:04.780 ******* changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [Reload systemd to ensure startlimit changes take effect upon restart] **** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:48 Monday 11 November 2024 19:55:52 -0500 (0:00:00.342) 0:00:05.123 ******* ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Run the role] ************************************************************ task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:52 Monday 11 November 2024 19:55:53 -0500 (0:00:00.839) 0:00:05.963 ******* included: fedora.linux_system_roles.journald for managed-node2 TASK [fedora.linux_system_roles.journald : Set platform/version specific variables] *** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:3 Monday 11 November 2024 19:55:53 -0500 (0:00:00.029) 0:00:05.992 ******* included: /tmp/collections-TFg/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-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:2 Monday 11 November 2024 19:55:53 -0500 (0:00:00.018) 0:00:06.010 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:10 Monday 11 November 2024 19:55:53 -0500 (0:00:00.034) 0:00:06.045 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:15 Monday 11 November 2024 19:55:54 -0500 (0:00:00.409) 0:00:06.454 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:6 Monday 11 November 2024 19:55:54 -0500 (0:00:00.022) 0:00:06.477 ******* skipping: [managed-node2] => { "false_condition": "not journald_persistent" } TASK [fedora.linux_system_roles.journald : Ensure required packages are installed] *** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:15 Monday 11 November 2024 19:55:54 -0500 (0:00:00.033) 0:00:06.510 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:21 Monday 11 November 2024 19:55:57 -0500 (0:00:03.392) 0:00:09.903 ******* 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": "Mon 2024-11-11 19:52:31 EST", "ActiveEnterTimestampMonotonic": "12984678", "ActiveExitTimestamp": "Mon 2024-11-11 19:52:31 EST", "ActiveExitTimestampMonotonic": "12538457", "ActiveState": "active", "After": "-.mount systemd-journald.socket systemd-journald-audit.socket systemd-journald-dev-log.socket syslog.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 19:52:19 EST", "AssertTimestampMonotonic": "1166051", "Before": "sysinit.target systemd-tmpfiles-setup.service systemd-soft-reboot.service soft-reboot.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": "181000000", "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": "Mon 2024-11-11 19:52:19 EST", "ConditionTimestampMonotonic": "1166049", "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": "3698376704", "EffectiveMemoryMax": "3698376704", "EffectiveTasksMax": "22336", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Mon 2024-11-11 19:52:31 EST", "ExecMainHandoffTimestampMonotonic": "12854462", "ExecMainPID": "522", "ExecMainStartTimestamp": "Mon 2024-11-11 19:52:31 EST", "ExecMainStartTimestampMonotonic": "12754236", "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": "Mon 2024-11-11 19:52:31 EST", "InactiveEnterTimestampMonotonic": "12538457", "InactiveExitTimestamp": "Mon 2024-11-11 19:52:31 EST", "InactiveExitTimestampMonotonic": "12539370", "InvocationID": "856bf84133d34d38b5161d0d39dc84a2", "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": "13960", "LimitNPROCSoft": "13960", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13960", "LimitSIGPENDINGSoft": "13960", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "522", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3322499072", "MemoryCurrent": "10342400", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "10596352", "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": "-.mount systemd-journald.socket system.slice", "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": "Mon 2024-11-11 19:52:31 EST", "StateChangeTimestampMonotonic": "12984678", "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": "22336", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "systemd-journald-audit.socket systemd-journald-dev-log.socket systemd-journald.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "initrd-switch-root.target sysinit.target systemd-journal-flush.service", "Wants": "systemd-journald-dev-log.socket systemd-journald.socket", "WatchdogSignal": "6", "WatchdogTimestamp": "Mon 2024-11-11 19:55:34 EST", "WatchdogTimestampMonotonic": "196070157", "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": "Mon 2024-11-11 19:52:31 EST", "ActiveEnterTimestampMonotonic": "13149072", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket -.mount systemd-remount-fs.service systemd-quotacheck-root.service system.slice systemd-journald.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 19:52:31 EST", "AssertTimestampMonotonic": "13038843", "Before": "soft-reboot.target systemd-soft-reboot.service 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": "Mon 2024-11-11 19:52:31 EST", "ConditionTimestampMonotonic": "13038832", "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": "3698376704", "EffectiveMemoryMax": "3698376704", "EffectiveTasksMax": "22336", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 19:52:31 EST", "ExecMainExitTimestampMonotonic": "13148893", "ExecMainHandoffTimestamp": "Mon 2024-11-11 19:52:31 EST", "ExecMainHandoffTimestampMonotonic": "13064473", "ExecMainPID": "549", "ExecMainStartTimestamp": "Mon 2024-11-11 19:52:31 EST", "ExecMainStartTimestampMonotonic": "13040206", "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": "Mon 2024-11-11 19:52:31 EST", "InactiveExitTimestampMonotonic": "13041227", "InvocationID": "36dc506ef5fe41d9908cd9a8ab31860f", "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": "13960", "LimitNPROCSoft": "13960", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13960", "LimitSIGPENDINGSoft": "13960", "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": "3322265600", "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": "Mon 2024-11-11 19:52:31 EST", "StateChangeTimestampMonotonic": "13149072", "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": "22336", "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-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:28 Monday 11 November 2024 19:55:58 -0500 (0:00:00.977) 0:00:10.881 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:36 Monday 11 November 2024 19:55:58 -0500 (0:00:00.431) 0:00:11.313 ******* included: /tmp/collections-TFg/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-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:3 Monday 11 November 2024 19:55:58 -0500 (0:00:00.038) 0:00:11.351 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:11 Monday 11 November 2024 19:55:59 -0500 (0:00:00.345) 0:00:11.697 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemd-tmpfiles", "--create", "--prefix=/var/log/journal", "/usr/lib/tmpfiles.d/systemd.conf" ], "delta": "0:00:00.024813", "end": "2024-11-11 19:55:59.687730", "rc": 0, "start": "2024-11-11 19:55:59.662917" } TASK [fedora.linux_system_roles.journald : Configure volatile journal] ********* task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:40 Monday 11 November 2024 19:55:59 -0500 (0:00:00.428) 0:00:12.125 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:44 Monday 11 November 2024 19:55:59 -0500 (0:00:00.032) 0:00:12.158 ******* 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-1731372959.805942-6867-172864976701712/.source.conf", "state": "file", "uid": 0 } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:59 Monday 11 November 2024 19:56:00 -0500 (0:00:00.663) 0:00:12.821 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/handlers/main.yml:3 Monday 11 November 2024 19:56:00 -0500 (0:00:00.004) 0:00:12.825 ******* 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": "Mon 2024-11-11 19:52:31 EST", "ActiveEnterTimestampMonotonic": "12984678", "ActiveExitTimestamp": "Mon 2024-11-11 19:52:31 EST", "ActiveExitTimestampMonotonic": "12538457", "ActiveState": "active", "After": "-.mount systemd-journald.socket systemd-journald-audit.socket systemd-journald-dev-log.socket syslog.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 19:52:19 EST", "AssertTimestampMonotonic": "1166051", "Before": "sysinit.target systemd-tmpfiles-setup.service systemd-soft-reboot.service soft-reboot.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": "184377000", "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": "Mon 2024-11-11 19:52:19 EST", "ConditionTimestampMonotonic": "1166049", "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": "3698376704", "EffectiveMemoryMax": "3698376704", "EffectiveTasksMax": "22336", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Mon 2024-11-11 19:52:31 EST", "ExecMainHandoffTimestampMonotonic": "12854462", "ExecMainPID": "522", "ExecMainStartTimestamp": "Mon 2024-11-11 19:52:31 EST", "ExecMainStartTimestampMonotonic": "12754236", "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": "Mon 2024-11-11 19:52:31 EST", "InactiveEnterTimestampMonotonic": "12538457", "InactiveExitTimestamp": "Mon 2024-11-11 19:52:31 EST", "InactiveExitTimestampMonotonic": "12539370", "InvocationID": "856bf84133d34d38b5161d0d39dc84a2", "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": "13960", "LimitNPROCSoft": "13960", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13960", "LimitSIGPENDINGSoft": "13960", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "522", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3316658176", "MemoryCurrent": "10346496", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "10600448", "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": "-.mount systemd-journald.socket system.slice", "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": "Mon 2024-11-11 19:52:31 EST", "StateChangeTimestampMonotonic": "12984678", "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": "22336", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "systemd-journald-audit.socket systemd-journald-dev-log.socket systemd-journald.socket", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WantedBy": "initrd-switch-root.target sysinit.target systemd-journal-flush.service", "Wants": "systemd-journald-dev-log.socket systemd-journald.socket", "WatchdogSignal": "6", "WatchdogTimestamp": "Mon 2024-11-11 19:55:34 EST", "WatchdogTimestampMonotonic": "196070157", "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": "Mon 2024-11-11 19:52:31 EST", "ActiveEnterTimestampMonotonic": "13149072", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket -.mount systemd-remount-fs.service systemd-quotacheck-root.service system.slice systemd-journald.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 19:52:31 EST", "AssertTimestampMonotonic": "13038843", "Before": "soft-reboot.target systemd-soft-reboot.service 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": "Mon 2024-11-11 19:52:31 EST", "ConditionTimestampMonotonic": "13038832", "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": "3698376704", "EffectiveMemoryMax": "3698376704", "EffectiveTasksMax": "22336", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 19:52:31 EST", "ExecMainExitTimestampMonotonic": "13148893", "ExecMainHandoffTimestamp": "Mon 2024-11-11 19:52:31 EST", "ExecMainHandoffTimestampMonotonic": "13064473", "ExecMainPID": "549", "ExecMainStartTimestamp": "Mon 2024-11-11 19:52:31 EST", "ExecMainStartTimestampMonotonic": "13040206", "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": "Mon 2024-11-11 19:52:31 EST", "InactiveExitTimestampMonotonic": "13041227", "InvocationID": "36dc506ef5fe41d9908cd9a8ab31860f", "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": "13960", "LimitNPROCSoft": "13960", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13960", "LimitSIGPENDINGSoft": "13960", "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": "3315159040", "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": "Mon 2024-11-11 19:52:31 EST", "StateChangeTimestampMonotonic": "13149072", "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": "22336", "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-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:62 Monday 11 November 2024 19:56:01 -0500 (0:00:01.103) 0:00:13.929 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "show", "--property", "SubState", "systemd-journald.service" ], "delta": "0:00:00.010193", "end": "2024-11-11 19:56:01.834285", "rc": 0, "start": "2024-11-11 19:56:01.824092" } STDOUT: SubState=running TASK [Verify that systemd-journald is running] ********************************* task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:69 Monday 11 November 2024 19:56:01 -0500 (0:00:00.342) 0:00:14.271 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that syslog is set properly] ************************************** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:73 Monday 11 November 2024 19:56:01 -0500 (0:00:00.017) 0:00:14.289 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "ForwardToSyslog=yes", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.003533", "end": "2024-11-11 19:56:02.186458", "rc": 0, "start": "2024-11-11 19:56:02.182925" } STDOUT: ForwardToSyslog=yes TASK [Verify that rate limit interval is set properly] ************************* task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:79 Monday 11 November 2024 19:56:02 -0500 (0:00:00.335) 0:00:14.624 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "RateLimitIntervalSec=2s", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.003704", "end": "2024-11-11 19:56:02.523955", "rc": 0, "start": "2024-11-11 19:56:02.520251" } STDOUT: RateLimitIntervalSec=2s TASK [Verify that rate limit burst is set properly] **************************** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:85 Monday 11 November 2024 19:56:02 -0500 (0:00:00.338) 0:00:14.962 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "RateLimitBurst=2000", "/etc/systemd/journald.conf.d/99-linux-system-roles-journald.conf" ], "delta": "0:00:00.003289", "end": "2024-11-11 19:56:02.859201", "rc": 0, "start": "2024-11-11 19:56:02.855912" } STDOUT: RateLimitBurst=2000 TASK [Verify that /var/log/journal/$MACHINE_ID/system.journal exists] ********** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:91 Monday 11 November 2024 19:56:02 -0500 (0:00:00.335) 0:00:15.297 ******* ok: [managed-node2] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1731372961.4632773, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16384, "charset": "binary", "checksum": "645d4a29ae591b7fcbbdb9bf5903de4b0c7a0b87", "ctime": 1731372963.1982937, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 190, "gr_name": "systemd-journal", "inode": 209715330, "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": 1731372963.1982937, "nlink": 1, "path": "/var/log/journal/ec26bfc173548c1ab6fe1ac43c9e5f8b/system.journal", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 8388608, "uid": 0, "version": "3750391431", "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-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:97 Monday 11 November 2024 19:56:03 -0500 (0:00:00.411) 0:00:15.709 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; journalctl --header --file /var/log/journal/ec26bfc173548c1ab6fe1ac43c9e5f8b/system.journal | grep -q 'State: ONLINE'\n", "delta": "0:00:00.008093", "end": "2024-11-11 19:56:03.610494", "rc": 0, "start": "2024-11-11 19:56:03.602401" } TASK [Verify that system.journal is compressed] ******************************** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:106 Monday 11 November 2024 19:56:03 -0500 (0:00:00.338) 0:00:16.047 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; journalctl --header --file /var/log/journal/ec26bfc173548c1ab6fe1ac43c9e5f8b/system.journal | grep -q COMPRESSED\n", "delta": "0:00:00.007994", "end": "2024-11-11 19:56:03.951662", "rc": 0, "start": "2024-11-11 19:56:03.943668" } TASK [Verify that system journal can have maximum size of 2.0G] **************** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:115 Monday 11 November 2024 19:56:03 -0500 (0:00:00.342) 0:00:16.390 ******* 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.009197", "end": "2024-11-11 19:56:04.289504", "rc": 0, "start": "2024-11-11 19:56:04.280307" } TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:124 Monday 11 November 2024 19:56:04 -0500 (0:00:00.336) 0:00:16.727 ******* included: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml for managed-node2 TASK [Get file] **************************************************************** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:3 Monday 11 November 2024 19:56:04 -0500 (0:00:00.019) 0:00:16.746 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:9 Monday 11 November 2024 19:56:04 -0500 (0:00:00.406) 0:00:17.152 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:142 Monday 11 November 2024 19:56:04 -0500 (0:00:00.046) 0:00:17.199 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:147 Monday 11 November 2024 19:56:05 -0500 (0:00:00.332) 0:00:17.531 ******* 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-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:153 Monday 11 November 2024 19:56:05 -0500 (0:00:00.669) 0:00:18.201 ******* ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Restart journald services] *********************************************** task path: /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:157 Monday 11 November 2024 19:56:06 -0500 (0:00:00.656) 0:00:18.858 ******* 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": "Mon 2024-11-11 19:56:00 EST", "ActiveEnterTimestampMonotonic": "222172357", "ActiveExitTimestamp": "Mon 2024-11-11 19:56:00 EST", "ActiveExitTimestampMonotonic": "222115618", "ActiveState": "active", "After": "systemd-journald-dev-log.socket -.mount syslog.socket systemd-journald.socket systemd-journald-audit.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 19:56:00 EST", "AssertTimestampMonotonic": "222127905", "Before": "systemd-journal-flush.service sysinit.target systemd-tmpfiles-setup.service systemd-soft-reboot.service soft-reboot.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "58368000", "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": "Mon 2024-11-11 19:56:00 EST", "ConditionTimestampMonotonic": "222127901", "ConfigurationDirectoryMode": "0755", "Conflicts": "soft-reboot.target", "ControlGroup": "/system.slice/systemd-journald.service", "ControlGroupId": "4273", "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": "3698376704", "EffectiveMemoryMax": "3698376704", "EffectiveTasksMax": "22336", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Mon 2024-11-11 19:56:00 EST", "ExecMainHandoffTimestampMonotonic": "222164375", "ExecMainPID": "8472", "ExecMainStartTimestamp": "Mon 2024-11-11 19:56:00 EST", "ExecMainStartTimestampMonotonic": "222129273", "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": "Mon 2024-11-11 19:56:00 EST", "InactiveEnterTimestampMonotonic": "222116100", "InactiveExitTimestamp": "Mon 2024-11-11 19:56:00 EST", "InactiveExitTimestampMonotonic": "222129834", "InvocationID": "bd730232690a445694418af028b23c20", "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": "13960", "LimitNPROCSoft": "13960", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13960", "LimitSIGPENDINGSoft": "13960", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8472", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3344736256", "MemoryCurrent": "6213632", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "6488064", "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": "-.mount system.slice 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": "Mon 2024-11-11 19:56:00 EST", "StateChangeTimestampMonotonic": "222172357", "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": "22336", "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-audit.socket systemd-journald-dev-log.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": "Mon 2024-11-11 19:56:00 EST", "WatchdogTimestampMonotonic": "222173359", "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": "Mon 2024-11-11 19:56:01 EST", "ActiveEnterTimestampMonotonic": "222718944", "ActiveExitTimestamp": "Mon 2024-11-11 19:56:01 EST", "ActiveExitTimestampMonotonic": "222655576", "ActiveState": "active", "After": "systemd-remount-fs.service systemd-quotacheck-root.service systemd-journald.socket system.slice systemd-journald.service -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 19:56:01 EST", "AssertTimestampMonotonic": "222669735", "Before": "soft-reboot.target systemd-tmpfiles-setup.service systemd-soft-reboot.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": "Mon 2024-11-11 19:56:01 EST", "ConditionTimestampMonotonic": "222669727", "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": "3698376704", "EffectiveMemoryMax": "3698376704", "EffectiveTasksMax": "22336", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 19:56:01 EST", "ExecMainExitTimestampMonotonic": "222718806", "ExecMainHandoffTimestamp": "Mon 2024-11-11 19:56:01 EST", "ExecMainHandoffTimestampMonotonic": "222680286", "ExecMainPID": "8592", "ExecMainStartTimestamp": "Mon 2024-11-11 19:56:01 EST", "ExecMainStartTimestampMonotonic": "222670566", "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": "Mon 2024-11-11 19:56:01 EST", "InactiveEnterTimestampMonotonic": "222668913", "InactiveExitTimestamp": "Mon 2024-11-11 19:56:01 EST", "InactiveExitTimestampMonotonic": "222670970", "InvocationID": "d51d6b5682324432ad40da6746ed8ad8", "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": "13960", "LimitNPROCSoft": "13960", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13960", "LimitSIGPENDINGSoft": "13960", "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": "3349659648", "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": "-.mount system.slice", "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": "Mon 2024-11-11 19:56:01 EST", "StateChangeTimestampMonotonic": "222718944", "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": "22336", "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 Monday 11 November 2024 19:56:07 -0500 (0:00:01.073) 0:00:19.932 ******* =============================================================================== fedora.linux_system_roles.journald : Ensure required packages are installed --- 3.39s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:15 Gathering Facts --------------------------------------------------------- 2.89s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:3 fedora.linux_system_roles.journald : Restart journald services ---------- 1.10s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/handlers/main.yml:3 Restart journald services ----------------------------------------------- 1.07s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:157 fedora.linux_system_roles.journald : Ensure required services are enabled --- 0.98s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:21 Reload systemd to ensure startlimit changes take effect upon restart ---- 0.84s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:48 Make a copy of the service files ---------------------------------------- 0.77s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:20 Change the startlimit to avoid errors with excessive journald restarts --- 0.76s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:28 Remove copy of the service files ---------------------------------------- 0.67s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:147 fedora.linux_system_roles.journald : Deploy journald configuration drop-in --- 0.66s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:44 Reload systemd to cleanup ----------------------------------------------- 0.66s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:153 fedora.linux_system_roles.journald : Create journald configuration drop-in directory --- 0.43s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/main.yml:28 fedora.linux_system_roles.journald : Apply tmpfiles.d snippet on persistent log store --- 0.43s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:11 Verify that /var/log/journal/$MACHINE_ID/system.journal exists ---------- 0.41s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:91 fedora.linux_system_roles.journald : Check if system is ostree ---------- 0.41s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/set_vars.yml:10 Get file ---------------------------------------------------------------- 0.41s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tasks/check_header.yml:3 Make a copy of the systemd-journald.service ----------------------------- 0.35s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:35 fedora.linux_system_roles.journald : Ensure persistent log store exists --- 0.35s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/roles/journald/tasks/persistent.yml:3 Change the startlimit to avoid errors with excessive journald restarts --- 0.34s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:42 Verify that system.journal is compressed -------------------------------- 0.34s /tmp/collections-TFg/ansible_collections/fedora/linux_system_roles/tests/journald/tests_example.yml:106