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-3of 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-3of/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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 15 August 2026 14:44:20 -0400 (0:00:00.028) 0:00:00.028 ******* ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 15 August 2026 14:44:21 -0400 (0:00:01.112) 0:00:01.140 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 15 August 2026 14:44:21 -0400 (0:00:00.006) 0:00:01.147 ******* included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 15 August 2026 14:44:21 -0400 (0:00:00.046) 0:00:01.193 ******* included: /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 15 August 2026 14:44:21 -0400 (0:00:00.059) 0:00:01.253 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 15 August 2026 14:44:21 -0400 (0:00:00.001) 0:00:01.254 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 15 August 2026 14:44:21 -0400 (0:00:00.022) 0:00:01.277 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 15 August 2026 14:44:21 -0400 (0:00:00.118) 0:00:01.396 ******* included: /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 15 August 2026 14:44:21 -0400 (0:00:00.041) 0:00:01.437 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 15 August 2026 14:44:22 -0400 (0:00:00.836) 0:00:02.274 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-15T14:44:22-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 15 August 2026 14:44:22 -0400 (0:00:00.454) 0:00:02.728 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 15 August 2026 14:44:23 -0400 (0:00:00.449) 0:00:03.178 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 15 August 2026 14:44:23 -0400 (0:00:00.023) 0:00:03.201 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008947", "end": "2026-08-15 14:44:23.876229", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:44:23.867282" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 15 August 2026 14:44:23 -0400 (0:00:00.462) 0:00:03.663 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 15 August 2026 14:44:23 -0400 (0:00:00.019) 0:00:03.683 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 15 August 2026 14:44:23 -0400 (0:00:00.020) 0:00:03.704 ******* 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-3of/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-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 15 August 2026 14:44:24 -0400 (0:00:00.038) 0:00:03.742 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 15 August 2026 14:44:24 -0400 (0:00:00.331) 0:00:04.074 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 15 August 2026 14:44:24 -0400 (0:00:00.326) 0:00:04.400 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 15 August 2026 14:44:24 -0400 (0:00:00.335) 0:00:04.735 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 15 August 2026 14:44:26 -0400 (0:00:01.658) 0:00:06.394 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 15 August 2026 14:44:26 -0400 (0:00:00.031) 0:00:06.425 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 15 August 2026 14:44:26 -0400 (0:00:00.023) 0:00:06.449 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 15 August 2026 14:44:26 -0400 (0:00:00.022) 0:00:06.472 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 15 August 2026 14:44:26 -0400 (0:00:00.019) 0:00:06.491 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 15 August 2026 14:44:33 -0400 (0:00:06.290) 0:00:12.782 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.758737", "end": "2026-08-15 14:44:34.116402", "rc": 0, "start": "2026-08-15 14:44:33.357665" } 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 15 August 2026 14:44:34 -0400 (0:00:01.126) 0:00:13.908 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 15 August 2026 14:44:34 -0400 (0:00:00.019) 0:00:13.928 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 15 August 2026 14:44:34 -0400 (0:00:00.017) 0:00:13.945 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 15 August 2026 14:44:34 -0400 (0:00:00.017) 0:00:13.963 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target system.slice systemd-journald.socket sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 15 August 2026 14:44:35 -0400 (0:00:01.306) 0:00:15.269 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.020) 0:00:15.290 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.020) 0:00:15.311 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.021) 0:00:15.332 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.018) 0:00:15.351 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.021) 0:00:15.372 ******* included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.030) 0:00:15.402 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.020) 0:00:15.422 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.019) 0:00:15.441 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.018) 0:00:15.460 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.018) 0:00:15.479 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.019) 0:00:15.498 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.019) 0:00:15.517 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.018) 0:00:15.536 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.016) 0:00:15.552 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.017) 0:00:15.570 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 15 August 2026 14:44:35 -0400 (0:00:00.020) 0:00:15.591 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 15 August 2026 14:44:36 -0400 (0:00:00.489) 0:00:16.080 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 15 August 2026 14:44:36 -0400 (0:00:00.471) 0:00:16.551 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1786819476.8498282-12533-99927048437284/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 15 August 2026 14:44:37 -0400 (0:00:00.868) 0:00:17.420 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 15 August 2026 14:44:37 -0400 (0:00:00.021) 0:00:17.442 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 15 August 2026 14:44:37 -0400 (0:00:00.021) 0:00:17.463 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-15T14:44:38-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 15 August 2026 14:44:38 -0400 (0:00:00.360) 0:00:17.824 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 15 August 2026 14:44:38 -0400 (0:00:00.018) 0:00:17.843 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 15 August 2026 14:44:38 -0400 (0:00:00.005) 0:00:17.848 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-15 14:44:35 EDT", "ActiveEnterTimestampMonotonic": "335441385", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket network.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-15 14:44:35 EDT", "AssertTimestampMonotonic": "335389609", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-15 14:44:35 EDT", "ConditionTimestampMonotonic": "335389609", "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": "30214", "ExecMainStartTimestamp": "Sat 2026-08-15 14:44:35 EDT", "ExecMainStartTimestampMonotonic": "335400237", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:44:35 EDT] ; stop_time=[n/a] ; pid=30214 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:44:35 EDT] ; stop_time=[Sat 2026-08-15 14:44:35 EDT] ; pid=30211 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-15 14:44:35 EDT", "InactiveExitTimestampMonotonic": "335390700", "InvocationID": "8d40a41810a54bb288f2cc68150bd919", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30214", "MemoryAccounting": "yes", "MemoryCurrent": "17838080", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-15 14:44:35 EDT", "StateChangeTimestampMonotonic": "335441385", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-15 14:44:35 EDT", "WatchdogTimestampMonotonic": "335441383", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 15 August 2026 14:44:39 -0400 (0:00:00.999) 0:00:18.847 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008774", "end": "2026-08-15 14:44:39.414097", "rc": 0, "start": "2026-08-15 14:44:39.405323" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 15 August 2026 14:44:39 -0400 (0:00:00.358) 0:00:19.206 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008959", "end": "2026-08-15 14:44:39.763941", "rc": 0, "start": "2026-08-15 14:44:39.754982" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 15 August 2026 14:44:39 -0400 (0:00:00.348) 0:00:19.554 ******* ASYNC OK on managed-node2: jid=j73900607219.31421 ok: [managed-node2] => { "ansible_job_id": "j73900607219.31421", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013500", "end": "2026-08-15 14:44:40.462050", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j73900607219.31421", "start": "2026-08-15 14:44:40.448550", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 15 August 2026 14:44:56 -0400 (0:00:16.249) 0:00:35.803 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010327", "end": "2026-08-15 14:44:56.382900", "rc": 0, "start": "2026-08-15 14:44:56.372573" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 15 August 2026 14:44:56 -0400 (0:00:00.371) 0:00:36.175 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 15 August 2026 14:44:56 -0400 (0:00:00.035) 0:00:36.211 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009749", "end": "2026-08-15 14:44:56.786182", "rc": 0, "start": "2026-08-15 14:44:56.776433" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 15 August 2026 14:44:56 -0400 (0:00:00.365) 0:00:36.577 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 15 August 2026 14:44:56 -0400 (0:00:00.033) 0:00:36.610 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009838", "end": "2026-08-15 14:44:57.182774", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:44:57.172936" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 15 August 2026 14:44:57 -0400 (0:00:00.373) 0:00:36.984 ******* included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 15 August 2026 14:44:57 -0400 (0:00:00.034) 0:00:37.018 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 15 August 2026 14:44:57 -0400 (0:00:00.004) 0:00:37.023 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 15 August 2026 14:45:02 -0400 (0:00:04.882) 0:00:41.905 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 15 August 2026 14:45:02 -0400 (0:00:00.019) 0:00:41.924 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 15 August 2026 14:45:02 -0400 (0:00:00.391) 0:00:42.316 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 15 August 2026 14:45:03 -0400 (0:00:01.350) 0:00:43.666 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007873", "end": "2026-08-15 14:45:04.221339", "rc": 0, "start": "2026-08-15 14:45:04.213466" } STDOUT: -- Logs begin at Sat 2026-08-15 14:39:00 EDT, end at Sat 2026-08-15 14:45:04 EDT. -- Aug 15 14:42:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:42:51 managed-node2 postmaster[10428]: 2026-08-15 14:42:51.487 EDT [10428] LOG: redirecting log output to logging collector process Aug 15 14:42:51 managed-node2 postmaster[10428]: 2026-08-15 14:42:51.487 EDT [10428] HINT: Future log output will appear in directory "log". Aug 15 14:42:51 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:42:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:42:59 managed-node2 systemd[1]: postgresql.service: Killing process 10430 (postmaster) with signal SIGKILL. Aug 15 14:42:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:42:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:42:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:42:59 managed-node2 postmaster[12692]: 2026-08-15 14:42:59.691 EDT [12692] LOG: redirecting log output to logging collector process Aug 15 14:42:59 managed-node2 postmaster[12692]: 2026-08-15 14:42:59.691 EDT [12692] HINT: Future log output will appear in directory "log". Aug 15 14:42:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:03 managed-node2 systemd[1]: postgresql.service: Killing process 12693 (postmaster) with signal SIGKILL. Aug 15 14:43:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:36 managed-node2 postmaster[19316]: 2026-08-15 14:43:36.970 EDT [19316] LOG: redirecting log output to logging collector process Aug 15 14:43:36 managed-node2 postmaster[19316]: 2026-08-15 14:43:36.970 EDT [19316] HINT: Future log output will appear in directory "log". Aug 15 14:43:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:42 managed-node2 systemd[1]: postgresql.service: Killing process 19317 (postmaster) with signal SIGKILL. Aug 15 14:43:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:42 managed-node2 postmaster[20856]: 2026-08-15 14:43:42.649 EDT [20856] LOG: redirecting log output to logging collector process Aug 15 14:43:42 managed-node2 postmaster[20856]: 2026-08-15 14:43:42.649 EDT [20856] HINT: Future log output will appear in directory "log". Aug 15 14:43:42 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:48 managed-node2 systemd[1]: postgresql.service: Killing process 20858 (postmaster) with signal SIGKILL. Aug 15 14:43:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:07 managed-node2 postmaster[25232]: 2026-08-15 14:44:07.358 EDT [25232] LOG: redirecting log output to logging collector process Aug 15 14:44:07 managed-node2 postmaster[25232]: 2026-08-15 14:44:07.358 EDT [25232] HINT: Future log output will appear in directory "log". Aug 15 14:44:07 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:10 managed-node2 systemd[1]: postgresql.service: Killing process 25233 (postmaster) with signal SIGKILL. Aug 15 14:44:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:11 managed-node2 postmaster[25972]: 2026-08-15 14:44:11.056 EDT [25972] LOG: redirecting log output to logging collector process Aug 15 14:44:11 managed-node2 postmaster[25972]: 2026-08-15 14:44:11.056 EDT [25972] HINT: Future log output will appear in directory "log". Aug 15 14:44:11 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:14 managed-node2 systemd[1]: postgresql.service: Killing process 25973 (postmaster) with signal SIGKILL. Aug 15 14:44:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:35 managed-node2 postmaster[30214]: 2026-08-15 14:44:35.449 EDT [30214] LOG: redirecting log output to logging collector process Aug 15 14:44:35 managed-node2 postmaster[30214]: 2026-08-15 14:44:35.449 EDT [30214] HINT: Future log output will appear in directory "log". Aug 15 14:44:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:38 managed-node2 systemd[1]: postgresql.service: Killing process 30215 (postmaster) with signal SIGKILL. Aug 15 14:44:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:39 managed-node2 postmaster[31022]: 2026-08-15 14:44:39.025 EDT [31022] LOG: redirecting log output to logging collector process Aug 15 14:44:39 managed-node2 postmaster[31022]: 2026-08-15 14:44:39.025 EDT [31022] HINT: Future log output will appear in directory "log". Aug 15 14:44:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:01 managed-node2 systemd[1]: postgresql.service: Killing process 31023 (postmaster) with signal SIGKILL. Aug 15 14:45:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 15 August 2026 14:45:04 -0400 (0:00:00.346) 0:00:44.013 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 15 August 2026 14:45:04 -0400 (0:00:00.012) 0:00:44.025 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 15 August 2026 14:45:04 -0400 (0:00:00.024) 0:00:44.049 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 15 August 2026 14:45:04 -0400 (0:00:00.088) 0:00:44.138 ******* included: /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 15 August 2026 14:45:04 -0400 (0:00:00.029) 0:00:44.168 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 15 August 2026 14:45:04 -0400 (0:00:00.001) 0:00:44.169 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 15 August 2026 14:45:04 -0400 (0:00:00.016) 0:00:44.185 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 15 August 2026 14:45:04 -0400 (0:00:00.041) 0:00:44.226 ******* included: /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 15 August 2026 14:45:04 -0400 (0:00:00.025) 0:00:44.252 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 15 August 2026 14:45:05 -0400 (0:00:00.803) 0:00:45.055 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-15T14:45:05-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 15 August 2026 14:45:05 -0400 (0:00:00.337) 0:00:45.393 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 15 August 2026 14:45:05 -0400 (0:00:00.017) 0:00:45.411 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 15 August 2026 14:45:05 -0400 (0:00:00.017) 0:00:45.428 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 15 August 2026 14:45:05 -0400 (0:00:00.017) 0:00:45.446 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 15 August 2026 14:45:05 -0400 (0:00:00.017) 0:00:45.464 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 15 August 2026 14:45:05 -0400 (0:00:00.016) 0:00:45.481 ******* [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-3of/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-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 15 August 2026 14:45:05 -0400 (0:00:00.041) 0:00:45.522 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 15 August 2026 14:45:06 -0400 (0:00:00.334) 0:00:45.856 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 15 August 2026 14:45:06 -0400 (0:00:00.333) 0:00:46.190 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 15 August 2026 14:45:06 -0400 (0:00:00.332) 0:00:46.522 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 15 August 2026 14:45:08 -0400 (0:00:01.454) 0:00:47.977 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 15 August 2026 14:45:08 -0400 (0:00:00.068) 0:00:48.045 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 15 August 2026 14:45:08 -0400 (0:00:00.027) 0:00:48.073 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 15 August 2026 14:45:08 -0400 (0:00:00.027) 0:00:48.101 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 15 August 2026 14:45:08 -0400 (0:00:00.023) 0:00:48.124 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 15 August 2026 14:45:15 -0400 (0:00:07.058) 0:00:55.183 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.760884", "end": "2026-08-15 14:45:16.510618", "rc": 0, "start": "2026-08-15 14:45:15.749734" } 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 15 August 2026 14:45:16 -0400 (0:00:01.118) 0:00:56.301 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 15 August 2026 14:45:16 -0400 (0:00:00.020) 0:00:56.322 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 15 August 2026 14:45:16 -0400 (0:00:00.018) 0:00:56.341 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 15 August 2026 14:45:16 -0400 (0:00:00.020) 0:00:56.361 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target basic.target systemd-journald.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 15 August 2026 14:45:17 -0400 (0:00:01.109) 0:00:57.471 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.021) 0:00:57.493 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.021) 0:00:57.514 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.022) 0:00:57.537 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.017) 0:00:57.555 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.021) 0:00:57.576 ******* included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.031) 0:00:57.608 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.020) 0:00:57.628 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.019) 0:00:57.648 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.019) 0:00:57.667 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.021) 0:00:57.689 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.020) 0:00:57.709 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 15 August 2026 14:45:17 -0400 (0:00:00.019) 0:00:57.729 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.019) 0:00:57.748 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.018) 0:00:57.767 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.017) 0:00:57.785 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.022) 0:00:57.807 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.359) 0:00:58.166 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 15 August 2026 14:45:18 -0400 (0:00:00.356) 0:00:58.523 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1786819518.823041-12953-225557541102994/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.724) 0:00:59.247 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.022) 0:00:59.269 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.022) 0:00:59.292 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-15T14:45:19-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.370) 0:00:59.662 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.018) 0:00:59.681 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 15 August 2026 14:45:19 -0400 (0:00:00.004) 0:00:59.686 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-15 14:45:17 EDT", "ActiveEnterTimestampMonotonic": "377638622", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket network.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-15 14:45:17 EDT", "AssertTimestampMonotonic": "377584233", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-15 14:45:17 EDT", "ConditionTimestampMonotonic": "377584233", "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": "35861", "ExecMainStartTimestamp": "Sat 2026-08-15 14:45:17 EDT", "ExecMainStartTimestampMonotonic": "377595271", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:45:17 EDT] ; stop_time=[n/a] ; pid=35861 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:45:17 EDT] ; stop_time=[Sat 2026-08-15 14:45:17 EDT] ; pid=35858 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-15 14:45:17 EDT", "InactiveExitTimestampMonotonic": "377585385", "InvocationID": "1c67958296e2429e90800e496ce5c5a8", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35861", "MemoryAccounting": "yes", "MemoryCurrent": "17825792", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-15 14:45:17 EDT", "StateChangeTimestampMonotonic": "377638622", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-15 14:45:17 EDT", "WatchdogTimestampMonotonic": "377638620", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 15 August 2026 14:45:20 -0400 (0:00:00.978) 0:01:00.665 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008195", "end": "2026-08-15 14:45:21.223529", "rc": 0, "start": "2026-08-15 14:45:21.215334" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 15 August 2026 14:45:21 -0400 (0:00:00.348) 0:01:01.013 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008709", "end": "2026-08-15 14:45:21.575011", "rc": 0, "start": "2026-08-15 14:45:21.566302" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 15 August 2026 14:45:21 -0400 (0:00:00.350) 0:01:01.364 ******* ASYNC OK on managed-node2: jid=j643882666444.37068 ok: [managed-node2] => { "ansible_job_id": "j643882666444.37068", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012058", "end": "2026-08-15 14:45:22.165391", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j643882666444.37068", "start": "2026-08-15 14:45:22.153333", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 15 August 2026 14:45:37 -0400 (0:00:16.054) 0:01:17.418 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010801", "end": "2026-08-15 14:45:37.995655", "rc": 0, "start": "2026-08-15 14:45:37.984854" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 15 August 2026 14:45:38 -0400 (0:00:00.369) 0:01:17.788 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 15 August 2026 14:45:38 -0400 (0:00:00.033) 0:01:17.821 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010102", "end": "2026-08-15 14:45:38.401309", "rc": 0, "start": "2026-08-15 14:45:38.391207" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 15 August 2026 14:45:38 -0400 (0:00:00.371) 0:01:18.193 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 15 August 2026 14:45:38 -0400 (0:00:00.033) 0:01:18.226 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009678", "end": "2026-08-15 14:45:38.791015", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:45:38.781337" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 15 August 2026 14:45:38 -0400 (0:00:00.393) 0:01:18.620 ******* included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 15 August 2026 14:45:38 -0400 (0:00:00.033) 0:01:18.653 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 15 August 2026 14:45:38 -0400 (0:00:00.004) 0:01:18.658 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 15 August 2026 14:45:43 -0400 (0:00:04.842) 0:01:23.500 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 15 August 2026 14:45:43 -0400 (0:00:00.018) 0:01:23.519 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 15 August 2026 14:45:44 -0400 (0:00:00.392) 0:01:23.912 ******* [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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 15 August 2026 14:45:45 -0400 (0:00:01.332) 0:01:25.244 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008402", "end": "2026-08-15 14:45:45.804256", "rc": 0, "start": "2026-08-15 14:45:45.795854" } STDOUT: -- Logs begin at Sat 2026-08-15 14:39:00 EDT, end at Sat 2026-08-15 14:45:45 EDT. -- Aug 15 14:42:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:42:51 managed-node2 postmaster[10428]: 2026-08-15 14:42:51.487 EDT [10428] LOG: redirecting log output to logging collector process Aug 15 14:42:51 managed-node2 postmaster[10428]: 2026-08-15 14:42:51.487 EDT [10428] HINT: Future log output will appear in directory "log". Aug 15 14:42:51 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:42:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:42:59 managed-node2 systemd[1]: postgresql.service: Killing process 10430 (postmaster) with signal SIGKILL. Aug 15 14:42:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:42:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:42:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:42:59 managed-node2 postmaster[12692]: 2026-08-15 14:42:59.691 EDT [12692] LOG: redirecting log output to logging collector process Aug 15 14:42:59 managed-node2 postmaster[12692]: 2026-08-15 14:42:59.691 EDT [12692] HINT: Future log output will appear in directory "log". Aug 15 14:42:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:03 managed-node2 systemd[1]: postgresql.service: Killing process 12693 (postmaster) with signal SIGKILL. Aug 15 14:43:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:36 managed-node2 postmaster[19316]: 2026-08-15 14:43:36.970 EDT [19316] LOG: redirecting log output to logging collector process Aug 15 14:43:36 managed-node2 postmaster[19316]: 2026-08-15 14:43:36.970 EDT [19316] HINT: Future log output will appear in directory "log". Aug 15 14:43:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:42 managed-node2 systemd[1]: postgresql.service: Killing process 19317 (postmaster) with signal SIGKILL. Aug 15 14:43:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:42 managed-node2 postmaster[20856]: 2026-08-15 14:43:42.649 EDT [20856] LOG: redirecting log output to logging collector process Aug 15 14:43:42 managed-node2 postmaster[20856]: 2026-08-15 14:43:42.649 EDT [20856] HINT: Future log output will appear in directory "log". Aug 15 14:43:42 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:48 managed-node2 systemd[1]: postgresql.service: Killing process 20858 (postmaster) with signal SIGKILL. Aug 15 14:43:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:07 managed-node2 postmaster[25232]: 2026-08-15 14:44:07.358 EDT [25232] LOG: redirecting log output to logging collector process Aug 15 14:44:07 managed-node2 postmaster[25232]: 2026-08-15 14:44:07.358 EDT [25232] HINT: Future log output will appear in directory "log". Aug 15 14:44:07 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:10 managed-node2 systemd[1]: postgresql.service: Killing process 25233 (postmaster) with signal SIGKILL. Aug 15 14:44:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:11 managed-node2 postmaster[25972]: 2026-08-15 14:44:11.056 EDT [25972] LOG: redirecting log output to logging collector process Aug 15 14:44:11 managed-node2 postmaster[25972]: 2026-08-15 14:44:11.056 EDT [25972] HINT: Future log output will appear in directory "log". Aug 15 14:44:11 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:14 managed-node2 systemd[1]: postgresql.service: Killing process 25973 (postmaster) with signal SIGKILL. Aug 15 14:44:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:35 managed-node2 postmaster[30214]: 2026-08-15 14:44:35.449 EDT [30214] LOG: redirecting log output to logging collector process Aug 15 14:44:35 managed-node2 postmaster[30214]: 2026-08-15 14:44:35.449 EDT [30214] HINT: Future log output will appear in directory "log". Aug 15 14:44:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:38 managed-node2 systemd[1]: postgresql.service: Killing process 30215 (postmaster) with signal SIGKILL. Aug 15 14:44:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:39 managed-node2 postmaster[31022]: 2026-08-15 14:44:39.025 EDT [31022] LOG: redirecting log output to logging collector process Aug 15 14:44:39 managed-node2 postmaster[31022]: 2026-08-15 14:44:39.025 EDT [31022] HINT: Future log output will appear in directory "log". Aug 15 14:44:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:01 managed-node2 systemd[1]: postgresql.service: Killing process 31023 (postmaster) with signal SIGKILL. Aug 15 14:45:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:17 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.635 EDT [35861] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.636 EDT [35861] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.636 EDT [35861] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.638 EDT [35861] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.641 EDT [35861] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.652 EDT [35861] LOG: redirecting log output to logging collector process Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.652 EDT [35861] HINT: Future log output will appear in directory "log". Aug 15 14:45:17 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:20 managed-node2 systemd[1]: postgresql.service: Killing process 35862 (postmaster) with signal SIGKILL. Aug 15 14:45:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.816 EDT [36668] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.817 EDT [36668] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.817 EDT [36668] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.819 EDT [36668] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.822 EDT [36668] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.852 EDT [36668] LOG: redirecting log output to logging collector process Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.852 EDT [36668] HINT: Future log output will appear in directory "log". Aug 15 14:45:20 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:42 managed-node2 systemd[1]: postgresql.service: Killing process 36670 (postmaster) with signal SIGKILL. Aug 15 14:45:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 15 August 2026 14:45:45 -0400 (0:00:00.352) 0:01:25.597 ******* included: /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 15 August 2026 14:45:45 -0400 (0:00:00.030) 0:01:25.627 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 15 August 2026 14:45:45 -0400 (0:00:00.001) 0:01:25.628 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 15 August 2026 14:45:45 -0400 (0:00:00.017) 0:01:25.645 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 15 August 2026 14:45:45 -0400 (0:00:00.044) 0:01:25.690 ******* included: /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 15 August 2026 14:45:45 -0400 (0:00:00.026) 0:01:25.716 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 15 August 2026 14:45:46 -0400 (0:00:00.800) 0:01:26.516 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-15T14:45:47-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 15 August 2026 14:45:47 -0400 (0:00:00.342) 0:01:26.859 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 15 August 2026 14:45:47 -0400 (0:00:00.018) 0:01:26.877 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 15 August 2026 14:45:47 -0400 (0:00:00.018) 0:01:26.895 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 15 August 2026 14:45:47 -0400 (0:00:00.017) 0:01:26.912 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 15 August 2026 14:45:47 -0400 (0:00:00.018) 0:01:26.930 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 15 August 2026 14:45:47 -0400 (0:00:00.018) 0:01:26.949 ******* 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-3of/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-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 15 August 2026 14:45:47 -0400 (0:00:00.041) 0:01:26.990 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 15 August 2026 14:45:47 -0400 (0:00:00.338) 0:01:27.328 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 15 August 2026 14:45:47 -0400 (0:00:00.339) 0:01:27.668 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 15 August 2026 14:45:48 -0400 (0:00:00.338) 0:01:28.007 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 15 August 2026 14:45:49 -0400 (0:00:01.427) 0:01:29.434 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 15 August 2026 14:45:49 -0400 (0:00:00.029) 0:01:29.464 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 15 August 2026 14:45:49 -0400 (0:00:00.026) 0:01:29.491 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 15 August 2026 14:45:49 -0400 (0:00:00.028) 0:01:29.519 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 15 August 2026 14:45:49 -0400 (0:00:00.022) 0:01:29.542 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 15 August 2026 14:45:56 -0400 (0:00:07.153) 0:01:36.695 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.744884", "end": "2026-08-15 14:45:58.017113", "rc": 0, "start": "2026-08-15 14:45:57.272229" } 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 15 August 2026 14:45:58 -0400 (0:00:01.113) 0:01:37.808 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 15 August 2026 14:45:58 -0400 (0:00:00.022) 0:01:37.831 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 15 August 2026 14:45:58 -0400 (0:00:00.020) 0:01:37.852 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 15 August 2026 14:45:58 -0400 (0:00:00.020) 0:01:37.872 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 15 August 2026 14:45:59 -0400 (0:00:01.112) 0:01:38.984 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.024) 0:01:39.009 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.022) 0:01:39.032 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.023) 0:01:39.055 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.018) 0:01:39.074 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.024) 0:01:39.099 ******* included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.031) 0:01:39.131 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.020) 0:01:39.151 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.022) 0:01:39.173 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.023) 0:01:39.197 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.021) 0:01:39.219 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.019) 0:01:39.239 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.049) 0:01:39.288 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.019) 0:01:39.308 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.017) 0:01:39.325 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.017) 0:01:39.343 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.023) 0:01:39.366 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 15 August 2026 14:45:59 -0400 (0:00:00.357) 0:01:39.724 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 15 August 2026 14:46:00 -0400 (0:00:00.355) 0:01:40.080 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1786819560.379667-13368-222448267545602/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 15 August 2026 14:46:01 -0400 (0:00:00.718) 0:01:40.798 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 15 August 2026 14:46:01 -0400 (0:00:00.024) 0:01:40.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 : Record role success fingerprint] *** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 15 August 2026 14:46:01 -0400 (0:00:00.023) 0:01:40.846 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-15T14:46:01-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 15 August 2026 14:46:01 -0400 (0:00:00.364) 0:01:41.210 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 15 August 2026 14:46:01 -0400 (0:00:00.025) 0:01:41.235 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 15 August 2026 14:46:01 -0400 (0:00:00.005) 0:01:41.241 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-15 14:45:59 EDT", "ActiveEnterTimestampMonotonic": "419153925", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice basic.target network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-15 14:45:59 EDT", "AssertTimestampMonotonic": "419100106", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-15 14:45:59 EDT", "ConditionTimestampMonotonic": "419100106", "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": "41518", "ExecMainStartTimestamp": "Sat 2026-08-15 14:45:59 EDT", "ExecMainStartTimestampMonotonic": "419110683", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:45:59 EDT] ; stop_time=[n/a] ; pid=41518 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:45:59 EDT] ; stop_time=[Sat 2026-08-15 14:45:59 EDT] ; pid=41515 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-15 14:45:59 EDT", "InactiveExitTimestampMonotonic": "419101202", "InvocationID": "a30f6db100954fad9bf5933055597db3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41518", "MemoryAccounting": "yes", "MemoryCurrent": "18411520", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-15 14:45:59 EDT", "StateChangeTimestampMonotonic": "419153925", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-15 14:45:59 EDT", "WatchdogTimestampMonotonic": "419153923", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 15 August 2026 14:46:02 -0400 (0:00:00.986) 0:01:42.227 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008869", "end": "2026-08-15 14:46:02.800551", "rc": 0, "start": "2026-08-15 14:46:02.791682" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 15 August 2026 14:46:02 -0400 (0:00:00.365) 0:01:42.593 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008895", "end": "2026-08-15 14:46:03.163031", "rc": 0, "start": "2026-08-15 14:46:03.154136" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 15 August 2026 14:46:03 -0400 (0:00:00.362) 0:01:42.956 ******* ASYNC OK on managed-node2: jid=j880396792946.42723 ok: [managed-node2] => { "ansible_job_id": "j880396792946.42723", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013195", "end": "2026-08-15 14:46:03.758025", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j880396792946.42723", "start": "2026-08-15 14:46:03.744830", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 15 August 2026 14:46:19 -0400 (0:00:16.068) 0:01:59.025 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010353", "end": "2026-08-15 14:46:19.616235", "rc": 0, "start": "2026-08-15 14:46:19.605882" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 15 August 2026 14:46:19 -0400 (0:00:00.383) 0:01:59.408 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 15 August 2026 14:46:19 -0400 (0:00:00.033) 0:01:59.442 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010740", "end": "2026-08-15 14:46:20.029457", "rc": 0, "start": "2026-08-15 14:46:20.018717" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 15 August 2026 14:46:20 -0400 (0:00:00.381) 0:01:59.823 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 15 August 2026 14:46:20 -0400 (0:00:00.032) 0:01:59.856 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009961", "end": "2026-08-15 14:46:20.423086", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:46:20.413125" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 15 August 2026 14:46:20 -0400 (0:00:00.363) 0:02:00.220 ******* included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 15 August 2026 14:46:20 -0400 (0:00:00.035) 0:02:00.255 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 15 August 2026 14:46:20 -0400 (0:00:00.004) 0:02:00.260 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 15 August 2026 14:46:25 -0400 (0:00:04.826) 0:02:05.087 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 15 August 2026 14:46:25 -0400 (0:00:00.019) 0:02:05.107 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 15 August 2026 14:46:25 -0400 (0:00:00.388) 0:02:05.496 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 15 August 2026 14:46:27 -0400 (0:00:01.324) 0:02:06.821 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008043", "end": "2026-08-15 14:46:27.382090", "rc": 0, "start": "2026-08-15 14:46:27.374047" } STDOUT: -- Logs begin at Sat 2026-08-15 14:39:00 EDT, end at Sat 2026-08-15 14:46:27 EDT. -- Aug 15 14:42:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:42:51 managed-node2 postmaster[10428]: 2026-08-15 14:42:51.487 EDT [10428] LOG: redirecting log output to logging collector process Aug 15 14:42:51 managed-node2 postmaster[10428]: 2026-08-15 14:42:51.487 EDT [10428] HINT: Future log output will appear in directory "log". Aug 15 14:42:51 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:42:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:42:59 managed-node2 systemd[1]: postgresql.service: Killing process 10430 (postmaster) with signal SIGKILL. Aug 15 14:42:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:42:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:42:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:42:59 managed-node2 postmaster[12692]: 2026-08-15 14:42:59.691 EDT [12692] LOG: redirecting log output to logging collector process Aug 15 14:42:59 managed-node2 postmaster[12692]: 2026-08-15 14:42:59.691 EDT [12692] HINT: Future log output will appear in directory "log". Aug 15 14:42:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:03 managed-node2 systemd[1]: postgresql.service: Killing process 12693 (postmaster) with signal SIGKILL. Aug 15 14:43:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:36 managed-node2 postmaster[19316]: 2026-08-15 14:43:36.970 EDT [19316] LOG: redirecting log output to logging collector process Aug 15 14:43:36 managed-node2 postmaster[19316]: 2026-08-15 14:43:36.970 EDT [19316] HINT: Future log output will appear in directory "log". Aug 15 14:43:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:42 managed-node2 systemd[1]: postgresql.service: Killing process 19317 (postmaster) with signal SIGKILL. Aug 15 14:43:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:42 managed-node2 postmaster[20856]: 2026-08-15 14:43:42.649 EDT [20856] LOG: redirecting log output to logging collector process Aug 15 14:43:42 managed-node2 postmaster[20856]: 2026-08-15 14:43:42.649 EDT [20856] HINT: Future log output will appear in directory "log". Aug 15 14:43:42 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:48 managed-node2 systemd[1]: postgresql.service: Killing process 20858 (postmaster) with signal SIGKILL. Aug 15 14:43:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:07 managed-node2 postmaster[25232]: 2026-08-15 14:44:07.358 EDT [25232] LOG: redirecting log output to logging collector process Aug 15 14:44:07 managed-node2 postmaster[25232]: 2026-08-15 14:44:07.358 EDT [25232] HINT: Future log output will appear in directory "log". Aug 15 14:44:07 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:10 managed-node2 systemd[1]: postgresql.service: Killing process 25233 (postmaster) with signal SIGKILL. Aug 15 14:44:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:11 managed-node2 postmaster[25972]: 2026-08-15 14:44:11.056 EDT [25972] LOG: redirecting log output to logging collector process Aug 15 14:44:11 managed-node2 postmaster[25972]: 2026-08-15 14:44:11.056 EDT [25972] HINT: Future log output will appear in directory "log". Aug 15 14:44:11 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:14 managed-node2 systemd[1]: postgresql.service: Killing process 25973 (postmaster) with signal SIGKILL. Aug 15 14:44:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:35 managed-node2 postmaster[30214]: 2026-08-15 14:44:35.449 EDT [30214] LOG: redirecting log output to logging collector process Aug 15 14:44:35 managed-node2 postmaster[30214]: 2026-08-15 14:44:35.449 EDT [30214] HINT: Future log output will appear in directory "log". Aug 15 14:44:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:38 managed-node2 systemd[1]: postgresql.service: Killing process 30215 (postmaster) with signal SIGKILL. Aug 15 14:44:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:39 managed-node2 postmaster[31022]: 2026-08-15 14:44:39.025 EDT [31022] LOG: redirecting log output to logging collector process Aug 15 14:44:39 managed-node2 postmaster[31022]: 2026-08-15 14:44:39.025 EDT [31022] HINT: Future log output will appear in directory "log". Aug 15 14:44:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:01 managed-node2 systemd[1]: postgresql.service: Killing process 31023 (postmaster) with signal SIGKILL. Aug 15 14:45:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:17 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.635 EDT [35861] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.636 EDT [35861] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.636 EDT [35861] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.638 EDT [35861] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.641 EDT [35861] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.652 EDT [35861] LOG: redirecting log output to logging collector process Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.652 EDT [35861] HINT: Future log output will appear in directory "log". Aug 15 14:45:17 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:20 managed-node2 systemd[1]: postgresql.service: Killing process 35862 (postmaster) with signal SIGKILL. Aug 15 14:45:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.816 EDT [36668] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.817 EDT [36668] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.817 EDT [36668] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.819 EDT [36668] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.822 EDT [36668] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.852 EDT [36668] LOG: redirecting log output to logging collector process Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.852 EDT [36668] HINT: Future log output will appear in directory "log". Aug 15 14:45:20 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:42 managed-node2 systemd[1]: postgresql.service: Killing process 36670 (postmaster) with signal SIGKILL. Aug 15 14:45:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:59 managed-node2 postmaster[41518]: 2026-08-15 14:45:59.161 EDT [41518] LOG: redirecting log output to logging collector process Aug 15 14:45:59 managed-node2 postmaster[41518]: 2026-08-15 14:45:59.161 EDT [41518] HINT: Future log output will appear in directory "log". Aug 15 14:45:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:02 managed-node2 systemd[1]: postgresql.service: Killing process 41519 (postmaster) with signal SIGKILL. Aug 15 14:46:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:02 managed-node2 postmaster[42324]: 2026-08-15 14:46:02.401 EDT [42324] LOG: redirecting log output to logging collector process Aug 15 14:46:02 managed-node2 postmaster[42324]: 2026-08-15 14:46:02.401 EDT [42324] HINT: Future log output will appear in directory "log". Aug 15 14:46:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:24 managed-node2 systemd[1]: postgresql.service: Killing process 42326 (postmaster) with signal SIGKILL. Aug 15 14:46:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 15 August 2026 14:46:27 -0400 (0:00:00.352) 0:02:07.173 ******* included: /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 15 August 2026 14:46:27 -0400 (0:00:00.032) 0:02:07.206 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 15 August 2026 14:46:27 -0400 (0:00:00.001) 0:02:07.207 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 15 August 2026 14:46:27 -0400 (0:00:00.017) 0:02:07.225 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 15 August 2026 14:46:27 -0400 (0:00:00.043) 0:02:07.268 ******* included: /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 15 August 2026 14:46:27 -0400 (0:00:00.026) 0:02:07.295 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 15 August 2026 14:46:28 -0400 (0:00:00.797) 0:02:08.092 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-15T14:46:28-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 15 August 2026 14:46:28 -0400 (0:00:00.341) 0:02:08.433 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 15 August 2026 14:46:28 -0400 (0:00:00.018) 0:02:08.452 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 15 August 2026 14:46:28 -0400 (0:00:00.016) 0:02:08.468 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 15 August 2026 14:46:28 -0400 (0:00:00.017) 0:02:08.486 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 15 August 2026 14:46:28 -0400 (0:00:00.019) 0:02:08.506 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 15 August 2026 14:46:28 -0400 (0:00:00.016) 0:02:08.522 ******* 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-3of/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-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 15 August 2026 14:46:28 -0400 (0:00:00.039) 0:02:08.562 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 15 August 2026 14:46:29 -0400 (0:00:00.333) 0:02:08.895 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 15 August 2026 14:46:29 -0400 (0:00:00.330) 0:02:09.226 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 15 August 2026 14:46:29 -0400 (0:00:00.328) 0:02:09.554 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 15 August 2026 14:46:31 -0400 (0:00:01.447) 0:02:11.002 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 15 August 2026 14:46:31 -0400 (0:00:00.116) 0:02:11.119 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 15 August 2026 14:46:31 -0400 (0:00:00.026) 0:02:11.145 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 15 August 2026 14:46:31 -0400 (0:00:00.025) 0:02:11.171 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 15 August 2026 14:46:31 -0400 (0:00:00.022) 0:02:11.194 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 15 August 2026 14:46:37 -0400 (0:00:06.159) 0:02:17.354 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.725616", "end": "2026-08-15 14:46:38.656127", "rc": 0, "start": "2026-08-15 14:46:37.930511" } 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 15 August 2026 14:46:38 -0400 (0:00:01.094) 0:02:18.448 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.021) 0:02:18.469 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.024) 0:02:18.494 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 15 August 2026 14:46:38 -0400 (0:00:00.021) 0:02:18.516 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket network.target sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 15 August 2026 14:46:39 -0400 (0:00:01.106) 0:02:19.622 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 15 August 2026 14:46:39 -0400 (0:00:00.023) 0:02:19.645 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 15 August 2026 14:46:39 -0400 (0:00:00.023) 0:02:19.668 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 15 August 2026 14:46:39 -0400 (0:00:00.024) 0:02:19.693 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 15 August 2026 14:46:39 -0400 (0:00:00.019) 0:02:19.712 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 15 August 2026 14:46:39 -0400 (0:00:00.023) 0:02:19.735 ******* included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.032) 0:02:19.768 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.020) 0:02:19.789 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.019) 0:02:19.809 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.021) 0:02:19.830 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.020) 0:02:19.850 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.020) 0:02:19.870 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.019) 0:02:19.890 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.021) 0:02:19.911 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.018) 0:02:19.930 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.017) 0:02:19.948 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.022) 0:02:19.970 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.357) 0:02:20.327 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 15 August 2026 14:46:40 -0400 (0:00:00.355) 0:02:20.683 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1786819600.984191-13783-83153626577661/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 15 August 2026 14:46:41 -0400 (0:00:00.713) 0:02:21.396 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 15 August 2026 14:46:41 -0400 (0:00:00.023) 0:02:21.419 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 15 August 2026 14:46:41 -0400 (0:00:00.024) 0:02:21.444 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-15T14:46:42-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 15 August 2026 14:46:42 -0400 (0:00:00.361) 0:02:21.806 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 15 August 2026 14:46:42 -0400 (0:00:00.020) 0:02:21.826 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 15 August 2026 14:46:42 -0400 (0:00:00.006) 0:02:21.833 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-15 14:46:39 EDT", "ActiveEnterTimestampMonotonic": "459791597", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-15 14:46:39 EDT", "AssertTimestampMonotonic": "459732959", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-15 14:46:39 EDT", "ConditionTimestampMonotonic": "459732959", "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": "47134", "ExecMainStartTimestamp": "Sat 2026-08-15 14:46:39 EDT", "ExecMainStartTimestampMonotonic": "459743697", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:46:39 EDT] ; stop_time=[n/a] ; pid=47134 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:46:39 EDT] ; stop_time=[Sat 2026-08-15 14:46:39 EDT] ; pid=47131 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-15 14:46:39 EDT", "InactiveExitTimestampMonotonic": "459734034", "InvocationID": "2dd4098bf82a4052840b33de35707683", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47134", "MemoryAccounting": "yes", "MemoryCurrent": "16715776", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-15 14:46:39 EDT", "StateChangeTimestampMonotonic": "459791597", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-15 14:46:39 EDT", "WatchdogTimestampMonotonic": "459791595", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 15 August 2026 14:46:43 -0400 (0:00:00.969) 0:02:22.803 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008912", "end": "2026-08-15 14:46:43.366126", "rc": 0, "start": "2026-08-15 14:46:43.357214" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 15 August 2026 14:46:43 -0400 (0:00:00.355) 0:02:23.158 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008588", "end": "2026-08-15 14:46:43.717448", "rc": 0, "start": "2026-08-15 14:46:43.708860" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 15 August 2026 14:46:43 -0400 (0:00:00.347) 0:02:23.506 ******* ASYNC OK on managed-node2: jid=j894392781895.48341 ok: [managed-node2] => { "ansible_job_id": "j894392781895.48341", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012334", "end": "2026-08-15 14:46:44.301478", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j894392781895.48341", "start": "2026-08-15 14:46:44.289144", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 15 August 2026 14:46:59 -0400 (0:00:16.062) 0:02:39.569 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011060", "end": "2026-08-15 14:47:00.153198", "rc": 0, "start": "2026-08-15 14:47:00.142138" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 15 August 2026 14:47:00 -0400 (0:00:00.377) 0:02:39.947 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 15 August 2026 14:47:00 -0400 (0:00:00.034) 0:02:39.981 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010416", "end": "2026-08-15 14:47:00.559199", "rc": 0, "start": "2026-08-15 14:47:00.548783" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 15 August 2026 14:47:00 -0400 (0:00:00.369) 0:02:40.350 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 15 August 2026 14:47:00 -0400 (0:00:00.036) 0:02:40.387 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.007256", "end": "2026-08-15 14:47:00.949520", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:47:00.942264" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 15 August 2026 14:47:01 -0400 (0:00:00.423) 0:02:40.810 ******* included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 15 August 2026 14:47:01 -0400 (0:00:00.033) 0:02:40.844 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 15 August 2026 14:47:01 -0400 (0:00:00.005) 0:02:40.849 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 15 August 2026 14:47:05 -0400 (0:00:04.843) 0:02:45.692 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 15 August 2026 14:47:05 -0400 (0:00:00.019) 0:02:45.712 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 15 August 2026 14:47:06 -0400 (0:00:00.389) 0:02:46.101 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 15 August 2026 14:47:07 -0400 (0:00:01.348) 0:02:47.449 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008580", "end": "2026-08-15 14:47:08.017510", "rc": 0, "start": "2026-08-15 14:47:08.008930" } STDOUT: -- Logs begin at Sat 2026-08-15 14:39:00 EDT, end at Sat 2026-08-15 14:47:08 EDT. -- Aug 15 14:42:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:42:51 managed-node2 postmaster[10428]: 2026-08-15 14:42:51.487 EDT [10428] LOG: redirecting log output to logging collector process Aug 15 14:42:51 managed-node2 postmaster[10428]: 2026-08-15 14:42:51.487 EDT [10428] HINT: Future log output will appear in directory "log". Aug 15 14:42:51 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:42:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:42:59 managed-node2 systemd[1]: postgresql.service: Killing process 10430 (postmaster) with signal SIGKILL. Aug 15 14:42:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:42:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:42:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:42:59 managed-node2 postmaster[12692]: 2026-08-15 14:42:59.691 EDT [12692] LOG: redirecting log output to logging collector process Aug 15 14:42:59 managed-node2 postmaster[12692]: 2026-08-15 14:42:59.691 EDT [12692] HINT: Future log output will appear in directory "log". Aug 15 14:42:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:03 managed-node2 systemd[1]: postgresql.service: Killing process 12693 (postmaster) with signal SIGKILL. Aug 15 14:43:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:36 managed-node2 postmaster[19316]: 2026-08-15 14:43:36.970 EDT [19316] LOG: redirecting log output to logging collector process Aug 15 14:43:36 managed-node2 postmaster[19316]: 2026-08-15 14:43:36.970 EDT [19316] HINT: Future log output will appear in directory "log". Aug 15 14:43:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:42 managed-node2 systemd[1]: postgresql.service: Killing process 19317 (postmaster) with signal SIGKILL. Aug 15 14:43:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:42 managed-node2 postmaster[20856]: 2026-08-15 14:43:42.649 EDT [20856] LOG: redirecting log output to logging collector process Aug 15 14:43:42 managed-node2 postmaster[20856]: 2026-08-15 14:43:42.649 EDT [20856] HINT: Future log output will appear in directory "log". Aug 15 14:43:42 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:48 managed-node2 systemd[1]: postgresql.service: Killing process 20858 (postmaster) with signal SIGKILL. Aug 15 14:43:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:07 managed-node2 postmaster[25232]: 2026-08-15 14:44:07.358 EDT [25232] LOG: redirecting log output to logging collector process Aug 15 14:44:07 managed-node2 postmaster[25232]: 2026-08-15 14:44:07.358 EDT [25232] HINT: Future log output will appear in directory "log". Aug 15 14:44:07 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:10 managed-node2 systemd[1]: postgresql.service: Killing process 25233 (postmaster) with signal SIGKILL. Aug 15 14:44:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:11 managed-node2 postmaster[25972]: 2026-08-15 14:44:11.056 EDT [25972] LOG: redirecting log output to logging collector process Aug 15 14:44:11 managed-node2 postmaster[25972]: 2026-08-15 14:44:11.056 EDT [25972] HINT: Future log output will appear in directory "log". Aug 15 14:44:11 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:14 managed-node2 systemd[1]: postgresql.service: Killing process 25973 (postmaster) with signal SIGKILL. Aug 15 14:44:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:35 managed-node2 postmaster[30214]: 2026-08-15 14:44:35.449 EDT [30214] LOG: redirecting log output to logging collector process Aug 15 14:44:35 managed-node2 postmaster[30214]: 2026-08-15 14:44:35.449 EDT [30214] HINT: Future log output will appear in directory "log". Aug 15 14:44:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:38 managed-node2 systemd[1]: postgresql.service: Killing process 30215 (postmaster) with signal SIGKILL. Aug 15 14:44:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:39 managed-node2 postmaster[31022]: 2026-08-15 14:44:39.025 EDT [31022] LOG: redirecting log output to logging collector process Aug 15 14:44:39 managed-node2 postmaster[31022]: 2026-08-15 14:44:39.025 EDT [31022] HINT: Future log output will appear in directory "log". Aug 15 14:44:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:01 managed-node2 systemd[1]: postgresql.service: Killing process 31023 (postmaster) with signal SIGKILL. Aug 15 14:45:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:17 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.635 EDT [35861] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.636 EDT [35861] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.636 EDT [35861] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.638 EDT [35861] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.641 EDT [35861] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.652 EDT [35861] LOG: redirecting log output to logging collector process Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.652 EDT [35861] HINT: Future log output will appear in directory "log". Aug 15 14:45:17 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:20 managed-node2 systemd[1]: postgresql.service: Killing process 35862 (postmaster) with signal SIGKILL. Aug 15 14:45:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.816 EDT [36668] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.817 EDT [36668] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.817 EDT [36668] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.819 EDT [36668] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.822 EDT [36668] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.852 EDT [36668] LOG: redirecting log output to logging collector process Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.852 EDT [36668] HINT: Future log output will appear in directory "log". Aug 15 14:45:20 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:42 managed-node2 systemd[1]: postgresql.service: Killing process 36670 (postmaster) with signal SIGKILL. Aug 15 14:45:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:59 managed-node2 postmaster[41518]: 2026-08-15 14:45:59.161 EDT [41518] LOG: redirecting log output to logging collector process Aug 15 14:45:59 managed-node2 postmaster[41518]: 2026-08-15 14:45:59.161 EDT [41518] HINT: Future log output will appear in directory "log". Aug 15 14:45:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:02 managed-node2 systemd[1]: postgresql.service: Killing process 41519 (postmaster) with signal SIGKILL. Aug 15 14:46:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:02 managed-node2 postmaster[42324]: 2026-08-15 14:46:02.401 EDT [42324] LOG: redirecting log output to logging collector process Aug 15 14:46:02 managed-node2 postmaster[42324]: 2026-08-15 14:46:02.401 EDT [42324] HINT: Future log output will appear in directory "log". Aug 15 14:46:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:24 managed-node2 systemd[1]: postgresql.service: Killing process 42326 (postmaster) with signal SIGKILL. Aug 15 14:46:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.785 EDT [47134] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.785 EDT [47134] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.788 EDT [47134] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.793 EDT [47134] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.805 EDT [47134] LOG: redirecting log output to logging collector process Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.805 EDT [47134] HINT: Future log output will appear in directory "log". Aug 15 14:46:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:42 managed-node2 systemd[1]: postgresql.service: Killing process 47135 (postmaster) with signal SIGKILL. Aug 15 14:46:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.955 EDT [47941] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.955 EDT [47941] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.957 EDT [47941] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.960 EDT [47941] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.989 EDT [47941] LOG: redirecting log output to logging collector process Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.989 EDT [47941] HINT: Future log output will appear in directory "log". Aug 15 14:46:42 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:47:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:47:05 managed-node2 systemd[1]: postgresql.service: Killing process 47943 (postmaster) with signal SIGKILL. Aug 15 14:47:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:47:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 15 August 2026 14:47:08 -0400 (0:00:00.362) 0:02:47.811 ******* included: /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 15 August 2026 14:47:08 -0400 (0:00:00.030) 0:02:47.842 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 15 August 2026 14:47:08 -0400 (0:00:00.001) 0:02:47.843 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 15 August 2026 14:47:08 -0400 (0:00:00.017) 0:02:47.861 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 15 August 2026 14:47:08 -0400 (0:00:00.044) 0:02:47.906 ******* included: /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 15 August 2026 14:47:08 -0400 (0:00:00.026) 0:02:47.932 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 15 August 2026 14:47:08 -0400 (0:00:00.802) 0:02:48.734 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-15T14:47:09-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.336) 0:02:49.071 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.017) 0:02:49.089 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.017) 0:02:49.106 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.017) 0:02:49.123 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.017) 0:02:49.141 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.016) 0:02:49.158 ******* 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-3of/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-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.040) 0:02:49.198 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 15 August 2026 14:47:09 -0400 (0:00:00.341) 0:02:49.540 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 15 August 2026 14:47:10 -0400 (0:00:00.346) 0:02:49.886 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 15 August 2026 14:47:10 -0400 (0:00:00.347) 0:02:50.233 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 15 August 2026 14:47:11 -0400 (0:00:01.437) 0:02:51.671 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 15 August 2026 14:47:11 -0400 (0:00:00.029) 0:02:51.700 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 15 August 2026 14:47:11 -0400 (0:00:00.031) 0:02:51.732 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 15 August 2026 14:47:12 -0400 (0:00:00.025) 0:02:51.758 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 15 August 2026 14:47:12 -0400 (0:00:00.021) 0:02:51.780 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 15 August 2026 14:47:19 -0400 (0:00:07.032) 0:02:58.813 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.752861", "end": "2026-08-15 14:47:20.140147", "rc": 0, "start": "2026-08-15 14:47:19.387286" } 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 15 August 2026 14:47:20 -0400 (0:00:01.120) 0:02:59.933 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 15 August 2026 14:47:20 -0400 (0:00:00.020) 0:02:59.953 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 15 August 2026 14:47:20 -0400 (0:00:00.018) 0:02:59.972 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 15 August 2026 14:47:20 -0400 (0:00:00.017) 0:02:59.990 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice network-online.target basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 15 August 2026 14:47:21 -0400 (0:00:01.102) 0:03:01.092 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.022) 0:03:01.115 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.022) 0:03:01.137 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.021) 0:03:01.159 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.019) 0:03:01.178 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.021) 0:03:01.200 ******* included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.030) 0:03:01.230 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.021) 0:03:01.252 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.020) 0:03:01.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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.020) 0:03:01.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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.020) 0:03:01.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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.052) 0:03:01.366 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.020) 0:03:01.387 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.020) 0:03:01.407 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.018) 0:03:01.426 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.019) 0:03:01.445 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 15 August 2026 14:47:21 -0400 (0:00:00.022) 0:03:01.468 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 15 August 2026 14:47:22 -0400 (0:00:00.359) 0:03:01.827 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 15 August 2026 14:47:22 -0400 (0:00:00.348) 0:03:02.176 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1786819642.4745095-14198-197783281970037/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 15 August 2026 14:47:23 -0400 (0:00:00.718) 0:03:02.894 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 15 August 2026 14:47:23 -0400 (0:00:00.023) 0:03:02.918 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 15 August 2026 14:47:23 -0400 (0:00:00.024) 0:03:02.942 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-15T14:47:23-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 15 August 2026 14:47:23 -0400 (0:00:00.364) 0:03:03.307 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 15 August 2026 14:47:23 -0400 (0:00:00.020) 0:03:03.327 ******* 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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 15 August 2026 14:47:23 -0400 (0:00:00.005) 0:03:03.333 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-15 14:47:21 EDT", "ActiveEnterTimestampMonotonic": "501258740", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target system.slice basic.target network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-15 14:47:21 EDT", "AssertTimestampMonotonic": "501204142", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-15 14:47:21 EDT", "ConditionTimestampMonotonic": "501204141", "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": "52786", "ExecMainStartTimestamp": "Sat 2026-08-15 14:47:21 EDT", "ExecMainStartTimestampMonotonic": "501215181", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:47:21 EDT] ; stop_time=[n/a] ; pid=52786 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-15 14:47:21 EDT] ; stop_time=[Sat 2026-08-15 14:47:21 EDT] ; pid=52783 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-15 14:47:21 EDT", "InactiveExitTimestampMonotonic": "501205254", "InvocationID": "fba3a8bef32046bdb5d809cc2efa61c9", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52786", "MemoryAccounting": "yes", "MemoryCurrent": "18608128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-15 14:47:21 EDT", "StateChangeTimestampMonotonic": "501258740", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-15 14:47:21 EDT", "WatchdogTimestampMonotonic": "501258738", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 15 August 2026 14:47:24 -0400 (0:00:00.966) 0:03:04.300 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008177", "end": "2026-08-15 14:47:24.857583", "rc": 0, "start": "2026-08-15 14:47:24.849406" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 15 August 2026 14:47:24 -0400 (0:00:00.347) 0:03:04.647 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008418", "end": "2026-08-15 14:47:25.196668", "rc": 0, "start": "2026-08-15 14:47:25.188250" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 15 August 2026 14:47:25 -0400 (0:00:00.337) 0:03:04.985 ******* ASYNC OK on managed-node2: jid=j185775280537.53991 ok: [managed-node2] => { "ansible_job_id": "j185775280537.53991", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012874", "end": "2026-08-15 14:47:25.774085", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j185775280537.53991", "start": "2026-08-15 14:47:25.761211", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 15 August 2026 14:47:41 -0400 (0:00:16.035) 0:03:21.021 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010617", "end": "2026-08-15 14:47:41.603324", "rc": 0, "start": "2026-08-15 14:47:41.592707" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 15 August 2026 14:47:41 -0400 (0:00:00.376) 0:03:21.397 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 15 August 2026 14:47:41 -0400 (0:00:00.036) 0:03:21.433 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010129", "end": "2026-08-15 14:47:42.014720", "rc": 0, "start": "2026-08-15 14:47:42.004591" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 15 August 2026 14:47:42 -0400 (0:00:00.372) 0:03:21.806 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 15 August 2026 14:47:42 -0400 (0:00:00.034) 0:03:21.840 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009709", "end": "2026-08-15 14:47:42.408417", "failed_when_result": false, "rc": 0, "start": "2026-08-15 14:47:42.398708" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 15 August 2026 14:47:42 -0400 (0:00:00.364) 0:03:22.204 ******* included: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 15 August 2026 14:47:42 -0400 (0:00:00.036) 0:03:22.241 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 15 August 2026 14:47:42 -0400 (0:00:00.005) 0:03:22.246 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 15 August 2026 14:47:47 -0400 (0:00:04.842) 0:03:27.088 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 15 August 2026 14:47:47 -0400 (0:00:00.021) 0:03:27.110 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 15 August 2026 14:47:47 -0400 (0:00:00.394) 0:03:27.504 ******* 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-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 15 August 2026 14:47:49 -0400 (0:00:01.354) 0:03:28.859 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008842", "end": "2026-08-15 14:47:49.426100", "rc": 0, "start": "2026-08-15 14:47:49.417258" } STDOUT: -- Logs begin at Sat 2026-08-15 14:39:00 EDT, end at Sat 2026-08-15 14:47:49 EDT. -- Aug 15 14:42:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:42:51 managed-node2 postmaster[10428]: 2026-08-15 14:42:51.487 EDT [10428] LOG: redirecting log output to logging collector process Aug 15 14:42:51 managed-node2 postmaster[10428]: 2026-08-15 14:42:51.487 EDT [10428] HINT: Future log output will appear in directory "log". Aug 15 14:42:51 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:42:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:42:59 managed-node2 systemd[1]: postgresql.service: Killing process 10430 (postmaster) with signal SIGKILL. Aug 15 14:42:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:42:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:42:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:42:59 managed-node2 postmaster[12692]: 2026-08-15 14:42:59.691 EDT [12692] LOG: redirecting log output to logging collector process Aug 15 14:42:59 managed-node2 postmaster[12692]: 2026-08-15 14:42:59.691 EDT [12692] HINT: Future log output will appear in directory "log". Aug 15 14:42:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:03 managed-node2 systemd[1]: postgresql.service: Killing process 12693 (postmaster) with signal SIGKILL. Aug 15 14:43:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:36 managed-node2 postmaster[19316]: 2026-08-15 14:43:36.970 EDT [19316] LOG: redirecting log output to logging collector process Aug 15 14:43:36 managed-node2 postmaster[19316]: 2026-08-15 14:43:36.970 EDT [19316] HINT: Future log output will appear in directory "log". Aug 15 14:43:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:42 managed-node2 systemd[1]: postgresql.service: Killing process 19317 (postmaster) with signal SIGKILL. Aug 15 14:43:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:43:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:43:42 managed-node2 postmaster[20856]: 2026-08-15 14:43:42.649 EDT [20856] LOG: redirecting log output to logging collector process Aug 15 14:43:42 managed-node2 postmaster[20856]: 2026-08-15 14:43:42.649 EDT [20856] HINT: Future log output will appear in directory "log". Aug 15 14:43:42 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:43:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:43:48 managed-node2 systemd[1]: postgresql.service: Killing process 20858 (postmaster) with signal SIGKILL. Aug 15 14:43:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:43:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:07 managed-node2 postmaster[25232]: 2026-08-15 14:44:07.358 EDT [25232] LOG: redirecting log output to logging collector process Aug 15 14:44:07 managed-node2 postmaster[25232]: 2026-08-15 14:44:07.358 EDT [25232] HINT: Future log output will appear in directory "log". Aug 15 14:44:07 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:10 managed-node2 systemd[1]: postgresql.service: Killing process 25233 (postmaster) with signal SIGKILL. Aug 15 14:44:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:11 managed-node2 postmaster[25972]: 2026-08-15 14:44:11.056 EDT [25972] LOG: redirecting log output to logging collector process Aug 15 14:44:11 managed-node2 postmaster[25972]: 2026-08-15 14:44:11.056 EDT [25972] HINT: Future log output will appear in directory "log". Aug 15 14:44:11 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:14 managed-node2 systemd[1]: postgresql.service: Killing process 25973 (postmaster) with signal SIGKILL. Aug 15 14:44:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:35 managed-node2 postmaster[30214]: 2026-08-15 14:44:35.449 EDT [30214] LOG: redirecting log output to logging collector process Aug 15 14:44:35 managed-node2 postmaster[30214]: 2026-08-15 14:44:35.449 EDT [30214] HINT: Future log output will appear in directory "log". Aug 15 14:44:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:44:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:44:38 managed-node2 systemd[1]: postgresql.service: Killing process 30215 (postmaster) with signal SIGKILL. Aug 15 14:44:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:44:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:44:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:44:39 managed-node2 postmaster[31022]: 2026-08-15 14:44:39.025 EDT [31022] LOG: redirecting log output to logging collector process Aug 15 14:44:39 managed-node2 postmaster[31022]: 2026-08-15 14:44:39.025 EDT [31022] HINT: Future log output will appear in directory "log". Aug 15 14:44:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:01 managed-node2 systemd[1]: postgresql.service: Killing process 31023 (postmaster) with signal SIGKILL. Aug 15 14:45:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:17 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.635 EDT [35861] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.636 EDT [35861] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.636 EDT [35861] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.638 EDT [35861] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.641 EDT [35861] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.652 EDT [35861] LOG: redirecting log output to logging collector process Aug 15 14:45:17 managed-node2 postmaster[35861]: 2026-08-15 14:45:17.652 EDT [35861] HINT: Future log output will appear in directory "log". Aug 15 14:45:17 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:20 managed-node2 systemd[1]: postgresql.service: Killing process 35862 (postmaster) with signal SIGKILL. Aug 15 14:45:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.816 EDT [36668] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.817 EDT [36668] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.817 EDT [36668] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.819 EDT [36668] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.822 EDT [36668] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.852 EDT [36668] LOG: redirecting log output to logging collector process Aug 15 14:45:20 managed-node2 postmaster[36668]: 2026-08-15 14:45:20.852 EDT [36668] HINT: Future log output will appear in directory "log". Aug 15 14:45:20 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:45:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:45:42 managed-node2 systemd[1]: postgresql.service: Killing process 36670 (postmaster) with signal SIGKILL. Aug 15 14:45:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:45:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:45:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:45:59 managed-node2 postmaster[41518]: 2026-08-15 14:45:59.161 EDT [41518] LOG: redirecting log output to logging collector process Aug 15 14:45:59 managed-node2 postmaster[41518]: 2026-08-15 14:45:59.161 EDT [41518] HINT: Future log output will appear in directory "log". Aug 15 14:45:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:02 managed-node2 systemd[1]: postgresql.service: Killing process 41519 (postmaster) with signal SIGKILL. Aug 15 14:46:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:02 managed-node2 postmaster[42324]: 2026-08-15 14:46:02.401 EDT [42324] LOG: redirecting log output to logging collector process Aug 15 14:46:02 managed-node2 postmaster[42324]: 2026-08-15 14:46:02.401 EDT [42324] HINT: Future log output will appear in directory "log". Aug 15 14:46:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:24 managed-node2 systemd[1]: postgresql.service: Killing process 42326 (postmaster) with signal SIGKILL. Aug 15 14:46:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.785 EDT [47134] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.785 EDT [47134] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.788 EDT [47134] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.793 EDT [47134] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.805 EDT [47134] LOG: redirecting log output to logging collector process Aug 15 14:46:39 managed-node2 postmaster[47134]: 2026-08-15 14:46:39.805 EDT [47134] HINT: Future log output will appear in directory "log". Aug 15 14:46:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:46:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:46:42 managed-node2 systemd[1]: postgresql.service: Killing process 47135 (postmaster) with signal SIGKILL. Aug 15 14:46:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:46:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:46:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.955 EDT [47941] LOG: listening on IPv6 address "::1", port 5432 Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.955 EDT [47941] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.957 EDT [47941] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.960 EDT [47941] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.989 EDT [47941] LOG: redirecting log output to logging collector process Aug 15 14:46:42 managed-node2 postmaster[47941]: 2026-08-15 14:46:42.989 EDT [47941] HINT: Future log output will appear in directory "log". Aug 15 14:46:42 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:47:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:47:05 managed-node2 systemd[1]: postgresql.service: Killing process 47943 (postmaster) with signal SIGKILL. Aug 15 14:47:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:47:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:47:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:47:21 managed-node2 postgres[52786]: 2026-08-15 14:47:21.266 EDT [52786] LOG: redirecting log output to logging collector process Aug 15 14:47:21 managed-node2 postgres[52786]: 2026-08-15 14:47:21.266 EDT [52786] HINT: Future log output will appear in directory "log". Aug 15 14:47:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:47:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:47:24 managed-node2 systemd[1]: postgresql.service: Killing process 52787 (postgres) with signal SIGKILL. Aug 15 14:47:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:47:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 15 14:47:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 15 14:47:24 managed-node2 postgres[53592]: 2026-08-15 14:47:24.480 EDT [53592] LOG: redirecting log output to logging collector process Aug 15 14:47:24 managed-node2 postgres[53592]: 2026-08-15 14:47:24.480 EDT [53592] HINT: Future log output will appear in directory "log". Aug 15 14:47:24 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 15 14:47:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 15 14:47:46 managed-node2 systemd[1]: postgresql.service: Killing process 53594 (postgres) with signal SIGKILL. Aug 15 14:47:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 15 14:47:46 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 15 August 2026 14:47:49 -0400 (0:00:00.357) 0:03:29.216 ******* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.25s /tmp/collections-3of/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.07s /tmp/collections-3of/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.06s /tmp/collections-3of/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.05s /tmp/collections-3of/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-3of/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.15s /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 7.06s /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 7.03s /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.16s /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.88s /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.84s /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.84s /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.84s /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.83s /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.66s /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.45s /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.45s /tmp/collections-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.44s /tmp/collections-3of/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-3of/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8