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-79t/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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 08 August 2026 14:54:22 -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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 08 August 2026 14:54:23 -0400 (0:00:00.989) 0:00:01.006 ******* included: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:54:23 -0400 (0:00:00.019) 0:00:01.026 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:54:23 -0400 (0:00:00.023) 0:00:01.049 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:54:23 -0400 (0:00:00.013) 0:00:01.062 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:54:23 -0400 (0:00:00.114) 0:00:01.177 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:54:23 -0400 (0:00:00.027) 0:00:01.204 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:54:24 -0400 (0:00:00.647) 0:00:01.852 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-08T14:54:24-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:54:24 -0400 (0:00:00.410) 0:00:02.263 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:54:24 -0400 (0:00:00.410) 0:00:02.673 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:54:24 -0400 (0:00:00.018) 0:00:02.692 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007846", "end": "2026-08-08 14:54:25.366864", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:54:25.359018" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:54:25 -0400 (0:00:00.418) 0:00:03.111 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:54:25 -0400 (0:00:00.016) 0:00:03.127 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:54:25 -0400 (0:00:00.018) 0:00:03.145 ******* 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-79t/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-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:54:25 -0400 (0:00:00.039) 0:00:03.185 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:54:25 -0400 (0:00:00.355) 0:00:03.541 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:54:26 -0400 (0:00:00.331) 0:00:03.873 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:54:26 -0400 (0:00:00.360) 0:00:04.234 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:54:28 -0400 (0:00:01.614) 0:00:05.848 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:54:28 -0400 (0:00:00.038) 0:00:05.887 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:54:28 -0400 (0:00:00.030) 0:00:05.918 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:54:28 -0400 (0:00:00.033) 0:00:05.951 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:54:28 -0400 (0:00:00.030) 0:00:05.981 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:54:34 -0400 (0:00:05.933) 0:00:11.914 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.729853", "end": "2026-08-08 14:54:35.293919", "rc": 0, "start": "2026-08-08 14:54:34.564066" } 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:54:35 -0400 (0:00:01.129) 0:00:13.044 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:54:35 -0400 (0:00:00.023) 0:00:13.067 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:54:35 -0400 (0:00:00.021) 0:00:13.088 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:54:35 -0400 (0:00:00.021) 0:00:13.110 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:54:36 -0400 (0:00:01.285) 0:00:14.395 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.019) 0:00:14.414 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.019) 0:00:14.434 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.018) 0:00:14.452 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.017) 0:00:14.470 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.017) 0:00:14.488 ******* included: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.045) 0:00:14.533 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.027) 0:00:14.560 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.022) 0:00:14.583 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.039) 0:00:14.623 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.018) 0:00:14.641 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.018) 0:00:14.659 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.021) 0:00:14.681 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.023) 0:00:14.704 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.018) 0:00:14.722 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.017) 0:00:14.740 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.020) 0:00:14.760 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.417) 0:00:15.178 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.430) 0:00:15.608 ******* 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-1786215277.9502387-12858-192996111062086/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:54:38 -0400 (0:00:00.790) 0:00:16.399 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:54:38 -0400 (0:00:00.018) 0:00:16.417 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:54:38 -0400 (0:00:00.018) 0:00:16.436 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-08T14:54:39-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:54:39 -0400 (0:00:00.341) 0:00:16.778 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:54:39 -0400 (0:00:00.012) 0:00:16.790 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-08 14:54:36 EDT", "ActiveEnterTimestampMonotonic": "357600700", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target system.slice systemd-journald.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:54:36 EDT", "AssertTimestampMonotonic": "357550058", "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-08 14:54:36 EDT", "ConditionTimestampMonotonic": "357550058", "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": "30169", "ExecMainStartTimestamp": "Sat 2026-08-08 14:54:36 EDT", "ExecMainStartTimestampMonotonic": "357559633", "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-08 14:54:36 EDT] ; stop_time=[n/a] ; pid=30169 ; 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-08 14:54:36 EDT] ; stop_time=[Sat 2026-08-08 14:54:36 EDT] ; pid=30166 ; 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-08 14:54:36 EDT", "InactiveExitTimestampMonotonic": "357550993", "InvocationID": "43b4d9e46f5b4c2797f2a7fa401efadb", "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": "30169", "MemoryAccounting": "yes", "MemoryCurrent": "17838080", "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-08 14:54:36 EDT", "StateChangeTimestampMonotonic": "357600700", "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-08 14:54:36 EDT", "WatchdogTimestampMonotonic": "357600698", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:54:40 -0400 (0:00:00.909) 0:00:17.699 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007695", "end": "2026-08-08 14:54:40.295376", "rc": 0, "start": "2026-08-08 14:54:40.287681" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:54:40 -0400 (0:00:00.343) 0:00:18.043 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007892", "end": "2026-08-08 14:54:40.635364", "rc": 0, "start": "2026-08-08 14:54:40.627472" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:54:40 -0400 (0:00:00.339) 0:00:18.382 ******* ok: [managed-node2] => { "ansible_job_id": "515619601686.31376", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011793", "end": "2026-08-08 14:54:41.301690", "finished": 1, "rc": 0, "start": "2026-08-08 14:54:41.289897" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:54:56 -0400 (0:00:15.938) 0:00:34.321 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009791", "end": "2026-08-08 14:54:56.927439", "rc": 0, "start": "2026-08-08 14:54:56.917648" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:54:56 -0400 (0:00:00.354) 0:00:34.676 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:54:57 -0400 (0:00:00.031) 0:00:34.707 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009191", "end": "2026-08-08 14:54:57.317111", "rc": 0, "start": "2026-08-08 14:54:57.307920" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:54:57 -0400 (0:00:00.357) 0:00:35.065 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:54:57 -0400 (0:00:00.031) 0:00:35.096 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008867", "end": "2026-08-08 14:54:57.690298", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:54:57.681431" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:54:57 -0400 (0:00:00.351) 0:00:35.447 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:54:57 -0400 (0:00:00.033) 0:00:35.481 ******* 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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:55:02 -0400 (0:00:04.640) 0:00:40.121 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:55:02 -0400 (0:00:00.018) 0:00:40.140 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:55:02 -0400 (0:00:00.376) 0:00:40.516 ******* 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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:55:04 -0400 (0:00:01.312) 0:00:41.829 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006866", "end": "2026-08-08 14:55:04.422263", "rc": 0, "start": "2026-08-08 14:55:04.415397" } STDOUT: -- Logs begin at Sat 2026-08-08 14:48:40 EDT, end at Sat 2026-08-08 14:55:04 EDT. -- Aug 08 14:52:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:57 managed-node2 postmaster[10417]: 2026-08-08 14:52:57.566 EDT [10417] LOG: redirecting log output to logging collector process Aug 08 14:52:57 managed-node2 postmaster[10417]: 2026-08-08 14:52:57.566 EDT [10417] HINT: Future log output will appear in directory "log". Aug 08 14:52:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:05 managed-node2 systemd[1]: postgresql.service: Killing process 10418 (postmaster) with signal SIGKILL. Aug 08 14:53:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:05 managed-node2 postmaster[12680]: 2026-08-08 14:53:05.379 EDT [12680] LOG: redirecting log output to logging collector process Aug 08 14:53:05 managed-node2 postmaster[12680]: 2026-08-08 14:53:05.379 EDT [12680] HINT: Future log output will appear in directory "log". Aug 08 14:53:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:09 managed-node2 systemd[1]: postgresql.service: Killing process 12681 (postmaster) with signal SIGKILL. Aug 08 14:53:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:41 managed-node2 postmaster[19289]: 2026-08-08 14:53:41.332 EDT [19289] LOG: redirecting log output to logging collector process Aug 08 14:53:41 managed-node2 postmaster[19289]: 2026-08-08 14:53:41.332 EDT [19289] HINT: Future log output will appear in directory "log". Aug 08 14:53:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:46 managed-node2 systemd[1]: postgresql.service: Killing process 19291 (postmaster) with signal SIGKILL. Aug 08 14:53:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:46 managed-node2 postmaster[20831]: 2026-08-08 14:53:46.800 EDT [20831] LOG: redirecting log output to logging collector process Aug 08 14:53:46 managed-node2 postmaster[20831]: 2026-08-08 14:53:46.800 EDT [20831] HINT: Future log output will appear in directory "log". Aug 08 14:53:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:52 managed-node2 systemd[1]: postgresql.service: Killing process 20832 (postmaster) with signal SIGKILL. Aug 08 14:53:52 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:52 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:10 managed-node2 postmaster[25196]: 2026-08-08 14:54:10.636 EDT [25196] LOG: redirecting log output to logging collector process Aug 08 14:54:10 managed-node2 postmaster[25196]: 2026-08-08 14:54:10.636 EDT [25196] HINT: Future log output will appear in directory "log". Aug 08 14:54:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:13 managed-node2 systemd[1]: postgresql.service: Killing process 25197 (postmaster) with signal SIGKILL. Aug 08 14:54:13 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:13 managed-node2 postmaster[25936]: 2026-08-08 14:54:13.689 EDT [25936] LOG: redirecting log output to logging collector process Aug 08 14:54:13 managed-node2 postmaster[25936]: 2026-08-08 14:54:13.689 EDT [25936] HINT: Future log output will appear in directory "log". Aug 08 14:54:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:17 managed-node2 systemd[1]: postgresql.service: Killing process 25938 (postmaster) with signal SIGKILL. Aug 08 14:54:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:36 managed-node2 postmaster[30169]: 2026-08-08 14:54:36.617 EDT [30169] LOG: redirecting log output to logging collector process Aug 08 14:54:36 managed-node2 postmaster[30169]: 2026-08-08 14:54:36.617 EDT [30169] HINT: Future log output will appear in directory "log". Aug 08 14:54:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Killing process 30170 (postmaster) with signal SIGKILL. Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:39 managed-node2 postmaster[30976]: 2026-08-08 14:54:39.925 EDT [30976] LOG: redirecting log output to logging collector process Aug 08 14:54:39 managed-node2 postmaster[30976]: 2026-08-08 14:54:39.925 EDT [30976] HINT: Future log output will appear in directory "log". Aug 08 14:54:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:01 managed-node2 systemd[1]: postgresql.service: Killing process 30978 (postmaster) with signal SIGKILL. Aug 08 14:55:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:01 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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 08 August 2026 14:55:04 -0400 (0:00:00.349) 0:00:42.179 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 08 August 2026 14:55:04 -0400 (0:00:00.027) 0:00:42.206 ******* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:55:04 -0400 (0:00:00.091) 0:00:42.297 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:55:04 -0400 (0:00:00.033) 0:00:42.331 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:55:04 -0400 (0:00:00.013) 0:00:42.345 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:55:04 -0400 (0:00:00.026) 0:00:42.371 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:55:04 -0400 (0:00:00.025) 0:00:42.396 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.675) 0:00:43.072 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-08T14:55:05-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.330) 0:00:43.402 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.014) 0:00:43.417 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.013) 0:00:43.430 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.013) 0:00:43.444 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.014) 0:00:43.458 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.014) 0:00:43.473 ******* [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-79t/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-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.039) 0:00:43.512 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:55:06 -0400 (0:00:00.328) 0:00:43.840 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:55:06 -0400 (0:00:00.329) 0:00:44.170 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:55:06 -0400 (0:00:00.327) 0:00:44.498 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:55:08 -0400 (0:00:01.415) 0:00:45.913 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:55:08 -0400 (0:00:00.037) 0:00:45.951 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:55:08 -0400 (0:00:00.030) 0:00:45.981 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:55:08 -0400 (0:00:00.029) 0:00:46.010 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:55:08 -0400 (0:00:00.024) 0:00:46.034 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:55:14 -0400 (0:00:06.393) 0:00:52.427 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.704749", "end": "2026-08-08 14:55:15.753007", "rc": 0, "start": "2026-08-08 14:55:15.048258" } 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:55:15 -0400 (0:00:01.074) 0:00:53.502 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:55:15 -0400 (0:00:00.022) 0:00:53.524 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:55:15 -0400 (0:00:00.019) 0:00:53.543 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:55:15 -0400 (0:00:00.019) 0:00:53.563 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network.target sysinit.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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:55:16 -0400 (0:00:01.002) 0:00:54.566 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.018) 0:00:54.584 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.018) 0:00:54.603 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.018) 0:00:54.621 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.018) 0:00:54.640 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.018) 0:00:54.658 ******* included: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.031) 0:00:54.690 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.018) 0:00:54.709 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.019) 0:00:54.728 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.042) 0:00:54.771 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.019) 0:00:54.790 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.018) 0:00:54.808 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.018) 0:00:54.827 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.019) 0:00:54.847 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.018) 0:00:54.865 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.018) 0:00:54.884 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.018) 0:00:54.902 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.346) 0:00:55.249 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.340) 0:00:55.590 ******* 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-1786215317.9320972-13382-50649691093092/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:55:18 -0400 (0:00:00.686) 0:00:56.276 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:55:18 -0400 (0:00:00.018) 0:00:56.295 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:55:18 -0400 (0:00:00.018) 0:00:56.314 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-08T14:55:18-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:55:18 -0400 (0:00:00.344) 0:00:56.658 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:55:18 -0400 (0:00:00.012) 0:00:56.670 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-08 14:55:16 EDT", "ActiveEnterTimestampMonotonic": "397774175", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target sysinit.target system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:55:16 EDT", "AssertTimestampMonotonic": "397727243", "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-08 14:55:16 EDT", "ConditionTimestampMonotonic": "397727242", "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": "35683", "ExecMainStartTimestamp": "Sat 2026-08-08 14:55:16 EDT", "ExecMainStartTimestampMonotonic": "397736612", "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-08 14:55:16 EDT] ; stop_time=[n/a] ; pid=35683 ; 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-08 14:55:16 EDT] ; stop_time=[Sat 2026-08-08 14:55:16 EDT] ; pid=35680 ; 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-08 14:55:16 EDT", "InactiveExitTimestampMonotonic": "397728224", "InvocationID": "aa881404832e44258848a41bab7a2a35", "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": "35683", "MemoryAccounting": "yes", "MemoryCurrent": "16883712", "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-08 14:55:16 EDT", "StateChangeTimestampMonotonic": "397774175", "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-08 14:55:16 EDT", "WatchdogTimestampMonotonic": "397774173", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:55:19 -0400 (0:00:00.912) 0:00:57.583 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008144", "end": "2026-08-08 14:55:20.178592", "rc": 0, "start": "2026-08-08 14:55:20.170448" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:55:20 -0400 (0:00:00.342) 0:00:57.925 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007779", "end": "2026-08-08 14:55:20.519655", "rc": 0, "start": "2026-08-08 14:55:20.511876" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:55:20 -0400 (0:00:00.364) 0:00:58.290 ******* ok: [managed-node2] => { "ansible_job_id": "273318186360.36890", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010847", "end": "2026-08-08 14:55:21.102642", "finished": 1, "rc": 0, "start": "2026-08-08 14:55:21.091795" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:55:36 -0400 (0:00:15.728) 0:01:14.019 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009625", "end": "2026-08-08 14:55:36.630257", "rc": 0, "start": "2026-08-08 14:55:36.620632" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:55:36 -0400 (0:00:00.359) 0:01:14.379 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:55:36 -0400 (0:00:00.032) 0:01:14.411 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009248", "end": "2026-08-08 14:55:37.018947", "rc": 0, "start": "2026-08-08 14:55:37.009699" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:55:37 -0400 (0:00:00.355) 0:01:14.767 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:55:37 -0400 (0:00:00.031) 0:01:14.798 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006602", "end": "2026-08-08 14:55:37.390047", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:55:37.383445" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:55:37 -0400 (0:00:00.342) 0:01:15.141 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:55:37 -0400 (0:00:00.037) 0:01:15.179 ******* 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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:55:42 -0400 (0:00:04.587) 0:01:19.766 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:55:42 -0400 (0:00:00.018) 0:01:19.785 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:55:42 -0400 (0:00:00.372) 0:01:20.157 ******* [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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:55:43 -0400 (0:00:01.303) 0:01:21.461 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007298", "end": "2026-08-08 14:55:44.046018", "rc": 0, "start": "2026-08-08 14:55:44.038720" } STDOUT: -- Logs begin at Sat 2026-08-08 14:48:40 EDT, end at Sat 2026-08-08 14:55:44 EDT. -- Aug 08 14:52:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:57 managed-node2 postmaster[10417]: 2026-08-08 14:52:57.566 EDT [10417] LOG: redirecting log output to logging collector process Aug 08 14:52:57 managed-node2 postmaster[10417]: 2026-08-08 14:52:57.566 EDT [10417] HINT: Future log output will appear in directory "log". Aug 08 14:52:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:05 managed-node2 systemd[1]: postgresql.service: Killing process 10418 (postmaster) with signal SIGKILL. Aug 08 14:53:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:05 managed-node2 postmaster[12680]: 2026-08-08 14:53:05.379 EDT [12680] LOG: redirecting log output to logging collector process Aug 08 14:53:05 managed-node2 postmaster[12680]: 2026-08-08 14:53:05.379 EDT [12680] HINT: Future log output will appear in directory "log". Aug 08 14:53:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:09 managed-node2 systemd[1]: postgresql.service: Killing process 12681 (postmaster) with signal SIGKILL. Aug 08 14:53:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:41 managed-node2 postmaster[19289]: 2026-08-08 14:53:41.332 EDT [19289] LOG: redirecting log output to logging collector process Aug 08 14:53:41 managed-node2 postmaster[19289]: 2026-08-08 14:53:41.332 EDT [19289] HINT: Future log output will appear in directory "log". Aug 08 14:53:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:46 managed-node2 systemd[1]: postgresql.service: Killing process 19291 (postmaster) with signal SIGKILL. Aug 08 14:53:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:46 managed-node2 postmaster[20831]: 2026-08-08 14:53:46.800 EDT [20831] LOG: redirecting log output to logging collector process Aug 08 14:53:46 managed-node2 postmaster[20831]: 2026-08-08 14:53:46.800 EDT [20831] HINT: Future log output will appear in directory "log". Aug 08 14:53:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:52 managed-node2 systemd[1]: postgresql.service: Killing process 20832 (postmaster) with signal SIGKILL. Aug 08 14:53:52 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:52 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:10 managed-node2 postmaster[25196]: 2026-08-08 14:54:10.636 EDT [25196] LOG: redirecting log output to logging collector process Aug 08 14:54:10 managed-node2 postmaster[25196]: 2026-08-08 14:54:10.636 EDT [25196] HINT: Future log output will appear in directory "log". Aug 08 14:54:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:13 managed-node2 systemd[1]: postgresql.service: Killing process 25197 (postmaster) with signal SIGKILL. Aug 08 14:54:13 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:13 managed-node2 postmaster[25936]: 2026-08-08 14:54:13.689 EDT [25936] LOG: redirecting log output to logging collector process Aug 08 14:54:13 managed-node2 postmaster[25936]: 2026-08-08 14:54:13.689 EDT [25936] HINT: Future log output will appear in directory "log". Aug 08 14:54:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:17 managed-node2 systemd[1]: postgresql.service: Killing process 25938 (postmaster) with signal SIGKILL. Aug 08 14:54:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:36 managed-node2 postmaster[30169]: 2026-08-08 14:54:36.617 EDT [30169] LOG: redirecting log output to logging collector process Aug 08 14:54:36 managed-node2 postmaster[30169]: 2026-08-08 14:54:36.617 EDT [30169] HINT: Future log output will appear in directory "log". Aug 08 14:54:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Killing process 30170 (postmaster) with signal SIGKILL. Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:39 managed-node2 postmaster[30976]: 2026-08-08 14:54:39.925 EDT [30976] LOG: redirecting log output to logging collector process Aug 08 14:54:39 managed-node2 postmaster[30976]: 2026-08-08 14:54:39.925 EDT [30976] HINT: Future log output will appear in directory "log". Aug 08 14:54:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:01 managed-node2 systemd[1]: postgresql.service: Killing process 30978 (postmaster) with signal SIGKILL. Aug 08 14:55:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.782 EDT [35683] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.782 EDT [35683] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.784 EDT [35683] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.788 EDT [35683] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.798 EDT [35683] LOG: redirecting log output to logging collector process Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.798 EDT [35683] HINT: Future log output will appear in directory "log". Aug 08 14:55:16 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:19 managed-node2 systemd[1]: postgresql.service: Killing process 35684 (postmaster) with signal SIGKILL. Aug 08 14:55:19 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.782 EDT [36490] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.782 EDT [36490] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.784 EDT [36490] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.788 EDT [36490] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.815 EDT [36490] LOG: redirecting log output to logging collector process Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.815 EDT [36490] HINT: Future log output will appear in directory "log". Aug 08 14:55:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:41 managed-node2 systemd[1]: postgresql.service: Killing process 36492 (postmaster) with signal SIGKILL. Aug 08 14:55:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:55:44 -0400 (0:00:00.331) 0:01:21.793 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:55:44 -0400 (0:00:00.032) 0:01:21.825 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:55:44 -0400 (0:00:00.013) 0:01:21.839 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:55:44 -0400 (0:00:00.025) 0:01:21.864 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:55:44 -0400 (0:00:00.024) 0:01:21.889 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:55:44 -0400 (0:00:00.666) 0:01:22.555 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-08T14:55:45-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:55:45 -0400 (0:00:00.334) 0:01:22.890 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:55:45 -0400 (0:00:00.014) 0:01:22.904 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:55:45 -0400 (0:00:00.013) 0:01:22.917 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:55:45 -0400 (0:00:00.013) 0:01:22.931 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:55:45 -0400 (0:00:00.012) 0:01:22.943 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:55:45 -0400 (0:00:00.013) 0:01:22.957 ******* [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-79t/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-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:55:45 -0400 (0:00:00.038) 0:01:22.996 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:55:45 -0400 (0:00:00.331) 0:01:23.328 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:55:45 -0400 (0:00:00.326) 0:01:23.654 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:55:46 -0400 (0:00:00.325) 0:01:23.979 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:55:47 -0400 (0:00:01.353) 0:01:25.333 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:55:47 -0400 (0:00:00.032) 0:01:25.365 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:55:47 -0400 (0:00:00.028) 0:01:25.394 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:55:47 -0400 (0:00:00.030) 0:01:25.425 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:55:47 -0400 (0:00:00.069) 0:01:25.495 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:55:53 -0400 (0:00:05.835) 0:01:31.330 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.731099", "end": "2026-08-08 14:55:54.696180", "rc": 0, "start": "2026-08-08 14:55:53.965081" } 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:55:54 -0400 (0:00:01.114) 0:01:32.445 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:55:54 -0400 (0:00:00.021) 0:01:32.467 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:55:54 -0400 (0:00:00.019) 0:01:32.486 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:55:54 -0400 (0:00:00.019) 0:01:32.506 ******* 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 basic.target network.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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:55:55 -0400 (0:00:01.000) 0:01:33.507 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.018) 0:01:33.526 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.019) 0:01:33.545 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.019) 0:01:33.564 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.018) 0:01:33.582 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.018) 0:01:33.601 ******* included: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.032) 0:01:33.633 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.018) 0:01:33.652 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.019) 0:01:33.671 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.018) 0:01:33.689 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:55:56 -0400 (0:00:00.018) 0:01:33.708 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:55:56 -0400 (0:00:00.018) 0:01:33.726 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:55:56 -0400 (0:00:00.019) 0:01:33.746 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:55:56 -0400 (0:00:00.042) 0:01:33.788 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:55:56 -0400 (0:00:00.019) 0:01:33.808 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:55:56 -0400 (0:00:00.018) 0:01:33.826 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:55:56 -0400 (0:00:00.018) 0:01:33.844 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:55:56 -0400 (0:00:00.343) 0:01:34.187 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:55:56 -0400 (0:00:00.339) 0:01:34.527 ******* 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-1786215356.8701782-13849-99977353974967/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:55:57 -0400 (0:00:00.686) 0:01:35.214 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:55:57 -0400 (0:00:00.020) 0:01:35.235 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:55:57 -0400 (0:00:00.019) 0:01:35.254 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-08T14:55:57-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:55:57 -0400 (0:00:00.345) 0:01:35.600 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:55:57 -0400 (0:00:00.012) 0:01:35.612 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-08 14:55:55 EDT", "ActiveEnterTimestampMonotonic": "436714667", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target system.slice systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:55:55 EDT", "AssertTimestampMonotonic": "436663896", "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-08 14:55:55 EDT", "ConditionTimestampMonotonic": "436663896", "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": "41225", "ExecMainStartTimestamp": "Sat 2026-08-08 14:55:55 EDT", "ExecMainStartTimestampMonotonic": "436673547", "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-08 14:55:55 EDT] ; stop_time=[n/a] ; pid=41225 ; 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-08 14:55:55 EDT] ; stop_time=[Sat 2026-08-08 14:55:55 EDT] ; pid=41222 ; 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-08 14:55:55 EDT", "InactiveExitTimestampMonotonic": "436664868", "InvocationID": "6bd03d83bbdc4f80b4edba71a1c6d42c", "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": "41225", "MemoryAccounting": "yes", "MemoryCurrent": "17842176", "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-08 14:55:55 EDT", "StateChangeTimestampMonotonic": "436714667", "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-08 14:55:55 EDT", "WatchdogTimestampMonotonic": "436714665", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:55:58 -0400 (0:00:00.904) 0:01:36.517 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007874", "end": "2026-08-08 14:55:59.108273", "rc": 0, "start": "2026-08-08 14:55:59.100399" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:55:59 -0400 (0:00:00.337) 0:01:36.855 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008180", "end": "2026-08-08 14:55:59.443179", "rc": 0, "start": "2026-08-08 14:55:59.434999" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:55:59 -0400 (0:00:00.335) 0:01:37.191 ******* ok: [managed-node2] => { "ansible_job_id": "23449073453.42432", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011925", "end": "2026-08-08 14:56:00.018653", "finished": 1, "rc": 0, "start": "2026-08-08 14:56:00.006728" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:56:15 -0400 (0:00:15.742) 0:01:52.933 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009605", "end": "2026-08-08 14:56:15.550908", "rc": 0, "start": "2026-08-08 14:56:15.541303" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:56:15 -0400 (0:00:00.366) 0:01:53.300 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:56:15 -0400 (0:00:00.032) 0:01:53.333 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009220", "end": "2026-08-08 14:56:15.949743", "rc": 0, "start": "2026-08-08 14:56:15.940523" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:56:16 -0400 (0:00:00.365) 0:01:53.698 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:56:16 -0400 (0:00:00.031) 0:01:53.730 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008851", "end": "2026-08-08 14:56:16.324391", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:56:16.315540" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:56:16 -0400 (0:00:00.346) 0:01:54.076 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:56:16 -0400 (0:00:00.033) 0:01:54.109 ******* 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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:56:21 -0400 (0:00:04.592) 0:01:58.702 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:56:21 -0400 (0:00:00.018) 0:01:58.721 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:56:21 -0400 (0:00:00.373) 0:01:59.094 ******* [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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:56:22 -0400 (0:00:01.304) 0:02:00.399 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007355", "end": "2026-08-08 14:56:22.991380", "rc": 0, "start": "2026-08-08 14:56:22.984025" } STDOUT: -- Logs begin at Sat 2026-08-08 14:48:40 EDT, end at Sat 2026-08-08 14:56:22 EDT. -- Aug 08 14:52:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:57 managed-node2 postmaster[10417]: 2026-08-08 14:52:57.566 EDT [10417] LOG: redirecting log output to logging collector process Aug 08 14:52:57 managed-node2 postmaster[10417]: 2026-08-08 14:52:57.566 EDT [10417] HINT: Future log output will appear in directory "log". Aug 08 14:52:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:05 managed-node2 systemd[1]: postgresql.service: Killing process 10418 (postmaster) with signal SIGKILL. Aug 08 14:53:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:05 managed-node2 postmaster[12680]: 2026-08-08 14:53:05.379 EDT [12680] LOG: redirecting log output to logging collector process Aug 08 14:53:05 managed-node2 postmaster[12680]: 2026-08-08 14:53:05.379 EDT [12680] HINT: Future log output will appear in directory "log". Aug 08 14:53:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:09 managed-node2 systemd[1]: postgresql.service: Killing process 12681 (postmaster) with signal SIGKILL. Aug 08 14:53:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:41 managed-node2 postmaster[19289]: 2026-08-08 14:53:41.332 EDT [19289] LOG: redirecting log output to logging collector process Aug 08 14:53:41 managed-node2 postmaster[19289]: 2026-08-08 14:53:41.332 EDT [19289] HINT: Future log output will appear in directory "log". Aug 08 14:53:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:46 managed-node2 systemd[1]: postgresql.service: Killing process 19291 (postmaster) with signal SIGKILL. Aug 08 14:53:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:46 managed-node2 postmaster[20831]: 2026-08-08 14:53:46.800 EDT [20831] LOG: redirecting log output to logging collector process Aug 08 14:53:46 managed-node2 postmaster[20831]: 2026-08-08 14:53:46.800 EDT [20831] HINT: Future log output will appear in directory "log". Aug 08 14:53:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:52 managed-node2 systemd[1]: postgresql.service: Killing process 20832 (postmaster) with signal SIGKILL. Aug 08 14:53:52 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:52 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:10 managed-node2 postmaster[25196]: 2026-08-08 14:54:10.636 EDT [25196] LOG: redirecting log output to logging collector process Aug 08 14:54:10 managed-node2 postmaster[25196]: 2026-08-08 14:54:10.636 EDT [25196] HINT: Future log output will appear in directory "log". Aug 08 14:54:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:13 managed-node2 systemd[1]: postgresql.service: Killing process 25197 (postmaster) with signal SIGKILL. Aug 08 14:54:13 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:13 managed-node2 postmaster[25936]: 2026-08-08 14:54:13.689 EDT [25936] LOG: redirecting log output to logging collector process Aug 08 14:54:13 managed-node2 postmaster[25936]: 2026-08-08 14:54:13.689 EDT [25936] HINT: Future log output will appear in directory "log". Aug 08 14:54:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:17 managed-node2 systemd[1]: postgresql.service: Killing process 25938 (postmaster) with signal SIGKILL. Aug 08 14:54:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:36 managed-node2 postmaster[30169]: 2026-08-08 14:54:36.617 EDT [30169] LOG: redirecting log output to logging collector process Aug 08 14:54:36 managed-node2 postmaster[30169]: 2026-08-08 14:54:36.617 EDT [30169] HINT: Future log output will appear in directory "log". Aug 08 14:54:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Killing process 30170 (postmaster) with signal SIGKILL. Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:39 managed-node2 postmaster[30976]: 2026-08-08 14:54:39.925 EDT [30976] LOG: redirecting log output to logging collector process Aug 08 14:54:39 managed-node2 postmaster[30976]: 2026-08-08 14:54:39.925 EDT [30976] HINT: Future log output will appear in directory "log". Aug 08 14:54:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:01 managed-node2 systemd[1]: postgresql.service: Killing process 30978 (postmaster) with signal SIGKILL. Aug 08 14:55:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.782 EDT [35683] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.782 EDT [35683] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.784 EDT [35683] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.788 EDT [35683] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.798 EDT [35683] LOG: redirecting log output to logging collector process Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.798 EDT [35683] HINT: Future log output will appear in directory "log". Aug 08 14:55:16 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:19 managed-node2 systemd[1]: postgresql.service: Killing process 35684 (postmaster) with signal SIGKILL. Aug 08 14:55:19 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.782 EDT [36490] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.782 EDT [36490] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.784 EDT [36490] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.788 EDT [36490] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.815 EDT [36490] LOG: redirecting log output to logging collector process Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.815 EDT [36490] HINT: Future log output will appear in directory "log". Aug 08 14:55:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:41 managed-node2 systemd[1]: postgresql.service: Killing process 36492 (postmaster) with signal SIGKILL. Aug 08 14:55:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.722 EDT [41225] 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 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.722 EDT [41225] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.722 EDT [41225] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.724 EDT [41225] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.728 EDT [41225] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.738 EDT [41225] LOG: redirecting log output to logging collector process Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.738 EDT [41225] HINT: Future log output will appear in directory "log". Aug 08 14:55:55 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:58 managed-node2 systemd[1]: postgresql.service: Killing process 41226 (postmaster) with signal SIGKILL. Aug 08 14:55:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.715 EDT [42032] 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 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.716 EDT [42032] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.716 EDT [42032] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.718 EDT [42032] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.721 EDT [42032] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.749 EDT [42032] LOG: redirecting log output to logging collector process Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.749 EDT [42032] HINT: Future log output will appear in directory "log". Aug 08 14:55:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:56:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:56:20 managed-node2 systemd[1]: postgresql.service: Killing process 42034 (postmaster) with signal SIGKILL. Aug 08 14:56:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:56:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:56:23 -0400 (0:00:00.340) 0:02:00.739 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:56:23 -0400 (0:00:00.032) 0:02:00.772 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:56:23 -0400 (0:00:00.013) 0:02:00.785 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:56:23 -0400 (0:00:00.025) 0:02:00.811 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:56:23 -0400 (0:00:00.025) 0:02:00.836 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:56:23 -0400 (0:00:00.656) 0:02:01.492 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-08T14:56:24-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.332) 0:02:01.824 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.013) 0:02:01.838 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.013) 0:02:01.852 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.013) 0:02:01.865 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.013) 0:02:01.879 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.013) 0:02:01.892 ******* [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-79t/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-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.038) 0:02:01.931 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.322) 0:02:02.253 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.322) 0:02:02.575 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:56:25 -0400 (0:00:00.323) 0:02:02.899 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:56:26 -0400 (0:00:01.384) 0:02:04.284 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:56:26 -0400 (0:00:00.031) 0:02:04.315 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:56:26 -0400 (0:00:00.028) 0:02:04.344 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:56:26 -0400 (0:00:00.031) 0:02:04.376 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:56:26 -0400 (0:00:00.071) 0:02:04.447 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:56:32 -0400 (0:00:05.998) 0:02:10.445 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.721674", "end": "2026-08-08 14:56:33.802236", "rc": 0, "start": "2026-08-08 14:56:33.080562" } 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:56:33 -0400 (0:00:01.106) 0:02:11.551 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.022) 0:02:11.573 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.023) 0:02:11.597 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.020) 0:02:11.618 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice sysinit.target network.target 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": "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]", "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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:56:34 -0400 (0:00:01.015) 0:02:12.633 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:56:34 -0400 (0:00:00.019) 0:02:12.653 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:56:34 -0400 (0:00:00.018) 0:02:12.672 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:56:34 -0400 (0:00:00.018) 0:02:12.690 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.020) 0:02:12.711 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.019) 0:02:12.730 ******* included: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.032) 0:02:12.762 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.019) 0:02:12.782 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.019) 0:02:12.801 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.018) 0:02:12.819 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.020) 0:02:12.840 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.045) 0:02:12.886 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.019) 0:02:12.905 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.018) 0:02:12.924 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.018) 0:02:12.943 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.019) 0:02:12.963 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.018) 0:02:12.982 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.343) 0:02:13.325 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.341) 0:02:13.666 ******* 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-1786215396.0092874-14316-138324528943932/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:56:36 -0400 (0:00:00.682) 0:02:14.348 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:56:36 -0400 (0:00:00.019) 0:02:14.368 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:56:36 -0400 (0:00:00.018) 0:02:14.386 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-08T14:56:36-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:56:37 -0400 (0:00:00.340) 0:02:14.727 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:56:37 -0400 (0:00:00.012) 0:02:14.739 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-08 14:56:34 EDT", "ActiveEnterTimestampMonotonic": "475837036", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target network.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:56:34 EDT", "AssertTimestampMonotonic": "475787084", "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-08 14:56:34 EDT", "ConditionTimestampMonotonic": "475787084", "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": "46778", "ExecMainStartTimestamp": "Sat 2026-08-08 14:56:34 EDT", "ExecMainStartTimestampMonotonic": "475796260", "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-08 14:56:34 EDT] ; stop_time=[n/a] ; pid=46778 ; 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-08 14:56:34 EDT] ; stop_time=[Sat 2026-08-08 14:56:34 EDT] ; pid=46775 ; 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-08 14:56:34 EDT", "InactiveExitTimestampMonotonic": "475787942", "InvocationID": "72b3f1bf9000421585862a082a587ff1", "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": "46778", "MemoryAccounting": "yes", "MemoryCurrent": "18468864", "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-08 14:56:34 EDT", "StateChangeTimestampMonotonic": "475837036", "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-08 14:56:34 EDT", "WatchdogTimestampMonotonic": "475837033", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:56:37 -0400 (0:00:00.914) 0:02:15.653 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007869", "end": "2026-08-08 14:56:38.248636", "rc": 0, "start": "2026-08-08 14:56:38.240767" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:56:38 -0400 (0:00:00.342) 0:02:15.996 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007996", "end": "2026-08-08 14:56:38.588724", "rc": 0, "start": "2026-08-08 14:56:38.580728" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:56:38 -0400 (0:00:00.338) 0:02:16.335 ******* ok: [managed-node2] => { "ansible_job_id": "778553481921.47983", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011968", "end": "2026-08-08 14:56:39.156028", "finished": 1, "rc": 0, "start": "2026-08-08 14:56:39.144060" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:56:54 -0400 (0:00:15.732) 0:02:32.068 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009542", "end": "2026-08-08 14:56:54.674029", "rc": 0, "start": "2026-08-08 14:56:54.664487" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:56:54 -0400 (0:00:00.354) 0:02:32.423 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:56:54 -0400 (0:00:00.031) 0:02:32.454 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009317", "end": "2026-08-08 14:56:55.065219", "rc": 0, "start": "2026-08-08 14:56:55.055902" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:56:55 -0400 (0:00:00.359) 0:02:32.814 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:56:55 -0400 (0:00:00.032) 0:02:32.846 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008959", "end": "2026-08-08 14:56:55.441952", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:56:55.432993" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:56:55 -0400 (0:00:00.346) 0:02:33.193 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:56:55 -0400 (0:00:00.032) 0:02:33.225 ******* 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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:57:00 -0400 (0:00:04.620) 0:02:37.846 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:57:00 -0400 (0:00:00.019) 0:02:37.865 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:57:00 -0400 (0:00:00.382) 0:02:38.248 ******* [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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:57:01 -0400 (0:00:01.325) 0:02:39.573 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007424", "end": "2026-08-08 14:57:02.161604", "rc": 0, "start": "2026-08-08 14:57:02.154180" } STDOUT: -- Logs begin at Sat 2026-08-08 14:48:40 EDT, end at Sat 2026-08-08 14:57:02 EDT. -- Aug 08 14:52:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:57 managed-node2 postmaster[10417]: 2026-08-08 14:52:57.566 EDT [10417] LOG: redirecting log output to logging collector process Aug 08 14:52:57 managed-node2 postmaster[10417]: 2026-08-08 14:52:57.566 EDT [10417] HINT: Future log output will appear in directory "log". Aug 08 14:52:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:05 managed-node2 systemd[1]: postgresql.service: Killing process 10418 (postmaster) with signal SIGKILL. Aug 08 14:53:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:05 managed-node2 postmaster[12680]: 2026-08-08 14:53:05.379 EDT [12680] LOG: redirecting log output to logging collector process Aug 08 14:53:05 managed-node2 postmaster[12680]: 2026-08-08 14:53:05.379 EDT [12680] HINT: Future log output will appear in directory "log". Aug 08 14:53:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:09 managed-node2 systemd[1]: postgresql.service: Killing process 12681 (postmaster) with signal SIGKILL. Aug 08 14:53:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:41 managed-node2 postmaster[19289]: 2026-08-08 14:53:41.332 EDT [19289] LOG: redirecting log output to logging collector process Aug 08 14:53:41 managed-node2 postmaster[19289]: 2026-08-08 14:53:41.332 EDT [19289] HINT: Future log output will appear in directory "log". Aug 08 14:53:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:46 managed-node2 systemd[1]: postgresql.service: Killing process 19291 (postmaster) with signal SIGKILL. Aug 08 14:53:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:46 managed-node2 postmaster[20831]: 2026-08-08 14:53:46.800 EDT [20831] LOG: redirecting log output to logging collector process Aug 08 14:53:46 managed-node2 postmaster[20831]: 2026-08-08 14:53:46.800 EDT [20831] HINT: Future log output will appear in directory "log". Aug 08 14:53:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:52 managed-node2 systemd[1]: postgresql.service: Killing process 20832 (postmaster) with signal SIGKILL. Aug 08 14:53:52 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:52 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:10 managed-node2 postmaster[25196]: 2026-08-08 14:54:10.636 EDT [25196] LOG: redirecting log output to logging collector process Aug 08 14:54:10 managed-node2 postmaster[25196]: 2026-08-08 14:54:10.636 EDT [25196] HINT: Future log output will appear in directory "log". Aug 08 14:54:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:13 managed-node2 systemd[1]: postgresql.service: Killing process 25197 (postmaster) with signal SIGKILL. Aug 08 14:54:13 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:13 managed-node2 postmaster[25936]: 2026-08-08 14:54:13.689 EDT [25936] LOG: redirecting log output to logging collector process Aug 08 14:54:13 managed-node2 postmaster[25936]: 2026-08-08 14:54:13.689 EDT [25936] HINT: Future log output will appear in directory "log". Aug 08 14:54:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:17 managed-node2 systemd[1]: postgresql.service: Killing process 25938 (postmaster) with signal SIGKILL. Aug 08 14:54:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:36 managed-node2 postmaster[30169]: 2026-08-08 14:54:36.617 EDT [30169] LOG: redirecting log output to logging collector process Aug 08 14:54:36 managed-node2 postmaster[30169]: 2026-08-08 14:54:36.617 EDT [30169] HINT: Future log output will appear in directory "log". Aug 08 14:54:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Killing process 30170 (postmaster) with signal SIGKILL. Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:39 managed-node2 postmaster[30976]: 2026-08-08 14:54:39.925 EDT [30976] LOG: redirecting log output to logging collector process Aug 08 14:54:39 managed-node2 postmaster[30976]: 2026-08-08 14:54:39.925 EDT [30976] HINT: Future log output will appear in directory "log". Aug 08 14:54:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:01 managed-node2 systemd[1]: postgresql.service: Killing process 30978 (postmaster) with signal SIGKILL. Aug 08 14:55:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.782 EDT [35683] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.782 EDT [35683] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.784 EDT [35683] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.788 EDT [35683] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.798 EDT [35683] LOG: redirecting log output to logging collector process Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.798 EDT [35683] HINT: Future log output will appear in directory "log". Aug 08 14:55:16 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:19 managed-node2 systemd[1]: postgresql.service: Killing process 35684 (postmaster) with signal SIGKILL. Aug 08 14:55:19 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.782 EDT [36490] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.782 EDT [36490] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.784 EDT [36490] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.788 EDT [36490] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.815 EDT [36490] LOG: redirecting log output to logging collector process Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.815 EDT [36490] HINT: Future log output will appear in directory "log". Aug 08 14:55:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:41 managed-node2 systemd[1]: postgresql.service: Killing process 36492 (postmaster) with signal SIGKILL. Aug 08 14:55:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.722 EDT [41225] 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 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.722 EDT [41225] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.722 EDT [41225] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.724 EDT [41225] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.728 EDT [41225] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.738 EDT [41225] LOG: redirecting log output to logging collector process Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.738 EDT [41225] HINT: Future log output will appear in directory "log". Aug 08 14:55:55 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:58 managed-node2 systemd[1]: postgresql.service: Killing process 41226 (postmaster) with signal SIGKILL. Aug 08 14:55:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.715 EDT [42032] 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 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.716 EDT [42032] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.716 EDT [42032] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.718 EDT [42032] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.721 EDT [42032] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.749 EDT [42032] LOG: redirecting log output to logging collector process Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.749 EDT [42032] HINT: Future log output will appear in directory "log". Aug 08 14:55:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:56:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:56:20 managed-node2 systemd[1]: postgresql.service: Killing process 42034 (postmaster) with signal SIGKILL. Aug 08 14:56:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:56:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:56:34 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:56:34 managed-node2 postmaster[46778]: 2026-08-08 14:56:34.854 EDT [46778] LOG: redirecting log output to logging collector process Aug 08 14:56:34 managed-node2 postmaster[46778]: 2026-08-08 14:56:34.854 EDT [46778] HINT: Future log output will appear in directory "log". Aug 08 14:56:34 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:56:37 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:56:37 managed-node2 systemd[1]: postgresql.service: Killing process 46779 (postmaster) with signal SIGKILL. Aug 08 14:56:37 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:56:37 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:56:37 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:56:37 managed-node2 postmaster[47585]: 2026-08-08 14:56:37.873 EDT [47585] LOG: redirecting log output to logging collector process Aug 08 14:56:37 managed-node2 postmaster[47585]: 2026-08-08 14:56:37.873 EDT [47585] HINT: Future log output will appear in directory "log". Aug 08 14:56:37 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:56:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:56:59 managed-node2 systemd[1]: postgresql.service: Killing process 47586 (postmaster) with signal SIGKILL. Aug 08 14:56:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:56:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:57:02 -0400 (0:00:00.334) 0:02:39.908 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:57:02 -0400 (0:00:00.032) 0:02:39.941 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:57:02 -0400 (0:00:00.013) 0:02:39.954 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:57:02 -0400 (0:00:00.025) 0:02:39.979 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:57:02 -0400 (0:00:00.024) 0:02:40.004 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:57:02 -0400 (0:00:00.656) 0:02:40.660 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-08T14:57:03-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:57:03 -0400 (0:00:00.326) 0:02:40.987 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:57:03 -0400 (0:00:00.013) 0:02:41.001 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:57:03 -0400 (0:00:00.013) 0:02:41.014 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:57:03 -0400 (0:00:00.013) 0:02:41.028 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:57:03 -0400 (0:00:00.013) 0:02:41.041 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:57:03 -0400 (0:00:00.013) 0:02:41.054 ******* [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-79t/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-79t/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:57:03 -0400 (0:00:00.039) 0:02:41.093 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:57:03 -0400 (0:00:00.322) 0:02:41.416 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:57:04 -0400 (0:00:00.326) 0:02:41.743 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:57:04 -0400 (0:00:00.328) 0:02:42.072 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:57:05 -0400 (0:00:01.361) 0:02:43.433 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:57:05 -0400 (0:00:00.090) 0:02:43.524 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:57:05 -0400 (0:00:00.030) 0:02:43.555 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:57:05 -0400 (0:00:00.030) 0:02:43.585 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:57:05 -0400 (0:00:00.025) 0:02:43.611 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:57:12 -0400 (0:00:06.252) 0:02:49.864 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.681868", "end": "2026-08-08 14:57:13.154459", "rc": 0, "start": "2026-08-08 14:57:12.472591" } 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:57:13 -0400 (0:00:01.038) 0:02:50.903 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:57:13 -0400 (0:00:00.022) 0:02:50.925 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:57:13 -0400 (0:00:00.020) 0:02:50.945 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:57:13 -0400 (0:00:00.019) 0:02:50.965 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice network-online.target sysinit.target 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/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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:57:14 -0400 (0:00:01.004) 0:02:51.970 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.019) 0:02:51.989 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.018) 0:02:52.008 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.019) 0:02:52.028 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.018) 0:02:52.046 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.018) 0:02:52.064 ******* included: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.031) 0:02:52.096 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.019) 0:02:52.115 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.018) 0:02:52.134 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.019) 0:02:52.153 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.042) 0:02:52.195 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.019) 0:02:52.214 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.018) 0:02:52.232 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.018) 0:02:52.251 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.019) 0:02:52.270 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.018) 0:02:52.289 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.018) 0:02:52.307 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:57:14 -0400 (0:00:00.348) 0:02:52.655 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:57:15 -0400 (0:00:00.350) 0:02:53.005 ******* 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-1786215435.34899-14784-54393738223998/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:57:16 -0400 (0:00:00.695) 0:02:53.701 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:57:16 -0400 (0:00:00.018) 0:02:53.720 ******* 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-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:57:16 -0400 (0:00:00.018) 0:02:53.739 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-08T14:57:16-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:57:16 -0400 (0:00:00.350) 0:02:54.089 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:57:16 -0400 (0:00:00.012) 0:02:54.101 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-08 14:57:14 EDT", "ActiveEnterTimestampMonotonic": "515177957", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network-online.target sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:57:14 EDT", "AssertTimestampMonotonic": "515127775", "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-08 14:57:14 EDT", "ConditionTimestampMonotonic": "515127774", "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": "52325", "ExecMainStartTimestamp": "Sat 2026-08-08 14:57:14 EDT", "ExecMainStartTimestampMonotonic": "515137047", "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-08 14:57:14 EDT] ; stop_time=[n/a] ; pid=52325 ; 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-08 14:57:14 EDT] ; stop_time=[Sat 2026-08-08 14:57:14 EDT] ; pid=52322 ; 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-08 14:57:14 EDT", "InactiveExitTimestampMonotonic": "515128757", "InvocationID": "66a0fd8c6d7e40a785d75462ec9628ed", "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": "52325", "MemoryAccounting": "yes", "MemoryCurrent": "18665472", "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-08 14:57:14 EDT", "StateChangeTimestampMonotonic": "515177957", "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-08 14:57:14 EDT", "WatchdogTimestampMonotonic": "515177955", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:57:17 -0400 (0:00:00.912) 0:02:55.014 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007735", "end": "2026-08-08 14:57:17.608222", "rc": 0, "start": "2026-08-08 14:57:17.600487" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:57:17 -0400 (0:00:00.341) 0:02:55.355 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007931", "end": "2026-08-08 14:57:17.943666", "rc": 0, "start": "2026-08-08 14:57:17.935735" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:57:17 -0400 (0:00:00.335) 0:02:55.691 ******* ok: [managed-node2] => { "ansible_job_id": "208641195194.53530", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011987", "end": "2026-08-08 14:57:18.512254", "finished": 1, "rc": 0, "start": "2026-08-08 14:57:18.500267" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:57:33 -0400 (0:00:15.735) 0:03:11.426 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009289", "end": "2026-08-08 14:57:34.035028", "rc": 0, "start": "2026-08-08 14:57:34.025739" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:57:34 -0400 (0:00:00.357) 0:03:11.784 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:57:34 -0400 (0:00:00.033) 0:03:11.818 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009281", "end": "2026-08-08 14:57:34.430920", "rc": 0, "start": "2026-08-08 14:57:34.421639" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:57:34 -0400 (0:00:00.362) 0:03:12.180 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:57:34 -0400 (0:00:00.033) 0:03:12.214 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008693", "end": "2026-08-08 14:57:34.812489", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:57:34.803796" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:57:34 -0400 (0:00:00.349) 0:03:12.564 ******* included: /tmp/collections-79t/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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:57:34 -0400 (0:00:00.034) 0:03:12.598 ******* 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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:57:39 -0400 (0:00:04.608) 0:03:17.207 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:57:39 -0400 (0:00:00.018) 0:03:17.225 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:57:39 -0400 (0:00:00.380) 0:03:17.606 ******* [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-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:57:41 -0400 (0:00:01.321) 0:03:18.927 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007434", "end": "2026-08-08 14:57:41.521649", "rc": 0, "start": "2026-08-08 14:57:41.514215" } STDOUT: -- Logs begin at Sat 2026-08-08 14:48:40 EDT, end at Sat 2026-08-08 14:57:41 EDT. -- Aug 08 14:52:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:57 managed-node2 postmaster[10417]: 2026-08-08 14:52:57.566 EDT [10417] LOG: redirecting log output to logging collector process Aug 08 14:52:57 managed-node2 postmaster[10417]: 2026-08-08 14:52:57.566 EDT [10417] HINT: Future log output will appear in directory "log". Aug 08 14:52:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:05 managed-node2 systemd[1]: postgresql.service: Killing process 10418 (postmaster) with signal SIGKILL. Aug 08 14:53:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:05 managed-node2 postmaster[12680]: 2026-08-08 14:53:05.379 EDT [12680] LOG: redirecting log output to logging collector process Aug 08 14:53:05 managed-node2 postmaster[12680]: 2026-08-08 14:53:05.379 EDT [12680] HINT: Future log output will appear in directory "log". Aug 08 14:53:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:09 managed-node2 systemd[1]: postgresql.service: Killing process 12681 (postmaster) with signal SIGKILL. Aug 08 14:53:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:41 managed-node2 postmaster[19289]: 2026-08-08 14:53:41.332 EDT [19289] LOG: redirecting log output to logging collector process Aug 08 14:53:41 managed-node2 postmaster[19289]: 2026-08-08 14:53:41.332 EDT [19289] HINT: Future log output will appear in directory "log". Aug 08 14:53:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:46 managed-node2 systemd[1]: postgresql.service: Killing process 19291 (postmaster) with signal SIGKILL. Aug 08 14:53:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:46 managed-node2 postmaster[20831]: 2026-08-08 14:53:46.800 EDT [20831] LOG: redirecting log output to logging collector process Aug 08 14:53:46 managed-node2 postmaster[20831]: 2026-08-08 14:53:46.800 EDT [20831] HINT: Future log output will appear in directory "log". Aug 08 14:53:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:52 managed-node2 systemd[1]: postgresql.service: Killing process 20832 (postmaster) with signal SIGKILL. Aug 08 14:53:52 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:52 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:10 managed-node2 postmaster[25196]: 2026-08-08 14:54:10.636 EDT [25196] LOG: redirecting log output to logging collector process Aug 08 14:54:10 managed-node2 postmaster[25196]: 2026-08-08 14:54:10.636 EDT [25196] HINT: Future log output will appear in directory "log". Aug 08 14:54:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:13 managed-node2 systemd[1]: postgresql.service: Killing process 25197 (postmaster) with signal SIGKILL. Aug 08 14:54:13 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:13 managed-node2 postmaster[25936]: 2026-08-08 14:54:13.689 EDT [25936] LOG: redirecting log output to logging collector process Aug 08 14:54:13 managed-node2 postmaster[25936]: 2026-08-08 14:54:13.689 EDT [25936] HINT: Future log output will appear in directory "log". Aug 08 14:54:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:17 managed-node2 systemd[1]: postgresql.service: Killing process 25938 (postmaster) with signal SIGKILL. Aug 08 14:54:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:36 managed-node2 postmaster[30169]: 2026-08-08 14:54:36.617 EDT [30169] LOG: redirecting log output to logging collector process Aug 08 14:54:36 managed-node2 postmaster[30169]: 2026-08-08 14:54:36.617 EDT [30169] HINT: Future log output will appear in directory "log". Aug 08 14:54:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Killing process 30170 (postmaster) with signal SIGKILL. Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:39 managed-node2 postmaster[30976]: 2026-08-08 14:54:39.925 EDT [30976] LOG: redirecting log output to logging collector process Aug 08 14:54:39 managed-node2 postmaster[30976]: 2026-08-08 14:54:39.925 EDT [30976] HINT: Future log output will appear in directory "log". Aug 08 14:54:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:01 managed-node2 systemd[1]: postgresql.service: Killing process 30978 (postmaster) with signal SIGKILL. Aug 08 14:55:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.782 EDT [35683] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.782 EDT [35683] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.784 EDT [35683] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.788 EDT [35683] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.798 EDT [35683] LOG: redirecting log output to logging collector process Aug 08 14:55:16 managed-node2 postmaster[35683]: 2026-08-08 14:55:16.798 EDT [35683] HINT: Future log output will appear in directory "log". Aug 08 14:55:16 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:19 managed-node2 systemd[1]: postgresql.service: Killing process 35684 (postmaster) with signal SIGKILL. Aug 08 14:55:19 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.782 EDT [36490] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.782 EDT [36490] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.784 EDT [36490] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.788 EDT [36490] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.815 EDT [36490] LOG: redirecting log output to logging collector process Aug 08 14:55:19 managed-node2 postmaster[36490]: 2026-08-08 14:55:19.815 EDT [36490] HINT: Future log output will appear in directory "log". Aug 08 14:55:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:41 managed-node2 systemd[1]: postgresql.service: Killing process 36492 (postmaster) with signal SIGKILL. Aug 08 14:55:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.722 EDT [41225] 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 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.722 EDT [41225] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.722 EDT [41225] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.724 EDT [41225] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.728 EDT [41225] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.738 EDT [41225] LOG: redirecting log output to logging collector process Aug 08 14:55:55 managed-node2 postmaster[41225]: 2026-08-08 14:55:55.738 EDT [41225] HINT: Future log output will appear in directory "log". Aug 08 14:55:55 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:58 managed-node2 systemd[1]: postgresql.service: Killing process 41226 (postmaster) with signal SIGKILL. Aug 08 14:55:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.715 EDT [42032] 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 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.716 EDT [42032] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.716 EDT [42032] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.718 EDT [42032] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.721 EDT [42032] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.749 EDT [42032] LOG: redirecting log output to logging collector process Aug 08 14:55:58 managed-node2 postmaster[42032]: 2026-08-08 14:55:58.749 EDT [42032] HINT: Future log output will appear in directory "log". Aug 08 14:55:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:56:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:56:20 managed-node2 systemd[1]: postgresql.service: Killing process 42034 (postmaster) with signal SIGKILL. Aug 08 14:56:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:56:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:56:34 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:56:34 managed-node2 postmaster[46778]: 2026-08-08 14:56:34.854 EDT [46778] LOG: redirecting log output to logging collector process Aug 08 14:56:34 managed-node2 postmaster[46778]: 2026-08-08 14:56:34.854 EDT [46778] HINT: Future log output will appear in directory "log". Aug 08 14:56:34 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:56:37 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:56:37 managed-node2 systemd[1]: postgresql.service: Killing process 46779 (postmaster) with signal SIGKILL. Aug 08 14:56:37 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:56:37 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:56:37 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:56:37 managed-node2 postmaster[47585]: 2026-08-08 14:56:37.873 EDT [47585] LOG: redirecting log output to logging collector process Aug 08 14:56:37 managed-node2 postmaster[47585]: 2026-08-08 14:56:37.873 EDT [47585] HINT: Future log output will appear in directory "log". Aug 08 14:56:37 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:56:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:56:59 managed-node2 systemd[1]: postgresql.service: Killing process 47586 (postmaster) with signal SIGKILL. Aug 08 14:56:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:56:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:57:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:57:14 managed-node2 postgres[52325]: 2026-08-08 14:57:14.195 EDT [52325] LOG: redirecting log output to logging collector process Aug 08 14:57:14 managed-node2 postgres[52325]: 2026-08-08 14:57:14.195 EDT [52325] HINT: Future log output will appear in directory "log". Aug 08 14:57:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:57:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:57:17 managed-node2 systemd[1]: postgresql.service: Killing process 52326 (postgres) with signal SIGKILL. Aug 08 14:57:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:57:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:57:17 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:57:17 managed-node2 postgres[53131]: 2026-08-08 14:57:17.239 EDT [53131] LOG: redirecting log output to logging collector process Aug 08 14:57:17 managed-node2 postgres[53131]: 2026-08-08 14:57:17.239 EDT [53131] HINT: Future log output will appear in directory "log". Aug 08 14:57:17 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:57:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:57:38 managed-node2 systemd[1]: postgresql.service: Killing process 53133 (postgres) with signal SIGKILL. Aug 08 14:57:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:57:38 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 08 August 2026 14:57:41 -0400 (0:00:00.337) 0:03:19.264 ******* =============================================================================== fedora.linux_system_roles.postgresql : Ensure required packages are installed -- 30.41s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Test - database is accessible for super user using Unix socket --------- 15.94s /tmp/collections-79t/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-79t/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-79t/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.73s /tmp/collections-79t/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.73s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 fedora.linux_system_roles.postgresql : Gather the package facts --------- 7.13s /tmp/collections-79t/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-79t/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.31s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Uninstall postgresql ---------------------------------------------------- 4.64s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.62s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.61s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.59s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.59s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Restart postgresql --------------- 4.55s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf --- 3.54s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 fedora.linux_system_roles.postgresql : Link generated conf file with server one --- 1.80s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 fedora.linux_system_roles.postgresql : Create postgresql directory in /etc --- 1.80s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 fedora.linux_system_roles.postgresql : Record role success fingerprint --- 1.72s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Remove config files ----------------------------------------------------- 1.33s /tmp/collections-79t/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32