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-TBD 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-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 22 August 2026 14:44:40 -0400 (0:00:00.023) 0:00:00.023 ******* ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 22 August 2026 14:44:41 -0400 (0:00:01.046) 0:00:01.069 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 22 August 2026 14:44:41 -0400 (0:00:00.005) 0:00:01.075 ******* included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:44:41 -0400 (0:00:00.041) 0:00:01.116 ******* included: /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 22 August 2026 14:44:41 -0400 (0:00:00.049) 0:00:01.166 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:44:41 -0400 (0:00:00.001) 0:00:01.167 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:44:41 -0400 (0:00:00.019) 0:00:01.187 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:44:41 -0400 (0:00:00.087) 0:00:01.274 ******* included: /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:44:41 -0400 (0:00:00.030) 0:00:01.305 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:44:42 -0400 (0:00:00.776) 0:00:02.081 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-22T14:44:42-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:44:42 -0400 (0:00:00.434) 0:00:02.516 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:44:43 -0400 (0:00:00.424) 0:00:02.940 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:44:43 -0400 (0:00:00.028) 0:00:02.969 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008023", "end": "2026-08-22 14:44:43.480512", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:44:43.472489" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:44:43 -0400 (0:00:00.456) 0:00:03.425 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:44:43 -0400 (0:00:00.022) 0:00:03.448 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:44:43 -0400 (0:00:00.037) 0:00:03.485 ******* 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-TBD/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-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:44:43 -0400 (0:00:00.063) 0:00:03.548 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:44:43 -0400 (0:00:00.340) 0:00:03.889 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:44:44 -0400 (0:00:00.325) 0:00:04.214 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:44:44 -0400 (0:00:00.319) 0:00:04.533 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:44:46 -0400 (0:00:01.632) 0:00:06.165 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:44:46 -0400 (0:00:00.029) 0:00:06.195 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:44:46 -0400 (0:00:00.022) 0:00:06.217 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:44:46 -0400 (0:00:00.021) 0:00:06.239 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:44:46 -0400 (0:00:00.021) 0:00:06.261 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:44:52 -0400 (0:00:06.217) 0:00:12.478 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.731375", "end": "2026-08-22 14:44:53.603917", "rc": 0, "start": "2026-08-22 14:44:52.872542" } 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:44:53 -0400 (0:00:01.077) 0:00:13.556 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:44:53 -0400 (0:00:00.019) 0:00:13.575 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:44:53 -0400 (0:00:00.015) 0:00:13.591 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:44:53 -0400 (0:00:00.015) 0:00:13.607 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target system.slice basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:44:54 -0400 (0:00:01.245) 0:00:14.853 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:44:54 -0400 (0:00:00.019) 0:00:14.872 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:44:54 -0400 (0:00:00.018) 0:00:14.891 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.018) 0:00:14.909 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.016) 0:00:14.925 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.018) 0:00:14.944 ******* included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.027) 0:00:14.971 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.016) 0:00:14.988 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.015) 0:00:15.003 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.016) 0:00:15.019 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.016) 0:00:15.036 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.017) 0:00:15.053 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.016) 0:00:15.070 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.016) 0:00:15.087 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.014) 0:00:15.102 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.016) 0:00:15.118 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.018) 0:00:15.137 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:44:55 -0400 (0:00:00.453) 0:00:15.591 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:44:56 -0400 (0:00:00.442) 0:00:16.033 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1787424296.168261-12476-99023904705971/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:44:56 -0400 (0:00:00.805) 0:00:16.839 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:44:56 -0400 (0:00:00.020) 0:00:16.860 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:44:56 -0400 (0:00:00.018) 0:00:16.878 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-22T14:44:57-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.340) 0:00:17.219 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.018) 0:00:17.238 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.004) 0:00:17.243 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-22 14:44:54 EDT", "ActiveEnterTimestampMonotonic": "308843363", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:44:54 EDT", "AssertTimestampMonotonic": "308792509", "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-22 14:44:54 EDT", "ConditionTimestampMonotonic": "308792508", "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": "30195", "ExecMainStartTimestamp": "Sat 2026-08-22 14:44:54 EDT", "ExecMainStartTimestampMonotonic": "308802207", "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-22 14:44:54 EDT] ; stop_time=[n/a] ; pid=30195 ; 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-22 14:44:54 EDT] ; stop_time=[Sat 2026-08-22 14:44:54 EDT] ; pid=30192 ; 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-22 14:44:54 EDT", "InactiveExitTimestampMonotonic": "308793507", "InvocationID": "8faa728194264bde9952ec3203da5483", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30195", "MemoryAccounting": "yes", "MemoryCurrent": "17842176", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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-22 14:44:54 EDT", "StateChangeTimestampMonotonic": "308843363", "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": "22268", "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-22 14:44:54 EDT", "WatchdogTimestampMonotonic": "308843361", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.952) 0:00:18.195 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008089", "end": "2026-08-22 14:44:58.589236", "rc": 0, "start": "2026-08-22 14:44:58.581147" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.344) 0:00:18.540 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008380", "end": "2026-08-22 14:44:58.927646", "rc": 0, "start": "2026-08-22 14:44:58.919266" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.337) 0:00:18.877 ******* ASYNC OK on managed-node2: jid=j890913947755.31402 ok: [managed-node2] => { "ansible_job_id": "j890913947755.31402", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012037", "end": "2026-08-22 14:44:59.590519", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j890913947755.31402", "start": "2026-08-22 14:44:59.578482", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:45:15 -0400 (0:00:16.206) 0:00:35.084 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010003", "end": "2026-08-22 14:45:15.499332", "rc": 0, "start": "2026-08-22 14:45:15.489329" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:45:15 -0400 (0:00:00.368) 0:00:35.452 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:45:15 -0400 (0:00:00.035) 0:00:35.488 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009813", "end": "2026-08-22 14:45:15.907145", "rc": 0, "start": "2026-08-22 14:45:15.897332" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:45:15 -0400 (0:00:00.372) 0:00:35.860 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:45:15 -0400 (0:00:00.032) 0:00:35.893 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009278", "end": "2026-08-22 14:45:16.292466", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:45:16.283188" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:45:16 -0400 (0:00:00.359) 0:00:36.253 ******* included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 22 August 2026 14:45:16 -0400 (0:00:00.034) 0:00:36.287 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:45:16 -0400 (0:00:00.004) 0:00:36.292 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:45:21 -0400 (0:00:04.846) 0:00:41.138 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:45:21 -0400 (0:00:00.017) 0:00:41.156 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:45:21 -0400 (0:00:00.373) 0:00:41.530 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:45:22 -0400 (0:00:01.302) 0:00:42.833 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007356", "end": "2026-08-22 14:45:23.219086", "rc": 0, "start": "2026-08-22 14:45:23.211730" } STDOUT: -- Logs begin at Sat 2026-08-22 14:39:46 EDT, end at Sat 2026-08-22 14:45:23 EDT. -- Aug 22 14:43:15 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:15 managed-node2 postmaster[10412]: 2026-08-22 14:43:15.625 EDT [10412] LOG: redirecting log output to logging collector process Aug 22 14:43:15 managed-node2 postmaster[10412]: 2026-08-22 14:43:15.625 EDT [10412] HINT: Future log output will appear in directory "log". Aug 22 14:43:15 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:23 managed-node2 postmaster[12675]: 2026-08-22 14:43:23.072 EDT [12675] LOG: redirecting log output to logging collector process Aug 22 14:43:23 managed-node2 postmaster[12675]: 2026-08-22 14:43:23.072 EDT [12675] HINT: Future log output will appear in directory "log". Aug 22 14:43:23 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:26 managed-node2 systemd[1]: postgresql.service: Killing process 12676 (postmaster) with signal SIGKILL. Aug 22 14:43:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:58 managed-node2 postmaster[19297]: 2026-08-22 14:43:58.864 EDT [19297] LOG: redirecting log output to logging collector process Aug 22 14:43:58 managed-node2 postmaster[19297]: 2026-08-22 14:43:58.864 EDT [19297] HINT: Future log output will appear in directory "log". Aug 22 14:43:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:04 managed-node2 systemd[1]: postgresql.service: Killing process 19298 (postmaster) with signal SIGKILL. Aug 22 14:44:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:04 managed-node2 postmaster[20838]: 2026-08-22 14:44:04.258 EDT [20838] LOG: redirecting log output to logging collector process Aug 22 14:44:04 managed-node2 postmaster[20838]: 2026-08-22 14:44:04.258 EDT [20838] HINT: Future log output will appear in directory "log". Aug 22 14:44:04 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:09 managed-node2 systemd[1]: postgresql.service: Killing process 20839 (postmaster) with signal SIGKILL. Aug 22 14:44:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:27 managed-node2 postmaster[25213]: 2026-08-22 14:44:27.961 EDT [25213] LOG: redirecting log output to logging collector process Aug 22 14:44:27 managed-node2 postmaster[25213]: 2026-08-22 14:44:27.961 EDT [25213] HINT: Future log output will appear in directory "log". Aug 22 14:44:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:31 managed-node2 systemd[1]: postgresql.service: Killing process 25214 (postmaster) with signal SIGKILL. Aug 22 14:44:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:31 managed-node2 postmaster[25952]: 2026-08-22 14:44:31.287 EDT [25952] LOG: redirecting log output to logging collector process Aug 22 14:44:31 managed-node2 postmaster[25952]: 2026-08-22 14:44:31.287 EDT [25952] HINT: Future log output will appear in directory "log". Aug 22 14:44:31 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:34 managed-node2 systemd[1]: postgresql.service: Killing process 25954 (postmaster) with signal SIGKILL. Aug 22 14:44:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:54 managed-node2 postmaster[30195]: 2026-08-22 14:44:54.874 EDT [30195] LOG: redirecting log output to logging collector process Aug 22 14:44:54 managed-node2 postmaster[30195]: 2026-08-22 14:44:54.874 EDT [30195] HINT: Future log output will appear in directory "log". Aug 22 14:44:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:58 managed-node2 systemd[1]: postgresql.service: Killing process 30196 (postmaster) with signal SIGKILL. Aug 22 14:44:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:58 managed-node2 postmaster[31003]: 2026-08-22 14:44:58.215 EDT [31003] LOG: redirecting log output to logging collector process Aug 22 14:44:58 managed-node2 postmaster[31003]: 2026-08-22 14:44:58.215 EDT [31003] HINT: Future log output will appear in directory "log". Aug 22 14:44:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:20 managed-node2 systemd[1]: postgresql.service: Killing process 31004 (postmaster) with signal SIGKILL. Aug 22 14:45:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 22 August 2026 14:45:23 -0400 (0:00:00.336) 0:00:43.169 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 22 August 2026 14:45:23 -0400 (0:00:00.011) 0:00:43.180 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 22 August 2026 14:45:23 -0400 (0:00:00.022) 0:00:43.203 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:45:23 -0400 (0:00:00.081) 0:00:43.284 ******* included: /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 22 August 2026 14:45:23 -0400 (0:00:00.026) 0:00:43.311 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:45:23 -0400 (0:00:00.000) 0:00:43.312 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:45:23 -0400 (0:00:00.014) 0:00:43.326 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:45:23 -0400 (0:00:00.037) 0:00:43.364 ******* included: /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:45:23 -0400 (0:00:00.022) 0:00:43.386 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:45:24 -0400 (0:00:00.780) 0:00:44.167 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-22T14:45:24-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:45:24 -0400 (0:00:00.326) 0:00:44.493 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:45:24 -0400 (0:00:00.015) 0:00:44.509 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:45:24 -0400 (0:00:00.014) 0:00:44.524 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:45:24 -0400 (0:00:00.014) 0:00:44.538 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:45:24 -0400 (0:00:00.014) 0:00:44.554 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:45:24 -0400 (0:00:00.014) 0:00:44.568 ******* [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-TBD/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-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:45:24 -0400 (0:00:00.037) 0:00:44.605 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:45:25 -0400 (0:00:00.323) 0:00:44.929 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:45:25 -0400 (0:00:00.314) 0:00:45.244 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:45:25 -0400 (0:00:00.313) 0:00:45.557 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:45:27 -0400 (0:00:01.422) 0:00:46.980 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:45:27 -0400 (0:00:00.050) 0:00:47.030 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:45:27 -0400 (0:00:00.022) 0:00:47.053 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:45:27 -0400 (0:00:00.021) 0:00:47.075 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:45:27 -0400 (0:00:00.017) 0:00:47.093 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:45:34 -0400 (0:00:07.045) 0:00:54.138 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.741881", "end": "2026-08-22 14:45:35.282989", "rc": 0, "start": "2026-08-22 14:45:34.541108" } 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:45:35 -0400 (0:00:01.094) 0:00:55.233 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:45:35 -0400 (0:00:00.018) 0:00:55.252 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:45:35 -0400 (0:00:00.017) 0:00:55.269 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:45:35 -0400 (0:00:00.018) 0:00:55.287 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target systemd-journald.socket system.slice 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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:45:36 -0400 (0:00:01.063) 0:00:56.350 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.020) 0:00:56.371 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.019) 0:00:56.390 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.020) 0:00:56.410 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.015) 0:00:56.425 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.018) 0:00:56.444 ******* included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.027) 0:00:56.472 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.017) 0:00:56.489 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.017) 0:00:56.507 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.016) 0:00:56.523 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.017) 0:00:56.541 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.016) 0:00:56.558 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.016) 0:00:56.575 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.016) 0:00:56.591 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.016) 0:00:56.608 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.015) 0:00:56.624 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.019) 0:00:56.643 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.333) 0:00:56.977 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.339) 0:00:57.316 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1787424337.4525182-12893-114240088026317/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.684) 0:00:58.001 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.020) 0:00:58.022 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.019) 0:00:58.042 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-22T14:45:38-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.350) 0:00:58.392 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.017) 0:00:58.409 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.004) 0:00:58.414 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-22 14:45:36 EDT", "ActiveEnterTimestampMonotonic": "350339356", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target basic.target sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:45:36 EDT", "AssertTimestampMonotonic": "350286846", "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-22 14:45:36 EDT", "ConditionTimestampMonotonic": "350286846", "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": "35848", "ExecMainStartTimestamp": "Sat 2026-08-22 14:45:36 EDT", "ExecMainStartTimestampMonotonic": "350296949", "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-22 14:45:36 EDT] ; stop_time=[n/a] ; pid=35848 ; 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-22 14:45:36 EDT] ; stop_time=[Sat 2026-08-22 14:45:36 EDT] ; pid=35845 ; 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-22 14:45:36 EDT", "InactiveExitTimestampMonotonic": "350287989", "InvocationID": "23713f1bf5614e4d8bf14d55e3b722cf", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35848", "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": "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-22 14:45:36 EDT", "StateChangeTimestampMonotonic": "350339356", "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": "22268", "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-22 14:45:36 EDT", "WatchdogTimestampMonotonic": "350339354", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.960) 0:00:59.374 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008387", "end": "2026-08-22 14:45:39.762544", "rc": 0, "start": "2026-08-22 14:45:39.754157" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.338) 0:00:59.712 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008417", "end": "2026-08-22 14:45:40.100193", "rc": 0, "start": "2026-08-22 14:45:40.091776" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:45:40 -0400 (0:00:00.336) 0:01:00.049 ******* ASYNC OK on managed-node2: jid=j958833525584.37053 ok: [managed-node2] => { "ansible_job_id": "j958833525584.37053", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012562", "end": "2026-08-22 14:45:40.674262", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j958833525584.37053", "start": "2026-08-22 14:45:40.661700", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:45:56 -0400 (0:00:16.013) 0:01:16.063 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009734", "end": "2026-08-22 14:45:56.469856", "rc": 0, "start": "2026-08-22 14:45:56.460122" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:45:56 -0400 (0:00:00.358) 0:01:16.422 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:45:56 -0400 (0:00:00.031) 0:01:16.454 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009595", "end": "2026-08-22 14:45:56.859863", "rc": 0, "start": "2026-08-22 14:45:56.850268" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:45:56 -0400 (0:00:00.356) 0:01:16.810 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:45:56 -0400 (0:00:00.031) 0:01:16.842 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009350", "end": "2026-08-22 14:45:57.236435", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:45:57.227085" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:45:57 -0400 (0:00:00.381) 0:01:17.224 ******* included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 22 August 2026 14:45:57 -0400 (0:00:00.031) 0:01:17.256 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:45:57 -0400 (0:00:00.004) 0:01:17.261 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:46:02 -0400 (0:00:04.781) 0:01:22.042 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:46:02 -0400 (0:00:00.017) 0:01:22.060 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:46:02 -0400 (0:00:00.376) 0:01:22.436 ******* [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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:46:03 -0400 (0:00:01.263) 0:01:23.699 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007432", "end": "2026-08-22 14:46:04.078767", "rc": 0, "start": "2026-08-22 14:46:04.071335" } STDOUT: -- Logs begin at Sat 2026-08-22 14:39:46 EDT, end at Sat 2026-08-22 14:46:04 EDT. -- Aug 22 14:43:15 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:15 managed-node2 postmaster[10412]: 2026-08-22 14:43:15.625 EDT [10412] LOG: redirecting log output to logging collector process Aug 22 14:43:15 managed-node2 postmaster[10412]: 2026-08-22 14:43:15.625 EDT [10412] HINT: Future log output will appear in directory "log". Aug 22 14:43:15 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:23 managed-node2 postmaster[12675]: 2026-08-22 14:43:23.072 EDT [12675] LOG: redirecting log output to logging collector process Aug 22 14:43:23 managed-node2 postmaster[12675]: 2026-08-22 14:43:23.072 EDT [12675] HINT: Future log output will appear in directory "log". Aug 22 14:43:23 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:26 managed-node2 systemd[1]: postgresql.service: Killing process 12676 (postmaster) with signal SIGKILL. Aug 22 14:43:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:58 managed-node2 postmaster[19297]: 2026-08-22 14:43:58.864 EDT [19297] LOG: redirecting log output to logging collector process Aug 22 14:43:58 managed-node2 postmaster[19297]: 2026-08-22 14:43:58.864 EDT [19297] HINT: Future log output will appear in directory "log". Aug 22 14:43:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:04 managed-node2 systemd[1]: postgresql.service: Killing process 19298 (postmaster) with signal SIGKILL. Aug 22 14:44:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:04 managed-node2 postmaster[20838]: 2026-08-22 14:44:04.258 EDT [20838] LOG: redirecting log output to logging collector process Aug 22 14:44:04 managed-node2 postmaster[20838]: 2026-08-22 14:44:04.258 EDT [20838] HINT: Future log output will appear in directory "log". Aug 22 14:44:04 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:09 managed-node2 systemd[1]: postgresql.service: Killing process 20839 (postmaster) with signal SIGKILL. Aug 22 14:44:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:27 managed-node2 postmaster[25213]: 2026-08-22 14:44:27.961 EDT [25213] LOG: redirecting log output to logging collector process Aug 22 14:44:27 managed-node2 postmaster[25213]: 2026-08-22 14:44:27.961 EDT [25213] HINT: Future log output will appear in directory "log". Aug 22 14:44:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:31 managed-node2 systemd[1]: postgresql.service: Killing process 25214 (postmaster) with signal SIGKILL. Aug 22 14:44:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:31 managed-node2 postmaster[25952]: 2026-08-22 14:44:31.287 EDT [25952] LOG: redirecting log output to logging collector process Aug 22 14:44:31 managed-node2 postmaster[25952]: 2026-08-22 14:44:31.287 EDT [25952] HINT: Future log output will appear in directory "log". Aug 22 14:44:31 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:34 managed-node2 systemd[1]: postgresql.service: Killing process 25954 (postmaster) with signal SIGKILL. Aug 22 14:44:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:54 managed-node2 postmaster[30195]: 2026-08-22 14:44:54.874 EDT [30195] LOG: redirecting log output to logging collector process Aug 22 14:44:54 managed-node2 postmaster[30195]: 2026-08-22 14:44:54.874 EDT [30195] HINT: Future log output will appear in directory "log". Aug 22 14:44:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:58 managed-node2 systemd[1]: postgresql.service: Killing process 30196 (postmaster) with signal SIGKILL. Aug 22 14:44:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:58 managed-node2 postmaster[31003]: 2026-08-22 14:44:58.215 EDT [31003] LOG: redirecting log output to logging collector process Aug 22 14:44:58 managed-node2 postmaster[31003]: 2026-08-22 14:44:58.215 EDT [31003] HINT: Future log output will appear in directory "log". Aug 22 14:44:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:20 managed-node2 systemd[1]: postgresql.service: Killing process 31004 (postmaster) with signal SIGKILL. Aug 22 14:45:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:36 managed-node2 postgres[35848]: 2026-08-22 14:45:36.370 EDT [35848] LOG: redirecting log output to logging collector process Aug 22 14:45:36 managed-node2 postgres[35848]: 2026-08-22 14:45:36.370 EDT [35848] HINT: Future log output will appear in directory "log". Aug 22 14:45:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:39 managed-node2 systemd[1]: postgresql.service: Killing process 35849 (postgres) with signal SIGKILL. Aug 22 14:45:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:39 managed-node2 postgres[36654]: 2026-08-22 14:45:39.395 EDT [36654] LOG: redirecting log output to logging collector process Aug 22 14:45:39 managed-node2 postgres[36654]: 2026-08-22 14:45:39.395 EDT [36654] HINT: Future log output will appear in directory "log". Aug 22 14:45:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:01 managed-node2 systemd[1]: postgresql.service: Killing process 36656 (postgres) with signal SIGKILL. Aug 22 14:46:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:46:04 -0400 (0:00:00.331) 0:01:24.031 ******* included: /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 22 August 2026 14:46:04 -0400 (0:00:00.027) 0:01:24.059 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:46:04 -0400 (0:00:00.000) 0:01:24.060 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:46:04 -0400 (0:00:00.015) 0:01:24.075 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:46:04 -0400 (0:00:00.039) 0:01:24.114 ******* included: /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:46:04 -0400 (0:00:00.022) 0:01:24.137 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.768) 0:01:24.906 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-22T14:46:05-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.328) 0:01:25.234 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.016) 0:01:25.251 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.015) 0:01:25.266 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.014) 0:01:25.281 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.014) 0:01:25.296 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.015) 0:01:25.311 ******* 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-TBD/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-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.035) 0:01:25.346 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.322) 0:01:25.669 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:46:06 -0400 (0:00:00.320) 0:01:25.990 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:46:06 -0400 (0:00:00.321) 0:01:26.312 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:46:07 -0400 (0:00:01.393) 0:01:27.705 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.026) 0:01:27.731 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.022) 0:01:27.754 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.024) 0:01:27.778 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.018) 0:01:27.796 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:46:14 -0400 (0:00:06.107) 0:01:33.904 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.740994", "end": "2026-08-22 14:46:15.038094", "rc": 0, "start": "2026-08-22 14:46:14.297100" } 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:46:15 -0400 (0:00:01.083) 0:01:34.987 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:46:15 -0400 (0:00:00.020) 0:01:35.007 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:46:15 -0400 (0:00:00.016) 0:01:35.024 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:46:15 -0400 (0:00:00.016) 0:01:35.041 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target sysinit.target systemd-journald.socket basic.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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:46:16 -0400 (0:00:01.042) 0:01:36.084 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.028) 0:01:36.112 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.022) 0:01:36.135 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.022) 0:01:36.157 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.018) 0:01:36.176 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.023) 0:01:36.200 ******* included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.031) 0:01:36.231 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.020) 0:01:36.251 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.021) 0:01:36.272 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.020) 0:01:36.292 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.020) 0:01:36.313 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.019) 0:01:36.332 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.057) 0:01:36.390 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.020) 0:01:36.411 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.018) 0:01:36.430 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.018) 0:01:36.448 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.024) 0:01:36.473 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.337) 0:01:36.811 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:46:17 -0400 (0:00:00.337) 0:01:37.149 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1787424377.2858772-13305-228686441674033/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:46:17 -0400 (0:00:00.674) 0:01:37.823 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:46:17 -0400 (0:00:00.024) 0:01:37.848 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:46:17 -0400 (0:00:00.022) 0:01:37.871 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-22T14:46:18-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:46:18 -0400 (0:00:00.343) 0:01:38.214 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 22 August 2026 14:46:18 -0400 (0:00:00.021) 0:01:38.236 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:46:18 -0400 (0:00:00.005) 0:01:38.241 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-22 14:46:16 EDT", "ActiveEnterTimestampMonotonic": "390073465", "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-22 14:46:16 EDT", "AssertTimestampMonotonic": "390022408", "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-22 14:46:16 EDT", "ConditionTimestampMonotonic": "390022407", "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": "41492", "ExecMainStartTimestamp": "Sat 2026-08-22 14:46:16 EDT", "ExecMainStartTimestampMonotonic": "390032028", "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-22 14:46:16 EDT] ; stop_time=[n/a] ; pid=41492 ; 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-22 14:46:16 EDT] ; stop_time=[Sat 2026-08-22 14:46:16 EDT] ; pid=41489 ; 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-22 14:46:16 EDT", "InactiveExitTimestampMonotonic": "390023371", "InvocationID": "e76a08b5b5d64f0a87eeaed9380bf9a6", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41492", "MemoryAccounting": "yes", "MemoryCurrent": "17833984", "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-22 14:46:16 EDT", "StateChangeTimestampMonotonic": "390073465", "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": "22268", "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-22 14:46:16 EDT", "WatchdogTimestampMonotonic": "390073463", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:46:19 -0400 (0:00:00.946) 0:01:39.188 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008129", "end": "2026-08-22 14:46:19.575461", "rc": 0, "start": "2026-08-22 14:46:19.567332" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:46:19 -0400 (0:00:00.336) 0:01:39.524 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008208", "end": "2026-08-22 14:46:19.904227", "rc": 0, "start": "2026-08-22 14:46:19.896019" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:46:19 -0400 (0:00:00.329) 0:01:39.854 ******* ASYNC OK on managed-node2: jid=j999777329880.42699 ok: [managed-node2] => { "ansible_job_id": "j999777329880.42699", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012031", "end": "2026-08-22 14:46:20.463732", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j999777329880.42699", "start": "2026-08-22 14:46:20.451701", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:46:35 -0400 (0:00:15.999) 0:01:55.853 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009593", "end": "2026-08-22 14:46:36.254249", "rc": 0, "start": "2026-08-22 14:46:36.244656" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:46:36 -0400 (0:00:00.351) 0:01:56.205 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:46:36 -0400 (0:00:00.036) 0:01:56.242 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009426", "end": "2026-08-22 14:46:36.641432", "rc": 0, "start": "2026-08-22 14:46:36.632006" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:46:36 -0400 (0:00:00.351) 0:01:56.593 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:46:36 -0400 (0:00:00.031) 0:01:56.624 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009223", "end": "2026-08-22 14:46:37.009919", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:46:37.000696" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:46:37 -0400 (0:00:00.340) 0:01:56.964 ******* included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 22 August 2026 14:46:37 -0400 (0:00:00.033) 0:01:56.998 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:46:37 -0400 (0:00:00.004) 0:01:57.002 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:46:41 -0400 (0:00:04.756) 0:02:01.758 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:46:41 -0400 (0:00:00.019) 0:02:01.778 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:46:42 -0400 (0:00:00.383) 0:02:02.161 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:46:43 -0400 (0:00:01.300) 0:02:03.461 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007736", "end": "2026-08-22 14:46:43.846304", "rc": 0, "start": "2026-08-22 14:46:43.838568" } STDOUT: -- Logs begin at Sat 2026-08-22 14:39:46 EDT, end at Sat 2026-08-22 14:46:43 EDT. -- Aug 22 14:43:15 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:15 managed-node2 postmaster[10412]: 2026-08-22 14:43:15.625 EDT [10412] LOG: redirecting log output to logging collector process Aug 22 14:43:15 managed-node2 postmaster[10412]: 2026-08-22 14:43:15.625 EDT [10412] HINT: Future log output will appear in directory "log". Aug 22 14:43:15 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:23 managed-node2 postmaster[12675]: 2026-08-22 14:43:23.072 EDT [12675] LOG: redirecting log output to logging collector process Aug 22 14:43:23 managed-node2 postmaster[12675]: 2026-08-22 14:43:23.072 EDT [12675] HINT: Future log output will appear in directory "log". Aug 22 14:43:23 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:26 managed-node2 systemd[1]: postgresql.service: Killing process 12676 (postmaster) with signal SIGKILL. Aug 22 14:43:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:58 managed-node2 postmaster[19297]: 2026-08-22 14:43:58.864 EDT [19297] LOG: redirecting log output to logging collector process Aug 22 14:43:58 managed-node2 postmaster[19297]: 2026-08-22 14:43:58.864 EDT [19297] HINT: Future log output will appear in directory "log". Aug 22 14:43:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:04 managed-node2 systemd[1]: postgresql.service: Killing process 19298 (postmaster) with signal SIGKILL. Aug 22 14:44:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:04 managed-node2 postmaster[20838]: 2026-08-22 14:44:04.258 EDT [20838] LOG: redirecting log output to logging collector process Aug 22 14:44:04 managed-node2 postmaster[20838]: 2026-08-22 14:44:04.258 EDT [20838] HINT: Future log output will appear in directory "log". Aug 22 14:44:04 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:09 managed-node2 systemd[1]: postgresql.service: Killing process 20839 (postmaster) with signal SIGKILL. Aug 22 14:44:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:27 managed-node2 postmaster[25213]: 2026-08-22 14:44:27.961 EDT [25213] LOG: redirecting log output to logging collector process Aug 22 14:44:27 managed-node2 postmaster[25213]: 2026-08-22 14:44:27.961 EDT [25213] HINT: Future log output will appear in directory "log". Aug 22 14:44:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:31 managed-node2 systemd[1]: postgresql.service: Killing process 25214 (postmaster) with signal SIGKILL. Aug 22 14:44:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:31 managed-node2 postmaster[25952]: 2026-08-22 14:44:31.287 EDT [25952] LOG: redirecting log output to logging collector process Aug 22 14:44:31 managed-node2 postmaster[25952]: 2026-08-22 14:44:31.287 EDT [25952] HINT: Future log output will appear in directory "log". Aug 22 14:44:31 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:34 managed-node2 systemd[1]: postgresql.service: Killing process 25954 (postmaster) with signal SIGKILL. Aug 22 14:44:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:54 managed-node2 postmaster[30195]: 2026-08-22 14:44:54.874 EDT [30195] LOG: redirecting log output to logging collector process Aug 22 14:44:54 managed-node2 postmaster[30195]: 2026-08-22 14:44:54.874 EDT [30195] HINT: Future log output will appear in directory "log". Aug 22 14:44:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:58 managed-node2 systemd[1]: postgresql.service: Killing process 30196 (postmaster) with signal SIGKILL. Aug 22 14:44:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:58 managed-node2 postmaster[31003]: 2026-08-22 14:44:58.215 EDT [31003] LOG: redirecting log output to logging collector process Aug 22 14:44:58 managed-node2 postmaster[31003]: 2026-08-22 14:44:58.215 EDT [31003] HINT: Future log output will appear in directory "log". Aug 22 14:44:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:20 managed-node2 systemd[1]: postgresql.service: Killing process 31004 (postmaster) with signal SIGKILL. Aug 22 14:45:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:36 managed-node2 postgres[35848]: 2026-08-22 14:45:36.370 EDT [35848] LOG: redirecting log output to logging collector process Aug 22 14:45:36 managed-node2 postgres[35848]: 2026-08-22 14:45:36.370 EDT [35848] HINT: Future log output will appear in directory "log". Aug 22 14:45:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:39 managed-node2 systemd[1]: postgresql.service: Killing process 35849 (postgres) with signal SIGKILL. Aug 22 14:45:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:39 managed-node2 postgres[36654]: 2026-08-22 14:45:39.395 EDT [36654] LOG: redirecting log output to logging collector process Aug 22 14:45:39 managed-node2 postgres[36654]: 2026-08-22 14:45:39.395 EDT [36654] HINT: Future log output will appear in directory "log". Aug 22 14:45:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:01 managed-node2 systemd[1]: postgresql.service: Killing process 36656 (postgres) with signal SIGKILL. Aug 22 14:46:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.094 EDT [41492] 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 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.094 EDT [41492] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.094 EDT [41492] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.096 EDT [41492] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.101 EDT [41492] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.111 EDT [41492] LOG: redirecting log output to logging collector process Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.111 EDT [41492] HINT: Future log output will appear in directory "log". Aug 22 14:46:16 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:19 managed-node2 systemd[1]: postgresql.service: Killing process 41493 (postmaster) with signal SIGKILL. Aug 22 14:46:19 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.181 EDT [42300] 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 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.181 EDT [42300] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.181 EDT [42300] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.183 EDT [42300] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.187 EDT [42300] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.215 EDT [42300] LOG: redirecting log output to logging collector process Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.215 EDT [42300] HINT: Future log output will appear in directory "log". Aug 22 14:46:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:40 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:40 managed-node2 systemd[1]: postgresql.service: Killing process 42301 (postmaster) with signal SIGKILL. Aug 22 14:46:40 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:40 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:46:43 -0400 (0:00:00.334) 0:02:03.796 ******* included: /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 22 August 2026 14:46:43 -0400 (0:00:00.030) 0:02:03.827 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:46:43 -0400 (0:00:00.001) 0:02:03.828 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:46:43 -0400 (0:00:00.017) 0:02:03.845 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:46:43 -0400 (0:00:00.041) 0:02:03.887 ******* included: /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.025) 0:02:03.912 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.770) 0:02:04.683 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-22T14:46:45-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:46:45 -0400 (0:00:00.329) 0:02:05.013 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:46:45 -0400 (0:00:00.017) 0:02:05.031 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:46:45 -0400 (0:00:00.017) 0:02:05.048 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:46:45 -0400 (0:00:00.018) 0:02:05.066 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:46:45 -0400 (0:00:00.019) 0:02:05.086 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:46:45 -0400 (0:00:00.017) 0:02:05.104 ******* 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-TBD/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-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:46:45 -0400 (0:00:00.040) 0:02:05.144 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:46:45 -0400 (0:00:00.326) 0:02:05.470 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:46:45 -0400 (0:00:00.320) 0:02:05.790 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:46:46 -0400 (0:00:00.319) 0:02:06.109 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:46:47 -0400 (0:00:01.427) 0:02:07.537 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:46:47 -0400 (0:00:00.101) 0:02:07.639 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:46:47 -0400 (0:00:00.025) 0:02:07.664 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:46:47 -0400 (0:00:00.025) 0:02:07.690 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:46:47 -0400 (0:00:00.021) 0:02:07.711 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:46:53 -0400 (0:00:06.085) 0:02:13.797 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.701506", "end": "2026-08-22 14:46:54.894936", "rc": 0, "start": "2026-08-22 14:46:54.193430" } 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:46:54 -0400 (0:00:01.048) 0:02:14.845 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:46:54 -0400 (0:00:00.020) 0:02:14.865 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:46:54 -0400 (0:00:00.018) 0:02:14.883 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.019) 0:02:14.902 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target sysinit.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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:46:56 -0400 (0:00:01.038) 0:02:15.941 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.020) 0:02:15.962 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.019) 0:02:15.981 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.020) 0:02:16.001 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.015) 0:02:16.017 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.019) 0:02:16.037 ******* included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.028) 0:02:16.065 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.017) 0:02:16.082 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.016) 0:02:16.099 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.018) 0:02:16.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 from the default path] *** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.017) 0:02:16.136 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.017) 0:02:16.153 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.017) 0:02:16.171 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.018) 0:02:16.190 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.015) 0:02:16.205 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.015) 0:02:16.221 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.019) 0:02:16.240 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.339) 0:02:16.580 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:46:57 -0400 (0:00:00.332) 0:02:16.912 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1787424417.0481799-13714-86013630160727/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:46:57 -0400 (0:00:00.666) 0:02:17.579 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:46:57 -0400 (0:00:00.020) 0:02:17.600 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:46:57 -0400 (0:00:00.021) 0:02:17.621 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-22T14:46:58-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:46:58 -0400 (0:00:00.333) 0:02:17.954 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 22 August 2026 14:46:58 -0400 (0:00:00.018) 0:02:17.973 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:46:58 -0400 (0:00:00.006) 0:02:17.979 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-22 14:46:55 EDT", "ActiveEnterTimestampMonotonic": "429930386", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice network.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:46:55 EDT", "AssertTimestampMonotonic": "429881944", "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-22 14:46:55 EDT", "ConditionTimestampMonotonic": "429881943", "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": "47110", "ExecMainStartTimestamp": "Sat 2026-08-22 14:46:55 EDT", "ExecMainStartTimestampMonotonic": "429891914", "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-22 14:46:55 EDT] ; stop_time=[n/a] ; pid=47110 ; 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-22 14:46:55 EDT] ; stop_time=[Sat 2026-08-22 14:46:55 EDT] ; pid=47107 ; 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-22 14:46:55 EDT", "InactiveExitTimestampMonotonic": "429882944", "InvocationID": "5becf08e5fe946ee899938e6de026db7", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47110", "MemoryAccounting": "yes", "MemoryCurrent": "16826368", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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-22 14:46:55 EDT", "StateChangeTimestampMonotonic": "429930386", "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": "22268", "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-22 14:46:55 EDT", "WatchdogTimestampMonotonic": "429930385", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:46:58 -0400 (0:00:00.922) 0:02:18.901 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008032", "end": "2026-08-22 14:46:59.282072", "rc": 0, "start": "2026-08-22 14:46:59.274040" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:46:59 -0400 (0:00:00.328) 0:02:19.230 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008512", "end": "2026-08-22 14:46:59.606773", "rc": 0, "start": "2026-08-22 14:46:59.598261" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:46:59 -0400 (0:00:00.325) 0:02:19.555 ******* ASYNC OK on managed-node2: jid=j483555446818.48317 ok: [managed-node2] => { "ansible_job_id": "j483555446818.48317", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011429", "end": "2026-08-22 14:47:00.165723", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j483555446818.48317", "start": "2026-08-22 14:47:00.154294", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:47:15 -0400 (0:00:16.008) 0:02:35.563 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009566", "end": "2026-08-22 14:47:15.977223", "rc": 0, "start": "2026-08-22 14:47:15.967657" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:47:16 -0400 (0:00:00.364) 0:02:35.928 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:47:16 -0400 (0:00:00.031) 0:02:35.960 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009884", "end": "2026-08-22 14:47:16.363586", "rc": 0, "start": "2026-08-22 14:47:16.353702" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:47:16 -0400 (0:00:00.355) 0:02:36.315 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:47:16 -0400 (0:00:00.032) 0:02:36.347 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006871", "end": "2026-08-22 14:47:16.737114", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:47:16.730243" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:47:16 -0400 (0:00:00.403) 0:02:36.751 ******* included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 22 August 2026 14:47:16 -0400 (0:00:00.031) 0:02:36.782 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:47:16 -0400 (0:00:00.004) 0:02:36.787 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:47:21 -0400 (0:00:04.811) 0:02:41.599 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:47:21 -0400 (0:00:00.018) 0:02:41.617 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:47:22 -0400 (0:00:00.382) 0:02:42.000 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:47:23 -0400 (0:00:01.330) 0:02:43.330 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008121", "end": "2026-08-22 14:47:23.726501", "rc": 0, "start": "2026-08-22 14:47:23.718380" } STDOUT: -- Logs begin at Sat 2026-08-22 14:39:46 EDT, end at Sat 2026-08-22 14:47:23 EDT. -- Aug 22 14:43:15 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:15 managed-node2 postmaster[10412]: 2026-08-22 14:43:15.625 EDT [10412] LOG: redirecting log output to logging collector process Aug 22 14:43:15 managed-node2 postmaster[10412]: 2026-08-22 14:43:15.625 EDT [10412] HINT: Future log output will appear in directory "log". Aug 22 14:43:15 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:23 managed-node2 postmaster[12675]: 2026-08-22 14:43:23.072 EDT [12675] LOG: redirecting log output to logging collector process Aug 22 14:43:23 managed-node2 postmaster[12675]: 2026-08-22 14:43:23.072 EDT [12675] HINT: Future log output will appear in directory "log". Aug 22 14:43:23 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:26 managed-node2 systemd[1]: postgresql.service: Killing process 12676 (postmaster) with signal SIGKILL. Aug 22 14:43:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:58 managed-node2 postmaster[19297]: 2026-08-22 14:43:58.864 EDT [19297] LOG: redirecting log output to logging collector process Aug 22 14:43:58 managed-node2 postmaster[19297]: 2026-08-22 14:43:58.864 EDT [19297] HINT: Future log output will appear in directory "log". Aug 22 14:43:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:04 managed-node2 systemd[1]: postgresql.service: Killing process 19298 (postmaster) with signal SIGKILL. Aug 22 14:44:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:04 managed-node2 postmaster[20838]: 2026-08-22 14:44:04.258 EDT [20838] LOG: redirecting log output to logging collector process Aug 22 14:44:04 managed-node2 postmaster[20838]: 2026-08-22 14:44:04.258 EDT [20838] HINT: Future log output will appear in directory "log". Aug 22 14:44:04 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:09 managed-node2 systemd[1]: postgresql.service: Killing process 20839 (postmaster) with signal SIGKILL. Aug 22 14:44:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:27 managed-node2 postmaster[25213]: 2026-08-22 14:44:27.961 EDT [25213] LOG: redirecting log output to logging collector process Aug 22 14:44:27 managed-node2 postmaster[25213]: 2026-08-22 14:44:27.961 EDT [25213] HINT: Future log output will appear in directory "log". Aug 22 14:44:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:31 managed-node2 systemd[1]: postgresql.service: Killing process 25214 (postmaster) with signal SIGKILL. Aug 22 14:44:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:31 managed-node2 postmaster[25952]: 2026-08-22 14:44:31.287 EDT [25952] LOG: redirecting log output to logging collector process Aug 22 14:44:31 managed-node2 postmaster[25952]: 2026-08-22 14:44:31.287 EDT [25952] HINT: Future log output will appear in directory "log". Aug 22 14:44:31 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:34 managed-node2 systemd[1]: postgresql.service: Killing process 25954 (postmaster) with signal SIGKILL. Aug 22 14:44:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:54 managed-node2 postmaster[30195]: 2026-08-22 14:44:54.874 EDT [30195] LOG: redirecting log output to logging collector process Aug 22 14:44:54 managed-node2 postmaster[30195]: 2026-08-22 14:44:54.874 EDT [30195] HINT: Future log output will appear in directory "log". Aug 22 14:44:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:58 managed-node2 systemd[1]: postgresql.service: Killing process 30196 (postmaster) with signal SIGKILL. Aug 22 14:44:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:58 managed-node2 postmaster[31003]: 2026-08-22 14:44:58.215 EDT [31003] LOG: redirecting log output to logging collector process Aug 22 14:44:58 managed-node2 postmaster[31003]: 2026-08-22 14:44:58.215 EDT [31003] HINT: Future log output will appear in directory "log". Aug 22 14:44:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:20 managed-node2 systemd[1]: postgresql.service: Killing process 31004 (postmaster) with signal SIGKILL. Aug 22 14:45:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:36 managed-node2 postgres[35848]: 2026-08-22 14:45:36.370 EDT [35848] LOG: redirecting log output to logging collector process Aug 22 14:45:36 managed-node2 postgres[35848]: 2026-08-22 14:45:36.370 EDT [35848] HINT: Future log output will appear in directory "log". Aug 22 14:45:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:39 managed-node2 systemd[1]: postgresql.service: Killing process 35849 (postgres) with signal SIGKILL. Aug 22 14:45:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:39 managed-node2 postgres[36654]: 2026-08-22 14:45:39.395 EDT [36654] LOG: redirecting log output to logging collector process Aug 22 14:45:39 managed-node2 postgres[36654]: 2026-08-22 14:45:39.395 EDT [36654] HINT: Future log output will appear in directory "log". Aug 22 14:45:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:01 managed-node2 systemd[1]: postgresql.service: Killing process 36656 (postgres) with signal SIGKILL. Aug 22 14:46:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.094 EDT [41492] 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 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.094 EDT [41492] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.094 EDT [41492] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.096 EDT [41492] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.101 EDT [41492] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.111 EDT [41492] LOG: redirecting log output to logging collector process Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.111 EDT [41492] HINT: Future log output will appear in directory "log". Aug 22 14:46:16 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:19 managed-node2 systemd[1]: postgresql.service: Killing process 41493 (postmaster) with signal SIGKILL. Aug 22 14:46:19 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.181 EDT [42300] 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 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.181 EDT [42300] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.181 EDT [42300] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.183 EDT [42300] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.187 EDT [42300] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.215 EDT [42300] LOG: redirecting log output to logging collector process Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.215 EDT [42300] HINT: Future log output will appear in directory "log". Aug 22 14:46:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:40 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:40 managed-node2 systemd[1]: postgresql.service: Killing process 42301 (postmaster) with signal SIGKILL. Aug 22 14:46:40 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:40 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.952 EDT [47110] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.952 EDT [47110] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.954 EDT [47110] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.958 EDT [47110] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.968 EDT [47110] LOG: redirecting log output to logging collector process Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.968 EDT [47110] HINT: Future log output will appear in directory "log". Aug 22 14:46:55 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:58 managed-node2 systemd[1]: postgresql.service: Killing process 47111 (postmaster) with signal SIGKILL. Aug 22 14:46:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.897 EDT [47918] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.897 EDT [47918] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.899 EDT [47918] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.903 EDT [47918] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.931 EDT [47918] LOG: redirecting log output to logging collector process Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.931 EDT [47918] HINT: Future log output will appear in directory "log". Aug 22 14:46:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:47:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:47:20 managed-node2 systemd[1]: postgresql.service: Killing process 47919 (postmaster) with signal SIGKILL. Aug 22 14:47:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:47:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:47:23 -0400 (0:00:00.349) 0:02:43.679 ******* included: /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 22 August 2026 14:47:23 -0400 (0:00:00.029) 0:02:43.709 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:47:23 -0400 (0:00:00.001) 0:02:43.710 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:47:23 -0400 (0:00:00.016) 0:02:43.726 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:47:23 -0400 (0:00:00.041) 0:02:43.768 ******* included: /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:47:23 -0400 (0:00:00.024) 0:02:43.793 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:47:24 -0400 (0:00:00.802) 0:02:44.595 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-22T14:47:24-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:47:25 -0400 (0:00:00.342) 0:02:44.938 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:47:25 -0400 (0:00:00.017) 0:02:44.955 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:47:25 -0400 (0:00:00.016) 0:02:44.972 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:47:25 -0400 (0:00:00.017) 0:02:44.990 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:47:25 -0400 (0:00:00.017) 0:02:45.007 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:47:25 -0400 (0:00:00.016) 0:02:45.024 ******* 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-TBD/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-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:47:25 -0400 (0:00:00.039) 0:02:45.063 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:47:25 -0400 (0:00:00.336) 0:02:45.400 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:47:25 -0400 (0:00:00.339) 0:02:45.740 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:47:26 -0400 (0:00:00.339) 0:02:46.079 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:47:27 -0400 (0:00:01.420) 0:02:47.500 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:47:27 -0400 (0:00:00.027) 0:02:47.527 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:47:27 -0400 (0:00:00.024) 0:02:47.551 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:47:27 -0400 (0:00:00.028) 0:02:47.580 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:47:27 -0400 (0:00:00.020) 0:02:47.600 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:47:33 -0400 (0:00:06.286) 0:02:53.887 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.743219", "end": "2026-08-22 14:47:35.030976", "rc": 0, "start": "2026-08-22 14:47:34.287757" } 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:47:35 -0400 (0:00:01.096) 0:02:54.983 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:47:35 -0400 (0:00:00.020) 0:02:55.003 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:47:35 -0400 (0:00:00.019) 0:02:55.023 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:47:35 -0400 (0:00:00.019) 0:02:55.042 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice network.target basic.target sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:47:36 -0400 (0:00:01.079) 0:02:56.122 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.022) 0:02:56.145 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.022) 0:02:56.168 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.022) 0:02:56.190 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.020) 0:02:56.211 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.022) 0:02:56.233 ******* included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.031) 0:02:56.264 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.021) 0:02:56.286 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.020) 0:02:56.306 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.019) 0:02:56.326 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.019) 0:02:56.346 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.059) 0:02:56.405 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.020) 0:02:56.426 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.020) 0:02:56.446 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.018) 0:02:56.465 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.020) 0:02:56.485 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.023) 0:02:56.509 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:47:36 -0400 (0:00:00.346) 0:02:56.855 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:47:37 -0400 (0:00:00.349) 0:02:57.205 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1787424457.3427782-14126-129298351364853/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:47:38 -0400 (0:00:00.700) 0:02:57.905 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:47:38 -0400 (0:00:00.022) 0:02:57.928 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:47:38 -0400 (0:00:00.022) 0:02:57.950 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-22T14:47:38-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:47:38 -0400 (0:00:00.351) 0:02:58.302 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 22 August 2026 14:47:38 -0400 (0:00:00.019) 0:02:58.321 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:47:38 -0400 (0:00:00.005) 0:02:58.326 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-22 14:47:36 EDT", "ActiveEnterTimestampMonotonic": "470108023", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:47:36 EDT", "AssertTimestampMonotonic": "470057380", "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-22 14:47:36 EDT", "ConditionTimestampMonotonic": "470057379", "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": "52767", "ExecMainStartTimestamp": "Sat 2026-08-22 14:47:36 EDT", "ExecMainStartTimestampMonotonic": "470067833", "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-22 14:47:36 EDT] ; stop_time=[n/a] ; pid=52767 ; 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-22 14:47:36 EDT] ; stop_time=[Sat 2026-08-22 14:47:36 EDT] ; pid=52764 ; 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-22 14:47:36 EDT", "InactiveExitTimestampMonotonic": "470058457", "InvocationID": "f453f65949d44643ab79c121b64f6179", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52767", "MemoryAccounting": "yes", "MemoryCurrent": "18432000", "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-22 14:47:36 EDT", "StateChangeTimestampMonotonic": "470108023", "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": "22268", "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-22 14:47:36 EDT", "WatchdogTimestampMonotonic": "470108021", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:47:39 -0400 (0:00:00.972) 0:02:59.299 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008204", "end": "2026-08-22 14:47:39.694031", "rc": 0, "start": "2026-08-22 14:47:39.685827" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:47:39 -0400 (0:00:00.348) 0:02:59.647 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008421", "end": "2026-08-22 14:47:40.045722", "rc": 0, "start": "2026-08-22 14:47:40.037301" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:47:40 -0400 (0:00:00.349) 0:02:59.996 ******* ASYNC OK on managed-node2: jid=j840104614787.53972 ok: [managed-node2] => { "ansible_job_id": "j840104614787.53972", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012774", "end": "2026-08-22 14:47:40.623581", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j840104614787.53972", "start": "2026-08-22 14:47:40.610807", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:47:56 -0400 (0:00:16.040) 0:03:16.036 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009857", "end": "2026-08-22 14:47:56.448687", "rc": 0, "start": "2026-08-22 14:47:56.438830" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:47:56 -0400 (0:00:00.364) 0:03:16.401 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:47:56 -0400 (0:00:00.036) 0:03:16.437 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009764", "end": "2026-08-22 14:47:56.848275", "rc": 0, "start": "2026-08-22 14:47:56.838511" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:47:56 -0400 (0:00:00.365) 0:03:16.803 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:47:56 -0400 (0:00:00.032) 0:03:16.836 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009305", "end": "2026-08-22 14:47:57.234394", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:47:57.225089" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:47:57 -0400 (0:00:00.354) 0:03:17.190 ******* included: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 22 August 2026 14:47:57 -0400 (0:00:00.034) 0:03:17.225 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:47:57 -0400 (0:00:00.004) 0:03:17.230 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:48:02 -0400 (0:00:04.825) 0:03:22.055 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:48:02 -0400 (0:00:00.020) 0:03:22.075 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:48:02 -0400 (0:00:00.384) 0:03:22.460 ******* 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-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:48:03 -0400 (0:00:01.312) 0:03:23.772 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008103", "end": "2026-08-22 14:48:04.164899", "rc": 0, "start": "2026-08-22 14:48:04.156796" } STDOUT: -- Logs begin at Sat 2026-08-22 14:39:46 EDT, end at Sat 2026-08-22 14:48:04 EDT. -- Aug 22 14:43:15 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:15 managed-node2 postmaster[10412]: 2026-08-22 14:43:15.625 EDT [10412] LOG: redirecting log output to logging collector process Aug 22 14:43:15 managed-node2 postmaster[10412]: 2026-08-22 14:43:15.625 EDT [10412] HINT: Future log output will appear in directory "log". Aug 22 14:43:15 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:23 managed-node2 postmaster[12675]: 2026-08-22 14:43:23.072 EDT [12675] LOG: redirecting log output to logging collector process Aug 22 14:43:23 managed-node2 postmaster[12675]: 2026-08-22 14:43:23.072 EDT [12675] HINT: Future log output will appear in directory "log". Aug 22 14:43:23 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:26 managed-node2 systemd[1]: postgresql.service: Killing process 12676 (postmaster) with signal SIGKILL. Aug 22 14:43:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:58 managed-node2 postmaster[19297]: 2026-08-22 14:43:58.864 EDT [19297] LOG: redirecting log output to logging collector process Aug 22 14:43:58 managed-node2 postmaster[19297]: 2026-08-22 14:43:58.864 EDT [19297] HINT: Future log output will appear in directory "log". Aug 22 14:43:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:04 managed-node2 systemd[1]: postgresql.service: Killing process 19298 (postmaster) with signal SIGKILL. Aug 22 14:44:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:04 managed-node2 postmaster[20838]: 2026-08-22 14:44:04.258 EDT [20838] LOG: redirecting log output to logging collector process Aug 22 14:44:04 managed-node2 postmaster[20838]: 2026-08-22 14:44:04.258 EDT [20838] HINT: Future log output will appear in directory "log". Aug 22 14:44:04 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:09 managed-node2 systemd[1]: postgresql.service: Killing process 20839 (postmaster) with signal SIGKILL. Aug 22 14:44:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:27 managed-node2 postmaster[25213]: 2026-08-22 14:44:27.961 EDT [25213] LOG: redirecting log output to logging collector process Aug 22 14:44:27 managed-node2 postmaster[25213]: 2026-08-22 14:44:27.961 EDT [25213] HINT: Future log output will appear in directory "log". Aug 22 14:44:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:31 managed-node2 systemd[1]: postgresql.service: Killing process 25214 (postmaster) with signal SIGKILL. Aug 22 14:44:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:31 managed-node2 postmaster[25952]: 2026-08-22 14:44:31.287 EDT [25952] LOG: redirecting log output to logging collector process Aug 22 14:44:31 managed-node2 postmaster[25952]: 2026-08-22 14:44:31.287 EDT [25952] HINT: Future log output will appear in directory "log". Aug 22 14:44:31 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:34 managed-node2 systemd[1]: postgresql.service: Killing process 25954 (postmaster) with signal SIGKILL. Aug 22 14:44:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:54 managed-node2 postmaster[30195]: 2026-08-22 14:44:54.874 EDT [30195] LOG: redirecting log output to logging collector process Aug 22 14:44:54 managed-node2 postmaster[30195]: 2026-08-22 14:44:54.874 EDT [30195] HINT: Future log output will appear in directory "log". Aug 22 14:44:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:58 managed-node2 systemd[1]: postgresql.service: Killing process 30196 (postmaster) with signal SIGKILL. Aug 22 14:44:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:58 managed-node2 postmaster[31003]: 2026-08-22 14:44:58.215 EDT [31003] LOG: redirecting log output to logging collector process Aug 22 14:44:58 managed-node2 postmaster[31003]: 2026-08-22 14:44:58.215 EDT [31003] HINT: Future log output will appear in directory "log". Aug 22 14:44:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:20 managed-node2 systemd[1]: postgresql.service: Killing process 31004 (postmaster) with signal SIGKILL. Aug 22 14:45:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:36 managed-node2 postgres[35848]: 2026-08-22 14:45:36.370 EDT [35848] LOG: redirecting log output to logging collector process Aug 22 14:45:36 managed-node2 postgres[35848]: 2026-08-22 14:45:36.370 EDT [35848] HINT: Future log output will appear in directory "log". Aug 22 14:45:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:39 managed-node2 systemd[1]: postgresql.service: Killing process 35849 (postgres) with signal SIGKILL. Aug 22 14:45:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:39 managed-node2 postgres[36654]: 2026-08-22 14:45:39.395 EDT [36654] LOG: redirecting log output to logging collector process Aug 22 14:45:39 managed-node2 postgres[36654]: 2026-08-22 14:45:39.395 EDT [36654] HINT: Future log output will appear in directory "log". Aug 22 14:45:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:01 managed-node2 systemd[1]: postgresql.service: Killing process 36656 (postgres) with signal SIGKILL. Aug 22 14:46:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.094 EDT [41492] 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 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.094 EDT [41492] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.094 EDT [41492] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.096 EDT [41492] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.101 EDT [41492] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.111 EDT [41492] LOG: redirecting log output to logging collector process Aug 22 14:46:16 managed-node2 postmaster[41492]: 2026-08-22 14:46:16.111 EDT [41492] HINT: Future log output will appear in directory "log". Aug 22 14:46:16 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:19 managed-node2 systemd[1]: postgresql.service: Killing process 41493 (postmaster) with signal SIGKILL. Aug 22 14:46:19 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.181 EDT [42300] 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 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.181 EDT [42300] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.181 EDT [42300] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.183 EDT [42300] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.187 EDT [42300] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.215 EDT [42300] LOG: redirecting log output to logging collector process Aug 22 14:46:19 managed-node2 postmaster[42300]: 2026-08-22 14:46:19.215 EDT [42300] HINT: Future log output will appear in directory "log". Aug 22 14:46:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:40 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:40 managed-node2 systemd[1]: postgresql.service: Killing process 42301 (postmaster) with signal SIGKILL. Aug 22 14:46:40 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:40 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.952 EDT [47110] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.952 EDT [47110] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.954 EDT [47110] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.958 EDT [47110] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.968 EDT [47110] LOG: redirecting log output to logging collector process Aug 22 14:46:55 managed-node2 postmaster[47110]: 2026-08-22 14:46:55.968 EDT [47110] HINT: Future log output will appear in directory "log". Aug 22 14:46:55 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:58 managed-node2 systemd[1]: postgresql.service: Killing process 47111 (postmaster) with signal SIGKILL. Aug 22 14:46:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.897 EDT [47918] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.897 EDT [47918] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.899 EDT [47918] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.903 EDT [47918] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.931 EDT [47918] LOG: redirecting log output to logging collector process Aug 22 14:46:58 managed-node2 postmaster[47918]: 2026-08-22 14:46:58.931 EDT [47918] HINT: Future log output will appear in directory "log". Aug 22 14:46:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:47:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:47:20 managed-node2 systemd[1]: postgresql.service: Killing process 47919 (postmaster) with signal SIGKILL. Aug 22 14:47:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:47:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:47:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:47:36 managed-node2 postmaster[52767]: 2026-08-22 14:47:36.140 EDT [52767] LOG: redirecting log output to logging collector process Aug 22 14:47:36 managed-node2 postmaster[52767]: 2026-08-22 14:47:36.140 EDT [52767] HINT: Future log output will appear in directory "log". Aug 22 14:47:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:47:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:47:39 managed-node2 systemd[1]: postgresql.service: Killing process 52768 (postmaster) with signal SIGKILL. Aug 22 14:47:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:47:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:47:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:47:39 managed-node2 postmaster[53574]: 2026-08-22 14:47:39.317 EDT [53574] LOG: redirecting log output to logging collector process Aug 22 14:47:39 managed-node2 postmaster[53574]: 2026-08-22 14:47:39.317 EDT [53574] HINT: Future log output will appear in directory "log". Aug 22 14:47:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:48:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:48:01 managed-node2 systemd[1]: postgresql.service: Killing process 53575 (postmaster) with signal SIGKILL. Aug 22 14:48:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 22 14:48:01 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 22 August 2026 14:48:04 -0400 (0:00:00.338) 0:03:24.111 ******* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.21s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 16.04s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 16.01s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 16.01s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 16.00s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 7.05s /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.22s /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.09s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.85s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.83s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.81s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.78s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.76s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.63s /tmp/collections-TBD/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-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.42s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.42s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.39s /tmp/collections-TBD/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8