ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml PLAY [Test installing and uninstalling all supported versions] ***************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.017) 0:00:00.017 ******* ok: [managed-node2] META: ran handlers META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 15 August 2026 14:44:36 -0400 (0:00:01.025) 0:00:01.042 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 15 August 2026 14:44:36 -0400 (0:00:00.019) 0:00:01.062 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 15 August 2026 14:44:36 -0400 (0:00:00.023) 0:00:01.085 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 15 August 2026 14:44:36 -0400 (0:00:00.012) 0:00:01.097 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 15 August 2026 14:44:36 -0400 (0:00:00.120) 0:00:01.218 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 15 August 2026 14:44:36 -0400 (0:00:00.031) 0:00:01.249 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 15 August 2026 14:44:37 -0400 (0:00:00.674) 0:00:01.924 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-15T14:44:37-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 15 August 2026 14:44:37 -0400 (0:00:00.450) 0:00:02.375 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 15 August 2026 14:44:38 -0400 (0:00:00.445) 0:00:02.820 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 15 August 2026 14:44:38 -0400 (0:00:00.023) 0:00:02.843 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007859", "end": "2026-08-15 14:44:38.774073", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:44:38.766214" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 15 August 2026 14:44:38 -0400 (0:00:00.437) 0:00:03.281 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 15 August 2026 14:44:38 -0400 (0:00:00.025) 0:00:03.307 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 15 August 2026 14:44:38 -0400 (0:00:00.030) 0:00:03.337 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 15 August 2026 14:44:38 -0400 (0:00:00.059) 0:00:03.397 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 15 August 2026 14:44:39 -0400 (0:00:00.345) 0:00:03.742 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 15 August 2026 14:44:39 -0400 (0:00:00.345) 0:00:04.088 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 15 August 2026 14:44:39 -0400 (0:00:00.350) 0:00:04.438 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 15 August 2026 14:44:41 -0400 (0:00:01.589) 0:00:06.027 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 15 August 2026 14:44:41 -0400 (0:00:00.037) 0:00:06.064 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 15 August 2026 14:44:41 -0400 (0:00:00.030) 0:00:06.095 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 15 August 2026 14:44:41 -0400 (0:00:00.034) 0:00:06.129 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 15 August 2026 14:44:41 -0400 (0:00:00.034) 0:00:06.163 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server installed.", "Installed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Installed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } lsrpackages: @postgresql:13/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 15 August 2026 14:44:47 -0400 (0:00:06.044) 0:00:12.208 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.731526", "end": "2026-08-15 14:44:48.806669", "rc": 0, "start": "2026-08-15 14:44:48.075143" } STDERR: * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (without postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 15 August 2026 14:44:48 -0400 (0:00:01.104) 0:00:13.312 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 15 August 2026 14:44:48 -0400 (0:00:00.025) 0:00:13.338 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 15 August 2026 14:44:48 -0400 (0:00:00.019) 0:00:13.358 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 15 August 2026 14:44:48 -0400 (0:00:00.019) 0:00:13.378 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target system.slice network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 15 August 2026 14:44:50 -0400 (0:00:01.211) 0:00:14.589 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.018) 0:00:14.608 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.017) 0:00:14.626 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.017) 0:00:14.643 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.022) 0:00:14.666 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.018) 0:00:14.684 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.030) 0:00:14.715 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.018) 0:00:14.733 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.017) 0:00:14.751 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.017) 0:00:14.769 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.019) 0:00:14.788 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.018) 0:00:14.806 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.018) 0:00:14.824 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.018) 0:00:14.842 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.018) 0:00:14.861 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.041) 0:00:14.902 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.018) 0:00:14.921 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 15 August 2026 14:44:50 -0400 (0:00:00.422) 0:00:15.343 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 15 August 2026 14:44:51 -0400 (0:00:00.416) 0:00:15.760 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1786819491.3475745-12918-275568014360450/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 15 August 2026 14:44:52 -0400 (0:00:00.764) 0:00:16.524 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 15 August 2026 14:44:52 -0400 (0:00:00.018) 0:00:16.543 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 15 August 2026 14:44:52 -0400 (0:00:00.018) 0:00:16.561 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-15T14:44:52-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 15 August 2026 14:44:52 -0400 (0:00:00.347) 0:00:16.908 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 15 August 2026 14:44:52 -0400 (0:00:00.012) 0:00:16.920 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-15 14:44:50 EDT", "ActiveEnterTimestampMonotonic": "362041194", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-15 14:44:50 EDT", "AssertTimestampMonotonic": "361990332", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-15 14:44:50 EDT", "ConditionTimestampMonotonic": "361990331", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "30164", "ExecMainStartTimestamp": "Sat 2026-08-15 14:44:50 EDT", "ExecMainStartTimestampMonotonic": "361999951", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:44:50 EDT] ; stop_time=[n/a] ; pid=30164 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:44:50 EDT] ; stop_time=[Sat 2026-08-15 14:44:50 EDT] ; pid=30162 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-15 14:44:50 EDT", "InactiveExitTimestampMonotonic": "361991326", "InvocationID": "efad44d728f442a39e7f3e47c128f2a8", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30164", "MemoryAccounting": "yes", "MemoryCurrent": "17887232", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-15 14:44:50 EDT", "StateChangeTimestampMonotonic": "362041194", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-15 14:44:50 EDT", "WatchdogTimestampMonotonic": "362041192", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 15 August 2026 14:44:53 -0400 (0:00:00.922) 0:00:17.843 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008016", "end": "2026-08-15 14:44:53.685618", "rc": 0, "start": "2026-08-15 14:44:53.677602" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 15 August 2026 14:44:53 -0400 (0:00:00.346) 0:00:18.190 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008119", "end": "2026-08-15 14:44:54.023763", "rc": 0, "start": "2026-08-15 14:44:54.015644" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 15 August 2026 14:44:54 -0400 (0:00:00.337) 0:00:18.528 ******* ok: [managed-node2] => { "ansible_job_id": "289741410380.31372", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011953", "end": "2026-08-15 14:44:54.698511", "finished": 1, "rc": 0, "start": "2026-08-15 14:44:54.686558" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 15 August 2026 14:45:10 -0400 (0:00:15.953) 0:00:34.481 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009224", "end": "2026-08-15 14:45:10.334927", "rc": 0, "start": "2026-08-15 14:45:10.325703" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 15 August 2026 14:45:10 -0400 (0:00:00.361) 0:00:34.843 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 15 August 2026 14:45:10 -0400 (0:00:00.031) 0:00:34.874 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009827", "end": "2026-08-15 14:45:10.732976", "rc": 0, "start": "2026-08-15 14:45:10.723149" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 15 August 2026 14:45:10 -0400 (0:00:00.362) 0:00:35.237 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 15 August 2026 14:45:10 -0400 (0:00:00.031) 0:00:35.268 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009078", "end": "2026-08-15 14:45:11.107277", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:45:11.098199" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 15 August 2026 14:45:11 -0400 (0:00:00.352) 0:00:35.621 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 15 August 2026 14:45:11 -0400 (0:00:00.033) 0:00:35.654 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server removed.", "Removed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Removed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 15 August 2026 14:45:15 -0400 (0:00:04.641) 0:00:40.296 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 15 August 2026 14:45:15 -0400 (0:00:00.018) 0:00:40.314 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 15 August 2026 14:45:16 -0400 (0:00:00.378) 0:00:40.693 ******* ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 15 August 2026 14:45:17 -0400 (0:00:01.317) 0:00:42.010 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007207", "end": "2026-08-15 14:45:17.844582", "rc": 0, "start": "2026-08-15 14:45:17.837375" } STDOUT: -- Logs begin at Sat 2026-08-15 14:38:48 EDT, end at Sat 2026-08-15 14:45:17 EDT. -- Aug 15 14:43:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:10 managed-node2 postmaster[10413]: 2026-08-15 14:43:10.648 EDT [10413] LOG: redirecting log output to logging collector process Aug 15 14:43:10 managed-node2 postmaster[10413]: 2026-08-15 14:43:10.648 EDT [10413] HINT: Future log output will appear in directory "log". Aug 15 14:43:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:18 managed-node2 systemd[1]: postgresql.service: Killing process 10415 (postmaster) with signal SIGKILL. Aug 15 14:43:18 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:18 managed-node2 postmaster[12677]: 2026-08-15 14:43:18.511 EDT [12677] LOG: redirecting log output to logging collector process Aug 15 14:43:18 managed-node2 postmaster[12677]: 2026-08-15 14:43:18.511 EDT [12677] HINT: Future log output will appear in directory "log". Aug 15 14:43:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:22 managed-node2 systemd[1]: postgresql.service: Killing process 12678 (postmaster) with signal SIGKILL. Aug 15 14:43:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:54 managed-node2 postmaster[19287]: 2026-08-15 14:43:54.355 EDT [19287] LOG: redirecting log output to logging collector process Aug 15 14:43:54 managed-node2 postmaster[19287]: 2026-08-15 14:43:54.355 EDT [19287] HINT: Future log output will appear in directory "log". Aug 15 14:43:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 19288 (postmaster) with signal SIGKILL. Aug 15 14:43:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:59 managed-node2 postmaster[20827]: 2026-08-15 14:43:59.842 EDT [20827] LOG: redirecting log output to logging collector process Aug 15 14:43:59 managed-node2 postmaster[20827]: 2026-08-15 14:43:59.842 EDT [20827] HINT: Future log output will appear in directory "log". Aug 15 14:43:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:05 managed-node2 systemd[1]: postgresql.service: Killing process 20829 (postmaster) with signal SIGKILL. Aug 15 14:44:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:23 managed-node2 postmaster[25194]: 2026-08-15 14:44:23.924 EDT [25194] LOG: redirecting log output to logging collector process Aug 15 14:44:23 managed-node2 postmaster[25194]: 2026-08-15 14:44:23.924 EDT [25194] HINT: Future log output will appear in directory "log". Aug 15 14:44:23 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 25195 (postmaster) with signal SIGKILL. Aug 15 14:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:27 managed-node2 postmaster[25933]: 2026-08-15 14:44:27.015 EDT [25933] LOG: redirecting log output to logging collector process Aug 15 14:44:27 managed-node2 postmaster[25933]: 2026-08-15 14:44:27.015 EDT [25933] HINT: Future log output will appear in directory "log". Aug 15 14:44:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:30 managed-node2 systemd[1]: postgresql.service: Killing process 25935 (postmaster) with signal SIGKILL. Aug 15 14:44:30 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:50 managed-node2 postmaster[30164]: 2026-08-15 14:44:50.055 EDT [30164] LOG: redirecting log output to logging collector process Aug 15 14:44:50 managed-node2 postmaster[30164]: 2026-08-15 14:44:50.055 EDT [30164] HINT: Future log output will appear in directory "log". Aug 15 14:44:50 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:53 managed-node2 systemd[1]: postgresql.service: Killing process 30166 (postmaster) with signal SIGKILL. Aug 15 14:44:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:53 managed-node2 postmaster[30973]: 2026-08-15 14:44:53.311 EDT [30973] LOG: redirecting log output to logging collector process Aug 15 14:44:53 managed-node2 postmaster[30973]: 2026-08-15 14:44:53.311 EDT [30973] HINT: Future log output will appear in directory "log". Aug 15 14:44:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:15 managed-node2 systemd[1]: postgresql.service: Killing process 30974 (postmaster) with signal SIGKILL. Aug 15 14:45:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.346) 0:00:42.357 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.026) 0:00:42.384 ******* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.087) 0:00:42.472 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.030) 0:00:42.503 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.013) 0:00:42.516 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.025) 0:00:42.541 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.024) 0:00:42.566 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.674) 0:00:43.240 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-15T14:45:19-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.337) 0:00:43.578 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.013) 0:00:43.591 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.013) 0:00:43.605 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.013) 0:00:43.618 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.013) 0:00:43.631 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.013) 0:00:43.645 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.039) 0:00:43.684 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.333) 0:00:44.018 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.333) 0:00:44.351 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 15 August 2026 14:45:20 -0400 (0:00:00.335) 0:00:44.687 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 15 August 2026 14:45:21 -0400 (0:00:01.418) 0:00:46.105 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 15 August 2026 14:45:21 -0400 (0:00:00.033) 0:00:46.139 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 15 August 2026 14:45:21 -0400 (0:00:00.029) 0:00:46.168 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 15 August 2026 14:45:21 -0400 (0:00:00.029) 0:00:46.198 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 15 August 2026 14:45:21 -0400 (0:00:00.024) 0:00:46.222 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server installed.", "Installed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Installed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } lsrpackages: @postgresql:10/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 15 August 2026 14:45:28 -0400 (0:00:06.500) 0:00:52.723 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.699123", "end": "2026-08-15 14:45:29.285066", "rc": 0, "start": "2026-08-15 14:45:28.585943" } STDERR: * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (without postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 15 August 2026 14:45:29 -0400 (0:00:01.067) 0:00:53.791 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 15 August 2026 14:45:29 -0400 (0:00:00.021) 0:00:53.812 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 15 August 2026 14:45:29 -0400 (0:00:00.020) 0:00:53.833 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 15 August 2026 14:45:29 -0400 (0:00:00.019) 0:00:53.852 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target systemd-journald.socket system.slice sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 15 August 2026 14:45:30 -0400 (0:00:01.010) 0:00:54.863 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.019) 0:00:54.882 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.018) 0:00:54.901 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.018) 0:00:54.919 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.018) 0:00:54.937 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.042) 0:00:54.980 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.030) 0:00:55.011 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.018) 0:00:55.029 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.019) 0:00:55.048 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.017) 0:00:55.066 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.017) 0:00:55.084 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.018) 0:00:55.102 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.019) 0:00:55.122 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.018) 0:00:55.141 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.017) 0:00:55.159 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.018) 0:00:55.177 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 15 August 2026 14:45:30 -0400 (0:00:00.019) 0:00:55.197 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 15 August 2026 14:45:31 -0400 (0:00:00.342) 0:00:55.539 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 15 August 2026 14:45:31 -0400 (0:00:00.343) 0:00:55.883 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1786819531.4689565-13389-129464391447219/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 15 August 2026 14:45:32 -0400 (0:00:00.692) 0:00:56.576 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 15 August 2026 14:45:32 -0400 (0:00:00.018) 0:00:56.594 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 15 August 2026 14:45:32 -0400 (0:00:00.018) 0:00:56.613 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-15T14:45:32-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 15 August 2026 14:45:32 -0400 (0:00:00.345) 0:00:56.959 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 15 August 2026 14:45:32 -0400 (0:00:00.012) 0:00:56.971 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-15 14:45:30 EDT", "ActiveEnterTimestampMonotonic": "402318714", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target systemd-journald.socket network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-15 14:45:30 EDT", "AssertTimestampMonotonic": "402269815", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-15 14:45:30 EDT", "ConditionTimestampMonotonic": "402269815", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "35679", "ExecMainStartTimestamp": "Sat 2026-08-15 14:45:30 EDT", "ExecMainStartTimestampMonotonic": "402279192", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:45:30 EDT] ; stop_time=[n/a] ; pid=35679 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:45:30 EDT] ; stop_time=[Sat 2026-08-15 14:45:30 EDT] ; pid=35676 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-15 14:45:30 EDT", "InactiveExitTimestampMonotonic": "402270733", "InvocationID": "0ca493d6d4c4443fa2f9dae4885c8cfb", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35679", "MemoryAccounting": "yes", "MemoryCurrent": "16826368", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-15 14:45:30 EDT", "StateChangeTimestampMonotonic": "402318714", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-15 14:45:30 EDT", "WatchdogTimestampMonotonic": "402318712", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 15 August 2026 14:45:33 -0400 (0:00:00.923) 0:00:57.894 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008467", "end": "2026-08-15 14:45:33.740172", "rc": 0, "start": "2026-08-15 14:45:33.731705" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 15 August 2026 14:45:33 -0400 (0:00:00.349) 0:00:58.244 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008157", "end": "2026-08-15 14:45:34.087355", "rc": 0, "start": "2026-08-15 14:45:34.079198" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 15 August 2026 14:45:34 -0400 (0:00:00.347) 0:00:58.592 ******* ok: [managed-node2] => { "ansible_job_id": "663646722992.36886", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011506", "end": "2026-08-15 14:45:34.664601", "finished": 1, "rc": 0, "start": "2026-08-15 14:45:34.653095" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 15 August 2026 14:45:49 -0400 (0:00:15.745) 0:01:14.338 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009489", "end": "2026-08-15 14:45:50.198275", "rc": 0, "start": "2026-08-15 14:45:50.188786" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 15 August 2026 14:45:50 -0400 (0:00:00.366) 0:01:14.704 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 15 August 2026 14:45:50 -0400 (0:00:00.031) 0:01:14.736 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009046", "end": "2026-08-15 14:45:50.591291", "rc": 0, "start": "2026-08-15 14:45:50.582245" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 15 August 2026 14:45:50 -0400 (0:00:00.360) 0:01:15.096 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 15 August 2026 14:45:50 -0400 (0:00:00.036) 0:01:15.133 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006615", "end": "2026-08-15 14:45:50.971656", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:45:50.965041" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 15 August 2026 14:45:51 -0400 (0:00:00.347) 0:01:15.480 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 15 August 2026 14:45:51 -0400 (0:00:00.033) 0:01:15.513 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server removed.", "Removed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Removed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 15 August 2026 14:45:55 -0400 (0:00:04.611) 0:01:20.125 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 15 August 2026 14:45:55 -0400 (0:00:00.018) 0:01:20.143 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 15 August 2026 14:45:56 -0400 (0:00:00.380) 0:01:20.524 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 15 August 2026 14:45:57 -0400 (0:00:01.316) 0:01:21.840 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007364", "end": "2026-08-15 14:45:57.672630", "rc": 0, "start": "2026-08-15 14:45:57.665266" } STDOUT: -- Logs begin at Sat 2026-08-15 14:38:48 EDT, end at Sat 2026-08-15 14:45:57 EDT. -- Aug 15 14:43:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:10 managed-node2 postmaster[10413]: 2026-08-15 14:43:10.648 EDT [10413] LOG: redirecting log output to logging collector process Aug 15 14:43:10 managed-node2 postmaster[10413]: 2026-08-15 14:43:10.648 EDT [10413] HINT: Future log output will appear in directory "log". Aug 15 14:43:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:18 managed-node2 systemd[1]: postgresql.service: Killing process 10415 (postmaster) with signal SIGKILL. Aug 15 14:43:18 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:18 managed-node2 postmaster[12677]: 2026-08-15 14:43:18.511 EDT [12677] LOG: redirecting log output to logging collector process Aug 15 14:43:18 managed-node2 postmaster[12677]: 2026-08-15 14:43:18.511 EDT [12677] HINT: Future log output will appear in directory "log". Aug 15 14:43:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:22 managed-node2 systemd[1]: postgresql.service: Killing process 12678 (postmaster) with signal SIGKILL. Aug 15 14:43:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:54 managed-node2 postmaster[19287]: 2026-08-15 14:43:54.355 EDT [19287] LOG: redirecting log output to logging collector process Aug 15 14:43:54 managed-node2 postmaster[19287]: 2026-08-15 14:43:54.355 EDT [19287] HINT: Future log output will appear in directory "log". Aug 15 14:43:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 19288 (postmaster) with signal SIGKILL. Aug 15 14:43:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:59 managed-node2 postmaster[20827]: 2026-08-15 14:43:59.842 EDT [20827] LOG: redirecting log output to logging collector process Aug 15 14:43:59 managed-node2 postmaster[20827]: 2026-08-15 14:43:59.842 EDT [20827] HINT: Future log output will appear in directory "log". Aug 15 14:43:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:05 managed-node2 systemd[1]: postgresql.service: Killing process 20829 (postmaster) with signal SIGKILL. Aug 15 14:44:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:23 managed-node2 postmaster[25194]: 2026-08-15 14:44:23.924 EDT [25194] LOG: redirecting log output to logging collector process Aug 15 14:44:23 managed-node2 postmaster[25194]: 2026-08-15 14:44:23.924 EDT [25194] HINT: Future log output will appear in directory "log". Aug 15 14:44:23 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 25195 (postmaster) with signal SIGKILL. Aug 15 14:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:27 managed-node2 postmaster[25933]: 2026-08-15 14:44:27.015 EDT [25933] LOG: redirecting log output to logging collector process Aug 15 14:44:27 managed-node2 postmaster[25933]: 2026-08-15 14:44:27.015 EDT [25933] HINT: Future log output will appear in directory "log". Aug 15 14:44:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:30 managed-node2 systemd[1]: postgresql.service: Killing process 25935 (postmaster) with signal SIGKILL. Aug 15 14:44:30 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:50 managed-node2 postmaster[30164]: 2026-08-15 14:44:50.055 EDT [30164] LOG: redirecting log output to logging collector process Aug 15 14:44:50 managed-node2 postmaster[30164]: 2026-08-15 14:44:50.055 EDT [30164] HINT: Future log output will appear in directory "log". Aug 15 14:44:50 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:53 managed-node2 systemd[1]: postgresql.service: Killing process 30166 (postmaster) with signal SIGKILL. Aug 15 14:44:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:53 managed-node2 postmaster[30973]: 2026-08-15 14:44:53.311 EDT [30973] LOG: redirecting log output to logging collector process Aug 15 14:44:53 managed-node2 postmaster[30973]: 2026-08-15 14:44:53.311 EDT [30973] HINT: Future log output will appear in directory "log". Aug 15 14:44:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:15 managed-node2 systemd[1]: postgresql.service: Killing process 30974 (postmaster) with signal SIGKILL. Aug 15 14:45:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.323 EDT [35679] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.323 EDT [35679] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.325 EDT [35679] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.329 EDT [35679] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.339 EDT [35679] LOG: redirecting log output to logging collector process Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.339 EDT [35679] HINT: Future log output will appear in directory "log". Aug 15 14:45:30 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:33 managed-node2 systemd[1]: postgresql.service: Killing process 35680 (postmaster) with signal SIGKILL. Aug 15 14:45:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.335 EDT [36487] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.335 EDT [36487] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.337 EDT [36487] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.341 EDT [36487] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.369 EDT [36487] LOG: redirecting log output to logging collector process Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.369 EDT [36487] HINT: Future log output will appear in directory "log". Aug 15 14:45:33 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:54 managed-node2 systemd[1]: postgresql.service: Killing process 36488 (postmaster) with signal SIGKILL. Aug 15 14:45:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 15 August 2026 14:45:57 -0400 (0:00:00.342) 0:01:22.182 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 15 August 2026 14:45:57 -0400 (0:00:00.031) 0:01:22.214 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 15 August 2026 14:45:57 -0400 (0:00:00.013) 0:01:22.227 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 15 August 2026 14:45:57 -0400 (0:00:00.025) 0:01:22.252 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 15 August 2026 14:45:57 -0400 (0:00:00.023) 0:01:22.276 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 15 August 2026 14:45:58 -0400 (0:00:00.663) 0:01:22.939 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-15T14:45:58-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 15 August 2026 14:45:58 -0400 (0:00:00.328) 0:01:23.268 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 15 August 2026 14:45:58 -0400 (0:00:00.013) 0:01:23.282 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 15 August 2026 14:45:58 -0400 (0:00:00.013) 0:01:23.295 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 15 August 2026 14:45:58 -0400 (0:00:00.013) 0:01:23.308 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 15 August 2026 14:45:58 -0400 (0:00:00.012) 0:01:23.321 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 15 August 2026 14:45:58 -0400 (0:00:00.013) 0:01:23.334 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 15 August 2026 14:45:58 -0400 (0:00:00.038) 0:01:23.373 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.329) 0:01:23.702 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.328) 0:01:24.030 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.330) 0:01:24.360 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 15 August 2026 14:46:01 -0400 (0:00:01.394) 0:01:25.754 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 15 August 2026 14:46:01 -0400 (0:00:00.060) 0:01:25.815 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 15 August 2026 14:46:01 -0400 (0:00:00.030) 0:01:25.845 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 15 August 2026 14:46:01 -0400 (0:00:00.029) 0:01:25.874 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 15 August 2026 14:46:01 -0400 (0:00:00.023) 0:01:25.898 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server installed.", "Installed: postgresql-12.15-3.module_el8+514+f9db76aa.x86_64", "Installed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64" ] } lsrpackages: @postgresql:12/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 15 August 2026 14:46:07 -0400 (0:00:05.978) 0:01:31.877 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.741812", "end": "2026-08-15 14:46:08.472102", "rc": 0, "start": "2026-08-15 14:46:07.730290" } STDERR: * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (without postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 15 August 2026 14:46:08 -0400 (0:00:01.100) 0:01:32.977 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 15 August 2026 14:46:08 -0400 (0:00:00.021) 0:01:32.999 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 15 August 2026 14:46:08 -0400 (0:00:00.019) 0:01:33.019 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 15 August 2026 14:46:08 -0400 (0:00:00.019) 0:01:33.038 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target basic.target sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 15 August 2026 14:46:09 -0400 (0:00:01.019) 0:01:34.057 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.018) 0:01:34.076 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.018) 0:01:34.094 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.018) 0:01:34.113 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.018) 0:01:34.131 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.018) 0:01:34.149 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.030) 0:01:34.180 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.018) 0:01:34.199 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.019) 0:01:34.218 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.018) 0:01:34.237 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.018) 0:01:34.255 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.023) 0:01:34.278 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.019) 0:01:34.298 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.018) 0:01:34.317 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.018) 0:01:34.335 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.017) 0:01:34.353 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 15 August 2026 14:46:09 -0400 (0:00:00.042) 0:01:34.396 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 15 August 2026 14:46:10 -0400 (0:00:00.345) 0:01:34.741 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 15 August 2026 14:46:10 -0400 (0:00:00.341) 0:01:35.083 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1786819570.6687014-13856-176883154219516/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 15 August 2026 14:46:11 -0400 (0:00:00.684) 0:01:35.768 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 15 August 2026 14:46:11 -0400 (0:00:00.019) 0:01:35.787 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 15 August 2026 14:46:11 -0400 (0:00:00.018) 0:01:35.806 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-15T14:46:11-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 15 August 2026 14:46:11 -0400 (0:00:00.351) 0:01:36.157 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 15 August 2026 14:46:11 -0400 (0:00:00.012) 0:01:36.169 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-15 14:46:09 EDT", "ActiveEnterTimestampMonotonic": "441511324", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-15 14:46:09 EDT", "AssertTimestampMonotonic": "441460481", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-15 14:46:09 EDT", "ConditionTimestampMonotonic": "441460480", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "41221", "ExecMainStartTimestamp": "Sat 2026-08-15 14:46:09 EDT", "ExecMainStartTimestampMonotonic": "441470239", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:46:09 EDT] ; stop_time=[n/a] ; pid=41221 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:46:09 EDT] ; stop_time=[Sat 2026-08-15 14:46:09 EDT] ; pid=41218 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-15 14:46:09 EDT", "InactiveExitTimestampMonotonic": "441461448", "InvocationID": "b8b42f14777b40e499b6fb815c4103ab", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41221", "MemoryAccounting": "yes", "MemoryCurrent": "17801216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-15 14:46:09 EDT", "StateChangeTimestampMonotonic": "441511324", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-15 14:46:09 EDT", "WatchdogTimestampMonotonic": "441511322", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 15 August 2026 14:46:12 -0400 (0:00:00.920) 0:01:37.089 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007773", "end": "2026-08-15 14:46:12.928255", "rc": 0, "start": "2026-08-15 14:46:12.920482" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 15 August 2026 14:46:12 -0400 (0:00:00.343) 0:01:37.432 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008189", "end": "2026-08-15 14:46:13.269270", "rc": 0, "start": "2026-08-15 14:46:13.261081" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 15 August 2026 14:46:13 -0400 (0:00:00.340) 0:01:37.773 ******* ok: [managed-node2] => { "ansible_job_id": "621494037048.42428", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011593", "end": "2026-08-15 14:46:13.835750", "finished": 1, "rc": 0, "start": "2026-08-15 14:46:13.824157" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 15 August 2026 14:46:29 -0400 (0:00:15.741) 0:01:53.514 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009870", "end": "2026-08-15 14:46:29.369817", "rc": 0, "start": "2026-08-15 14:46:29.359947" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 15 August 2026 14:46:29 -0400 (0:00:00.386) 0:01:53.901 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 15 August 2026 14:46:29 -0400 (0:00:00.032) 0:01:53.933 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009779", "end": "2026-08-15 14:46:29.785832", "rc": 0, "start": "2026-08-15 14:46:29.776053" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 15 August 2026 14:46:29 -0400 (0:00:00.358) 0:01:54.292 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 15 August 2026 14:46:29 -0400 (0:00:00.033) 0:01:54.325 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008847", "end": "2026-08-15 14:46:30.166497", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:46:30.157650" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 15 August 2026 14:46:30 -0400 (0:00:00.349) 0:01:54.675 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 15 August 2026 14:46:30 -0400 (0:00:00.032) 0:01:54.707 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server removed.", "Removed: postgresql-12.15-3.module_el8+514+f9db76aa.x86_64", "Removed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 15 August 2026 14:46:34 -0400 (0:00:04.639) 0:01:59.347 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 15 August 2026 14:46:34 -0400 (0:00:00.019) 0:01:59.366 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 15 August 2026 14:46:35 -0400 (0:00:00.384) 0:01:59.750 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 15 August 2026 14:46:36 -0400 (0:00:01.324) 0:02:01.075 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007390", "end": "2026-08-15 14:46:36.912991", "rc": 0, "start": "2026-08-15 14:46:36.905601" } STDOUT: -- Logs begin at Sat 2026-08-15 14:38:48 EDT, end at Sat 2026-08-15 14:46:36 EDT. -- Aug 15 14:43:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:10 managed-node2 postmaster[10413]: 2026-08-15 14:43:10.648 EDT [10413] LOG: redirecting log output to logging collector process Aug 15 14:43:10 managed-node2 postmaster[10413]: 2026-08-15 14:43:10.648 EDT [10413] HINT: Future log output will appear in directory "log". Aug 15 14:43:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:18 managed-node2 systemd[1]: postgresql.service: Killing process 10415 (postmaster) with signal SIGKILL. Aug 15 14:43:18 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:18 managed-node2 postmaster[12677]: 2026-08-15 14:43:18.511 EDT [12677] LOG: redirecting log output to logging collector process Aug 15 14:43:18 managed-node2 postmaster[12677]: 2026-08-15 14:43:18.511 EDT [12677] HINT: Future log output will appear in directory "log". Aug 15 14:43:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:22 managed-node2 systemd[1]: postgresql.service: Killing process 12678 (postmaster) with signal SIGKILL. Aug 15 14:43:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:54 managed-node2 postmaster[19287]: 2026-08-15 14:43:54.355 EDT [19287] LOG: redirecting log output to logging collector process Aug 15 14:43:54 managed-node2 postmaster[19287]: 2026-08-15 14:43:54.355 EDT [19287] HINT: Future log output will appear in directory "log". Aug 15 14:43:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 19288 (postmaster) with signal SIGKILL. Aug 15 14:43:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:59 managed-node2 postmaster[20827]: 2026-08-15 14:43:59.842 EDT [20827] LOG: redirecting log output to logging collector process Aug 15 14:43:59 managed-node2 postmaster[20827]: 2026-08-15 14:43:59.842 EDT [20827] HINT: Future log output will appear in directory "log". Aug 15 14:43:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:05 managed-node2 systemd[1]: postgresql.service: Killing process 20829 (postmaster) with signal SIGKILL. Aug 15 14:44:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:23 managed-node2 postmaster[25194]: 2026-08-15 14:44:23.924 EDT [25194] LOG: redirecting log output to logging collector process Aug 15 14:44:23 managed-node2 postmaster[25194]: 2026-08-15 14:44:23.924 EDT [25194] HINT: Future log output will appear in directory "log". Aug 15 14:44:23 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 25195 (postmaster) with signal SIGKILL. Aug 15 14:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:27 managed-node2 postmaster[25933]: 2026-08-15 14:44:27.015 EDT [25933] LOG: redirecting log output to logging collector process Aug 15 14:44:27 managed-node2 postmaster[25933]: 2026-08-15 14:44:27.015 EDT [25933] HINT: Future log output will appear in directory "log". Aug 15 14:44:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:30 managed-node2 systemd[1]: postgresql.service: Killing process 25935 (postmaster) with signal SIGKILL. Aug 15 14:44:30 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:50 managed-node2 postmaster[30164]: 2026-08-15 14:44:50.055 EDT [30164] LOG: redirecting log output to logging collector process Aug 15 14:44:50 managed-node2 postmaster[30164]: 2026-08-15 14:44:50.055 EDT [30164] HINT: Future log output will appear in directory "log". Aug 15 14:44:50 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:53 managed-node2 systemd[1]: postgresql.service: Killing process 30166 (postmaster) with signal SIGKILL. Aug 15 14:44:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:53 managed-node2 postmaster[30973]: 2026-08-15 14:44:53.311 EDT [30973] LOG: redirecting log output to logging collector process Aug 15 14:44:53 managed-node2 postmaster[30973]: 2026-08-15 14:44:53.311 EDT [30973] HINT: Future log output will appear in directory "log". Aug 15 14:44:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:15 managed-node2 systemd[1]: postgresql.service: Killing process 30974 (postmaster) with signal SIGKILL. Aug 15 14:45:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.323 EDT [35679] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.323 EDT [35679] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.325 EDT [35679] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.329 EDT [35679] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.339 EDT [35679] LOG: redirecting log output to logging collector process Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.339 EDT [35679] HINT: Future log output will appear in directory "log". Aug 15 14:45:30 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:33 managed-node2 systemd[1]: postgresql.service: Killing process 35680 (postmaster) with signal SIGKILL. Aug 15 14:45:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.335 EDT [36487] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.335 EDT [36487] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.337 EDT [36487] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.341 EDT [36487] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.369 EDT [36487] LOG: redirecting log output to logging collector process Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.369 EDT [36487] HINT: Future log output will appear in directory "log". Aug 15 14:45:33 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:54 managed-node2 systemd[1]: postgresql.service: Killing process 36488 (postmaster) with signal SIGKILL. Aug 15 14:45:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.515 EDT [41221] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.515 EDT [41221] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.515 EDT [41221] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.517 EDT [41221] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.521 EDT [41221] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.531 EDT [41221] LOG: redirecting log output to logging collector process Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.531 EDT [41221] HINT: Future log output will appear in directory "log". Aug 15 14:46:09 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:12 managed-node2 systemd[1]: postgresql.service: Killing process 41222 (postmaster) with signal SIGKILL. Aug 15 14:46:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.529 EDT [42028] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.529 EDT [42028] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.529 EDT [42028] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.531 EDT [42028] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.535 EDT [42028] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.563 EDT [42028] LOG: redirecting log output to logging collector process Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.563 EDT [42028] HINT: Future log output will appear in directory "log". Aug 15 14:46:12 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:34 managed-node2 systemd[1]: postgresql.service: Killing process 42030 (postmaster) with signal SIGKILL. Aug 15 14:46:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 15 August 2026 14:46:36 -0400 (0:00:00.342) 0:02:01.418 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 15 August 2026 14:46:37 -0400 (0:00:00.060) 0:02:01.478 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 15 August 2026 14:46:37 -0400 (0:00:00.013) 0:02:01.492 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 15 August 2026 14:46:37 -0400 (0:00:00.025) 0:02:01.517 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 15 August 2026 14:46:37 -0400 (0:00:00.025) 0:02:01.542 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 15 August 2026 14:46:37 -0400 (0:00:00.670) 0:02:02.213 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-15T14:46:38-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.336) 0:02:02.550 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.013) 0:02:02.564 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.013) 0:02:02.578 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.013) 0:02:02.591 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.013) 0:02:02.605 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.013) 0:02:02.618 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.038) 0:02:02.656 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.326) 0:02:02.983 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.330) 0:02:03.313 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 15 August 2026 14:46:39 -0400 (0:00:00.326) 0:02:03.640 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 15 August 2026 14:46:40 -0400 (0:00:01.364) 0:02:05.004 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.031) 0:02:05.036 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.028) 0:02:05.064 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.028) 0:02:05.093 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.026) 0:02:05.119 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server installed.", "Installed: postgresql-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Installed: postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Installed: postgresql-private-libs-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64" ] } lsrpackages: @postgresql:15/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 15 August 2026 14:46:46 -0400 (0:00:06.009) 0:02:11.129 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.726397", "end": "2026-08-15 14:46:47.735210", "rc": 0, "start": "2026-08-15 14:46:47.008813" } STDERR: * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (without postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 15 August 2026 14:46:47 -0400 (0:00:01.112) 0:02:12.241 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 15 August 2026 14:46:47 -0400 (0:00:00.021) 0:02:12.263 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 15 August 2026 14:46:47 -0400 (0:00:00.019) 0:02:12.282 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 15 August 2026 14:46:47 -0400 (0:00:00.019) 0:02:12.302 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target sysinit.target basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 15 August 2026 14:46:48 -0400 (0:00:01.042) 0:02:13.344 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 15 August 2026 14:46:48 -0400 (0:00:00.019) 0:02:13.363 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 15 August 2026 14:46:48 -0400 (0:00:00.018) 0:02:13.382 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 15 August 2026 14:46:48 -0400 (0:00:00.018) 0:02:13.401 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 15 August 2026 14:46:48 -0400 (0:00:00.018) 0:02:13.419 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 15 August 2026 14:46:48 -0400 (0:00:00.019) 0:02:13.439 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.030) 0:02:13.469 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.019) 0:02:13.489 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.018) 0:02:13.508 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.018) 0:02:13.526 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.018) 0:02:13.544 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.024) 0:02:13.569 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.019) 0:02:13.588 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.018) 0:02:13.607 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.018) 0:02:13.625 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.044) 0:02:13.670 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.019) 0:02:13.689 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.356) 0:02:14.045 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 15 August 2026 14:46:49 -0400 (0:00:00.351) 0:02:14.397 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1786819609.985108-14323-161391680424997/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 15 August 2026 14:46:50 -0400 (0:00:00.692) 0:02:15.090 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 15 August 2026 14:46:50 -0400 (0:00:00.018) 0:02:15.109 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 15 August 2026 14:46:50 -0400 (0:00:00.019) 0:02:15.128 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-15T14:46:50-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 15 August 2026 14:46:51 -0400 (0:00:00.346) 0:02:15.475 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 15 August 2026 14:46:51 -0400 (0:00:00.012) 0:02:15.487 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-15 14:46:48 EDT", "ActiveEnterTimestampMonotonic": "480793345", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-15 14:46:48 EDT", "AssertTimestampMonotonic": "480741156", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-15 14:46:48 EDT", "ConditionTimestampMonotonic": "480741155", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "46775", "ExecMainStartTimestamp": "Sat 2026-08-15 14:46:48 EDT", "ExecMainStartTimestampMonotonic": "480751053", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:46:48 EDT] ; stop_time=[n/a] ; pid=46775 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:46:48 EDT] ; stop_time=[Sat 2026-08-15 14:46:48 EDT] ; pid=46772 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-15 14:46:48 EDT", "InactiveExitTimestampMonotonic": "480742179", "InvocationID": "748204e2bcbb4ebfbd643e5373906e35", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "46775", "MemoryAccounting": "yes", "MemoryCurrent": "18452480", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-15 14:46:48 EDT", "StateChangeTimestampMonotonic": "480793345", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-15 14:46:48 EDT", "WatchdogTimestampMonotonic": "480793343", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 15 August 2026 14:46:51 -0400 (0:00:00.928) 0:02:16.416 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007928", "end": "2026-08-15 14:46:52.259192", "rc": 0, "start": "2026-08-15 14:46:52.251264" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 15 August 2026 14:46:52 -0400 (0:00:00.346) 0:02:16.763 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008116", "end": "2026-08-15 14:46:52.595982", "rc": 0, "start": "2026-08-15 14:46:52.587866" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 15 August 2026 14:46:52 -0400 (0:00:00.336) 0:02:17.100 ******* ok: [managed-node2] => { "ansible_job_id": "996996664318.47980", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012266", "end": "2026-08-15 14:46:53.167768", "finished": 1, "rc": 0, "start": "2026-08-15 14:46:53.155502" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 15 August 2026 14:47:08 -0400 (0:00:15.739) 0:02:32.839 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009574", "end": "2026-08-15 14:47:08.694931", "rc": 0, "start": "2026-08-15 14:47:08.685357" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 15 August 2026 14:47:08 -0400 (0:00:00.360) 0:02:33.200 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 15 August 2026 14:47:08 -0400 (0:00:00.031) 0:02:33.232 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009466", "end": "2026-08-15 14:47:09.094259", "rc": 0, "start": "2026-08-15 14:47:09.084793" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.366) 0:02:33.599 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.032) 0:02:33.631 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009029", "end": "2026-08-15 14:47:09.468846", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:47:09.459817" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.346) 0:02:33.977 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.032) 0:02:34.010 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server removed.", "Removed: postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Removed: postgresql-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Removed: postgresql-private-libs-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 15 August 2026 14:47:14 -0400 (0:00:04.653) 0:02:38.663 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 15 August 2026 14:47:14 -0400 (0:00:00.018) 0:02:38.682 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 15 August 2026 14:47:14 -0400 (0:00:00.378) 0:02:39.060 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 15 August 2026 14:47:15 -0400 (0:00:01.320) 0:02:40.381 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007662", "end": "2026-08-15 14:47:16.215860", "rc": 0, "start": "2026-08-15 14:47:16.208198" } STDOUT: -- Logs begin at Sat 2026-08-15 14:38:48 EDT, end at Sat 2026-08-15 14:47:16 EDT. -- Aug 15 14:43:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:10 managed-node2 postmaster[10413]: 2026-08-15 14:43:10.648 EDT [10413] LOG: redirecting log output to logging collector process Aug 15 14:43:10 managed-node2 postmaster[10413]: 2026-08-15 14:43:10.648 EDT [10413] HINT: Future log output will appear in directory "log". Aug 15 14:43:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:18 managed-node2 systemd[1]: postgresql.service: Killing process 10415 (postmaster) with signal SIGKILL. Aug 15 14:43:18 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:18 managed-node2 postmaster[12677]: 2026-08-15 14:43:18.511 EDT [12677] LOG: redirecting log output to logging collector process Aug 15 14:43:18 managed-node2 postmaster[12677]: 2026-08-15 14:43:18.511 EDT [12677] HINT: Future log output will appear in directory "log". Aug 15 14:43:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:22 managed-node2 systemd[1]: postgresql.service: Killing process 12678 (postmaster) with signal SIGKILL. Aug 15 14:43:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:54 managed-node2 postmaster[19287]: 2026-08-15 14:43:54.355 EDT [19287] LOG: redirecting log output to logging collector process Aug 15 14:43:54 managed-node2 postmaster[19287]: 2026-08-15 14:43:54.355 EDT [19287] HINT: Future log output will appear in directory "log". Aug 15 14:43:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 19288 (postmaster) with signal SIGKILL. Aug 15 14:43:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:59 managed-node2 postmaster[20827]: 2026-08-15 14:43:59.842 EDT [20827] LOG: redirecting log output to logging collector process Aug 15 14:43:59 managed-node2 postmaster[20827]: 2026-08-15 14:43:59.842 EDT [20827] HINT: Future log output will appear in directory "log". Aug 15 14:43:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:05 managed-node2 systemd[1]: postgresql.service: Killing process 20829 (postmaster) with signal SIGKILL. Aug 15 14:44:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:23 managed-node2 postmaster[25194]: 2026-08-15 14:44:23.924 EDT [25194] LOG: redirecting log output to logging collector process Aug 15 14:44:23 managed-node2 postmaster[25194]: 2026-08-15 14:44:23.924 EDT [25194] HINT: Future log output will appear in directory "log". Aug 15 14:44:23 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 25195 (postmaster) with signal SIGKILL. Aug 15 14:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:27 managed-node2 postmaster[25933]: 2026-08-15 14:44:27.015 EDT [25933] LOG: redirecting log output to logging collector process Aug 15 14:44:27 managed-node2 postmaster[25933]: 2026-08-15 14:44:27.015 EDT [25933] HINT: Future log output will appear in directory "log". Aug 15 14:44:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:30 managed-node2 systemd[1]: postgresql.service: Killing process 25935 (postmaster) with signal SIGKILL. Aug 15 14:44:30 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:50 managed-node2 postmaster[30164]: 2026-08-15 14:44:50.055 EDT [30164] LOG: redirecting log output to logging collector process Aug 15 14:44:50 managed-node2 postmaster[30164]: 2026-08-15 14:44:50.055 EDT [30164] HINT: Future log output will appear in directory "log". Aug 15 14:44:50 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:53 managed-node2 systemd[1]: postgresql.service: Killing process 30166 (postmaster) with signal SIGKILL. Aug 15 14:44:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:53 managed-node2 postmaster[30973]: 2026-08-15 14:44:53.311 EDT [30973] LOG: redirecting log output to logging collector process Aug 15 14:44:53 managed-node2 postmaster[30973]: 2026-08-15 14:44:53.311 EDT [30973] HINT: Future log output will appear in directory "log". Aug 15 14:44:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:15 managed-node2 systemd[1]: postgresql.service: Killing process 30974 (postmaster) with signal SIGKILL. Aug 15 14:45:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.323 EDT [35679] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.323 EDT [35679] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.325 EDT [35679] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.329 EDT [35679] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.339 EDT [35679] LOG: redirecting log output to logging collector process Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.339 EDT [35679] HINT: Future log output will appear in directory "log". Aug 15 14:45:30 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:33 managed-node2 systemd[1]: postgresql.service: Killing process 35680 (postmaster) with signal SIGKILL. Aug 15 14:45:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.335 EDT [36487] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.335 EDT [36487] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.337 EDT [36487] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.341 EDT [36487] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.369 EDT [36487] LOG: redirecting log output to logging collector process Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.369 EDT [36487] HINT: Future log output will appear in directory "log". Aug 15 14:45:33 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:54 managed-node2 systemd[1]: postgresql.service: Killing process 36488 (postmaster) with signal SIGKILL. Aug 15 14:45:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.515 EDT [41221] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.515 EDT [41221] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.515 EDT [41221] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.517 EDT [41221] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.521 EDT [41221] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.531 EDT [41221] LOG: redirecting log output to logging collector process Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.531 EDT [41221] HINT: Future log output will appear in directory "log". Aug 15 14:46:09 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:12 managed-node2 systemd[1]: postgresql.service: Killing process 41222 (postmaster) with signal SIGKILL. Aug 15 14:46:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.529 EDT [42028] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.529 EDT [42028] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.529 EDT [42028] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.531 EDT [42028] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.535 EDT [42028] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.563 EDT [42028] LOG: redirecting log output to logging collector process Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.563 EDT [42028] HINT: Future log output will appear in directory "log". Aug 15 14:46:12 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:34 managed-node2 systemd[1]: postgresql.service: Killing process 42030 (postmaster) with signal SIGKILL. Aug 15 14:46:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:48 managed-node2 postmaster[46775]: 2026-08-15 14:46:48.806 EDT [46775] LOG: redirecting log output to logging collector process Aug 15 14:46:48 managed-node2 postmaster[46775]: 2026-08-15 14:46:48.806 EDT [46775] HINT: Future log output will appear in directory "log". Aug 15 14:46:48 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:51 managed-node2 systemd[1]: postgresql.service: Killing process 46776 (postmaster) with signal SIGKILL. Aug 15 14:46:51 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:51 managed-node2 postmaster[47582]: 2026-08-15 14:46:51.884 EDT [47582] LOG: redirecting log output to logging collector process Aug 15 14:46:51 managed-node2 postmaster[47582]: 2026-08-15 14:46:51.884 EDT [47582] HINT: Future log output will appear in directory "log". Aug 15 14:46:51 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:47:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:47:13 managed-node2 systemd[1]: postgresql.service: Killing process 47583 (postmaster) with signal SIGKILL. Aug 15 14:47:13 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:47:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 15 August 2026 14:47:16 -0400 (0:00:00.340) 0:02:40.722 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 15 August 2026 14:47:16 -0400 (0:00:00.032) 0:02:40.754 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 15 August 2026 14:47:16 -0400 (0:00:00.017) 0:02:40.772 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 15 August 2026 14:47:16 -0400 (0:00:00.025) 0:02:40.798 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 15 August 2026 14:47:16 -0400 (0:00:00.024) 0:02:40.822 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 15 August 2026 14:47:17 -0400 (0:00:00.666) 0:02:41.489 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-15T14:47:17-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 15 August 2026 14:47:17 -0400 (0:00:00.329) 0:02:41.819 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 15 August 2026 14:47:17 -0400 (0:00:00.013) 0:02:41.832 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 15 August 2026 14:47:17 -0400 (0:00:00.013) 0:02:41.846 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 15 August 2026 14:47:17 -0400 (0:00:00.013) 0:02:41.860 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 15 August 2026 14:47:17 -0400 (0:00:00.013) 0:02:41.873 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 15 August 2026 14:47:17 -0400 (0:00:00.013) 0:02:41.886 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 15 August 2026 14:47:17 -0400 (0:00:00.039) 0:02:41.926 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 15 August 2026 14:47:17 -0400 (0:00:00.327) 0:02:42.254 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 15 August 2026 14:47:18 -0400 (0:00:00.329) 0:02:42.584 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 15 August 2026 14:47:18 -0400 (0:00:00.329) 0:02:42.913 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 15 August 2026 14:47:19 -0400 (0:00:01.378) 0:02:44.292 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 15 August 2026 14:47:19 -0400 (0:00:00.031) 0:02:44.324 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 15 August 2026 14:47:19 -0400 (0:00:00.029) 0:02:44.353 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 15 August 2026 14:47:19 -0400 (0:00:00.029) 0:02:44.383 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 15 August 2026 14:47:19 -0400 (0:00:00.026) 0:02:44.409 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server installed.", "Installed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64" ] } lsrpackages: @postgresql:16/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 15 August 2026 14:47:26 -0400 (0:00:06.374) 0:02:50.784 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.690513", "end": "2026-08-15 14:47:27.330763", "rc": 0, "start": "2026-08-15 14:47:26.640250" } STDERR: * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (without postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 15 August 2026 14:47:27 -0400 (0:00:01.079) 0:02:51.864 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 15 August 2026 14:47:27 -0400 (0:00:00.021) 0:02:51.885 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 15 August 2026 14:47:27 -0400 (0:00:00.019) 0:02:51.904 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 15 August 2026 14:47:27 -0400 (0:00:00.019) 0:02:51.924 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice network-online.target basic.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 15 August 2026 14:47:28 -0400 (0:00:01.018) 0:02:52.943 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.019) 0:02:52.962 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.018) 0:02:52.980 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.018) 0:02:52.999 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.018) 0:02:53.017 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.019) 0:02:53.037 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.030) 0:02:53.067 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.019) 0:02:53.087 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.018) 0:02:53.106 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.018) 0:02:53.124 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.018) 0:02:53.142 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.019) 0:02:53.162 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.018) 0:02:53.180 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.018) 0:02:53.199 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.018) 0:02:53.217 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.019) 0:02:53.237 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 15 August 2026 14:47:28 -0400 (0:00:00.040) 0:02:53.277 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 15 August 2026 14:47:29 -0400 (0:00:00.344) 0:02:53.622 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 15 August 2026 14:47:29 -0400 (0:00:00.341) 0:02:53.964 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1786819649.5495892-14793-49575696798365/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 15 August 2026 14:47:30 -0400 (0:00:00.684) 0:02:54.648 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 15 August 2026 14:47:30 -0400 (0:00:00.018) 0:02:54.667 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 15 August 2026 14:47:30 -0400 (0:00:00.019) 0:02:54.686 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-15T14:47:30-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 15 August 2026 14:47:30 -0400 (0:00:00.344) 0:02:55.030 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 15 August 2026 14:47:30 -0400 (0:00:00.012) 0:02:55.042 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-15 14:47:28 EDT", "ActiveEnterTimestampMonotonic": "520394242", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target network-online.target system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-15 14:47:28 EDT", "AssertTimestampMonotonic": "520343189", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-15 14:47:28 EDT", "ConditionTimestampMonotonic": "520343189", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "52322", "ExecMainStartTimestamp": "Sat 2026-08-15 14:47:28 EDT", "ExecMainStartTimestampMonotonic": "520353244", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:47:28 EDT] ; stop_time=[n/a] ; pid=52322 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:47:28 EDT] ; stop_time=[Sat 2026-08-15 14:47:28 EDT] ; pid=52319 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-15 14:47:28 EDT", "InactiveExitTimestampMonotonic": "520344158", "InvocationID": "222100c6741e445281f9d0420f145432", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52322", "MemoryAccounting": "yes", "MemoryCurrent": "18706432", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-15 14:47:28 EDT", "StateChangeTimestampMonotonic": "520394242", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-15 14:47:28 EDT", "WatchdogTimestampMonotonic": "520394240", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 15 August 2026 14:47:31 -0400 (0:00:00.924) 0:02:55.966 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007586", "end": "2026-08-15 14:47:31.805044", "rc": 0, "start": "2026-08-15 14:47:31.797458" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 15 August 2026 14:47:31 -0400 (0:00:00.341) 0:02:56.308 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008092", "end": "2026-08-15 14:47:32.143024", "rc": 0, "start": "2026-08-15 14:47:32.134932" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 15 August 2026 14:47:32 -0400 (0:00:00.338) 0:02:56.647 ******* ok: [managed-node2] => { "ansible_job_id": "266447165633.53527", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011996", "end": "2026-08-15 14:47:32.714947", "finished": 1, "rc": 0, "start": "2026-08-15 14:47:32.702951" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 15 August 2026 14:47:47 -0400 (0:00:15.743) 0:03:12.391 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009406", "end": "2026-08-15 14:47:48.246621", "rc": 0, "start": "2026-08-15 14:47:48.237215" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 15 August 2026 14:47:48 -0400 (0:00:00.362) 0:03:12.754 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 15 August 2026 14:47:48 -0400 (0:00:00.031) 0:03:12.785 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009536", "end": "2026-08-15 14:47:48.646226", "rc": 0, "start": "2026-08-15 14:47:48.636690" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 15 August 2026 14:47:48 -0400 (0:00:00.367) 0:03:13.153 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 15 August 2026 14:47:48 -0400 (0:00:00.031) 0:03:13.185 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009525", "end": "2026-08-15 14:47:49.034085", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:47:49.024560" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 15 August 2026 14:47:49 -0400 (0:00:00.359) 0:03:13.544 ******* included: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 15 August 2026 14:47:49 -0400 (0:00:00.032) 0:03:13.577 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server removed.", "Removed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 15 August 2026 14:47:53 -0400 (0:00:04.643) 0:03:18.220 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 15 August 2026 14:47:53 -0400 (0:00:00.019) 0:03:18.240 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 15 August 2026 14:47:54 -0400 (0:00:00.378) 0:03:18.619 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 15 August 2026 14:47:55 -0400 (0:00:01.314) 0:03:19.933 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007485", "end": "2026-08-15 14:47:55.765324", "rc": 0, "start": "2026-08-15 14:47:55.757839" } STDOUT: -- Logs begin at Sat 2026-08-15 14:38:48 EDT, end at Sat 2026-08-15 14:47:55 EDT. -- Aug 15 14:43:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:10 managed-node2 postmaster[10413]: 2026-08-15 14:43:10.648 EDT [10413] LOG: redirecting log output to logging collector process Aug 15 14:43:10 managed-node2 postmaster[10413]: 2026-08-15 14:43:10.648 EDT [10413] HINT: Future log output will appear in directory "log". Aug 15 14:43:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:18 managed-node2 systemd[1]: postgresql.service: Killing process 10415 (postmaster) with signal SIGKILL. Aug 15 14:43:18 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:18 managed-node2 postmaster[12677]: 2026-08-15 14:43:18.511 EDT [12677] LOG: redirecting log output to logging collector process Aug 15 14:43:18 managed-node2 postmaster[12677]: 2026-08-15 14:43:18.511 EDT [12677] HINT: Future log output will appear in directory "log". Aug 15 14:43:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:22 managed-node2 systemd[1]: postgresql.service: Killing process 12678 (postmaster) with signal SIGKILL. Aug 15 14:43:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:54 managed-node2 postmaster[19287]: 2026-08-15 14:43:54.355 EDT [19287] LOG: redirecting log output to logging collector process Aug 15 14:43:54 managed-node2 postmaster[19287]: 2026-08-15 14:43:54.355 EDT [19287] HINT: Future log output will appear in directory "log". Aug 15 14:43:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 19288 (postmaster) with signal SIGKILL. Aug 15 14:43:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:59 managed-node2 postmaster[20827]: 2026-08-15 14:43:59.842 EDT [20827] LOG: redirecting log output to logging collector process Aug 15 14:43:59 managed-node2 postmaster[20827]: 2026-08-15 14:43:59.842 EDT [20827] HINT: Future log output will appear in directory "log". Aug 15 14:43:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:05 managed-node2 systemd[1]: postgresql.service: Killing process 20829 (postmaster) with signal SIGKILL. Aug 15 14:44:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:23 managed-node2 postmaster[25194]: 2026-08-15 14:44:23.924 EDT [25194] LOG: redirecting log output to logging collector process Aug 15 14:44:23 managed-node2 postmaster[25194]: 2026-08-15 14:44:23.924 EDT [25194] HINT: Future log output will appear in directory "log". Aug 15 14:44:23 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 25195 (postmaster) with signal SIGKILL. Aug 15 14:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:27 managed-node2 postmaster[25933]: 2026-08-15 14:44:27.015 EDT [25933] LOG: redirecting log output to logging collector process Aug 15 14:44:27 managed-node2 postmaster[25933]: 2026-08-15 14:44:27.015 EDT [25933] HINT: Future log output will appear in directory "log". Aug 15 14:44:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:30 managed-node2 systemd[1]: postgresql.service: Killing process 25935 (postmaster) with signal SIGKILL. Aug 15 14:44:30 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:50 managed-node2 postmaster[30164]: 2026-08-15 14:44:50.055 EDT [30164] LOG: redirecting log output to logging collector process Aug 15 14:44:50 managed-node2 postmaster[30164]: 2026-08-15 14:44:50.055 EDT [30164] HINT: Future log output will appear in directory "log". Aug 15 14:44:50 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:53 managed-node2 systemd[1]: postgresql.service: Killing process 30166 (postmaster) with signal SIGKILL. Aug 15 14:44:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:53 managed-node2 postmaster[30973]: 2026-08-15 14:44:53.311 EDT [30973] LOG: redirecting log output to logging collector process Aug 15 14:44:53 managed-node2 postmaster[30973]: 2026-08-15 14:44:53.311 EDT [30973] HINT: Future log output will appear in directory "log". Aug 15 14:44:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:15 managed-node2 systemd[1]: postgresql.service: Killing process 30974 (postmaster) with signal SIGKILL. Aug 15 14:45:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.323 EDT [35679] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.323 EDT [35679] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.325 EDT [35679] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.329 EDT [35679] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.339 EDT [35679] LOG: redirecting log output to logging collector process Aug 15 14:45:30 managed-node2 postmaster[35679]: 2026-08-15 14:45:30.339 EDT [35679] HINT: Future log output will appear in directory "log". Aug 15 14:45:30 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:33 managed-node2 systemd[1]: postgresql.service: Killing process 35680 (postmaster) with signal SIGKILL. Aug 15 14:45:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.335 EDT [36487] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.335 EDT [36487] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.337 EDT [36487] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.341 EDT [36487] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.369 EDT [36487] LOG: redirecting log output to logging collector process Aug 15 14:45:33 managed-node2 postmaster[36487]: 2026-08-15 14:45:33.369 EDT [36487] HINT: Future log output will appear in directory "log". Aug 15 14:45:33 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:54 managed-node2 systemd[1]: postgresql.service: Killing process 36488 (postmaster) with signal SIGKILL. Aug 15 14:45:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.515 EDT [41221] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.515 EDT [41221] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.515 EDT [41221] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.517 EDT [41221] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.521 EDT [41221] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.531 EDT [41221] LOG: redirecting log output to logging collector process Aug 15 14:46:09 managed-node2 postmaster[41221]: 2026-08-15 14:46:09.531 EDT [41221] HINT: Future log output will appear in directory "log". Aug 15 14:46:09 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:12 managed-node2 systemd[1]: postgresql.service: Killing process 41222 (postmaster) with signal SIGKILL. Aug 15 14:46:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.529 EDT [42028] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.529 EDT [42028] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.529 EDT [42028] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.531 EDT [42028] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.535 EDT [42028] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.563 EDT [42028] LOG: redirecting log output to logging collector process Aug 15 14:46:12 managed-node2 postmaster[42028]: 2026-08-15 14:46:12.563 EDT [42028] HINT: Future log output will appear in directory "log". Aug 15 14:46:12 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:34 managed-node2 systemd[1]: postgresql.service: Killing process 42030 (postmaster) with signal SIGKILL. Aug 15 14:46:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:48 managed-node2 postmaster[46775]: 2026-08-15 14:46:48.806 EDT [46775] LOG: redirecting log output to logging collector process Aug 15 14:46:48 managed-node2 postmaster[46775]: 2026-08-15 14:46:48.806 EDT [46775] HINT: Future log output will appear in directory "log". Aug 15 14:46:48 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:51 managed-node2 systemd[1]: postgresql.service: Killing process 46776 (postmaster) with signal SIGKILL. Aug 15 14:46:51 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:51 managed-node2 postmaster[47582]: 2026-08-15 14:46:51.884 EDT [47582] LOG: redirecting log output to logging collector process Aug 15 14:46:51 managed-node2 postmaster[47582]: 2026-08-15 14:46:51.884 EDT [47582] HINT: Future log output will appear in directory "log". Aug 15 14:46:51 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:47:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:47:13 managed-node2 systemd[1]: postgresql.service: Killing process 47583 (postmaster) with signal SIGKILL. Aug 15 14:47:13 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:47:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:47:28 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:47:28 managed-node2 postgres[52322]: 2026-08-15 14:47:28.408 EDT [52322] LOG: redirecting log output to logging collector process Aug 15 14:47:28 managed-node2 postgres[52322]: 2026-08-15 14:47:28.408 EDT [52322] HINT: Future log output will appear in directory "log". Aug 15 14:47:28 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:47:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:47:31 managed-node2 systemd[1]: postgresql.service: Killing process 52323 (postgres) with signal SIGKILL. Aug 15 14:47:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:47:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:47:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:47:31 managed-node2 postgres[53129]: 2026-08-15 14:47:31.435 EDT [53129] LOG: redirecting log output to logging collector process Aug 15 14:47:31 managed-node2 postgres[53129]: 2026-08-15 14:47:31.435 EDT [53129] HINT: Future log output will appear in directory "log". Aug 15 14:47:31 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:47:52 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:47:52 managed-node2 systemd[1]: postgresql.service: Killing process 53130 (postgres) with signal SIGKILL. Aug 15 14:47:52 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:47:52 managed-node2 systemd[1]: Stopped PostgreSQL database server. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=166 changed=45 unreachable=0 failed=0 skipped=156 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 15 August 2026 14:47:55 -0400 (0:00:00.331) 0:03:20.265 ******* =============================================================================== fedora.linux_system_roles.postgresql : Ensure required packages are installed -- 30.91s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Test - database is accessible for super user using Unix socket --------- 15.95s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.75s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.74s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.74s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.74s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 fedora.linux_system_roles.postgresql : Gather the package facts --------- 7.15s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 5.46s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 5.30s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Uninstall postgresql ---------------------------------------------------- 4.65s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.64s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.64s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.64s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Restart postgresql --------------- 4.62s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Uninstall postgresql ---------------------------------------------------- 4.61s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf --- 3.52s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 fedora.linux_system_roles.postgresql : Create postgresql directory in /etc --- 1.81s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 fedora.linux_system_roles.postgresql : Link generated conf file with server one --- 1.80s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 fedora.linux_system_roles.postgresql : Record role success fingerprint --- 1.74s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Remove config files ----------------------------------------------------- 1.32s /tmp/collections-U3c/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32