ansible-playbook [core 2.16.19] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-6tS executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', 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 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 08 August 2026 14:53:38 -0400 (0:00:00.017) 0:00:00.017 ******* ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 08 August 2026 14:53:39 -0400 (0:00:01.091) 0:00:01.109 ******* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 08 August 2026 14:53:39 -0400 (0:00:00.005) 0:00:01.115 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:53:39 -0400 (0:00:00.036) 0:00:01.151 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 08 August 2026 14:53:39 -0400 (0:00:00.039) 0:00:01.190 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:53:39 -0400 (0:00:00.000) 0:00:01.191 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:53:39 -0400 (0:00:00.015) 0:00:01.207 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:53:39 -0400 (0:00:00.076) 0:00:01.283 ******* included: /tmp/collections-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:53:39 -0400 (0:00:00.024) 0:00:01.308 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.750) 0:00:02.058 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-08T14:53:40-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.437) 0:00:02.496 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:53:41 -0400 (0:00:00.490) 0:00:02.986 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:53:41 -0400 (0:00:00.025) 0:00:03.012 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007855", "end": "2026-08-08 14:53:41.516574", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:53:41.508719" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:53:41 -0400 (0:00:00.444) 0:00:03.456 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:53:41 -0400 (0:00:00.022) 0:00:03.479 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:53:41 -0400 (0:00:00.020) 0:00:03.499 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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-6tS/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-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:53:41 -0400 (0:00:00.058) 0:00:03.557 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:53:42 -0400 (0:00:00.338) 0:00:03.896 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:53:42 -0400 (0:00:00.336) 0:00:04.233 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:53:42 -0400 (0:00:00.329) 0:00:04.562 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:53:44 -0400 (0:00:01.676) 0:00:06.239 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:53:44 -0400 (0:00:00.030) 0:00:06.270 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:53:44 -0400 (0:00:00.023) 0:00:06.294 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:53:44 -0400 (0:00:00.022) 0:00:06.317 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:53:44 -0400 (0:00:00.019) 0:00:06.337 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:53:50 -0400 (0:00:06.108) 0:00:12.446 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.688871", "end": "2026-08-08 14:53:51.547905", "rc": 0, "start": "2026-08-08 14:53:50.859034" } 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:53:51 -0400 (0:00:01.047) 0:00:13.493 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:53:51 -0400 (0:00:00.023) 0:00:13.516 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:53:51 -0400 (0:00:00.023) 0:00:13.540 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:53:51 -0400 (0:00:00.019) 0:00:13.560 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target system.slice systemd-journald.socket 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:53:52 -0400 (0:00:01.285) 0:00:14.845 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:53:52 -0400 (0:00:00.021) 0:00:14.866 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:53:52 -0400 (0:00:00.019) 0:00:14.885 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.019) 0:00:14.905 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.018) 0:00:14.924 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.019) 0:00:14.943 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.028) 0:00:14.972 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.017) 0:00:14.990 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.018) 0:00:15.008 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.017) 0:00:15.026 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.017) 0:00:15.043 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.017) 0:00:15.061 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.017) 0:00:15.078 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.017) 0:00:15.095 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.015) 0:00:15.111 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.016) 0:00:15.128 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.019) 0:00:15.147 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:53:53 -0400 (0:00:00.476) 0:00:15.624 ******* Notification for handler Restart postgresql has been saved. 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:53:54 -0400 (0:00:00.449) 0:00:16.074 ******* 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-1786215234.2155244-12481-112520488221886/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:53:54 -0400 (0:00:00.804) 0:00:16.878 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:53:55 -0400 (0:00:00.021) 0:00:16.900 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:53:55 -0400 (0:00:00.020) 0:00:16.920 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-08T14:53:55-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:53:55 -0400 (0:00:00.332) 0:00:17.253 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 08 August 2026 14:53:55 -0400 (0:00:00.018) 0:00:17.271 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:53:55 -0400 (0:00:00.004) 0:00:17.276 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-08 14:53:52 EDT", "ActiveEnterTimestampMonotonic": "313858590", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target basic.target sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:53:52 EDT", "AssertTimestampMonotonic": "313809578", "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:53:52 EDT", "ConditionTimestampMonotonic": "313809577", "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": "30223", "ExecMainStartTimestamp": "Sat 2026-08-08 14:53:52 EDT", "ExecMainStartTimestampMonotonic": "313818851", "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:53:52 EDT] ; stop_time=[n/a] ; pid=30223 ; 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:53:52 EDT] ; stop_time=[Sat 2026-08-08 14:53:52 EDT] ; pid=30220 ; 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:53:52 EDT", "InactiveExitTimestampMonotonic": "313810485", "InvocationID": "832886d660714839be8f08c93e155594", "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": "30223", "MemoryAccounting": "yes", "MemoryCurrent": "17854464", "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:53:52 EDT", "StateChangeTimestampMonotonic": "313858590", "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:53:52 EDT", "WatchdogTimestampMonotonic": "313858588", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:53:56 -0400 (0:00:00.917) 0:00:18.194 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008123", "end": "2026-08-08 14:53:56.584876", "rc": 0, "start": "2026-08-08 14:53:56.576753" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:53:56 -0400 (0:00:00.334) 0:00:18.528 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007810", "end": "2026-08-08 14:53:56.915096", "rc": 0, "start": "2026-08-08 14:53:56.907286" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:53:56 -0400 (0:00:00.327) 0:00:18.856 ******* ASYNC OK on managed-node2: jid=j866624366278.31430 ok: [managed-node2] => { "ansible_job_id": "j866624366278.31430", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011785", "end": "2026-08-08 14:53:57.560130", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j866624366278.31430", "start": "2026-08-08 14:53:57.548345", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:54:13 -0400 (0:00:16.187) 0:00:35.043 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009584", "end": "2026-08-08 14:54:13.458545", "rc": 0, "start": "2026-08-08 14:54:13.448961" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:54:13 -0400 (0:00:00.359) 0:00:35.403 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:54:13 -0400 (0:00:00.036) 0:00:35.440 ******* 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:54:13.851564", "rc": 0, "start": "2026-08-08 14:54:13.842283" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:54:13 -0400 (0:00:00.356) 0:00:35.797 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:54:13 -0400 (0:00:00.033) 0:00:35.830 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009041", "end": "2026-08-08 14:54:14.230537", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:54:14.221496" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:54:14 -0400 (0:00:00.354) 0:00:36.185 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 08 August 2026 14:54:14 -0400 (0:00:00.034) 0:00:36.219 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:54:14 -0400 (0:00:00.004) 0:00:36.224 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:54:18 -0400 (0:00:04.670) 0:00:40.895 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:54:19 -0400 (0:00:00.019) 0:00:40.914 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:54:19 -0400 (0:00:00.366) 0:00:41.281 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:54:20 -0400 (0:00:01.264) 0:00:42.545 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007176", "end": "2026-08-08 14:54:20.931771", "rc": 0, "start": "2026-08-08 14:54:20.924595" } STDOUT: -- Logs begin at Sat 2026-08-08 14:48:39 EDT, end at Sat 2026-08-08 14:54:20 EDT. -- Aug 08 14:52:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:13 managed-node2 postmaster[10440]: 2026-08-08 14:52:13.673 EDT [10440] LOG: redirecting log output to logging collector process Aug 08 14:52:13 managed-node2 postmaster[10440]: 2026-08-08 14:52:13.673 EDT [10440] HINT: Future log output will appear in directory "log". Aug 08 14:52:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:21 managed-node2 systemd[1]: postgresql.service: Killing process 10441 (postmaster) with signal SIGKILL. Aug 08 14:52:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:52:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:21 managed-node2 postmaster[12703]: 2026-08-08 14:52:21.369 EDT [12703] LOG: redirecting log output to logging collector process Aug 08 14:52:21 managed-node2 postmaster[12703]: 2026-08-08 14:52:21.369 EDT [12703] HINT: Future log output will appear in directory "log". Aug 08 14:52:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:25 managed-node2 systemd[1]: postgresql.service: Killing process 12704 (postmaster) with signal SIGKILL. Aug 08 14:52:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:52:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:56 managed-node2 postmaster[19326]: 2026-08-08 14:52:56.710 EDT [19326] LOG: redirecting log output to logging collector process Aug 08 14:52:56 managed-node2 postmaster[19326]: 2026-08-08 14:52:56.710 EDT [19326] HINT: Future log output will appear in directory "log". Aug 08 14:52:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:02 managed-node2 systemd[1]: postgresql.service: Killing process 19327 (postmaster) with signal SIGKILL. Aug 08 14:53:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:02 managed-node2 postmaster[20866]: 2026-08-08 14:53:02.211 EDT [20866] LOG: redirecting log output to logging collector process Aug 08 14:53:02 managed-node2 postmaster[20866]: 2026-08-08 14:53:02.211 EDT [20866] HINT: Future log output will appear in directory "log". Aug 08 14:53:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:07 managed-node2 systemd[1]: postgresql.service: Killing process 20868 (postmaster) with signal SIGKILL. Aug 08 14:53:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:26 managed-node2 postmaster[25241]: 2026-08-08 14:53:26.445 EDT [25241] LOG: redirecting log output to logging collector process Aug 08 14:53:26 managed-node2 postmaster[25241]: 2026-08-08 14:53:26.445 EDT [25241] HINT: Future log output will appear in directory "log". Aug 08 14:53:26 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:29 managed-node2 systemd[1]: postgresql.service: Killing process 25242 (postmaster) with signal SIGKILL. Aug 08 14:53:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:29 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:29 managed-node2 postmaster[25981]: 2026-08-08 14:53:29.840 EDT [25981] LOG: redirecting log output to logging collector process Aug 08 14:53:29 managed-node2 postmaster[25981]: 2026-08-08 14:53:29.840 EDT [25981] HINT: Future log output will appear in directory "log". Aug 08 14:53:29 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:33 managed-node2 systemd[1]: postgresql.service: Killing process 25982 (postmaster) with signal SIGKILL. Aug 08 14:53:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:52 managed-node2 postmaster[30223]: 2026-08-08 14:53:52.872 EDT [30223] LOG: redirecting log output to logging collector process Aug 08 14:53:52 managed-node2 postmaster[30223]: 2026-08-08 14:53:52.872 EDT [30223] HINT: Future log output will appear in directory "log". Aug 08 14:53:52 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:56 managed-node2 systemd[1]: postgresql.service: Killing process 30224 (postmaster) with signal SIGKILL. Aug 08 14:53:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:56 managed-node2 postmaster[31031]: 2026-08-08 14:53:56.223 EDT [31031] LOG: redirecting log output to logging collector process Aug 08 14:53:56 managed-node2 postmaster[31031]: 2026-08-08 14:53:56.223 EDT [31031] HINT: Future log output will appear in directory "log". Aug 08 14:53:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:18 managed-node2 systemd[1]: postgresql.service: Killing process 31032 (postmaster) with signal SIGKILL. Aug 08 14:54:18 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 08 August 2026 14:54:20 -0400 (0:00:00.330) 0:00:42.876 ******* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 08 August 2026 14:54:20 -0400 (0:00:00.012) 0:00:42.888 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 08 August 2026 14:54:21 -0400 (0:00:00.024) 0:00:42.913 ******* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item != __default_version", "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:54:21 -0400 (0:00:00.092) 0:00:43.006 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 08 August 2026 14:54:21 -0400 (0:00:00.029) 0:00:43.036 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:54:21 -0400 (0:00:00.001) 0:00:43.037 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:54:21 -0400 (0:00:00.017) 0:00:43.055 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:54:21 -0400 (0:00:00.042) 0:00:43.098 ******* included: /tmp/collections-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:54:21 -0400 (0:00:00.025) 0:00:43.123 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:54:21 -0400 (0:00:00.771) 0:00:43.894 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-08T14:54:22-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:54:22 -0400 (0:00:00.329) 0:00:44.224 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:54:22 -0400 (0:00:00.017) 0:00:44.241 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:54:22 -0400 (0:00:00.016) 0:00:44.257 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:54:22 -0400 (0:00:00.016) 0:00:44.274 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:54:22 -0400 (0:00:00.016) 0:00:44.290 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:54:22 -0400 (0:00:00.015) 0:00:44.306 ******* [WARNING]: TASK: fedora.linux_system_roles.postgresql : Set platform/version specific variables: 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, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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-6tS/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-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:54:22 -0400 (0:00:00.039) 0:00:44.345 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:54:22 -0400 (0:00:00.317) 0:00:44.662 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:54:23 -0400 (0:00:00.312) 0:00:44.975 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:54:23 -0400 (0:00:00.310) 0:00:45.286 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:54:24 -0400 (0:00:01.403) 0:00:46.689 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:54:24 -0400 (0:00:00.057) 0:00:46.746 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:54:24 -0400 (0:00:00.025) 0:00:46.771 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:54:24 -0400 (0:00:00.024) 0:00:46.796 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:54:24 -0400 (0:00:00.020) 0:00:46.816 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:54:31 -0400 (0:00:06.782) 0:00:53.599 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.710970", "end": "2026-08-08 14:54:32.717303", "rc": 0, "start": "2026-08-08 14:54:32.006333" } 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:54:32 -0400 (0:00:01.061) 0:00:54.661 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:54:32 -0400 (0:00:00.020) 0:00:54.682 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:54:32 -0400 (0:00:00.019) 0:00:54.702 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:54:32 -0400 (0:00:00.020) 0:00:54.723 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice sysinit.target network-online.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/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:54:33 -0400 (0:00:01.023) 0:00:55.747 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:54:33 -0400 (0:00:00.022) 0:00:55.769 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:54:33 -0400 (0:00:00.021) 0:00:55.791 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:54:33 -0400 (0:00:00.022) 0:00:55.814 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:54:33 -0400 (0:00:00.017) 0:00:55.832 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:54:33 -0400 (0:00:00.021) 0:00:55.853 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:54:33 -0400 (0:00:00.031) 0:00:55.885 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.019) 0:00:55.904 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.019) 0:00:55.923 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.018) 0:00:55.942 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.020) 0:00:55.962 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.019) 0:00:55.981 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.018) 0:00:56.000 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.019) 0:00:56.019 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.018) 0:00:56.038 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.017) 0:00:56.055 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.021) 0:00:56.077 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.337) 0:00:56.414 ******* Notification for handler Restart postgresql has been saved. 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:54:34 -0400 (0:00:00.332) 0:00:56.746 ******* 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-1786215274.8884625-12895-178393624685403/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:54:35 -0400 (0:00:00.662) 0:00:57.409 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:54:35 -0400 (0:00:00.022) 0:00:57.432 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:54:35 -0400 (0:00:00.021) 0:00:57.454 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-08T14:54:35-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:54:35 -0400 (0:00:00.343) 0:00:57.797 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 08 August 2026 14:54:35 -0400 (0:00:00.019) 0:00:57.817 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:54:35 -0400 (0:00:00.005) 0:00:57.822 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-08 14:54:33 EDT", "ActiveEnterTimestampMonotonic": "354760677", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target network-online.target sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:54:33 EDT", "AssertTimestampMonotonic": "354711747", "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:33 EDT", "ConditionTimestampMonotonic": "354711747", "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": "35877", "ExecMainStartTimestamp": "Sat 2026-08-08 14:54:33 EDT", "ExecMainStartTimestampMonotonic": "354720793", "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:54:33 EDT] ; stop_time=[n/a] ; pid=35877 ; 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:33 EDT] ; stop_time=[Sat 2026-08-08 14:54:33 EDT] ; pid=35874 ; 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:33 EDT", "InactiveExitTimestampMonotonic": "354712624", "InvocationID": "751eda7f900341f6824a28b70b2e19f3", "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": "35877", "MemoryAccounting": "yes", "MemoryCurrent": "18661376", "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:54:33 EDT", "StateChangeTimestampMonotonic": "354760677", "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:54:33 EDT", "WatchdogTimestampMonotonic": "354760676", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.929) 0:00:58.752 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007687", "end": "2026-08-08 14:54:37.141547", "rc": 0, "start": "2026-08-08 14:54:37.133860" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.331) 0:00:59.084 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007798", "end": "2026-08-08 14:54:37.470385", "rc": 0, "start": "2026-08-08 14:54:37.462587" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.328) 0:00:59.412 ******* ASYNC OK on managed-node2: jid=j433670925927.37082 ok: [managed-node2] => { "ansible_job_id": "j433670925927.37082", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012146", "end": "2026-08-08 14:54:38.019155", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j433670925927.37082", "start": "2026-08-08 14:54:38.007009", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:54:53 -0400 (0:00:15.975) 0:01:15.387 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009369", "end": "2026-08-08 14:54:53.787783", "rc": 0, "start": "2026-08-08 14:54:53.778414" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:54:53 -0400 (0:00:00.344) 0:01:15.732 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:54:53 -0400 (0:00:00.032) 0:01:15.764 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008965", "end": "2026-08-08 14:54:54.164678", "rc": 0, "start": "2026-08-08 14:54:54.155713" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:54:54 -0400 (0:00:00.343) 0:01:16.107 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:54:54 -0400 (0:00:00.032) 0:01:16.139 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009478", "end": "2026-08-08 14:54:54.526732", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:54:54.517254" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:54:54 -0400 (0:00:00.368) 0:01:16.508 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 08 August 2026 14:54:54 -0400 (0:00:00.032) 0:01:16.540 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:54:54 -0400 (0:00:00.004) 0:01:16.545 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:54:59 -0400 (0:00:04.717) 0:01:21.263 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:54:59 -0400 (0:00:00.019) 0:01:21.282 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:54:59 -0400 (0:00:00.373) 0:01:21.656 ******* [WARNING]: TASK: Remove config files: 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-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:55:01 -0400 (0:00:01.267) 0:01:22.923 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007303", "end": "2026-08-08 14:55:01.310308", "rc": 0, "start": "2026-08-08 14:55:01.303005" } STDOUT: -- Logs begin at Sat 2026-08-08 14:48:39 EDT, end at Sat 2026-08-08 14:55:01 EDT. -- Aug 08 14:52:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:13 managed-node2 postmaster[10440]: 2026-08-08 14:52:13.673 EDT [10440] LOG: redirecting log output to logging collector process Aug 08 14:52:13 managed-node2 postmaster[10440]: 2026-08-08 14:52:13.673 EDT [10440] HINT: Future log output will appear in directory "log". Aug 08 14:52:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:21 managed-node2 systemd[1]: postgresql.service: Killing process 10441 (postmaster) with signal SIGKILL. Aug 08 14:52:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:52:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:21 managed-node2 postmaster[12703]: 2026-08-08 14:52:21.369 EDT [12703] LOG: redirecting log output to logging collector process Aug 08 14:52:21 managed-node2 postmaster[12703]: 2026-08-08 14:52:21.369 EDT [12703] HINT: Future log output will appear in directory "log". Aug 08 14:52:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:25 managed-node2 systemd[1]: postgresql.service: Killing process 12704 (postmaster) with signal SIGKILL. Aug 08 14:52:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:52:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:56 managed-node2 postmaster[19326]: 2026-08-08 14:52:56.710 EDT [19326] LOG: redirecting log output to logging collector process Aug 08 14:52:56 managed-node2 postmaster[19326]: 2026-08-08 14:52:56.710 EDT [19326] HINT: Future log output will appear in directory "log". Aug 08 14:52:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:02 managed-node2 systemd[1]: postgresql.service: Killing process 19327 (postmaster) with signal SIGKILL. Aug 08 14:53:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:02 managed-node2 postmaster[20866]: 2026-08-08 14:53:02.211 EDT [20866] LOG: redirecting log output to logging collector process Aug 08 14:53:02 managed-node2 postmaster[20866]: 2026-08-08 14:53:02.211 EDT [20866] HINT: Future log output will appear in directory "log". Aug 08 14:53:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:07 managed-node2 systemd[1]: postgresql.service: Killing process 20868 (postmaster) with signal SIGKILL. Aug 08 14:53:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:26 managed-node2 postmaster[25241]: 2026-08-08 14:53:26.445 EDT [25241] LOG: redirecting log output to logging collector process Aug 08 14:53:26 managed-node2 postmaster[25241]: 2026-08-08 14:53:26.445 EDT [25241] HINT: Future log output will appear in directory "log". Aug 08 14:53:26 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:29 managed-node2 systemd[1]: postgresql.service: Killing process 25242 (postmaster) with signal SIGKILL. Aug 08 14:53:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:29 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:29 managed-node2 postmaster[25981]: 2026-08-08 14:53:29.840 EDT [25981] LOG: redirecting log output to logging collector process Aug 08 14:53:29 managed-node2 postmaster[25981]: 2026-08-08 14:53:29.840 EDT [25981] HINT: Future log output will appear in directory "log". Aug 08 14:53:29 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:33 managed-node2 systemd[1]: postgresql.service: Killing process 25982 (postmaster) with signal SIGKILL. Aug 08 14:53:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:52 managed-node2 postmaster[30223]: 2026-08-08 14:53:52.872 EDT [30223] LOG: redirecting log output to logging collector process Aug 08 14:53:52 managed-node2 postmaster[30223]: 2026-08-08 14:53:52.872 EDT [30223] HINT: Future log output will appear in directory "log". Aug 08 14:53:52 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:56 managed-node2 systemd[1]: postgresql.service: Killing process 30224 (postmaster) with signal SIGKILL. Aug 08 14:53:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:56 managed-node2 postmaster[31031]: 2026-08-08 14:53:56.223 EDT [31031] LOG: redirecting log output to logging collector process Aug 08 14:53:56 managed-node2 postmaster[31031]: 2026-08-08 14:53:56.223 EDT [31031] HINT: Future log output will appear in directory "log". Aug 08 14:53:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:18 managed-node2 systemd[1]: postgresql.service: Killing process 31032 (postmaster) with signal SIGKILL. Aug 08 14:54:18 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:33 managed-node2 postgres[35877]: 2026-08-08 14:54:33.774 EDT [35877] LOG: redirecting log output to logging collector process Aug 08 14:54:33 managed-node2 postgres[35877]: 2026-08-08 14:54:33.774 EDT [35877] HINT: Future log output will appear in directory "log". Aug 08 14:54:33 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:36 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 postgres[36684]: 2026-08-08 14:54:36.778 EDT [36684] LOG: redirecting log output to logging collector process Aug 08 14:54:36 managed-node2 postgres[36684]: 2026-08-08 14:54:36.778 EDT [36684] 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:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:58 managed-node2 systemd[1]: postgresql.service: Killing process 36685 (postgres) with signal SIGKILL. Aug 08 14:54:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:55:01 -0400 (0:00:00.330) 0:01:23.253 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 08 August 2026 14:55:01 -0400 (0:00:00.034) 0:01:23.288 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:55:01 -0400 (0:00:00.001) 0:01:23.289 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:55:01 -0400 (0:00:00.017) 0:01:23.306 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:55:01 -0400 (0:00:00.043) 0:01:23.350 ******* included: /tmp/collections-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:55:01 -0400 (0:00:00.025) 0:01:23.375 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:55:02 -0400 (0:00:00.783) 0:01:24.158 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-08T14:55:02-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:55:02 -0400 (0:00:00.323) 0:01:24.482 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:55:02 -0400 (0:00:00.017) 0:01:24.499 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:55:02 -0400 (0:00:00.016) 0:01:24.516 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:55:02 -0400 (0:00:00.015) 0:01:24.531 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:55:02 -0400 (0:00:00.015) 0:01:24.547 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:55:02 -0400 (0:00:00.015) 0:01:24.562 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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-6tS/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-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:55:02 -0400 (0:00:00.037) 0:01:24.600 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:55:03 -0400 (0:00:00.318) 0:01:24.918 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:55:03 -0400 (0:00:00.317) 0:01:25.236 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:55:03 -0400 (0:00:00.319) 0:01:25.555 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:55:05 -0400 (0:00:01.382) 0:01:26.938 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.028) 0:01:26.967 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.024) 0:01:26.991 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.026) 0:01:27.018 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:55:05 -0400 (0:00:00.019) 0:01:27.038 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:55:11 -0400 (0:00:06.288) 0:01:33.326 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.726175", "end": "2026-08-08 14:55:12.460122", "rc": 0, "start": "2026-08-08 14:55:11.733947" } 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:55:12 -0400 (0:00:01.077) 0:01:34.404 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:55:12 -0400 (0:00:00.022) 0:01:34.426 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:55:12 -0400 (0:00:00.019) 0:01:34.446 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:55:12 -0400 (0:00:00.019) 0:01:34.466 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target basic.target sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:55:13 -0400 (0:00:01.043) 0:01:35.509 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.023) 0:01:35.532 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.021) 0:01:35.554 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.021) 0:01:35.576 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.017) 0:01:35.594 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.022) 0:01:35.616 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.030) 0:01:35.647 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.019) 0:01:35.666 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.019) 0:01:35.686 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.018) 0:01:35.705 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.018) 0:01:35.723 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.018) 0:01:35.742 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.048) 0:01:35.791 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.019) 0:01:35.811 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.017) 0:01:35.828 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.016) 0:01:35.845 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.023) 0:01:35.868 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:55:14 -0400 (0:00:00.340) 0:01:36.209 ******* Notification for handler Restart postgresql has been saved. 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:55:14 -0400 (0:00:00.336) 0:01:36.546 ******* 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-1786215314.6885278-13308-211368047153428/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:55:15 -0400 (0:00:00.666) 0:01:37.212 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:55:15 -0400 (0:00:00.024) 0:01:37.236 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:55:15 -0400 (0:00:00.022) 0:01:37.259 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-08T14:55:15-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:55:15 -0400 (0:00:00.337) 0:01:37.596 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 08 August 2026 14:55:15 -0400 (0:00:00.021) 0:01:37.618 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:55:15 -0400 (0:00:00.005) 0:01:37.623 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-08 14:55:13 EDT", "ActiveEnterTimestampMonotonic": "394520297", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:55:13 EDT", "AssertTimestampMonotonic": "394470768", "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:13 EDT", "ConditionTimestampMonotonic": "394470767", "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": "41522", "ExecMainStartTimestamp": "Sat 2026-08-08 14:55:13 EDT", "ExecMainStartTimestampMonotonic": "394480317", "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:13 EDT] ; stop_time=[n/a] ; pid=41522 ; 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:13 EDT] ; stop_time=[Sat 2026-08-08 14:55:13 EDT] ; pid=41519 ; 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:13 EDT", "InactiveExitTimestampMonotonic": "394471784", "InvocationID": "9bbc8199aa1c437cbf8cdd60dbd08efe", "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": "41522", "MemoryAccounting": "yes", "MemoryCurrent": "17862656", "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:13 EDT", "StateChangeTimestampMonotonic": "394520297", "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:13 EDT", "WatchdogTimestampMonotonic": "394520295", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.921) 0:01:38.544 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007630", "end": "2026-08-08 14:55:16.930525", "rc": 0, "start": "2026-08-08 14:55:16.922895" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.327) 0:01:38.872 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007875", "end": "2026-08-08 14:55:17.254347", "rc": 0, "start": "2026-08-08 14:55:17.246472" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.324) 0:01:39.197 ******* ASYNC OK on managed-node2: jid=j98286796477.42729 ok: [managed-node2] => { "ansible_job_id": "j98286796477.42729", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011323", "end": "2026-08-08 14:55:17.798726", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j98286796477.42729", "start": "2026-08-08 14:55:17.787403", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:55:33 -0400 (0:00:15.975) 0:01:55.173 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009856", "end": "2026-08-08 14:55:33.574410", "rc": 0, "start": "2026-08-08 14:55:33.564554" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:55:33 -0400 (0:00:00.344) 0:01:55.518 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:55:33 -0400 (0:00:00.032) 0:01:55.550 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009490", "end": "2026-08-08 14:55:33.951580", "rc": 0, "start": "2026-08-08 14:55:33.942090" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:55:34 -0400 (0:00:00.347) 0:01:55.898 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:55:34 -0400 (0:00:00.032) 0:01:55.931 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008563", "end": "2026-08-08 14:55:34.317853", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:55:34.309290" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:55:34 -0400 (0:00:00.334) 0:01:56.266 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 08 August 2026 14:55:34 -0400 (0:00:00.034) 0:01:56.300 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:55:34 -0400 (0:00:00.004) 0:01:56.304 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:55:39 -0400 (0:00:04.647) 0:02:00.952 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:55:39 -0400 (0:00:00.018) 0:02:00.971 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:55:39 -0400 (0:00:00.366) 0:02:01.338 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:55:40 -0400 (0:00:01.248) 0:02:02.586 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007331", "end": "2026-08-08 14:55:40.970934", "rc": 0, "start": "2026-08-08 14:55:40.963603" } STDOUT: -- Logs begin at Sat 2026-08-08 14:48:39 EDT, end at Sat 2026-08-08 14:55:40 EDT. -- Aug 08 14:52:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:13 managed-node2 postmaster[10440]: 2026-08-08 14:52:13.673 EDT [10440] LOG: redirecting log output to logging collector process Aug 08 14:52:13 managed-node2 postmaster[10440]: 2026-08-08 14:52:13.673 EDT [10440] HINT: Future log output will appear in directory "log". Aug 08 14:52:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:21 managed-node2 systemd[1]: postgresql.service: Killing process 10441 (postmaster) with signal SIGKILL. Aug 08 14:52:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:52:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:21 managed-node2 postmaster[12703]: 2026-08-08 14:52:21.369 EDT [12703] LOG: redirecting log output to logging collector process Aug 08 14:52:21 managed-node2 postmaster[12703]: 2026-08-08 14:52:21.369 EDT [12703] HINT: Future log output will appear in directory "log". Aug 08 14:52:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:25 managed-node2 systemd[1]: postgresql.service: Killing process 12704 (postmaster) with signal SIGKILL. Aug 08 14:52:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:52:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:56 managed-node2 postmaster[19326]: 2026-08-08 14:52:56.710 EDT [19326] LOG: redirecting log output to logging collector process Aug 08 14:52:56 managed-node2 postmaster[19326]: 2026-08-08 14:52:56.710 EDT [19326] HINT: Future log output will appear in directory "log". Aug 08 14:52:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:02 managed-node2 systemd[1]: postgresql.service: Killing process 19327 (postmaster) with signal SIGKILL. Aug 08 14:53:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:02 managed-node2 postmaster[20866]: 2026-08-08 14:53:02.211 EDT [20866] LOG: redirecting log output to logging collector process Aug 08 14:53:02 managed-node2 postmaster[20866]: 2026-08-08 14:53:02.211 EDT [20866] HINT: Future log output will appear in directory "log". Aug 08 14:53:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:07 managed-node2 systemd[1]: postgresql.service: Killing process 20868 (postmaster) with signal SIGKILL. Aug 08 14:53:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:26 managed-node2 postmaster[25241]: 2026-08-08 14:53:26.445 EDT [25241] LOG: redirecting log output to logging collector process Aug 08 14:53:26 managed-node2 postmaster[25241]: 2026-08-08 14:53:26.445 EDT [25241] HINT: Future log output will appear in directory "log". Aug 08 14:53:26 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:29 managed-node2 systemd[1]: postgresql.service: Killing process 25242 (postmaster) with signal SIGKILL. Aug 08 14:53:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:29 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:29 managed-node2 postmaster[25981]: 2026-08-08 14:53:29.840 EDT [25981] LOG: redirecting log output to logging collector process Aug 08 14:53:29 managed-node2 postmaster[25981]: 2026-08-08 14:53:29.840 EDT [25981] HINT: Future log output will appear in directory "log". Aug 08 14:53:29 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:33 managed-node2 systemd[1]: postgresql.service: Killing process 25982 (postmaster) with signal SIGKILL. Aug 08 14:53:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:52 managed-node2 postmaster[30223]: 2026-08-08 14:53:52.872 EDT [30223] LOG: redirecting log output to logging collector process Aug 08 14:53:52 managed-node2 postmaster[30223]: 2026-08-08 14:53:52.872 EDT [30223] HINT: Future log output will appear in directory "log". Aug 08 14:53:52 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:56 managed-node2 systemd[1]: postgresql.service: Killing process 30224 (postmaster) with signal SIGKILL. Aug 08 14:53:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:56 managed-node2 postmaster[31031]: 2026-08-08 14:53:56.223 EDT [31031] LOG: redirecting log output to logging collector process Aug 08 14:53:56 managed-node2 postmaster[31031]: 2026-08-08 14:53:56.223 EDT [31031] HINT: Future log output will appear in directory "log". Aug 08 14:53:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:18 managed-node2 systemd[1]: postgresql.service: Killing process 31032 (postmaster) with signal SIGKILL. Aug 08 14:54:18 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:33 managed-node2 postgres[35877]: 2026-08-08 14:54:33.774 EDT [35877] LOG: redirecting log output to logging collector process Aug 08 14:54:33 managed-node2 postgres[35877]: 2026-08-08 14:54:33.774 EDT [35877] HINT: Future log output will appear in directory "log". Aug 08 14:54:33 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:36 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 postgres[36684]: 2026-08-08 14:54:36.778 EDT [36684] LOG: redirecting log output to logging collector process Aug 08 14:54:36 managed-node2 postgres[36684]: 2026-08-08 14:54:36.778 EDT [36684] 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:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:58 managed-node2 systemd[1]: postgresql.service: Killing process 36685 (postgres) with signal SIGKILL. Aug 08 14:54:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.524 EDT [41522] 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:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.524 EDT [41522] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.524 EDT [41522] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.526 EDT [41522] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.530 EDT [41522] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.540 EDT [41522] LOG: redirecting log output to logging collector process Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.540 EDT [41522] HINT: Future log output will appear in directory "log". Aug 08 14:55:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:16 managed-node2 systemd[1]: postgresql.service: Killing process 41523 (postmaster) with signal SIGKILL. Aug 08 14:55:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:16 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[42329]: 2026-08-08 14:55:16.545 EDT [42329] 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:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.545 EDT [42329] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.545 EDT [42329] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.547 EDT [42329] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.551 EDT [42329] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.580 EDT [42329] LOG: redirecting log output to logging collector process Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.580 EDT [42329] 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:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:38 managed-node2 systemd[1]: postgresql.service: Killing process 42331 (postmaster) with signal SIGKILL. Aug 08 14:55:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:55:41 -0400 (0:00:00.328) 0:02:02.915 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 08 August 2026 14:55:41 -0400 (0:00:00.030) 0:02:02.946 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:55:41 -0400 (0:00:00.001) 0:02:02.947 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:55:41 -0400 (0:00:00.015) 0:02:02.963 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:55:41 -0400 (0:00:00.041) 0:02:03.004 ******* included: /tmp/collections-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:55:41 -0400 (0:00:00.024) 0:02:03.029 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:55:41 -0400 (0:00:00.766) 0:02:03.795 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-08T14:55:42-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:55:42 -0400 (0:00:00.321) 0:02:04.117 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:55:42 -0400 (0:00:00.018) 0:02:04.135 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:55:42 -0400 (0:00:00.016) 0:02:04.151 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:55:42 -0400 (0:00:00.017) 0:02:04.169 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:55:42 -0400 (0:00:00.018) 0:02:04.187 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:55:42 -0400 (0:00:00.016) 0:02:04.204 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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-6tS/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-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:55:42 -0400 (0:00:00.039) 0:02:04.244 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:55:42 -0400 (0:00:00.316) 0:02:04.561 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:55:42 -0400 (0:00:00.317) 0:02:04.878 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:55:43 -0400 (0:00:00.327) 0:02:05.205 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:55:44 -0400 (0:00:01.428) 0:02:06.634 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:55:44 -0400 (0:00:00.090) 0:02:06.724 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:55:44 -0400 (0:00:00.025) 0:02:06.750 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:55:44 -0400 (0:00:00.024) 0:02:06.775 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:55:44 -0400 (0:00:00.020) 0:02:06.795 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:55:50 -0400 (0:00:05.958) 0:02:12.753 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.695834", "end": "2026-08-08 14:55:51.853748", "rc": 0, "start": "2026-08-08 14:55:51.157914" } 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:55:51 -0400 (0:00:01.044) 0:02:13.798 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:55:51 -0400 (0:00:00.020) 0:02:13.818 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:55:51 -0400 (0:00:00.018) 0:02:13.837 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:55:51 -0400 (0:00:00.019) 0:02:13.857 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target basic.target system.slice 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/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:55:52 -0400 (0:00:01.016) 0:02:14.874 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.022) 0:02:14.896 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.021) 0:02:14.917 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.022) 0:02:14.939 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.017) 0:02:14.957 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.020) 0:02:14.977 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.030) 0:02:15.008 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.018) 0:02:15.026 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.018) 0:02:15.045 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.019) 0:02:15.064 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.018) 0:02:15.082 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.017) 0:02:15.100 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.017) 0:02:15.118 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.019) 0:02:15.137 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.017) 0:02:15.154 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.016) 0:02:15.171 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.020) 0:02:15.192 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.331) 0:02:15.523 ******* Notification for handler Restart postgresql has been saved. 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:55:53 -0400 (0:00:00.332) 0:02:15.856 ******* 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-1786215353.9977481-13717-91490846165108/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:55:54 -0400 (0:00:00.661) 0:02:16.517 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:55:54 -0400 (0:00:00.022) 0:02:16.540 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:55:54 -0400 (0:00:00.024) 0:02:16.564 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-08T14:55:54-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.338) 0:02:16.902 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.020) 0:02:16.922 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.006) 0:02:16.929 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-08 14:55:52 EDT", "ActiveEnterTimestampMonotonic": "433887300", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target sysinit.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:55:52 EDT", "AssertTimestampMonotonic": "433840540", "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:52 EDT", "ConditionTimestampMonotonic": "433840540", "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": "47140", "ExecMainStartTimestamp": "Sat 2026-08-08 14:55:52 EDT", "ExecMainStartTimestampMonotonic": "433849866", "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:52 EDT] ; stop_time=[n/a] ; pid=47140 ; 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:52 EDT] ; stop_time=[Sat 2026-08-08 14:55:52 EDT] ; pid=47137 ; 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:52 EDT", "InactiveExitTimestampMonotonic": "433841491", "InvocationID": "94dfb3d61c434bc18cf2c8d9c2f4e294", "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": "47140", "MemoryAccounting": "yes", "MemoryCurrent": "16846848", "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:52 EDT", "StateChangeTimestampMonotonic": "433887300", "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:52 EDT", "WatchdogTimestampMonotonic": "433887299", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:55:55 -0400 (0:00:00.923) 0:02:17.853 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007642", "end": "2026-08-08 14:55:56.242648", "rc": 0, "start": "2026-08-08 14:55:56.235006" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:55:56 -0400 (0:00:00.332) 0:02:18.186 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008246", "end": "2026-08-08 14:55:56.573637", "rc": 0, "start": "2026-08-08 14:55:56.565391" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:55:56 -0400 (0:00:00.331) 0:02:18.517 ******* ASYNC OK on managed-node2: jid=j314857755045.48347 ok: [managed-node2] => { "ansible_job_id": "j314857755045.48347", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010954", "end": "2026-08-08 14:55:57.122422", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j314857755045.48347", "start": "2026-08-08 14:55:57.111468", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:56:12 -0400 (0:00:15.979) 0:02:34.497 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009532", "end": "2026-08-08 14:56:12.900221", "rc": 0, "start": "2026-08-08 14:56:12.890689" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:56:12 -0400 (0:00:00.347) 0:02:34.844 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:56:12 -0400 (0:00:00.034) 0:02:34.878 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009261", "end": "2026-08-08 14:56:13.290724", "rc": 0, "start": "2026-08-08 14:56:13.281463" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:56:13 -0400 (0:00:00.358) 0:02:35.237 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:56:13 -0400 (0:00:00.035) 0:02:35.272 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006683", "end": "2026-08-08 14:56:13.667403", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:56:13.660720" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:56:13 -0400 (0:00:00.409) 0:02:35.682 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 08 August 2026 14:56:13 -0400 (0:00:00.033) 0:02:35.716 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:56:13 -0400 (0:00:00.004) 0:02:35.720 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:56:18 -0400 (0:00:04.665) 0:02:40.386 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:56:18 -0400 (0:00:00.018) 0:02:40.405 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:56:18 -0400 (0:00:00.363) 0:02:40.768 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:56:20 -0400 (0:00:01.250) 0:02:42.019 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007376", "end": "2026-08-08 14:56:20.401220", "rc": 0, "start": "2026-08-08 14:56:20.393844" } STDOUT: -- Logs begin at Sat 2026-08-08 14:48:39 EDT, end at Sat 2026-08-08 14:56:20 EDT. -- Aug 08 14:52:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:13 managed-node2 postmaster[10440]: 2026-08-08 14:52:13.673 EDT [10440] LOG: redirecting log output to logging collector process Aug 08 14:52:13 managed-node2 postmaster[10440]: 2026-08-08 14:52:13.673 EDT [10440] HINT: Future log output will appear in directory "log". Aug 08 14:52:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:21 managed-node2 systemd[1]: postgresql.service: Killing process 10441 (postmaster) with signal SIGKILL. Aug 08 14:52:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:52:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:21 managed-node2 postmaster[12703]: 2026-08-08 14:52:21.369 EDT [12703] LOG: redirecting log output to logging collector process Aug 08 14:52:21 managed-node2 postmaster[12703]: 2026-08-08 14:52:21.369 EDT [12703] HINT: Future log output will appear in directory "log". Aug 08 14:52:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:25 managed-node2 systemd[1]: postgresql.service: Killing process 12704 (postmaster) with signal SIGKILL. Aug 08 14:52:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:52:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:56 managed-node2 postmaster[19326]: 2026-08-08 14:52:56.710 EDT [19326] LOG: redirecting log output to logging collector process Aug 08 14:52:56 managed-node2 postmaster[19326]: 2026-08-08 14:52:56.710 EDT [19326] HINT: Future log output will appear in directory "log". Aug 08 14:52:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:02 managed-node2 systemd[1]: postgresql.service: Killing process 19327 (postmaster) with signal SIGKILL. Aug 08 14:53:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:02 managed-node2 postmaster[20866]: 2026-08-08 14:53:02.211 EDT [20866] LOG: redirecting log output to logging collector process Aug 08 14:53:02 managed-node2 postmaster[20866]: 2026-08-08 14:53:02.211 EDT [20866] HINT: Future log output will appear in directory "log". Aug 08 14:53:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:07 managed-node2 systemd[1]: postgresql.service: Killing process 20868 (postmaster) with signal SIGKILL. Aug 08 14:53:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:26 managed-node2 postmaster[25241]: 2026-08-08 14:53:26.445 EDT [25241] LOG: redirecting log output to logging collector process Aug 08 14:53:26 managed-node2 postmaster[25241]: 2026-08-08 14:53:26.445 EDT [25241] HINT: Future log output will appear in directory "log". Aug 08 14:53:26 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:29 managed-node2 systemd[1]: postgresql.service: Killing process 25242 (postmaster) with signal SIGKILL. Aug 08 14:53:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:29 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:29 managed-node2 postmaster[25981]: 2026-08-08 14:53:29.840 EDT [25981] LOG: redirecting log output to logging collector process Aug 08 14:53:29 managed-node2 postmaster[25981]: 2026-08-08 14:53:29.840 EDT [25981] HINT: Future log output will appear in directory "log". Aug 08 14:53:29 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:33 managed-node2 systemd[1]: postgresql.service: Killing process 25982 (postmaster) with signal SIGKILL. Aug 08 14:53:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:52 managed-node2 postmaster[30223]: 2026-08-08 14:53:52.872 EDT [30223] LOG: redirecting log output to logging collector process Aug 08 14:53:52 managed-node2 postmaster[30223]: 2026-08-08 14:53:52.872 EDT [30223] HINT: Future log output will appear in directory "log". Aug 08 14:53:52 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:56 managed-node2 systemd[1]: postgresql.service: Killing process 30224 (postmaster) with signal SIGKILL. Aug 08 14:53:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:56 managed-node2 postmaster[31031]: 2026-08-08 14:53:56.223 EDT [31031] LOG: redirecting log output to logging collector process Aug 08 14:53:56 managed-node2 postmaster[31031]: 2026-08-08 14:53:56.223 EDT [31031] HINT: Future log output will appear in directory "log". Aug 08 14:53:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:18 managed-node2 systemd[1]: postgresql.service: Killing process 31032 (postmaster) with signal SIGKILL. Aug 08 14:54:18 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:33 managed-node2 postgres[35877]: 2026-08-08 14:54:33.774 EDT [35877] LOG: redirecting log output to logging collector process Aug 08 14:54:33 managed-node2 postgres[35877]: 2026-08-08 14:54:33.774 EDT [35877] HINT: Future log output will appear in directory "log". Aug 08 14:54:33 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:36 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 postgres[36684]: 2026-08-08 14:54:36.778 EDT [36684] LOG: redirecting log output to logging collector process Aug 08 14:54:36 managed-node2 postgres[36684]: 2026-08-08 14:54:36.778 EDT [36684] 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:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:58 managed-node2 systemd[1]: postgresql.service: Killing process 36685 (postgres) with signal SIGKILL. Aug 08 14:54:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.524 EDT [41522] 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:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.524 EDT [41522] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.524 EDT [41522] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.526 EDT [41522] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.530 EDT [41522] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.540 EDT [41522] LOG: redirecting log output to logging collector process Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.540 EDT [41522] HINT: Future log output will appear in directory "log". Aug 08 14:55:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:16 managed-node2 systemd[1]: postgresql.service: Killing process 41523 (postmaster) with signal SIGKILL. Aug 08 14:55:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:16 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[42329]: 2026-08-08 14:55:16.545 EDT [42329] 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:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.545 EDT [42329] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.545 EDT [42329] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.547 EDT [42329] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.551 EDT [42329] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.580 EDT [42329] LOG: redirecting log output to logging collector process Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.580 EDT [42329] 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:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:38 managed-node2 systemd[1]: postgresql.service: Killing process 42331 (postmaster) with signal SIGKILL. Aug 08 14:55:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.891 EDT [47140] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.891 EDT [47140] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.893 EDT [47140] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.897 EDT [47140] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.908 EDT [47140] LOG: redirecting log output to logging collector process Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.908 EDT [47140] HINT: Future log output will appear in directory "log". Aug 08 14:55:52 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:55 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:55 managed-node2 systemd[1]: postgresql.service: Killing process 47141 (postmaster) with signal SIGKILL. Aug 08 14:55:55 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:55 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[47947]: 2026-08-08 14:55:55.854 EDT [47947] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:55 managed-node2 postmaster[47947]: 2026-08-08 14:55:55.854 EDT [47947] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:55 managed-node2 postmaster[47947]: 2026-08-08 14:55:55.856 EDT [47947] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:55 managed-node2 postmaster[47947]: 2026-08-08 14:55:55.860 EDT [47947] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:55 managed-node2 postmaster[47947]: 2026-08-08 14:55:55.888 EDT [47947] LOG: redirecting log output to logging collector process Aug 08 14:55:55 managed-node2 postmaster[47947]: 2026-08-08 14:55:55.888 EDT [47947] 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:56:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:56:17 managed-node2 systemd[1]: postgresql.service: Killing process 47949 (postmaster) with signal SIGKILL. Aug 08 14:56:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:56:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:56:20 -0400 (0:00:00.325) 0:02:42.345 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 08 August 2026 14:56:20 -0400 (0:00:00.029) 0:02:42.375 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:56:20 -0400 (0:00:00.001) 0:02:42.376 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:56:20 -0400 (0:00:00.016) 0:02:42.392 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:56:20 -0400 (0:00:00.043) 0:02:42.436 ******* included: /tmp/collections-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:56:20 -0400 (0:00:00.025) 0:02:42.461 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:56:21 -0400 (0:00:00.766) 0:02:43.227 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-08T14:56:21-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:56:21 -0400 (0:00:00.320) 0:02:43.548 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:56:21 -0400 (0:00:00.017) 0:02:43.565 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:56:21 -0400 (0:00:00.016) 0:02:43.581 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:56:21 -0400 (0:00:00.016) 0:02:43.598 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:56:21 -0400 (0:00:00.016) 0:02:43.615 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:56:21 -0400 (0:00:00.016) 0:02:43.631 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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-6tS/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-6tS/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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:56:21 -0400 (0:00:00.038) 0:02:43.669 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:56:22 -0400 (0:00:00.318) 0:02:43.988 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:56:22 -0400 (0:00:00.313) 0:02:44.301 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:56:22 -0400 (0:00:00.316) 0:02:44.617 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:56:24 -0400 (0:00:01.368) 0:02:45.986 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.028) 0:02:46.014 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.025) 0:02:46.040 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.024) 0:02:46.065 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:56:24 -0400 (0:00:00.020) 0:02:46.086 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:56:30 -0400 (0:00:06.630) 0:02:52.716 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.717121", "end": "2026-08-08 14:56:31.828221", "rc": 0, "start": "2026-08-08 14:56:31.111100" } 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:56:31 -0400 (0:00:01.057) 0:02:53.774 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:56:31 -0400 (0:00:00.020) 0:02:53.794 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:56:31 -0400 (0:00:00.018) 0:02:53.812 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:56:31 -0400 (0:00:00.017) 0:02:53.830 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network.target basic.target sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:56:32 -0400 (0:00:01.025) 0:02:54.856 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:56:32 -0400 (0:00:00.021) 0:02:54.878 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.021) 0:02:54.899 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.025) 0:02:54.925 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.019) 0:02:54.945 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.021) 0:02:54.966 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.030) 0:02:54.997 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.020) 0:02:55.018 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.018) 0:02:55.037 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.018) 0:02:55.055 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.017) 0:02:55.073 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.046) 0:02:55.120 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.019) 0:02:55.139 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.018) 0:02:55.158 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.017) 0:02:55.175 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.018) 0:02:55.194 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.020) 0:02:55.214 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.328) 0:02:55.543 ******* Notification for handler Restart postgresql has been saved. 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-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:56:33 -0400 (0:00:00.329) 0:02:55.872 ******* 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-1786215394.014721-14126-233594485506475/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:56:34 -0400 (0:00:00.659) 0:02:56.532 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:56:34 -0400 (0:00:00.022) 0:02:56.554 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:56:34 -0400 (0:00:00.021) 0:02:56.576 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-08T14:56:34-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.335) 0:02:56.911 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.019) 0:02:56.931 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.009) 0:02:56.940 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-08 14:56:32 EDT", "ActiveEnterTimestampMonotonic": "473868376", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice network.target basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:56:32 EDT", "AssertTimestampMonotonic": "473818500", "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:56:32 EDT", "ConditionTimestampMonotonic": "473818500", "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": "52797", "ExecMainStartTimestamp": "Sat 2026-08-08 14:56:32 EDT", "ExecMainStartTimestampMonotonic": "473827973", "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:32 EDT] ; stop_time=[n/a] ; pid=52797 ; 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:32 EDT] ; stop_time=[Sat 2026-08-08 14:56:32 EDT] ; pid=52794 ; 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:32 EDT", "InactiveExitTimestampMonotonic": "473819472", "InvocationID": "e5ae981ed07f4035969fe6ce1d058f59", "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": "52797", "MemoryAccounting": "yes", "MemoryCurrent": "18493440", "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:56:32 EDT", "StateChangeTimestampMonotonic": "473868376", "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:32 EDT", "WatchdogTimestampMonotonic": "473868374", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:56:35 -0400 (0:00:00.921) 0:02:57.862 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007892", "end": "2026-08-08 14:56:36.251716", "rc": 0, "start": "2026-08-08 14:56:36.243824" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:56:36 -0400 (0:00:00.335) 0:02:58.197 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008156", "end": "2026-08-08 14:56:36.586439", "rc": 0, "start": "2026-08-08 14:56:36.578283" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:56:36 -0400 (0:00:00.332) 0:02:58.530 ******* ASYNC OK on managed-node2: jid=j32070988961.54002 ok: [managed-node2] => { "ansible_job_id": "j32070988961.54002", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011987", "end": "2026-08-08 14:56:37.139801", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j32070988961.54002", "start": "2026-08-08 14:56:37.127814", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:56:52 -0400 (0:00:15.993) 0:03:14.524 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009213", "end": "2026-08-08 14:56:52.928930", "rc": 0, "start": "2026-08-08 14:56:52.919717" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:56:52 -0400 (0:00:00.349) 0:03:14.873 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:56:53 -0400 (0:00:00.036) 0:03:14.909 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008923", "end": "2026-08-08 14:56:53.313717", "rc": 0, "start": "2026-08-08 14:56:53.304794" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:56:53 -0400 (0:00:00.347) 0:03:15.257 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:56:53 -0400 (0:00:00.035) 0:03:15.293 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008819", "end": "2026-08-08 14:56:53.681586", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:56:53.672767" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:56:53 -0400 (0:00:00.336) 0:03:15.630 ******* included: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 08 August 2026 14:56:53 -0400 (0:00:00.034) 0:03:15.664 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:56:53 -0400 (0:00:00.004) 0:03:15.669 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:56:58 -0400 (0:00:04.667) 0:03:20.336 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:56:58 -0400 (0:00:00.020) 0:03:20.357 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:56:58 -0400 (0:00:00.375) 0:03:20.732 ******* 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-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:57:00 -0400 (0:00:01.273) 0:03:22.006 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007374", "end": "2026-08-08 14:57:00.388170", "rc": 0, "start": "2026-08-08 14:57:00.380796" } STDOUT: -- Logs begin at Sat 2026-08-08 14:48:39 EDT, end at Sat 2026-08-08 14:57:00 EDT. -- Aug 08 14:52:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:13 managed-node2 postmaster[10440]: 2026-08-08 14:52:13.673 EDT [10440] LOG: redirecting log output to logging collector process Aug 08 14:52:13 managed-node2 postmaster[10440]: 2026-08-08 14:52:13.673 EDT [10440] HINT: Future log output will appear in directory "log". Aug 08 14:52:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:21 managed-node2 systemd[1]: postgresql.service: Killing process 10441 (postmaster) with signal SIGKILL. Aug 08 14:52:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:52:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:21 managed-node2 postmaster[12703]: 2026-08-08 14:52:21.369 EDT [12703] LOG: redirecting log output to logging collector process Aug 08 14:52:21 managed-node2 postmaster[12703]: 2026-08-08 14:52:21.369 EDT [12703] HINT: Future log output will appear in directory "log". Aug 08 14:52:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:25 managed-node2 systemd[1]: postgresql.service: Killing process 12704 (postmaster) with signal SIGKILL. Aug 08 14:52:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:52:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:56 managed-node2 postmaster[19326]: 2026-08-08 14:52:56.710 EDT [19326] LOG: redirecting log output to logging collector process Aug 08 14:52:56 managed-node2 postmaster[19326]: 2026-08-08 14:52:56.710 EDT [19326] HINT: Future log output will appear in directory "log". Aug 08 14:52:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:02 managed-node2 systemd[1]: postgresql.service: Killing process 19327 (postmaster) with signal SIGKILL. Aug 08 14:53:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:02 managed-node2 postmaster[20866]: 2026-08-08 14:53:02.211 EDT [20866] LOG: redirecting log output to logging collector process Aug 08 14:53:02 managed-node2 postmaster[20866]: 2026-08-08 14:53:02.211 EDT [20866] HINT: Future log output will appear in directory "log". Aug 08 14:53:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:07 managed-node2 systemd[1]: postgresql.service: Killing process 20868 (postmaster) with signal SIGKILL. Aug 08 14:53:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:26 managed-node2 postmaster[25241]: 2026-08-08 14:53:26.445 EDT [25241] LOG: redirecting log output to logging collector process Aug 08 14:53:26 managed-node2 postmaster[25241]: 2026-08-08 14:53:26.445 EDT [25241] HINT: Future log output will appear in directory "log". Aug 08 14:53:26 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:29 managed-node2 systemd[1]: postgresql.service: Killing process 25242 (postmaster) with signal SIGKILL. Aug 08 14:53:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:29 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:29 managed-node2 postmaster[25981]: 2026-08-08 14:53:29.840 EDT [25981] LOG: redirecting log output to logging collector process Aug 08 14:53:29 managed-node2 postmaster[25981]: 2026-08-08 14:53:29.840 EDT [25981] HINT: Future log output will appear in directory "log". Aug 08 14:53:29 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:33 managed-node2 systemd[1]: postgresql.service: Killing process 25982 (postmaster) with signal SIGKILL. Aug 08 14:53:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:52 managed-node2 postmaster[30223]: 2026-08-08 14:53:52.872 EDT [30223] LOG: redirecting log output to logging collector process Aug 08 14:53:52 managed-node2 postmaster[30223]: 2026-08-08 14:53:52.872 EDT [30223] HINT: Future log output will appear in directory "log". Aug 08 14:53:52 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:56 managed-node2 systemd[1]: postgresql.service: Killing process 30224 (postmaster) with signal SIGKILL. Aug 08 14:53:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:53:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:56 managed-node2 postmaster[31031]: 2026-08-08 14:53:56.223 EDT [31031] LOG: redirecting log output to logging collector process Aug 08 14:53:56 managed-node2 postmaster[31031]: 2026-08-08 14:53:56.223 EDT [31031] HINT: Future log output will appear in directory "log". Aug 08 14:53:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:18 managed-node2 systemd[1]: postgresql.service: Killing process 31032 (postmaster) with signal SIGKILL. Aug 08 14:54:18 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:33 managed-node2 postgres[35877]: 2026-08-08 14:54:33.774 EDT [35877] LOG: redirecting log output to logging collector process Aug 08 14:54:33 managed-node2 postgres[35877]: 2026-08-08 14:54:33.774 EDT [35877] HINT: Future log output will appear in directory "log". Aug 08 14:54:33 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:36 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 postgres[36684]: 2026-08-08 14:54:36.778 EDT [36684] LOG: redirecting log output to logging collector process Aug 08 14:54:36 managed-node2 postgres[36684]: 2026-08-08 14:54:36.778 EDT [36684] 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:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:58 managed-node2 systemd[1]: postgresql.service: Killing process 36685 (postgres) with signal SIGKILL. Aug 08 14:54:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:54:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.524 EDT [41522] 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:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.524 EDT [41522] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.524 EDT [41522] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.526 EDT [41522] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.530 EDT [41522] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.540 EDT [41522] LOG: redirecting log output to logging collector process Aug 08 14:55:13 managed-node2 postmaster[41522]: 2026-08-08 14:55:13.540 EDT [41522] HINT: Future log output will appear in directory "log". Aug 08 14:55:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:16 managed-node2 systemd[1]: postgresql.service: Killing process 41523 (postmaster) with signal SIGKILL. Aug 08 14:55:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:16 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[42329]: 2026-08-08 14:55:16.545 EDT [42329] 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:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.545 EDT [42329] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.545 EDT [42329] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.547 EDT [42329] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.551 EDT [42329] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.580 EDT [42329] LOG: redirecting log output to logging collector process Aug 08 14:55:16 managed-node2 postmaster[42329]: 2026-08-08 14:55:16.580 EDT [42329] 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:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:38 managed-node2 systemd[1]: postgresql.service: Killing process 42331 (postmaster) with signal SIGKILL. Aug 08 14:55:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.891 EDT [47140] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.891 EDT [47140] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.893 EDT [47140] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.897 EDT [47140] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.908 EDT [47140] LOG: redirecting log output to logging collector process Aug 08 14:55:52 managed-node2 postmaster[47140]: 2026-08-08 14:55:52.908 EDT [47140] HINT: Future log output will appear in directory "log". Aug 08 14:55:52 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:55 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:55 managed-node2 systemd[1]: postgresql.service: Killing process 47141 (postmaster) with signal SIGKILL. Aug 08 14:55:55 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:55:55 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[47947]: 2026-08-08 14:55:55.854 EDT [47947] LOG: listening on IPv6 address "::1", port 5432 Aug 08 14:55:55 managed-node2 postmaster[47947]: 2026-08-08 14:55:55.854 EDT [47947] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 08 14:55:55 managed-node2 postmaster[47947]: 2026-08-08 14:55:55.856 EDT [47947] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 08 14:55:55 managed-node2 postmaster[47947]: 2026-08-08 14:55:55.860 EDT [47947] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 08 14:55:55 managed-node2 postmaster[47947]: 2026-08-08 14:55:55.888 EDT [47947] LOG: redirecting log output to logging collector process Aug 08 14:55:55 managed-node2 postmaster[47947]: 2026-08-08 14:55:55.888 EDT [47947] 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:56:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:56:17 managed-node2 systemd[1]: postgresql.service: Killing process 47949 (postmaster) with signal SIGKILL. Aug 08 14:56:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:56:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:56:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:56:32 managed-node2 postmaster[52797]: 2026-08-08 14:56:32.882 EDT [52797] LOG: redirecting log output to logging collector process Aug 08 14:56:32 managed-node2 postmaster[52797]: 2026-08-08 14:56:32.882 EDT [52797] HINT: Future log output will appear in directory "log". Aug 08 14:56:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:56:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:56:35 managed-node2 systemd[1]: postgresql.service: Killing process 52798 (postmaster) with signal SIGKILL. Aug 08 14:56:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:56:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:56:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:56:35 managed-node2 postmaster[53603]: 2026-08-08 14:56:35.888 EDT [53603] LOG: redirecting log output to logging collector process Aug 08 14:56:35 managed-node2 postmaster[53603]: 2026-08-08 14:56:35.888 EDT [53603] HINT: Future log output will appear in directory "log". Aug 08 14:56:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:56:57 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:56:57 managed-node2 systemd[1]: postgresql.service: Killing process 53605 (postmaster) with signal SIGKILL. Aug 08 14:56:57 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 08 14:56:57 managed-node2 systemd[1]: Stopped PostgreSQL database server. 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:00 -0400 (0:00:00.319) 0:03:22.326 ******* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.19s /tmp/collections-6tS/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.99s /tmp/collections-6tS/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.98s /tmp/collections-6tS/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.98s /tmp/collections-6tS/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.98s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.78s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.63s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.29s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.11s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.96s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.72s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.67s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.67s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.67s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.65s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.68s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.43s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.40s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.38s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.37s /tmp/collections-6tS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8