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-70i 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-70i/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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 04 July 2026 15:29:53 -0400 (0:00:00.017) 0:00:00.017 ********* ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 04 July 2026 15:29:54 -0400 (0:00:01.101) 0:00:01.119 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 04 July 2026 15:29:54 -0400 (0:00:00.005) 0:00:01.125 ********* included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 04 July 2026 15:29:54 -0400 (0:00:00.035) 0:00:01.160 ********* included: /tmp/collections-70i/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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 04 July 2026 15:29:54 -0400 (0:00:00.038) 0:00:01.198 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 04 July 2026 15:29:54 -0400 (0:00:00.000) 0:00:01.199 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 04 July 2026 15:29:54 -0400 (0:00:00.014) 0:00:01.214 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 04 July 2026 15:29:54 -0400 (0:00:00.076) 0:00:01.290 ********* included: /tmp/collections-70i/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 04 July 2026 15:29:54 -0400 (0:00:00.024) 0:00:01.315 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 04 July 2026 15:29:55 -0400 (0:00:00.773) 0:00:02.088 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 04 July 2026 15:29:55 -0400 (0:00:00.423) 0:00:02.512 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 04 July 2026 15:29:56 -0400 (0:00:00.435) 0:00:02.948 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 04 July 2026 15:29:56 -0400 (0:00:00.020) 0:00:02.968 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008505", "end": "2026-07-04 15:29:56.681713", "failed_when_result": false, "rc": 0, "start": "2026-07-04 15:29:56.673208" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 04 July 2026 15:29:56 -0400 (0:00:00.434) 0:00:03.403 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 04 July 2026 15:29:56 -0400 (0:00:00.018) 0:00:03.421 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 04 July 2026 15:29:56 -0400 (0:00:00.020) 0:00:03.442 ********* 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-70i/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-70i/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 04 July 2026 15:29:56 -0400 (0:00:00.041) 0:00:03.483 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 04 July 2026 15:29:57 -0400 (0:00:00.345) 0:00:03.829 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 04 July 2026 15:29:57 -0400 (0:00:00.333) 0:00:04.162 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 04 July 2026 15:29:57 -0400 (0:00:00.352) 0:00:04.515 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 04 July 2026 15:29:59 -0400 (0:00:01.646) 0:00:06.162 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 04 July 2026 15:29:59 -0400 (0:00:00.030) 0:00:06.193 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 04 July 2026 15:29:59 -0400 (0:00:00.024) 0:00:06.217 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 04 July 2026 15:29:59 -0400 (0:00:00.023) 0:00:06.241 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 04 July 2026 15:29:59 -0400 (0:00:00.019) 0:00:06.261 ********* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server installed.", "Installed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Installed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } lsrpackages: @postgresql:13/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 04 July 2026 15:30:06 -0400 (0:00:06.456) 0:00:12.717 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.756780", "end": "2026-07-04 15:30:07.125742", "rc": 0, "start": "2026-07-04 15:30:06.368962" } 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 04 July 2026 15:30:07 -0400 (0:00:01.135) 0:00:13.853 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 04 July 2026 15:30:07 -0400 (0:00:00.019) 0:00:13.872 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 04 July 2026 15:30:07 -0400 (0:00:00.017) 0:00:13.890 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 04 July 2026 15:30:07 -0400 (0:00:00.017) 0:00:13.907 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice network.target sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 04 July 2026 15:30:08 -0400 (0:00:01.279) 0:00:15.186 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.021) 0:00:15.208 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.021) 0:00:15.229 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.020) 0:00:15.249 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.018) 0:00:15.268 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.021) 0:00:15.289 ********* included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.030) 0:00:15.319 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.018) 0:00:15.338 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.017) 0:00:15.356 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.017) 0:00:15.373 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.017) 0:00:15.391 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.018) 0:00:15.409 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.017) 0:00:15.426 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.017) 0:00:15.444 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.016) 0:00:15.460 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.018) 0:00:15.478 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 04 July 2026 15:30:08 -0400 (0:00:00.021) 0:00:15.499 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 04 July 2026 15:30:09 -0400 (0:00:00.489) 0:00:15.989 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 04 July 2026 15:30:09 -0400 (0:00:00.477) 0:00:16.466 ********* 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-1783193409.8324947-12308-93042402299772/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 04 July 2026 15:30:10 -0400 (0:00:00.848) 0:00:17.315 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 04 July 2026 15:30:10 -0400 (0:00:00.021) 0:00:17.337 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 04 July 2026 15:30:10 -0400 (0:00:00.021) 0:00:17.358 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 04 July 2026 15:30:11 -0400 (0:00:00.361) 0:00:17.720 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 04 July 2026 15:30:11 -0400 (0:00:00.024) 0:00:17.744 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 04 July 2026 15:30:11 -0400 (0:00:00.005) 0:00:17.749 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-04 15:30:08 EDT", "ActiveEnterTimestampMonotonic": "330422115", "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-07-04 15:30:08 EDT", "AssertTimestampMonotonic": "330370191", "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-07-04 15:30:08 EDT", "ConditionTimestampMonotonic": "330370190", "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": "30203", "ExecMainStartTimestamp": "Sat 2026-07-04 15:30:08 EDT", "ExecMainStartTimestampMonotonic": "330380294", "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-07-04 15:30:08 EDT] ; stop_time=[n/a] ; pid=30203 ; 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-07-04 15:30:08 EDT] ; stop_time=[Sat 2026-07-04 15:30:08 EDT] ; pid=30201 ; 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-07-04 15:30:08 EDT", "InactiveExitTimestampMonotonic": "330371258", "InvocationID": "6114e5f6c80b4d919a9ccd1be97a8558", "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": "30203", "MemoryAccounting": "yes", "MemoryCurrent": "17862656", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-07-04 15:30:08 EDT", "StateChangeTimestampMonotonic": "330422115", "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-07-04 15:30:08 EDT", "WatchdogTimestampMonotonic": "330422114", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 04 July 2026 15:30:12 -0400 (0:00:01.000) 0:00:18.749 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008596", "end": "2026-07-04 15:30:12.378678", "rc": 0, "start": "2026-07-04 15:30:12.370082" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 04 July 2026 15:30:12 -0400 (0:00:00.355) 0:00:19.105 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009014", "end": "2026-07-04 15:30:12.725316", "rc": 0, "start": "2026-07-04 15:30:12.716302" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 04 July 2026 15:30:12 -0400 (0:00:00.348) 0:00:19.454 ********* ASYNC OK on managed-node2: jid=j236006908643.31411 ok: [managed-node2] => { "ansible_job_id": "j236006908643.31411", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013049", "end": "2026-07-04 15:30:13.422795", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j236006908643.31411", "start": "2026-07-04 15:30:13.409746", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 04 July 2026 15:30:29 -0400 (0:00:16.239) 0:00:35.693 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010412", "end": "2026-07-04 15:30:29.330955", "rc": 0, "start": "2026-07-04 15:30:29.320543" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 04 July 2026 15:30:29 -0400 (0:00:00.365) 0:00:36.059 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 04 July 2026 15:30:29 -0400 (0:00:00.034) 0:00:36.093 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010456", "end": "2026-07-04 15:30:29.745636", "rc": 0, "start": "2026-07-04 15:30:29.735180" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 04 July 2026 15:30:29 -0400 (0:00:00.379) 0:00:36.473 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 04 July 2026 15:30:29 -0400 (0:00:00.032) 0:00:36.506 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009718", "end": "2026-07-04 15:30:30.136770", "failed_when_result": false, "rc": 0, "start": "2026-07-04 15:30:30.127052" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 04 July 2026 15:30:30 -0400 (0:00:00.368) 0:00:36.875 ********* included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 04 July 2026 15:30:30 -0400 (0:00:00.036) 0:00:36.911 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 04 July 2026 15:30:30 -0400 (0:00:00.004) 0:00:36.916 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 04 July 2026 15:30:35 -0400 (0:00:04.869) 0:00:41.786 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 04 July 2026 15:30:35 -0400 (0:00:00.018) 0:00:41.804 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 04 July 2026 15:30:35 -0400 (0:00:00.388) 0:00:42.193 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 04 July 2026 15:30:36 -0400 (0:00:01.335) 0:00:43.528 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.010404", "end": "2026-07-04 15:30:37.148808", "rc": 0, "start": "2026-07-04 15:30:37.138404" } STDOUT: -- Logs begin at Sat 2026-07-04 15:24:38 EDT, end at Sat 2026-07-04 15:30:37 EDT. -- Jul 04 15:28:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:28:25 managed-node2 postmaster[10420]: 2026-07-04 15:28:25.179 EDT [10420] LOG: redirecting log output to logging collector process Jul 04 15:28:25 managed-node2 postmaster[10420]: 2026-07-04 15:28:25.179 EDT [10420] HINT: Future log output will appear in directory "log". Jul 04 15:28:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:28:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:28:33 managed-node2 systemd[1]: postgresql.service: Killing process 10421 (postmaster) with signal SIGKILL. Jul 04 15:28:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:28:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:28:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:28:33 managed-node2 postmaster[12682]: 2026-07-04 15:28:33.326 EDT [12682] LOG: redirecting log output to logging collector process Jul 04 15:28:33 managed-node2 postmaster[12682]: 2026-07-04 15:28:33.326 EDT [12682] HINT: Future log output will appear in directory "log". Jul 04 15:28:33 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:28:37 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:28:37 managed-node2 systemd[1]: postgresql.service: Killing process 12684 (postmaster) with signal SIGKILL. Jul 04 15:28:37 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:28:37 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:10 managed-node2 postmaster[19306]: 2026-07-04 15:29:10.332 EDT [19306] LOG: redirecting log output to logging collector process Jul 04 15:29:10 managed-node2 postmaster[19306]: 2026-07-04 15:29:10.332 EDT [19306] HINT: Future log output will appear in directory "log". Jul 04 15:29:10 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:16 managed-node2 systemd[1]: postgresql.service: Killing process 19307 (postmaster) with signal SIGKILL. Jul 04 15:29:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:16 managed-node2 postmaster[20846]: 2026-07-04 15:29:16.209 EDT [20846] LOG: redirecting log output to logging collector process Jul 04 15:29:16 managed-node2 postmaster[20846]: 2026-07-04 15:29:16.209 EDT [20846] HINT: Future log output will appear in directory "log". Jul 04 15:29:16 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:21 managed-node2 systemd[1]: postgresql.service: Killing process 20848 (postmaster) with signal SIGKILL. Jul 04 15:29:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:41 managed-node2 postmaster[25222]: 2026-07-04 15:29:41.336 EDT [25222] LOG: redirecting log output to logging collector process Jul 04 15:29:41 managed-node2 postmaster[25222]: 2026-07-04 15:29:41.336 EDT [25222] HINT: Future log output will appear in directory "log". Jul 04 15:29:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:44 managed-node2 systemd[1]: postgresql.service: Killing process 25223 (postmaster) with signal SIGKILL. Jul 04 15:29:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:44 managed-node2 postmaster[25961]: 2026-07-04 15:29:44.898 EDT [25961] LOG: redirecting log output to logging collector process Jul 04 15:29:44 managed-node2 postmaster[25961]: 2026-07-04 15:29:44.898 EDT [25961] HINT: Future log output will appear in directory "log". Jul 04 15:29:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:48 managed-node2 systemd[1]: postgresql.service: Killing process 25963 (postmaster) with signal SIGKILL. Jul 04 15:29:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:08 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:08 managed-node2 postmaster[30203]: 2026-07-04 15:30:08.430 EDT [30203] LOG: redirecting log output to logging collector process Jul 04 15:30:08 managed-node2 postmaster[30203]: 2026-07-04 15:30:08.430 EDT [30203] HINT: Future log output will appear in directory "log". Jul 04 15:30:08 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:11 managed-node2 systemd[1]: postgresql.service: Killing process 30205 (postmaster) with signal SIGKILL. Jul 04 15:30:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:11 managed-node2 postmaster[31011]: 2026-07-04 15:30:11.987 EDT [31011] LOG: redirecting log output to logging collector process Jul 04 15:30:11 managed-node2 postmaster[31011]: 2026-07-04 15:30:11.987 EDT [31011] HINT: Future log output will appear in directory "log". Jul 04 15:30:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:34 managed-node2 systemd[1]: postgresql.service: Killing process 31013 (postmaster) with signal SIGKILL. Jul 04 15:30:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 04 July 2026 15:30:37 -0400 (0:00:00.347) 0:00:43.876 ********* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 04 July 2026 15:30:37 -0400 (0:00:00.012) 0:00:43.888 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 04 July 2026 15:30:37 -0400 (0:00:00.023) 0:00:43.912 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 04 July 2026 15:30:37 -0400 (0:00:00.091) 0:00:44.004 ********* included: /tmp/collections-70i/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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 04 July 2026 15:30:37 -0400 (0:00:00.029) 0:00:44.033 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 04 July 2026 15:30:37 -0400 (0:00:00.000) 0:00:44.034 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 04 July 2026 15:30:37 -0400 (0:00:00.015) 0:00:44.050 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 04 July 2026 15:30:37 -0400 (0:00:00.040) 0:00:44.090 ********* included: /tmp/collections-70i/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 04 July 2026 15:30:37 -0400 (0:00:00.025) 0:00:44.115 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 04 July 2026 15:30:38 -0400 (0:00:00.793) 0:00:44.909 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 04 July 2026 15:30:38 -0400 (0:00:00.332) 0:00:45.241 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 04 July 2026 15:30:38 -0400 (0:00:00.017) 0:00:45.258 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 04 July 2026 15:30:38 -0400 (0:00:00.017) 0:00:45.276 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 04 July 2026 15:30:38 -0400 (0:00:00.016) 0:00:45.292 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 04 July 2026 15:30:38 -0400 (0:00:00.016) 0:00:45.309 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 04 July 2026 15:30:38 -0400 (0:00:00.016) 0:00:45.325 ********* [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-70i/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-70i/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 04 July 2026 15:30:38 -0400 (0:00:00.039) 0:00:45.364 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 04 July 2026 15:30:39 -0400 (0:00:00.328) 0:00:45.693 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 04 July 2026 15:30:39 -0400 (0:00:00.334) 0:00:46.028 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 04 July 2026 15:30:39 -0400 (0:00:00.326) 0:00:46.354 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 04 July 2026 15:30:41 -0400 (0:00:01.454) 0:00:47.808 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 04 July 2026 15:30:41 -0400 (0:00:00.028) 0:00:47.836 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 04 July 2026 15:30:41 -0400 (0:00:00.085) 0:00:47.922 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 04 July 2026 15:30:41 -0400 (0:00:00.024) 0:00:47.947 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 04 July 2026 15:30:41 -0400 (0:00:00.025) 0:00:47.972 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 04 July 2026 15:30:48 -0400 (0:00:06.771) 0:00:54.743 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.754219", "end": "2026-07-04 15:30:49.133367", "rc": 0, "start": "2026-07-04 15:30:48.379148" } 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 04 July 2026 15:30:49 -0400 (0:00:01.117) 0:00:55.860 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 04 July 2026 15:30:49 -0400 (0:00:00.019) 0:00:55.880 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 04 July 2026 15:30:49 -0400 (0:00:00.018) 0:00:55.899 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 04 July 2026 15:30:49 -0400 (0:00:00.018) 0:00:55.917 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target network.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 04 July 2026 15:30:50 -0400 (0:00:01.072) 0:00:56.989 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.021) 0:00:57.011 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.026) 0:00:57.038 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.022) 0:00:57.061 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.017) 0:00:57.079 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.021) 0:00:57.101 ********* included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.030) 0:00:57.132 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.019) 0:00:57.152 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.020) 0:00:57.172 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.018) 0:00:57.191 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.019) 0:00:57.210 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.018) 0:00:57.229 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.019) 0:00:57.249 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.018) 0:00:57.267 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.018) 0:00:57.285 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.016) 0:00:57.302 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.020) 0:00:57.323 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 04 July 2026 15:30:50 -0400 (0:00:00.346) 0:00:57.670 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 04 July 2026 15:30:51 -0400 (0:00:00.346) 0:00:58.016 ********* 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-1783193451.3797622-12910-142226141947669/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 04 July 2026 15:30:52 -0400 (0:00:00.689) 0:00:58.706 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 04 July 2026 15:30:52 -0400 (0:00:00.021) 0:00:58.728 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 04 July 2026 15:30:52 -0400 (0:00:00.020) 0:00:58.748 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 04 July 2026 15:30:52 -0400 (0:00:00.351) 0:00:59.100 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 04 July 2026 15:30:52 -0400 (0:00:00.018) 0:00:59.119 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 04 July 2026 15:30:52 -0400 (0:00:00.004) 0:00:59.124 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-04 15:30:50 EDT", "ActiveEnterTimestampMonotonic": "372223744", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-04 15:30:50 EDT", "AssertTimestampMonotonic": "372170450", "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-07-04 15:30:50 EDT", "ConditionTimestampMonotonic": "372170450", "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": "35851", "ExecMainStartTimestamp": "Sat 2026-07-04 15:30:50 EDT", "ExecMainStartTimestampMonotonic": "372180898", "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-07-04 15:30:50 EDT] ; stop_time=[n/a] ; pid=35851 ; 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-07-04 15:30:50 EDT] ; stop_time=[Sat 2026-07-04 15:30:50 EDT] ; pid=35848 ; 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-07-04 15:30:50 EDT", "InactiveExitTimestampMonotonic": "372171517", "InvocationID": "05055c8e59b14a708de2c54c19b231ca", "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": "35851", "MemoryAccounting": "yes", "MemoryCurrent": "17817600", "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-07-04 15:30:50 EDT", "StateChangeTimestampMonotonic": "372223744", "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-07-04 15:30:50 EDT", "WatchdogTimestampMonotonic": "372223742", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 04 July 2026 15:30:53 -0400 (0:00:00.970) 0:01:00.095 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008848", "end": "2026-07-04 15:30:53.717556", "rc": 0, "start": "2026-07-04 15:30:53.708708" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 04 July 2026 15:30:53 -0400 (0:00:00.349) 0:01:00.444 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008736", "end": "2026-07-04 15:30:54.062572", "rc": 0, "start": "2026-07-04 15:30:54.053836" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 04 July 2026 15:30:54 -0400 (0:00:00.342) 0:01:00.787 ********* ASYNC OK on managed-node2: jid=j596234188973.37058 ok: [managed-node2] => { "ansible_job_id": "j596234188973.37058", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012285", "end": "2026-07-04 15:30:54.631208", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j596234188973.37058", "start": "2026-07-04 15:30:54.618923", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 04 July 2026 15:31:10 -0400 (0:00:16.020) 0:01:16.807 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010045", "end": "2026-07-04 15:31:10.443189", "rc": 0, "start": "2026-07-04 15:31:10.433144" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 04 July 2026 15:31:10 -0400 (0:00:00.366) 0:01:17.174 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 04 July 2026 15:31:10 -0400 (0:00:00.033) 0:01:17.208 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010302", "end": "2026-07-04 15:31:10.843766", "rc": 0, "start": "2026-07-04 15:31:10.833464" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 04 July 2026 15:31:10 -0400 (0:00:00.361) 0:01:17.569 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 04 July 2026 15:31:10 -0400 (0:00:00.035) 0:01:17.604 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009705", "end": "2026-07-04 15:31:11.230412", "failed_when_result": false, "rc": 0, "start": "2026-07-04 15:31:11.220707" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 04 July 2026 15:31:11 -0400 (0:00:00.391) 0:01:17.996 ********* included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 04 July 2026 15:31:11 -0400 (0:00:00.032) 0:01:18.028 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 04 July 2026 15:31:11 -0400 (0:00:00.004) 0:01:18.033 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 04 July 2026 15:31:16 -0400 (0:00:04.836) 0:01:22.869 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 04 July 2026 15:31:16 -0400 (0:00:00.018) 0:01:22.888 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 04 July 2026 15:31:16 -0400 (0:00:00.385) 0:01:23.274 ********* [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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 04 July 2026 15:31:17 -0400 (0:00:01.343) 0:01:24.617 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008089", "end": "2026-07-04 15:31:18.236325", "rc": 0, "start": "2026-07-04 15:31:18.228236" } STDOUT: -- Logs begin at Sat 2026-07-04 15:24:38 EDT, end at Sat 2026-07-04 15:31:18 EDT. -- Jul 04 15:28:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:28:25 managed-node2 postmaster[10420]: 2026-07-04 15:28:25.179 EDT [10420] LOG: redirecting log output to logging collector process Jul 04 15:28:25 managed-node2 postmaster[10420]: 2026-07-04 15:28:25.179 EDT [10420] HINT: Future log output will appear in directory "log". Jul 04 15:28:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:28:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:28:33 managed-node2 systemd[1]: postgresql.service: Killing process 10421 (postmaster) with signal SIGKILL. Jul 04 15:28:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:28:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:28:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:28:33 managed-node2 postmaster[12682]: 2026-07-04 15:28:33.326 EDT [12682] LOG: redirecting log output to logging collector process Jul 04 15:28:33 managed-node2 postmaster[12682]: 2026-07-04 15:28:33.326 EDT [12682] HINT: Future log output will appear in directory "log". Jul 04 15:28:33 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:28:37 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:28:37 managed-node2 systemd[1]: postgresql.service: Killing process 12684 (postmaster) with signal SIGKILL. Jul 04 15:28:37 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:28:37 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:10 managed-node2 postmaster[19306]: 2026-07-04 15:29:10.332 EDT [19306] LOG: redirecting log output to logging collector process Jul 04 15:29:10 managed-node2 postmaster[19306]: 2026-07-04 15:29:10.332 EDT [19306] HINT: Future log output will appear in directory "log". Jul 04 15:29:10 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:16 managed-node2 systemd[1]: postgresql.service: Killing process 19307 (postmaster) with signal SIGKILL. Jul 04 15:29:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:16 managed-node2 postmaster[20846]: 2026-07-04 15:29:16.209 EDT [20846] LOG: redirecting log output to logging collector process Jul 04 15:29:16 managed-node2 postmaster[20846]: 2026-07-04 15:29:16.209 EDT [20846] HINT: Future log output will appear in directory "log". Jul 04 15:29:16 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:21 managed-node2 systemd[1]: postgresql.service: Killing process 20848 (postmaster) with signal SIGKILL. Jul 04 15:29:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:41 managed-node2 postmaster[25222]: 2026-07-04 15:29:41.336 EDT [25222] LOG: redirecting log output to logging collector process Jul 04 15:29:41 managed-node2 postmaster[25222]: 2026-07-04 15:29:41.336 EDT [25222] HINT: Future log output will appear in directory "log". Jul 04 15:29:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:44 managed-node2 systemd[1]: postgresql.service: Killing process 25223 (postmaster) with signal SIGKILL. Jul 04 15:29:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:44 managed-node2 postmaster[25961]: 2026-07-04 15:29:44.898 EDT [25961] LOG: redirecting log output to logging collector process Jul 04 15:29:44 managed-node2 postmaster[25961]: 2026-07-04 15:29:44.898 EDT [25961] HINT: Future log output will appear in directory "log". Jul 04 15:29:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:48 managed-node2 systemd[1]: postgresql.service: Killing process 25963 (postmaster) with signal SIGKILL. Jul 04 15:29:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:08 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:08 managed-node2 postmaster[30203]: 2026-07-04 15:30:08.430 EDT [30203] LOG: redirecting log output to logging collector process Jul 04 15:30:08 managed-node2 postmaster[30203]: 2026-07-04 15:30:08.430 EDT [30203] HINT: Future log output will appear in directory "log". Jul 04 15:30:08 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:11 managed-node2 systemd[1]: postgresql.service: Killing process 30205 (postmaster) with signal SIGKILL. Jul 04 15:30:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:11 managed-node2 postmaster[31011]: 2026-07-04 15:30:11.987 EDT [31011] LOG: redirecting log output to logging collector process Jul 04 15:30:11 managed-node2 postmaster[31011]: 2026-07-04 15:30:11.987 EDT [31011] HINT: Future log output will appear in directory "log". Jul 04 15:30:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:34 managed-node2 systemd[1]: postgresql.service: Killing process 31013 (postmaster) with signal SIGKILL. Jul 04 15:30:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] 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 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.223 EDT [35851] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.227 EDT [35851] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.238 EDT [35851] LOG: redirecting log output to logging collector process Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.238 EDT [35851] HINT: Future log output will appear in directory "log". Jul 04 15:30:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:53 managed-node2 systemd[1]: postgresql.service: Killing process 35852 (postmaster) with signal SIGKILL. Jul 04 15:30:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.308 EDT [36659] 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 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.309 EDT [36659] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.309 EDT [36659] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.311 EDT [36659] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.315 EDT [36659] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.344 EDT [36659] LOG: redirecting log output to logging collector process Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.344 EDT [36659] HINT: Future log output will appear in directory "log". Jul 04 15:30:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:31:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:31:15 managed-node2 systemd[1]: postgresql.service: Killing process 36660 (postmaster) with signal SIGKILL. Jul 04 15:31:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:31:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 04 July 2026 15:31:18 -0400 (0:00:00.345) 0:01:24.963 ********* included: /tmp/collections-70i/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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 04 July 2026 15:31:18 -0400 (0:00:00.028) 0:01:24.992 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 04 July 2026 15:31:18 -0400 (0:00:00.000) 0:01:24.993 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 04 July 2026 15:31:18 -0400 (0:00:00.015) 0:01:25.009 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 04 July 2026 15:31:18 -0400 (0:00:00.042) 0:01:25.051 ********* included: /tmp/collections-70i/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 04 July 2026 15:31:18 -0400 (0:00:00.024) 0:01:25.076 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 04 July 2026 15:31:19 -0400 (0:00:00.797) 0:01:25.873 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 04 July 2026 15:31:19 -0400 (0:00:00.328) 0:01:26.202 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 04 July 2026 15:31:19 -0400 (0:00:00.017) 0:01:26.220 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 04 July 2026 15:31:19 -0400 (0:00:00.016) 0:01:26.236 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 04 July 2026 15:31:19 -0400 (0:00:00.019) 0:01:26.256 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 04 July 2026 15:31:19 -0400 (0:00:00.016) 0:01:26.272 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 04 July 2026 15:31:19 -0400 (0:00:00.016) 0:01:26.289 ********* 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-70i/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-70i/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 04 July 2026 15:31:19 -0400 (0:00:00.038) 0:01:26.327 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 04 July 2026 15:31:19 -0400 (0:00:00.331) 0:01:26.659 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 04 July 2026 15:31:20 -0400 (0:00:00.327) 0:01:26.987 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 04 July 2026 15:31:20 -0400 (0:00:00.325) 0:01:27.312 ********* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 04 July 2026 15:31:22 -0400 (0:00:01.409) 0:01:28.722 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 04 July 2026 15:31:22 -0400 (0:00:00.028) 0:01:28.750 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 04 July 2026 15:31:22 -0400 (0:00:00.024) 0:01:28.774 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 04 July 2026 15:31:22 -0400 (0:00:00.025) 0:01:28.799 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 04 July 2026 15:31:22 -0400 (0:00:00.020) 0:01:28.820 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 04 July 2026 15:31:28 -0400 (0:00:06.223) 0:01:35.043 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.719208", "end": "2026-07-04 15:31:29.392282", "rc": 0, "start": "2026-07-04 15:31:28.673074" } 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 04 July 2026 15:31:29 -0400 (0:00:01.075) 0:01:36.119 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 04 July 2026 15:31:29 -0400 (0:00:00.021) 0:01:36.140 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 04 July 2026 15:31:29 -0400 (0:00:00.017) 0:01:36.158 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 04 July 2026 15:31:29 -0400 (0:00:00.017) 0:01:36.176 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice network.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 04 July 2026 15:31:30 -0400 (0:00:01.103) 0:01:37.279 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.023) 0:01:37.302 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.026) 0:01:37.328 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.022) 0:01:37.351 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.016) 0:01:37.368 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.021) 0:01:37.390 ********* included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.029) 0:01:37.419 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.020) 0:01:37.440 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.020) 0:01:37.461 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.018) 0:01:37.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 the default path] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.019) 0:01:37.499 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.020) 0:01:37.519 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.047) 0:01:37.567 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.019) 0:01:37.586 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.017) 0:01:37.604 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.018) 0:01:37.622 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 04 July 2026 15:31:30 -0400 (0:00:00.026) 0:01:37.648 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 04 July 2026 15:31:31 -0400 (0:00:00.353) 0:01:38.002 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 04 July 2026 15:31:31 -0400 (0:00:00.352) 0:01:38.354 ********* 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-1783193491.7187884-13325-192673249728307/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 04 July 2026 15:31:32 -0400 (0:00:00.700) 0:01:39.054 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 04 July 2026 15:31:32 -0400 (0:00:00.024) 0:01:39.079 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 04 July 2026 15:31:32 -0400 (0:00:00.022) 0:01:39.102 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 04 July 2026 15:31:32 -0400 (0:00:00.353) 0:01:39.455 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 04 July 2026 15:31:32 -0400 (0:00:00.021) 0:01:39.477 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 04 July 2026 15:31:32 -0400 (0:00:00.005) 0:01:39.482 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-04 15:31:30 EDT", "ActiveEnterTimestampMonotonic": "412513149", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-04 15:31:30 EDT", "AssertTimestampMonotonic": "412463124", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-07-04 15:31:30 EDT", "ConditionTimestampMonotonic": "412463124", "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": "41470", "ExecMainStartTimestamp": "Sat 2026-07-04 15:31:30 EDT", "ExecMainStartTimestampMonotonic": "412473551", "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-07-04 15:31:30 EDT] ; stop_time=[n/a] ; pid=41470 ; 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-07-04 15:31:30 EDT] ; stop_time=[Sat 2026-07-04 15:31:30 EDT] ; pid=41467 ; 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-07-04 15:31:30 EDT", "InactiveExitTimestampMonotonic": "412464203", "InvocationID": "b4b026752ea04c7e8acbd6de52ec048c", "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": "41470", "MemoryAccounting": "yes", "MemoryCurrent": "16756736", "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-07-04 15:31:30 EDT", "StateChangeTimestampMonotonic": "412513149", "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-07-04 15:31:30 EDT", "WatchdogTimestampMonotonic": "412513147", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 04 July 2026 15:31:33 -0400 (0:00:00.981) 0:01:40.463 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008196", "end": "2026-07-04 15:31:34.085521", "rc": 0, "start": "2026-07-04 15:31:34.077325" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 04 July 2026 15:31:34 -0400 (0:00:00.347) 0:01:40.811 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008907", "end": "2026-07-04 15:31:34.433237", "rc": 0, "start": "2026-07-04 15:31:34.424330" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 04 July 2026 15:31:34 -0400 (0:00:00.349) 0:01:41.161 ********* ASYNC OK on managed-node2: jid=j319749731147.42677 ok: [managed-node2] => { "ansible_job_id": "j319749731147.42677", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012113", "end": "2026-07-04 15:31:35.018609", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j319749731147.42677", "start": "2026-07-04 15:31:35.006496", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 04 July 2026 15:31:50 -0400 (0:00:16.051) 0:01:57.213 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010025", "end": "2026-07-04 15:31:50.855715", "rc": 0, "start": "2026-07-04 15:31:50.845690" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 04 July 2026 15:31:50 -0400 (0:00:00.369) 0:01:57.582 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 04 July 2026 15:31:50 -0400 (0:00:00.032) 0:01:57.615 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009940", "end": "2026-07-04 15:31:51.255723", "rc": 0, "start": "2026-07-04 15:31:51.245783" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 04 July 2026 15:31:51 -0400 (0:00:00.368) 0:01:57.984 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 04 July 2026 15:31:51 -0400 (0:00:00.033) 0:01:58.018 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.007121", "end": "2026-07-04 15:31:51.639301", "failed_when_result": false, "rc": 0, "start": "2026-07-04 15:31:51.632180" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 04 July 2026 15:31:51 -0400 (0:00:00.351) 0:01:58.369 ********* included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 04 July 2026 15:31:51 -0400 (0:00:00.033) 0:01:58.403 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 04 July 2026 15:31:51 -0400 (0:00:00.004) 0:01:58.407 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 04 July 2026 15:31:56 -0400 (0:00:04.796) 0:02:03.204 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 04 July 2026 15:31:56 -0400 (0:00:00.018) 0:02:03.223 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 04 July 2026 15:31:56 -0400 (0:00:00.396) 0:02:03.620 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 04 July 2026 15:31:58 -0400 (0:00:01.331) 0:02:04.952 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008029", "end": "2026-07-04 15:31:58.572118", "rc": 0, "start": "2026-07-04 15:31:58.564089" } STDOUT: -- Logs begin at Sat 2026-07-04 15:24:38 EDT, end at Sat 2026-07-04 15:31:58 EDT. -- Jul 04 15:28:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:28:25 managed-node2 postmaster[10420]: 2026-07-04 15:28:25.179 EDT [10420] LOG: redirecting log output to logging collector process Jul 04 15:28:25 managed-node2 postmaster[10420]: 2026-07-04 15:28:25.179 EDT [10420] HINT: Future log output will appear in directory "log". Jul 04 15:28:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:28:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:28:33 managed-node2 systemd[1]: postgresql.service: Killing process 10421 (postmaster) with signal SIGKILL. Jul 04 15:28:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:28:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:28:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:28:33 managed-node2 postmaster[12682]: 2026-07-04 15:28:33.326 EDT [12682] LOG: redirecting log output to logging collector process Jul 04 15:28:33 managed-node2 postmaster[12682]: 2026-07-04 15:28:33.326 EDT [12682] HINT: Future log output will appear in directory "log". Jul 04 15:28:33 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:28:37 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:28:37 managed-node2 systemd[1]: postgresql.service: Killing process 12684 (postmaster) with signal SIGKILL. Jul 04 15:28:37 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:28:37 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:10 managed-node2 postmaster[19306]: 2026-07-04 15:29:10.332 EDT [19306] LOG: redirecting log output to logging collector process Jul 04 15:29:10 managed-node2 postmaster[19306]: 2026-07-04 15:29:10.332 EDT [19306] HINT: Future log output will appear in directory "log". Jul 04 15:29:10 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:16 managed-node2 systemd[1]: postgresql.service: Killing process 19307 (postmaster) with signal SIGKILL. Jul 04 15:29:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:16 managed-node2 postmaster[20846]: 2026-07-04 15:29:16.209 EDT [20846] LOG: redirecting log output to logging collector process Jul 04 15:29:16 managed-node2 postmaster[20846]: 2026-07-04 15:29:16.209 EDT [20846] HINT: Future log output will appear in directory "log". Jul 04 15:29:16 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:21 managed-node2 systemd[1]: postgresql.service: Killing process 20848 (postmaster) with signal SIGKILL. Jul 04 15:29:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:41 managed-node2 postmaster[25222]: 2026-07-04 15:29:41.336 EDT [25222] LOG: redirecting log output to logging collector process Jul 04 15:29:41 managed-node2 postmaster[25222]: 2026-07-04 15:29:41.336 EDT [25222] HINT: Future log output will appear in directory "log". Jul 04 15:29:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:44 managed-node2 systemd[1]: postgresql.service: Killing process 25223 (postmaster) with signal SIGKILL. Jul 04 15:29:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:44 managed-node2 postmaster[25961]: 2026-07-04 15:29:44.898 EDT [25961] LOG: redirecting log output to logging collector process Jul 04 15:29:44 managed-node2 postmaster[25961]: 2026-07-04 15:29:44.898 EDT [25961] HINT: Future log output will appear in directory "log". Jul 04 15:29:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:48 managed-node2 systemd[1]: postgresql.service: Killing process 25963 (postmaster) with signal SIGKILL. Jul 04 15:29:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:08 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:08 managed-node2 postmaster[30203]: 2026-07-04 15:30:08.430 EDT [30203] LOG: redirecting log output to logging collector process Jul 04 15:30:08 managed-node2 postmaster[30203]: 2026-07-04 15:30:08.430 EDT [30203] HINT: Future log output will appear in directory "log". Jul 04 15:30:08 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:11 managed-node2 systemd[1]: postgresql.service: Killing process 30205 (postmaster) with signal SIGKILL. Jul 04 15:30:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:11 managed-node2 postmaster[31011]: 2026-07-04 15:30:11.987 EDT [31011] LOG: redirecting log output to logging collector process Jul 04 15:30:11 managed-node2 postmaster[31011]: 2026-07-04 15:30:11.987 EDT [31011] HINT: Future log output will appear in directory "log". Jul 04 15:30:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:34 managed-node2 systemd[1]: postgresql.service: Killing process 31013 (postmaster) with signal SIGKILL. Jul 04 15:30:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] 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 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.223 EDT [35851] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.227 EDT [35851] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.238 EDT [35851] LOG: redirecting log output to logging collector process Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.238 EDT [35851] HINT: Future log output will appear in directory "log". Jul 04 15:30:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:53 managed-node2 systemd[1]: postgresql.service: Killing process 35852 (postmaster) with signal SIGKILL. Jul 04 15:30:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.308 EDT [36659] 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 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.309 EDT [36659] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.309 EDT [36659] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.311 EDT [36659] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.315 EDT [36659] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.344 EDT [36659] LOG: redirecting log output to logging collector process Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.344 EDT [36659] HINT: Future log output will appear in directory "log". Jul 04 15:30:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:31:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:31:15 managed-node2 systemd[1]: postgresql.service: Killing process 36660 (postmaster) with signal SIGKILL. Jul 04 15:31:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:31:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:31:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.511 EDT [41470] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.511 EDT [41470] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.513 EDT [41470] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.517 EDT [41470] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.528 EDT [41470] LOG: redirecting log output to logging collector process Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.528 EDT [41470] HINT: Future log output will appear in directory "log". Jul 04 15:31:30 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:31:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:31:33 managed-node2 systemd[1]: postgresql.service: Killing process 41471 (postmaster) with signal SIGKILL. Jul 04 15:31:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:31:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:31:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.680 EDT [42277] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.680 EDT [42277] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.682 EDT [42277] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.685 EDT [42277] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.714 EDT [42277] LOG: redirecting log output to logging collector process Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.714 EDT [42277] HINT: Future log output will appear in directory "log". Jul 04 15:31:33 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:31:55 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:31:55 managed-node2 systemd[1]: postgresql.service: Killing process 42279 (postmaster) with signal SIGKILL. Jul 04 15:31:55 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:31:55 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 04 July 2026 15:31:58 -0400 (0:00:00.347) 0:02:05.299 ********* included: /tmp/collections-70i/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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 04 July 2026 15:31:58 -0400 (0:00:00.031) 0:02:05.330 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 04 July 2026 15:31:58 -0400 (0:00:00.001) 0:02:05.331 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 04 July 2026 15:31:58 -0400 (0:00:00.016) 0:02:05.348 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 04 July 2026 15:31:58 -0400 (0:00:00.041) 0:02:05.390 ********* included: /tmp/collections-70i/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 04 July 2026 15:31:58 -0400 (0:00:00.024) 0:02:05.414 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 04 July 2026 15:31:59 -0400 (0:00:00.796) 0:02:06.211 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 04 July 2026 15:31:59 -0400 (0:00:00.345) 0:02:06.556 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 04 July 2026 15:31:59 -0400 (0:00:00.017) 0:02:06.574 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 04 July 2026 15:31:59 -0400 (0:00:00.017) 0:02:06.591 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 04 July 2026 15:31:59 -0400 (0:00:00.016) 0:02:06.608 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 04 July 2026 15:31:59 -0400 (0:00:00.017) 0:02:06.625 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 04 July 2026 15:31:59 -0400 (0:00:00.019) 0:02:06.645 ********* 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-70i/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-70i/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 04 July 2026 15:32:00 -0400 (0:00:00.042) 0:02:06.688 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 04 July 2026 15:32:00 -0400 (0:00:00.340) 0:02:07.029 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 04 July 2026 15:32:00 -0400 (0:00:00.339) 0:02:07.368 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 04 July 2026 15:32:01 -0400 (0:00:00.341) 0:02:07.710 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 04 July 2026 15:32:02 -0400 (0:00:01.460) 0:02:09.170 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 04 July 2026 15:32:02 -0400 (0:00:00.030) 0:02:09.201 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 04 July 2026 15:32:02 -0400 (0:00:00.096) 0:02:09.297 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 04 July 2026 15:32:02 -0400 (0:00:00.027) 0:02:09.325 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 04 July 2026 15:32:02 -0400 (0:00:00.022) 0:02:09.347 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 04 July 2026 15:32:10 -0400 (0:00:07.422) 0:02:16.770 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.738685", "end": "2026-07-04 15:32:11.147344", "rc": 0, "start": "2026-07-04 15:32:10.408659" } 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 04 July 2026 15:32:11 -0400 (0:00:01.105) 0:02:17.875 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 04 July 2026 15:32:11 -0400 (0:00:00.020) 0:02:17.896 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 04 July 2026 15:32:11 -0400 (0:00:00.018) 0:02:17.915 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 04 July 2026 15:32:11 -0400 (0:00:00.018) 0:02:17.933 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target sysinit.target basic.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/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 04 July 2026 15:32:12 -0400 (0:00:01.099) 0:02:19.033 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.022) 0:02:19.055 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.023) 0:02:19.078 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.023) 0:02:19.102 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.018) 0:02:19.120 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.021) 0:02:19.142 ********* included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.030) 0:02:19.173 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.018) 0:02:19.192 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.018) 0:02:19.210 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.018) 0:02:19.229 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.020) 0:02:19.249 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.018) 0:02:19.268 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.019) 0:02:19.287 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.018) 0:02:19.306 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.018) 0:02:19.324 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.016) 0:02:19.341 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 04 July 2026 15:32:12 -0400 (0:00:00.021) 0:02:19.362 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 04 July 2026 15:32:13 -0400 (0:00:00.345) 0:02:19.708 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 04 July 2026 15:32:13 -0400 (0:00:00.349) 0:02:20.058 ********* 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-1783193533.4211795-13740-177896104123900/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 04 July 2026 15:32:14 -0400 (0:00:00.703) 0:02:20.761 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 04 July 2026 15:32:14 -0400 (0:00:00.022) 0:02:20.784 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 04 July 2026 15:32:14 -0400 (0:00:00.021) 0:02:20.805 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 04 July 2026 15:32:14 -0400 (0:00:00.350) 0:02:21.156 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 04 July 2026 15:32:14 -0400 (0:00:00.018) 0:02:21.175 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 04 July 2026 15:32:14 -0400 (0:00:00.005) 0:02:21.180 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-04 15:32:12 EDT", "ActiveEnterTimestampMonotonic": "454266487", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice network-online.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-04 15:32:12 EDT", "AssertTimestampMonotonic": "454212802", "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-07-04 15:32:12 EDT", "ConditionTimestampMonotonic": "454212801", "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": "47123", "ExecMainStartTimestamp": "Sat 2026-07-04 15:32:12 EDT", "ExecMainStartTimestampMonotonic": "454223561", "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-07-04 15:32:12 EDT] ; stop_time=[n/a] ; pid=47123 ; 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-07-04 15:32:12 EDT] ; stop_time=[Sat 2026-07-04 15:32:12 EDT] ; pid=47120 ; 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-07-04 15:32:12 EDT", "InactiveExitTimestampMonotonic": "454213966", "InvocationID": "3a9c968ef61b4cf59cd6420e69e8c93d", "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": "47123", "MemoryAccounting": "yes", "MemoryCurrent": "18698240", "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-07-04 15:32:12 EDT", "StateChangeTimestampMonotonic": "454266487", "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-07-04 15:32:12 EDT", "WatchdogTimestampMonotonic": "454266484", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 04 July 2026 15:32:15 -0400 (0:00:00.992) 0:02:22.173 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008256", "end": "2026-07-04 15:32:15.801096", "rc": 0, "start": "2026-07-04 15:32:15.792840" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 04 July 2026 15:32:15 -0400 (0:00:00.355) 0:02:22.529 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008928", "end": "2026-07-04 15:32:16.155169", "rc": 0, "start": "2026-07-04 15:32:16.146241" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 04 July 2026 15:32:16 -0400 (0:00:00.352) 0:02:22.881 ********* ASYNC OK on managed-node2: jid=j368512533183.48328 ok: [managed-node2] => { "ansible_job_id": "j368512533183.48328", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013205", "end": "2026-07-04 15:32:16.743000", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j368512533183.48328", "start": "2026-07-04 15:32:16.729795", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 04 July 2026 15:32:32 -0400 (0:00:16.045) 0:02:38.927 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010374", "end": "2026-07-04 15:32:32.571589", "rc": 0, "start": "2026-07-04 15:32:32.561215" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 04 July 2026 15:32:32 -0400 (0:00:00.372) 0:02:39.300 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 04 July 2026 15:32:32 -0400 (0:00:00.034) 0:02:39.334 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010144", "end": "2026-07-04 15:32:32.976059", "rc": 0, "start": "2026-07-04 15:32:32.965915" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 04 July 2026 15:32:33 -0400 (0:00:00.369) 0:02:39.703 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 04 July 2026 15:32:33 -0400 (0:00:00.034) 0:02:39.738 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009609", "end": "2026-07-04 15:32:33.365839", "failed_when_result": false, "rc": 0, "start": "2026-07-04 15:32:33.356230" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 04 July 2026 15:32:33 -0400 (0:00:00.390) 0:02:40.129 ********* included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 04 July 2026 15:32:33 -0400 (0:00:00.034) 0:02:40.163 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 04 July 2026 15:32:33 -0400 (0:00:00.004) 0:02:40.168 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 04 July 2026 15:32:38 -0400 (0:00:04.846) 0:02:45.015 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 04 July 2026 15:32:38 -0400 (0:00:00.018) 0:02:45.034 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 04 July 2026 15:32:38 -0400 (0:00:00.390) 0:02:45.424 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 04 July 2026 15:32:40 -0400 (0:00:01.346) 0:02:46.770 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008177", "end": "2026-07-04 15:32:40.400150", "rc": 0, "start": "2026-07-04 15:32:40.391973" } STDOUT: -- Logs begin at Sat 2026-07-04 15:24:38 EDT, end at Sat 2026-07-04 15:32:40 EDT. -- Jul 04 15:28:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:28:25 managed-node2 postmaster[10420]: 2026-07-04 15:28:25.179 EDT [10420] LOG: redirecting log output to logging collector process Jul 04 15:28:25 managed-node2 postmaster[10420]: 2026-07-04 15:28:25.179 EDT [10420] HINT: Future log output will appear in directory "log". Jul 04 15:28:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:28:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:28:33 managed-node2 systemd[1]: postgresql.service: Killing process 10421 (postmaster) with signal SIGKILL. Jul 04 15:28:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:28:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:28:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:28:33 managed-node2 postmaster[12682]: 2026-07-04 15:28:33.326 EDT [12682] LOG: redirecting log output to logging collector process Jul 04 15:28:33 managed-node2 postmaster[12682]: 2026-07-04 15:28:33.326 EDT [12682] HINT: Future log output will appear in directory "log". Jul 04 15:28:33 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:28:37 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:28:37 managed-node2 systemd[1]: postgresql.service: Killing process 12684 (postmaster) with signal SIGKILL. Jul 04 15:28:37 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:28:37 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:10 managed-node2 postmaster[19306]: 2026-07-04 15:29:10.332 EDT [19306] LOG: redirecting log output to logging collector process Jul 04 15:29:10 managed-node2 postmaster[19306]: 2026-07-04 15:29:10.332 EDT [19306] HINT: Future log output will appear in directory "log". Jul 04 15:29:10 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:16 managed-node2 systemd[1]: postgresql.service: Killing process 19307 (postmaster) with signal SIGKILL. Jul 04 15:29:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:16 managed-node2 postmaster[20846]: 2026-07-04 15:29:16.209 EDT [20846] LOG: redirecting log output to logging collector process Jul 04 15:29:16 managed-node2 postmaster[20846]: 2026-07-04 15:29:16.209 EDT [20846] HINT: Future log output will appear in directory "log". Jul 04 15:29:16 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:21 managed-node2 systemd[1]: postgresql.service: Killing process 20848 (postmaster) with signal SIGKILL. Jul 04 15:29:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:41 managed-node2 postmaster[25222]: 2026-07-04 15:29:41.336 EDT [25222] LOG: redirecting log output to logging collector process Jul 04 15:29:41 managed-node2 postmaster[25222]: 2026-07-04 15:29:41.336 EDT [25222] HINT: Future log output will appear in directory "log". Jul 04 15:29:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:44 managed-node2 systemd[1]: postgresql.service: Killing process 25223 (postmaster) with signal SIGKILL. Jul 04 15:29:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:44 managed-node2 postmaster[25961]: 2026-07-04 15:29:44.898 EDT [25961] LOG: redirecting log output to logging collector process Jul 04 15:29:44 managed-node2 postmaster[25961]: 2026-07-04 15:29:44.898 EDT [25961] HINT: Future log output will appear in directory "log". Jul 04 15:29:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:48 managed-node2 systemd[1]: postgresql.service: Killing process 25963 (postmaster) with signal SIGKILL. Jul 04 15:29:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:08 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:08 managed-node2 postmaster[30203]: 2026-07-04 15:30:08.430 EDT [30203] LOG: redirecting log output to logging collector process Jul 04 15:30:08 managed-node2 postmaster[30203]: 2026-07-04 15:30:08.430 EDT [30203] HINT: Future log output will appear in directory "log". Jul 04 15:30:08 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:11 managed-node2 systemd[1]: postgresql.service: Killing process 30205 (postmaster) with signal SIGKILL. Jul 04 15:30:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:11 managed-node2 postmaster[31011]: 2026-07-04 15:30:11.987 EDT [31011] LOG: redirecting log output to logging collector process Jul 04 15:30:11 managed-node2 postmaster[31011]: 2026-07-04 15:30:11.987 EDT [31011] HINT: Future log output will appear in directory "log". Jul 04 15:30:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:34 managed-node2 systemd[1]: postgresql.service: Killing process 31013 (postmaster) with signal SIGKILL. Jul 04 15:30:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] 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 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.223 EDT [35851] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.227 EDT [35851] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.238 EDT [35851] LOG: redirecting log output to logging collector process Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.238 EDT [35851] HINT: Future log output will appear in directory "log". Jul 04 15:30:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:53 managed-node2 systemd[1]: postgresql.service: Killing process 35852 (postmaster) with signal SIGKILL. Jul 04 15:30:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.308 EDT [36659] 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 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.309 EDT [36659] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.309 EDT [36659] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.311 EDT [36659] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.315 EDT [36659] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.344 EDT [36659] LOG: redirecting log output to logging collector process Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.344 EDT [36659] HINT: Future log output will appear in directory "log". Jul 04 15:30:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:31:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:31:15 managed-node2 systemd[1]: postgresql.service: Killing process 36660 (postmaster) with signal SIGKILL. Jul 04 15:31:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:31:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:31:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.511 EDT [41470] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.511 EDT [41470] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.513 EDT [41470] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.517 EDT [41470] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.528 EDT [41470] LOG: redirecting log output to logging collector process Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.528 EDT [41470] HINT: Future log output will appear in directory "log". Jul 04 15:31:30 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:31:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:31:33 managed-node2 systemd[1]: postgresql.service: Killing process 41471 (postmaster) with signal SIGKILL. Jul 04 15:31:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:31:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:31:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.680 EDT [42277] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.680 EDT [42277] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.682 EDT [42277] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.685 EDT [42277] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.714 EDT [42277] LOG: redirecting log output to logging collector process Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.714 EDT [42277] HINT: Future log output will appear in directory "log". Jul 04 15:31:33 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:31:55 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:31:55 managed-node2 systemd[1]: postgresql.service: Killing process 42279 (postmaster) with signal SIGKILL. Jul 04 15:31:55 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:31:55 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:32:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:32:12 managed-node2 postgres[47123]: 2026-07-04 15:32:12.274 EDT [47123] LOG: redirecting log output to logging collector process Jul 04 15:32:12 managed-node2 postgres[47123]: 2026-07-04 15:32:12.274 EDT [47123] HINT: Future log output will appear in directory "log". Jul 04 15:32:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:32:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:32:15 managed-node2 systemd[1]: postgresql.service: Killing process 47124 (postgres) with signal SIGKILL. Jul 04 15:32:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:32:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:32:15 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:32:15 managed-node2 postgres[47930]: 2026-07-04 15:32:15.414 EDT [47930] LOG: redirecting log output to logging collector process Jul 04 15:32:15 managed-node2 postgres[47930]: 2026-07-04 15:32:15.414 EDT [47930] HINT: Future log output will appear in directory "log". Jul 04 15:32:15 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:32:37 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:32:37 managed-node2 systemd[1]: postgresql.service: Killing process 47931 (postgres) with signal SIGKILL. Jul 04 15:32:37 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:32:37 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 04 July 2026 15:32:40 -0400 (0:00:00.356) 0:02:47.127 ********* included: /tmp/collections-70i/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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 04 July 2026 15:32:40 -0400 (0:00:00.030) 0:02:47.157 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 04 July 2026 15:32:40 -0400 (0:00:00.001) 0:02:47.159 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 04 July 2026 15:32:40 -0400 (0:00:00.017) 0:02:47.176 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 04 July 2026 15:32:40 -0400 (0:00:00.045) 0:02:47.221 ********* included: /tmp/collections-70i/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 04 July 2026 15:32:40 -0400 (0:00:00.025) 0:02:47.247 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 04 July 2026 15:32:41 -0400 (0:00:00.801) 0:02:48.048 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 04 July 2026 15:32:41 -0400 (0:00:00.331) 0:02:48.380 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 04 July 2026 15:32:41 -0400 (0:00:00.017) 0:02:48.398 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 04 July 2026 15:32:41 -0400 (0:00:00.017) 0:02:48.415 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 04 July 2026 15:32:41 -0400 (0:00:00.016) 0:02:48.431 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 04 July 2026 15:32:41 -0400 (0:00:00.016) 0:02:48.447 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 04 July 2026 15:32:41 -0400 (0:00:00.017) 0:02:48.465 ********* 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-70i/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-70i/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 04 July 2026 15:32:41 -0400 (0:00:00.039) 0:02:48.504 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 04 July 2026 15:32:42 -0400 (0:00:00.336) 0:02:48.840 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 04 July 2026 15:32:42 -0400 (0:00:00.338) 0:02:49.179 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 04 July 2026 15:32:42 -0400 (0:00:00.335) 0:02:49.514 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 04 July 2026 15:32:44 -0400 (0:00:01.416) 0:02:50.930 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 04 July 2026 15:32:44 -0400 (0:00:00.028) 0:02:50.959 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 04 July 2026 15:32:44 -0400 (0:00:00.024) 0:02:50.984 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 04 July 2026 15:32:44 -0400 (0:00:00.026) 0:02:51.010 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 04 July 2026 15:32:44 -0400 (0:00:00.020) 0:02:51.031 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 04 July 2026 15:32:50 -0400 (0:00:06.358) 0:02:57.389 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.750178", "end": "2026-07-04 15:32:51.773319", "rc": 0, "start": "2026-07-04 15:32:51.023141" } 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 04 July 2026 15:32:51 -0400 (0:00:01.110) 0:02:58.499 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 04 July 2026 15:32:51 -0400 (0:00:00.021) 0:02:58.521 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 04 July 2026 15:32:51 -0400 (0:00:00.018) 0:02:58.540 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 04 July 2026 15:32:51 -0400 (0:00:00.019) 0:02:58.559 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target systemd-journald.socket network.target system.slice 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/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 04 July 2026 15:32:52 -0400 (0:00:01.082) 0:02:59.642 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 04 July 2026 15:32:52 -0400 (0:00:00.023) 0:02:59.665 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.022) 0:02:59.688 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.024) 0:02:59.712 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.018) 0:02:59.731 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.024) 0:02:59.755 ********* included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.030) 0:02:59.786 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.019) 0:02:59.805 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.019) 0:02:59.824 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.018) 0:02:59.843 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.018) 0:02:59.861 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.018) 0:02:59.880 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.059) 0:02:59.939 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.020) 0:02:59.959 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.017) 0:02:59.977 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.018) 0:02:59.996 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.024) 0:03:00.021 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 04 July 2026 15:32:53 -0400 (0:00:00.349) 0:03:00.370 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 04 July 2026 15:32:54 -0400 (0:00:00.360) 0:03:00.730 ********* 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-1783193574.094413-14152-237553216965803/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 04 July 2026 15:32:54 -0400 (0:00:00.702) 0:03:01.433 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 04 July 2026 15:32:54 -0400 (0:00:00.023) 0:03:01.456 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 04 July 2026 15:32:54 -0400 (0:00:00.021) 0:03:01.478 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 04 July 2026 15:32:55 -0400 (0:00:00.338) 0:03:01.816 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 04 July 2026 15:32:55 -0400 (0:00:00.020) 0:03:01.837 ********* 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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 04 July 2026 15:32:55 -0400 (0:00:00.004) 0:03:01.842 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-04 15:32:52 EDT", "ActiveEnterTimestampMonotonic": "494877812", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice network.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-04 15:32:52 EDT", "AssertTimestampMonotonic": "494824225", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-07-04 15:32:52 EDT", "ConditionTimestampMonotonic": "494824225", "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": "52776", "ExecMainStartTimestamp": "Sat 2026-07-04 15:32:52 EDT", "ExecMainStartTimestampMonotonic": "494834828", "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-07-04 15:32:52 EDT] ; stop_time=[n/a] ; pid=52776 ; 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-07-04 15:32:52 EDT] ; stop_time=[Sat 2026-07-04 15:32:52 EDT] ; pid=52773 ; 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-07-04 15:32:52 EDT", "InactiveExitTimestampMonotonic": "494825323", "InvocationID": "b5516f17e7aa4b6ca769a6fc9ea03d5b", "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": "52776", "MemoryAccounting": "yes", "MemoryCurrent": "18472960", "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-07-04 15:32:52 EDT", "StateChangeTimestampMonotonic": "494877812", "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-07-04 15:32:52 EDT", "WatchdogTimestampMonotonic": "494877810", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 04 July 2026 15:32:56 -0400 (0:00:00.971) 0:03:02.814 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008355", "end": "2026-07-04 15:32:56.440633", "rc": 0, "start": "2026-07-04 15:32:56.432278" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 04 July 2026 15:32:56 -0400 (0:00:00.352) 0:03:03.166 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008839", "end": "2026-07-04 15:32:56.784757", "rc": 0, "start": "2026-07-04 15:32:56.775918" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 04 July 2026 15:32:56 -0400 (0:00:00.345) 0:03:03.512 ********* ASYNC OK on managed-node2: jid=j729344851845.53981 ok: [managed-node2] => { "ansible_job_id": "j729344851845.53981", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012780", "end": "2026-07-04 15:32:57.363124", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j729344851845.53981", "start": "2026-07-04 15:32:57.350344", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 04 July 2026 15:33:12 -0400 (0:00:16.042) 0:03:19.555 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010634", "end": "2026-07-04 15:33:13.198724", "rc": 0, "start": "2026-07-04 15:33:13.188090" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 04 July 2026 15:33:13 -0400 (0:00:00.372) 0:03:19.927 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 04 July 2026 15:33:13 -0400 (0:00:00.033) 0:03:19.961 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010055", "end": "2026-07-04 15:33:13.598227", "rc": 0, "start": "2026-07-04 15:33:13.588172" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 04 July 2026 15:33:13 -0400 (0:00:00.365) 0:03:20.326 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 04 July 2026 15:33:13 -0400 (0:00:00.033) 0:03:20.359 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009880", "end": "2026-07-04 15:33:13.984613", "failed_when_result": false, "rc": 0, "start": "2026-07-04 15:33:13.974733" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 04 July 2026 15:33:14 -0400 (0:00:00.358) 0:03:20.717 ********* included: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 04 July 2026 15:33:14 -0400 (0:00:00.035) 0:03:20.752 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 04 July 2026 15:33:14 -0400 (0:00:00.004) 0:03:20.757 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 04 July 2026 15:33:18 -0400 (0:00:04.865) 0:03:25.623 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 04 July 2026 15:33:18 -0400 (0:00:00.019) 0:03:25.642 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 04 July 2026 15:33:19 -0400 (0:00:00.395) 0:03:26.037 ********* 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-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 04 July 2026 15:33:20 -0400 (0:00:01.315) 0:03:27.353 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008592", "end": "2026-07-04 15:33:20.973704", "rc": 0, "start": "2026-07-04 15:33:20.965112" } STDOUT: -- Logs begin at Sat 2026-07-04 15:24:38 EDT, end at Sat 2026-07-04 15:33:20 EDT. -- Jul 04 15:28:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:28:25 managed-node2 postmaster[10420]: 2026-07-04 15:28:25.179 EDT [10420] LOG: redirecting log output to logging collector process Jul 04 15:28:25 managed-node2 postmaster[10420]: 2026-07-04 15:28:25.179 EDT [10420] HINT: Future log output will appear in directory "log". Jul 04 15:28:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:28:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:28:33 managed-node2 systemd[1]: postgresql.service: Killing process 10421 (postmaster) with signal SIGKILL. Jul 04 15:28:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:28:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:28:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:28:33 managed-node2 postmaster[12682]: 2026-07-04 15:28:33.326 EDT [12682] LOG: redirecting log output to logging collector process Jul 04 15:28:33 managed-node2 postmaster[12682]: 2026-07-04 15:28:33.326 EDT [12682] HINT: Future log output will appear in directory "log". Jul 04 15:28:33 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:28:37 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:28:37 managed-node2 systemd[1]: postgresql.service: Killing process 12684 (postmaster) with signal SIGKILL. Jul 04 15:28:37 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:28:37 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:10 managed-node2 postmaster[19306]: 2026-07-04 15:29:10.332 EDT [19306] LOG: redirecting log output to logging collector process Jul 04 15:29:10 managed-node2 postmaster[19306]: 2026-07-04 15:29:10.332 EDT [19306] HINT: Future log output will appear in directory "log". Jul 04 15:29:10 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:16 managed-node2 systemd[1]: postgresql.service: Killing process 19307 (postmaster) with signal SIGKILL. Jul 04 15:29:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:16 managed-node2 postmaster[20846]: 2026-07-04 15:29:16.209 EDT [20846] LOG: redirecting log output to logging collector process Jul 04 15:29:16 managed-node2 postmaster[20846]: 2026-07-04 15:29:16.209 EDT [20846] HINT: Future log output will appear in directory "log". Jul 04 15:29:16 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:21 managed-node2 systemd[1]: postgresql.service: Killing process 20848 (postmaster) with signal SIGKILL. Jul 04 15:29:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:41 managed-node2 postmaster[25222]: 2026-07-04 15:29:41.336 EDT [25222] LOG: redirecting log output to logging collector process Jul 04 15:29:41 managed-node2 postmaster[25222]: 2026-07-04 15:29:41.336 EDT [25222] HINT: Future log output will appear in directory "log". Jul 04 15:29:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:44 managed-node2 systemd[1]: postgresql.service: Killing process 25223 (postmaster) with signal SIGKILL. Jul 04 15:29:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:29:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:29:44 managed-node2 postmaster[25961]: 2026-07-04 15:29:44.898 EDT [25961] LOG: redirecting log output to logging collector process Jul 04 15:29:44 managed-node2 postmaster[25961]: 2026-07-04 15:29:44.898 EDT [25961] HINT: Future log output will appear in directory "log". Jul 04 15:29:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:29:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:29:48 managed-node2 systemd[1]: postgresql.service: Killing process 25963 (postmaster) with signal SIGKILL. Jul 04 15:29:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:29:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:08 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:08 managed-node2 postmaster[30203]: 2026-07-04 15:30:08.430 EDT [30203] LOG: redirecting log output to logging collector process Jul 04 15:30:08 managed-node2 postmaster[30203]: 2026-07-04 15:30:08.430 EDT [30203] HINT: Future log output will appear in directory "log". Jul 04 15:30:08 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:11 managed-node2 systemd[1]: postgresql.service: Killing process 30205 (postmaster) with signal SIGKILL. Jul 04 15:30:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:11 managed-node2 postmaster[31011]: 2026-07-04 15:30:11.987 EDT [31011] LOG: redirecting log output to logging collector process Jul 04 15:30:11 managed-node2 postmaster[31011]: 2026-07-04 15:30:11.987 EDT [31011] HINT: Future log output will appear in directory "log". Jul 04 15:30:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:34 managed-node2 systemd[1]: postgresql.service: Killing process 31013 (postmaster) with signal SIGKILL. Jul 04 15:30:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] 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 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.221 EDT [35851] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.223 EDT [35851] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.227 EDT [35851] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.238 EDT [35851] LOG: redirecting log output to logging collector process Jul 04 15:30:50 managed-node2 postmaster[35851]: 2026-07-04 15:30:50.238 EDT [35851] HINT: Future log output will appear in directory "log". Jul 04 15:30:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:30:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:30:53 managed-node2 systemd[1]: postgresql.service: Killing process 35852 (postmaster) with signal SIGKILL. Jul 04 15:30:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:30:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:30:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.308 EDT [36659] 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 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.309 EDT [36659] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.309 EDT [36659] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.311 EDT [36659] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.315 EDT [36659] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.344 EDT [36659] LOG: redirecting log output to logging collector process Jul 04 15:30:53 managed-node2 postmaster[36659]: 2026-07-04 15:30:53.344 EDT [36659] HINT: Future log output will appear in directory "log". Jul 04 15:30:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:31:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:31:15 managed-node2 systemd[1]: postgresql.service: Killing process 36660 (postmaster) with signal SIGKILL. Jul 04 15:31:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:31:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:31:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.511 EDT [41470] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.511 EDT [41470] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.513 EDT [41470] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.517 EDT [41470] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.528 EDT [41470] LOG: redirecting log output to logging collector process Jul 04 15:31:30 managed-node2 postmaster[41470]: 2026-07-04 15:31:30.528 EDT [41470] HINT: Future log output will appear in directory "log". Jul 04 15:31:30 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:31:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:31:33 managed-node2 systemd[1]: postgresql.service: Killing process 41471 (postmaster) with signal SIGKILL. Jul 04 15:31:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:31:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:31:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.680 EDT [42277] LOG: listening on IPv6 address "::1", port 5432 Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.680 EDT [42277] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.682 EDT [42277] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.685 EDT [42277] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.714 EDT [42277] LOG: redirecting log output to logging collector process Jul 04 15:31:33 managed-node2 postmaster[42277]: 2026-07-04 15:31:33.714 EDT [42277] HINT: Future log output will appear in directory "log". Jul 04 15:31:33 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:31:55 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:31:55 managed-node2 systemd[1]: postgresql.service: Killing process 42279 (postmaster) with signal SIGKILL. Jul 04 15:31:55 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:31:55 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:32:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:32:12 managed-node2 postgres[47123]: 2026-07-04 15:32:12.274 EDT [47123] LOG: redirecting log output to logging collector process Jul 04 15:32:12 managed-node2 postgres[47123]: 2026-07-04 15:32:12.274 EDT [47123] HINT: Future log output will appear in directory "log". Jul 04 15:32:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:32:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:32:15 managed-node2 systemd[1]: postgresql.service: Killing process 47124 (postgres) with signal SIGKILL. Jul 04 15:32:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:32:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:32:15 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:32:15 managed-node2 postgres[47930]: 2026-07-04 15:32:15.414 EDT [47930] LOG: redirecting log output to logging collector process Jul 04 15:32:15 managed-node2 postgres[47930]: 2026-07-04 15:32:15.414 EDT [47930] HINT: Future log output will appear in directory "log". Jul 04 15:32:15 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:32:37 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:32:37 managed-node2 systemd[1]: postgresql.service: Killing process 47931 (postgres) with signal SIGKILL. Jul 04 15:32:37 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:32:37 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:32:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:32:52 managed-node2 postmaster[52776]: 2026-07-04 15:32:52.885 EDT [52776] LOG: redirecting log output to logging collector process Jul 04 15:32:52 managed-node2 postmaster[52776]: 2026-07-04 15:32:52.885 EDT [52776] HINT: Future log output will appear in directory "log". Jul 04 15:32:52 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:32:55 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:32:56 managed-node2 systemd[1]: postgresql.service: Killing process 52777 (postmaster) with signal SIGKILL. Jul 04 15:32:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:32:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 04 15:32:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 04 15:32:56 managed-node2 postmaster[53582]: 2026-07-04 15:32:56.059 EDT [53582] LOG: redirecting log output to logging collector process Jul 04 15:32:56 managed-node2 postmaster[53582]: 2026-07-04 15:32:56.059 EDT [53582] HINT: Future log output will appear in directory "log". Jul 04 15:32:56 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 04 15:33:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 04 15:33:18 managed-node2 systemd[1]: postgresql.service: Killing process 53584 (postmaster) with signal SIGKILL. Jul 04 15:33:18 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 04 15:33:18 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 04 July 2026 15:33:21 -0400 (0:00:00.342) 0:03:27.696 ********* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.24s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.05s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.05s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.04s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.02s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 7.42s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.77s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.46s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.36s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.22s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.87s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.87s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.85s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.84s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.80s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.65s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.46s /tmp/collections-70i/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-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.42s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.41s /tmp/collections-70i/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8