ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-0bl/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-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 22 August 2026 14:44:05 -0400 (0:00:00.018) 0:00:00.018 ******* ok: [managed-node1] META: ran handlers META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 22 August 2026 14:44:06 -0400 (0:00:00.918) 0:00:00.936 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:44:06 -0400 (0:00:00.021) 0:00:00.958 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:44:06 -0400 (0:00:00.023) 0:00:00.981 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:44:06 -0400 (0:00:00.014) 0:00:00.996 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:44:06 -0400 (0:00:00.133) 0:00:01.129 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:44:06 -0400 (0:00:00.028) 0:00:01.158 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:44:07 -0400 (0:00:00.636) 0:00:01.794 ******* ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T14:44:07-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:44:07 -0400 (0:00:00.383) 0:00:02.177 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:44:08 -0400 (0:00:00.433) 0:00:02.611 ******* ok: [managed-node1] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:44:08 -0400 (0:00:00.017) 0:00:02.628 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007285", "end": "2026-08-22 14:44:08.581312", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:44:08.574027" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:44:08 -0400 (0:00:00.394) 0:00:03.023 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:44:08 -0400 (0:00:00.015) 0:00:03.039 ******* ok: [managed-node1] => { "ansible_facts": { "__postgresql_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:44:08 -0400 (0:00:00.017) 0:00:03.056 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-0bl/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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:44:08 -0400 (0:00:00.039) 0:00:03.095 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:44:09 -0400 (0:00:00.319) 0:00:03.415 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:44:09 -0400 (0:00:00.306) 0:00:03.721 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:44:09 -0400 (0:00:00.316) 0:00:04.038 ******* ok: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:44:11 -0400 (0:00:01.559) 0:00:05.598 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:44:11 -0400 (0:00:00.043) 0:00:05.642 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:44:11 -0400 (0:00:00.028) 0:00:05.671 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:44:11 -0400 (0:00:00.028) 0:00:05.699 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:44:11 -0400 (0:00:00.023) 0:00:05.722 ******* changed: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:44:17 -0400 (0:00:05.834) 0:00:11.557 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.711450", "end": "2026-08-22 14:44:18.186288", "rc": 0, "start": "2026-08-22 14:44:17.474838" } 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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:44:18 -0400 (0:00:01.086) 0:00:12.643 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:44:18 -0400 (0:00:00.034) 0:00:12.678 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:44:18 -0400 (0:00:00.021) 0:00:12.699 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:44:18 -0400 (0:00:00.023) 0:00:12.722 ******* changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target systemd-journald.socket basic.target sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:44:19 -0400 (0:00:01.177) 0:00:13.900 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.019) 0:00:13.919 ******* skipping: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.017) 0:00:13.937 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.017) 0:00:13.955 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.016) 0:00:13.972 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.016) 0:00:13.988 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.030) 0:00:14.019 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.021) 0:00:14.041 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.018) 0:00:14.059 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.024) 0:00:14.084 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.019) 0:00:14.103 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.020) 0:00:14.123 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.021) 0:00:14.144 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.021) 0:00:14.165 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.022) 0:00:14.188 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.020) 0:00:14.208 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:44:19 -0400 (0:00:00.021) 0:00:14.230 ******* ok: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:44:20 -0400 (0:00:00.452) 0:00:14.683 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:44:20 -0400 (0:00:00.460) 0:00:15.144 ******* changed: [managed-node1] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1787424260.7800057-11921-7958662755264/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:44:21 -0400 (0:00:00.748) 0:00:15.893 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:44:21 -0400 (0:00:00.018) 0:00:15.912 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:44:21 -0400 (0:00:00.017) 0:00:15.929 ******* ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T14:44:21-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:44:21 -0400 (0:00:00.324) 0:00:16.253 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:44:21 -0400 (0:00:00.011) 0:00:16.264 ******* changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-22 14:44:19 EDT", "ActiveEnterTimestampMonotonic": "273390465", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target network.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:44:19 EDT", "AssertTimestampMonotonic": "273342038", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-22 14:44:19 EDT", "ConditionTimestampMonotonic": "273342038", "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": "22288", "ExecMainStartTimestamp": "Sat 2026-08-22 14:44:19 EDT", "ExecMainStartTimestampMonotonic": "273351225", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-22 14:44:19 EDT] ; stop_time=[n/a] ; pid=22288 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-22 14:44:19 EDT] ; stop_time=[Sat 2026-08-22 14:44:19 EDT] ; pid=22285 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-22 14:44:19 EDT", "InactiveExitTimestampMonotonic": "273343031", "InvocationID": "6fe107ab8d024832b9d092a855d844f4", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "22288", "MemoryAccounting": "yes", "MemoryCurrent": "17813504", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-22 14:44:19 EDT", "StateChangeTimestampMonotonic": "273390465", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-22 14:44:19 EDT", "WatchdogTimestampMonotonic": "273390464", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:44:22 -0400 (0:00:00.875) 0:00:17.140 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007336", "end": "2026-08-22 14:44:23.014725", "rc": 0, "start": "2026-08-22 14:44:23.007389" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:44:23 -0400 (0:00:00.320) 0:00:17.461 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007381", "end": "2026-08-22 14:44:23.330503", "rc": 0, "start": "2026-08-22 14:44:23.323122" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:44:23 -0400 (0:00:00.316) 0:00:17.777 ******* ok: [managed-node1] => { "ansible_job_id": "45174969336.23495", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011485", "end": "2026-08-22 14:44:23.966550", "finished": 1, "rc": 0, "start": "2026-08-22 14:44:23.955065" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:44:39 -0400 (0:00:15.864) 0:00:33.641 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009374", "end": "2026-08-22 14:44:39.529343", "rc": 0, "start": "2026-08-22 14:44:39.519969" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:44:39 -0400 (0:00:00.335) 0:00:33.976 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:44:39 -0400 (0:00:00.032) 0:00:34.009 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008976", "end": "2026-08-22 14:44:39.896605", "rc": 0, "start": "2026-08-22 14:44:39.887629" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:44:39 -0400 (0:00:00.334) 0:00:34.343 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:44:39 -0400 (0:00:00.034) 0:00:34.377 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008440", "end": "2026-08-22 14:44:40.250142", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:44:40.241702" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:44:40 -0400 (0:00:00.353) 0:00:34.731 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:44:40 -0400 (0:00:00.035) 0:00:34.766 ******* changed: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:44:44 -0400 (0:00:04.565) 0:00:39.332 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:44:44 -0400 (0:00:00.017) 0:00:39.350 ******* changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:44:45 -0400 (0:00:00.356) 0:00:39.706 ******* ok: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:44:46 -0400 (0:00:01.224) 0:00:40.931 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006322", "end": "2026-08-22 14:44:46.798712", "rc": 0, "start": "2026-08-22 14:44:46.792390" } STDOUT: -- Logs begin at Sat 2026-08-22 14:39:46 EDT, end at Sat 2026-08-22 14:44:46 EDT. -- Aug 22 14:43:08 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:08 managed-node1 postmaster[10429]: 2026-08-22 14:43:08.490 EDT [10429] LOG: redirecting log output to logging collector process Aug 22 14:43:08 managed-node1 postmaster[10429]: 2026-08-22 14:43:08.490 EDT [10429] HINT: Future log output will appear in directory "log". Aug 22 14:43:08 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:18 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:18 managed-node1 systemd[1]: postgresql.service: Killing process 10430 (postmaster) with signal SIGKILL. Aug 22 14:43:18 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:18 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:36 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:36 managed-node1 postmaster[16162]: 2026-08-22 14:43:36.519 EDT [16162] LOG: redirecting log output to logging collector process Aug 22 14:43:36 managed-node1 postmaster[16162]: 2026-08-22 14:43:36.519 EDT [16162] HINT: Future log output will appear in directory "log". Aug 22 14:43:36 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:39 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:39 managed-node1 systemd[1]: postgresql.service: Killing process 16163 (postmaster) with signal SIGKILL. Aug 22 14:43:39 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:39 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:39 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:39 managed-node1 postmaster[16969]: 2026-08-22 14:43:39.705 EDT [16969] LOG: redirecting log output to logging collector process Aug 22 14:43:39 managed-node1 postmaster[16969]: 2026-08-22 14:43:39.705 EDT [16969] HINT: Future log output will appear in directory "log". Aug 22 14:43:39 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:01 managed-node1 systemd[1]: postgresql.service: Killing process 16971 (postmaster) with signal SIGKILL. Aug 22 14:44:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:19 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:19 managed-node1 postmaster[22288]: 2026-08-22 14:44:19.424 EDT [22288] LOG: redirecting log output to logging collector process Aug 22 14:44:19 managed-node1 postmaster[22288]: 2026-08-22 14:44:19.424 EDT [22288] HINT: Future log output will appear in directory "log". Aug 22 14:44:19 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:22 managed-node1 systemd[1]: postgresql.service: Killing process 22289 (postmaster) with signal SIGKILL. Aug 22 14:44:22 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:22 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:22 managed-node1 postmaster[23096]: 2026-08-22 14:44:22.665 EDT [23096] LOG: redirecting log output to logging collector process Aug 22 14:44:22 managed-node1 postmaster[23096]: 2026-08-22 14:44:22.665 EDT [23096] HINT: Future log output will appear in directory "log". Aug 22 14:44:22 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:44 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:44 managed-node1 systemd[1]: postgresql.service: Killing process 23097 (postmaster) with signal SIGKILL. Aug 22 14:44:44 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:44 managed-node1 systemd[1]: Stopped PostgreSQL database server. META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 22 August 2026 14:44:46 -0400 (0:00:00.321) 0:00:41.252 ******* ok: [managed-node1] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 22 August 2026 14:44:46 -0400 (0:00:00.024) 0:00:41.276 ******* skipping: [managed-node1] => (item=13) => { "ansible_loop_var": "item", "changed": false, "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:44:46 -0400 (0:00:00.090) 0:00:41.367 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:44:46 -0400 (0:00:00.028) 0:00:41.396 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:44:47 -0400 (0:00:00.011) 0:00:41.407 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:44:47 -0400 (0:00:00.022) 0:00:41.430 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:44:47 -0400 (0:00:00.022) 0:00:41.453 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:44:47 -0400 (0:00:00.639) 0:00:42.093 ******* ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T14:44:47-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:44:48 -0400 (0:00:00.310) 0:00:42.403 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:44:48 -0400 (0:00:00.013) 0:00:42.417 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:44:48 -0400 (0:00:00.012) 0:00:42.429 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:44:48 -0400 (0:00:00.012) 0:00:42.441 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:44:48 -0400 (0:00:00.011) 0:00:42.453 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:44:48 -0400 (0:00:00.012) 0:00:42.466 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-0bl/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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:44:48 -0400 (0:00:00.039) 0:00:42.505 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:44:48 -0400 (0:00:00.305) 0:00:42.811 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:44:48 -0400 (0:00:00.302) 0:00:43.114 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:44:49 -0400 (0:00:00.304) 0:00:43.418 ******* ok: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:44:50 -0400 (0:00:01.328) 0:00:44.746 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:44:50 -0400 (0:00:00.033) 0:00:44.780 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:44:50 -0400 (0:00:00.031) 0:00:44.812 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:44:50 -0400 (0:00:00.031) 0:00:44.843 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:44:50 -0400 (0:00:00.022) 0:00:44.865 ******* changed: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:44:56 -0400 (0:00:06.268) 0:00:51.133 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.650646", "end": "2026-08-22 14:44:57.674329", "rc": 0, "start": "2026-08-22 14:44:57.023683" } 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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.988) 0:00:52.122 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.020) 0:00:52.143 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.019) 0:00:52.162 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.018) 0:00:52.181 ******* changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.985) 0:00:53.167 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.018) 0:00:53.185 ******* skipping: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.018) 0:00:53.203 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.017) 0:00:53.220 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.017) 0:00:53.238 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.017) 0:00:53.255 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.028) 0:00:53.284 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.019) 0:00:53.303 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.018) 0:00:53.322 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.018) 0:00:53.340 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.016) 0:00:53.357 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.017) 0:00:53.374 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:44:58 -0400 (0:00:00.018) 0:00:53.393 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:44:59 -0400 (0:00:00.017) 0:00:53.411 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:44:59 -0400 (0:00:00.016) 0:00:53.427 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:44:59 -0400 (0:00:00.016) 0:00:53.444 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:44:59 -0400 (0:00:00.017) 0:00:53.462 ******* ok: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:44:59 -0400 (0:00:00.331) 0:00:53.794 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:44:59 -0400 (0:00:00.325) 0:00:54.120 ******* changed: [managed-node1] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1787424299.7567286-12469-160083134708748/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:45:00 -0400 (0:00:00.654) 0:00:54.774 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:45:00 -0400 (0:00:00.019) 0:00:54.793 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:45:00 -0400 (0:00:00.018) 0:00:54.812 ******* ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T14:45:00-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:45:00 -0400 (0:00:00.321) 0:00:55.134 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:45:00 -0400 (0:00:00.011) 0:00:55.145 ******* changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-22 14:44:58 EDT", "ActiveEnterTimestampMonotonic": "312656287", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:44:58 EDT", "AssertTimestampMonotonic": "312609098", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-22 14:44:58 EDT", "ConditionTimestampMonotonic": "312609098", "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": "27802", "ExecMainStartTimestamp": "Sat 2026-08-22 14:44:58 EDT", "ExecMainStartTimestampMonotonic": "312618561", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-22 14:44:58 EDT] ; stop_time=[n/a] ; pid=27802 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-22 14:44:58 EDT] ; stop_time=[Sat 2026-08-22 14:44:58 EDT] ; pid=27799 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-22 14:44:58 EDT", "InactiveExitTimestampMonotonic": "312610027", "InvocationID": "ba921fac226244909d9197b4c334a832", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "27802", "MemoryAccounting": "yes", "MemoryCurrent": "16871424", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-22 14:44:58 EDT", "StateChangeTimestampMonotonic": "312656287", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-22 14:44:58 EDT", "WatchdogTimestampMonotonic": "312656285", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:45:01 -0400 (0:00:00.871) 0:00:56.017 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007104", "end": "2026-08-22 14:45:01.892210", "rc": 0, "start": "2026-08-22 14:45:01.885106" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:45:01 -0400 (0:00:00.322) 0:00:56.340 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007938", "end": "2026-08-22 14:45:02.210164", "rc": 0, "start": "2026-08-22 14:45:02.202226" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:45:02 -0400 (0:00:00.316) 0:00:56.656 ******* ok: [managed-node1] => { "ansible_job_id": "974284189959.29009", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010415", "end": "2026-08-22 14:45:02.745148", "finished": 1, "rc": 0, "start": "2026-08-22 14:45:02.734733" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:45:17 -0400 (0:00:15.691) 0:01:12.348 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008297", "end": "2026-08-22 14:45:18.237325", "rc": 0, "start": "2026-08-22 14:45:18.229028" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:45:18 -0400 (0:00:00.338) 0:01:12.686 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:45:18 -0400 (0:00:00.030) 0:01:12.717 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008963", "end": "2026-08-22 14:45:18.606079", "rc": 0, "start": "2026-08-22 14:45:18.597116" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:45:18 -0400 (0:00:00.338) 0:01:13.055 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:45:18 -0400 (0:00:00.035) 0:01:13.091 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006033", "end": "2026-08-22 14:45:18.963549", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:45:18.957516" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:45:19 -0400 (0:00:00.348) 0:01:13.439 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:45:19 -0400 (0:00:00.035) 0:01:13.475 ******* changed: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:45:23 -0400 (0:00:04.520) 0:01:17.996 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:45:23 -0400 (0:00:00.017) 0:01:18.014 ******* changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:45:23 -0400 (0:00:00.359) 0:01:18.373 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:45:25 -0400 (0:00:01.232) 0:01:19.605 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006539", "end": "2026-08-22 14:45:25.476700", "rc": 0, "start": "2026-08-22 14:45:25.470161" } STDOUT: -- Logs begin at Sat 2026-08-22 14:39:46 EDT, end at Sat 2026-08-22 14:45:25 EDT. -- Aug 22 14:43:08 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:08 managed-node1 postmaster[10429]: 2026-08-22 14:43:08.490 EDT [10429] LOG: redirecting log output to logging collector process Aug 22 14:43:08 managed-node1 postmaster[10429]: 2026-08-22 14:43:08.490 EDT [10429] HINT: Future log output will appear in directory "log". Aug 22 14:43:08 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:18 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:18 managed-node1 systemd[1]: postgresql.service: Killing process 10430 (postmaster) with signal SIGKILL. Aug 22 14:43:18 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:18 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:36 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:36 managed-node1 postmaster[16162]: 2026-08-22 14:43:36.519 EDT [16162] LOG: redirecting log output to logging collector process Aug 22 14:43:36 managed-node1 postmaster[16162]: 2026-08-22 14:43:36.519 EDT [16162] HINT: Future log output will appear in directory "log". Aug 22 14:43:36 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:39 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:39 managed-node1 systemd[1]: postgresql.service: Killing process 16163 (postmaster) with signal SIGKILL. Aug 22 14:43:39 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:39 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:39 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:39 managed-node1 postmaster[16969]: 2026-08-22 14:43:39.705 EDT [16969] LOG: redirecting log output to logging collector process Aug 22 14:43:39 managed-node1 postmaster[16969]: 2026-08-22 14:43:39.705 EDT [16969] HINT: Future log output will appear in directory "log". Aug 22 14:43:39 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:01 managed-node1 systemd[1]: postgresql.service: Killing process 16971 (postmaster) with signal SIGKILL. Aug 22 14:44:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:19 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:19 managed-node1 postmaster[22288]: 2026-08-22 14:44:19.424 EDT [22288] LOG: redirecting log output to logging collector process Aug 22 14:44:19 managed-node1 postmaster[22288]: 2026-08-22 14:44:19.424 EDT [22288] HINT: Future log output will appear in directory "log". Aug 22 14:44:19 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:22 managed-node1 systemd[1]: postgresql.service: Killing process 22289 (postmaster) with signal SIGKILL. Aug 22 14:44:22 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:22 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:22 managed-node1 postmaster[23096]: 2026-08-22 14:44:22.665 EDT [23096] LOG: redirecting log output to logging collector process Aug 22 14:44:22 managed-node1 postmaster[23096]: 2026-08-22 14:44:22.665 EDT [23096] HINT: Future log output will appear in directory "log". Aug 22 14:44:22 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:44 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:44 managed-node1 systemd[1]: postgresql.service: Killing process 23097 (postmaster) with signal SIGKILL. Aug 22 14:44:44 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:44 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:58 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.680 EDT [27802] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.680 EDT [27802] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.682 EDT [27802] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.686 EDT [27802] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.696 EDT [27802] LOG: redirecting log output to logging collector process Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.696 EDT [27802] HINT: Future log output will appear in directory "log". Aug 22 14:44:58 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:01 managed-node1 systemd[1]: postgresql.service: Killing process 27803 (postmaster) with signal SIGKILL. Aug 22 14:45:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:01 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.515 EDT [28610] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.515 EDT [28610] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.517 EDT [28610] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.520 EDT [28610] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.548 EDT [28610] LOG: redirecting log output to logging collector process Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.548 EDT [28610] HINT: Future log output will appear in directory "log". Aug 22 14:45:01 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:22 managed-node1 systemd[1]: postgresql.service: Killing process 28611 (postmaster) with signal SIGKILL. Aug 22 14:45:22 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:45:25 -0400 (0:00:00.321) 0:01:19.927 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:45:25 -0400 (0:00:00.034) 0:01:19.961 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:45:25 -0400 (0:00:00.011) 0:01:19.973 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:45:25 -0400 (0:00:00.025) 0:01:19.999 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:45:25 -0400 (0:00:00.025) 0:01:20.025 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:45:26 -0400 (0:00:00.635) 0:01:20.661 ******* ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T14:45:26-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:45:26 -0400 (0:00:00.313) 0:01:20.974 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:45:26 -0400 (0:00:00.013) 0:01:20.987 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:45:26 -0400 (0:00:00.013) 0:01:21.001 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:45:26 -0400 (0:00:00.012) 0:01:21.013 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:45:26 -0400 (0:00:00.012) 0:01:21.026 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:45:26 -0400 (0:00:00.012) 0:01:21.038 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-0bl/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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:45:26 -0400 (0:00:00.036) 0:01:21.075 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:45:26 -0400 (0:00:00.308) 0:01:21.384 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:45:27 -0400 (0:00:00.309) 0:01:21.693 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:45:27 -0400 (0:00:00.304) 0:01:21.998 ******* ok: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:45:29 -0400 (0:00:01.408) 0:01:23.407 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:45:29 -0400 (0:00:00.032) 0:01:23.440 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:45:29 -0400 (0:00:00.028) 0:01:23.468 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:45:29 -0400 (0:00:00.028) 0:01:23.496 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:45:29 -0400 (0:00:00.023) 0:01:23.520 ******* changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server installed.", "Installed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64", "Installed: postgresql-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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:45:35 -0400 (0:00:06.310) 0:01:29.830 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.720097", "end": "2026-08-22 14:45:36.464298", "rc": 0, "start": "2026-08-22 14:45:35.744201" } 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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:45:36 -0400 (0:00:01.082) 0:01:30.913 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.021) 0:01:30.934 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.019) 0:01:30.953 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.018) 0:01:30.972 ******* changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target system.slice network.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.964) 0:01:31.937 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.017) 0:01:31.955 ******* skipping: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.017) 0:01:31.972 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.018) 0:01:31.991 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.017) 0:01:32.008 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.017) 0:01:32.026 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.033) 0:01:32.059 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.017) 0:01:32.077 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.017) 0:01:32.095 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.017) 0:01:32.113 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.038) 0:01:32.152 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.017) 0:01:32.169 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.018) 0:01:32.188 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.018) 0:01:32.207 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.019) 0:01:32.227 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.016) 0:01:32.243 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.016) 0:01:32.259 ******* ok: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.321) 0:01:32.581 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.317) 0:01:32.899 ******* changed: [managed-node1] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1787424338.5354328-12933-95503089963336/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.646) 0:01:33.546 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.018) 0:01:33.564 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.018) 0:01:33.582 ******* ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T14:45:39-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.320) 0:01:33.903 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.011) 0:01:33.915 ******* changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-22 14:45:37 EDT", "ActiveEnterTimestampMonotonic": "351429365", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:45:37 EDT", "AssertTimestampMonotonic": "351380825", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-22 14:45:37 EDT", "ConditionTimestampMonotonic": "351380825", "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": "33345", "ExecMainStartTimestamp": "Sat 2026-08-22 14:45:37 EDT", "ExecMainStartTimestampMonotonic": "351389605", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-22 14:45:37 EDT] ; stop_time=[n/a] ; pid=33345 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-22 14:45:37 EDT] ; stop_time=[Sat 2026-08-22 14:45:37 EDT] ; pid=33342 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-22 14:45:37 EDT", "InactiveExitTimestampMonotonic": "351381646", "InvocationID": "3132cc0b355d489391e6c3d566ea23c3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "33345", "MemoryAccounting": "yes", "MemoryCurrent": "17833984", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-22 14:45:37 EDT", "StateChangeTimestampMonotonic": "351429365", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-22 14:45:37 EDT", "WatchdogTimestampMonotonic": "351429364", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:45:40 -0400 (0:00:00.873) 0:01:34.789 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.006853", "end": "2026-08-22 14:45:40.662618", "rc": 0, "start": "2026-08-22 14:45:40.655765" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:45:40 -0400 (0:00:00.318) 0:01:35.108 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007835", "end": "2026-08-22 14:45:40.982453", "rc": 0, "start": "2026-08-22 14:45:40.974618" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:45:41 -0400 (0:00:00.320) 0:01:35.428 ******* ok: [managed-node1] => { "ansible_job_id": "256310936314.34552", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010816", "end": "2026-08-22 14:45:41.516814", "finished": 1, "rc": 0, "start": "2026-08-22 14:45:41.505998" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:45:56 -0400 (0:00:15.689) 0:01:51.118 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009347", "end": "2026-08-22 14:45:57.009151", "rc": 0, "start": "2026-08-22 14:45:56.999804" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:45:57 -0400 (0:00:00.339) 0:01:51.457 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:45:57 -0400 (0:00:00.033) 0:01:51.490 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009098", "end": "2026-08-22 14:45:57.381151", "rc": 0, "start": "2026-08-22 14:45:57.372053" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:45:57 -0400 (0:00:00.339) 0:01:51.830 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:45:57 -0400 (0:00:00.029) 0:01:51.860 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008497", "end": "2026-08-22 14:45:57.737514", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:45:57.729017" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:45:57 -0400 (0:00:00.332) 0:01:52.192 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:45:57 -0400 (0:00:00.035) 0:01:52.227 ******* changed: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:46:02 -0400 (0:00:04.572) 0:01:56.800 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:46:02 -0400 (0:00:00.019) 0:01:56.819 ******* changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:46:02 -0400 (0:00:00.356) 0:01:57.176 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:46:04 -0400 (0:00:01.232) 0:01:58.409 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006696", "end": "2026-08-22 14:46:04.276917", "rc": 0, "start": "2026-08-22 14:46:04.270221" } STDOUT: -- Logs begin at Sat 2026-08-22 14:39:46 EDT, end at Sat 2026-08-22 14:46:04 EDT. -- Aug 22 14:43:08 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:08 managed-node1 postmaster[10429]: 2026-08-22 14:43:08.490 EDT [10429] LOG: redirecting log output to logging collector process Aug 22 14:43:08 managed-node1 postmaster[10429]: 2026-08-22 14:43:08.490 EDT [10429] HINT: Future log output will appear in directory "log". Aug 22 14:43:08 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:18 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:18 managed-node1 systemd[1]: postgresql.service: Killing process 10430 (postmaster) with signal SIGKILL. Aug 22 14:43:18 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:18 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:36 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:36 managed-node1 postmaster[16162]: 2026-08-22 14:43:36.519 EDT [16162] LOG: redirecting log output to logging collector process Aug 22 14:43:36 managed-node1 postmaster[16162]: 2026-08-22 14:43:36.519 EDT [16162] HINT: Future log output will appear in directory "log". Aug 22 14:43:36 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:39 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:39 managed-node1 systemd[1]: postgresql.service: Killing process 16163 (postmaster) with signal SIGKILL. Aug 22 14:43:39 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:39 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:39 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:39 managed-node1 postmaster[16969]: 2026-08-22 14:43:39.705 EDT [16969] LOG: redirecting log output to logging collector process Aug 22 14:43:39 managed-node1 postmaster[16969]: 2026-08-22 14:43:39.705 EDT [16969] HINT: Future log output will appear in directory "log". Aug 22 14:43:39 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:01 managed-node1 systemd[1]: postgresql.service: Killing process 16971 (postmaster) with signal SIGKILL. Aug 22 14:44:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:19 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:19 managed-node1 postmaster[22288]: 2026-08-22 14:44:19.424 EDT [22288] LOG: redirecting log output to logging collector process Aug 22 14:44:19 managed-node1 postmaster[22288]: 2026-08-22 14:44:19.424 EDT [22288] HINT: Future log output will appear in directory "log". Aug 22 14:44:19 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:22 managed-node1 systemd[1]: postgresql.service: Killing process 22289 (postmaster) with signal SIGKILL. Aug 22 14:44:22 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:22 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:22 managed-node1 postmaster[23096]: 2026-08-22 14:44:22.665 EDT [23096] LOG: redirecting log output to logging collector process Aug 22 14:44:22 managed-node1 postmaster[23096]: 2026-08-22 14:44:22.665 EDT [23096] HINT: Future log output will appear in directory "log". Aug 22 14:44:22 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:44 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:44 managed-node1 systemd[1]: postgresql.service: Killing process 23097 (postmaster) with signal SIGKILL. Aug 22 14:44:44 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:44 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:58 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.680 EDT [27802] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.680 EDT [27802] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.682 EDT [27802] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.686 EDT [27802] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.696 EDT [27802] LOG: redirecting log output to logging collector process Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.696 EDT [27802] HINT: Future log output will appear in directory "log". Aug 22 14:44:58 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:01 managed-node1 systemd[1]: postgresql.service: Killing process 27803 (postmaster) with signal SIGKILL. Aug 22 14:45:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:01 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.515 EDT [28610] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.515 EDT [28610] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.517 EDT [28610] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.520 EDT [28610] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.548 EDT [28610] LOG: redirecting log output to logging collector process Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.548 EDT [28610] HINT: Future log output will appear in directory "log". Aug 22 14:45:01 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:22 managed-node1 systemd[1]: postgresql.service: Killing process 28611 (postmaster) with signal SIGKILL. Aug 22 14:45:22 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:37 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.453 EDT [33345] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.453 EDT [33345] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.453 EDT [33345] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.455 EDT [33345] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.459 EDT [33345] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.469 EDT [33345] LOG: redirecting log output to logging collector process Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.469 EDT [33345] HINT: Future log output will appear in directory "log". Aug 22 14:45:37 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:40 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:40 managed-node1 systemd[1]: postgresql.service: Killing process 33346 (postmaster) with signal SIGKILL. Aug 22 14:45:40 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:40 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:40 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.287 EDT [34152] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.287 EDT [34152] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.287 EDT [34152] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.289 EDT [34152] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.293 EDT [34152] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.321 EDT [34152] LOG: redirecting log output to logging collector process Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.321 EDT [34152] HINT: Future log output will appear in directory "log". Aug 22 14:45:40 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:01 managed-node1 systemd[1]: postgresql.service: Killing process 34154 (postmaster) with signal SIGKILL. Aug 22 14:46:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:46:04 -0400 (0:00:00.313) 0:01:58.722 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:46:04 -0400 (0:00:00.033) 0:01:58.756 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:46:04 -0400 (0:00:00.011) 0:01:58.768 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:46:04 -0400 (0:00:00.022) 0:01:58.791 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:46:04 -0400 (0:00:00.022) 0:01:58.813 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.635) 0:01:59.448 ******* ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T14:46:05-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.311) 0:01:59.759 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.013) 0:01:59.773 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.012) 0:01:59.786 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.012) 0:01:59.798 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.011) 0:01:59.810 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.012) 0:01:59.822 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-0bl/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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.037) 0:01:59.859 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:46:05 -0400 (0:00:00.307) 0:02:00.166 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:46:06 -0400 (0:00:00.306) 0:02:00.473 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:46:06 -0400 (0:00:00.305) 0:02:00.779 ******* ok: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:46:07 -0400 (0:00:01.329) 0:02:02.108 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.035) 0:02:02.143 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.074) 0:02:02.218 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.028) 0:02:02.246 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.023) 0:02:02.270 ******* changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server installed.", "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", "Installed: postgresql-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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:46:14 -0400 (0:00:06.597) 0:02:08.868 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.714272", "end": "2026-08-22 14:46:15.481558", "rc": 0, "start": "2026-08-22 14:46:14.767286" } 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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:46:15 -0400 (0:00:01.064) 0:02:09.933 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:46:15 -0400 (0:00:00.021) 0:02:09.954 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:46:15 -0400 (0:00:00.019) 0:02:09.974 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:46:15 -0400 (0:00:00.018) 0:02:09.992 ******* changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target basic.target system.slice sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.972) 0:02:10.965 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.020) 0:02:10.985 ******* skipping: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.018) 0:02:11.004 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.017) 0:02:11.021 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.017) 0:02:11.039 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.017) 0:02:11.056 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.032) 0:02:11.089 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.019) 0:02:11.108 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.017) 0:02:11.126 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.017) 0:02:11.144 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.017) 0:02:11.162 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.019) 0:02:11.181 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.040) 0:02:11.222 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.018) 0:02:11.240 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.017) 0:02:11.258 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.017) 0:02:11.275 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:46:16 -0400 (0:00:00.017) 0:02:11.293 ******* ok: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:46:17 -0400 (0:00:00.321) 0:02:11.615 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:46:17 -0400 (0:00:00.319) 0:02:11.935 ******* changed: [managed-node1] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1787424377.571609-13400-59721907644090/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:46:18 -0400 (0:00:00.647) 0:02:12.583 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:46:18 -0400 (0:00:00.019) 0:02:12.602 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:46:18 -0400 (0:00:00.018) 0:02:12.621 ******* ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T14:46:18-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:46:18 -0400 (0:00:00.328) 0:02:12.949 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:46:18 -0400 (0:00:00.011) 0:02:12.961 ******* changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-22 14:46:16 EDT", "ActiveEnterTimestampMonotonic": "390453665", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:46:16 EDT", "AssertTimestampMonotonic": "390404742", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-22 14:46:16 EDT", "ConditionTimestampMonotonic": "390404742", "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": "38898", "ExecMainStartTimestamp": "Sat 2026-08-22 14:46:16 EDT", "ExecMainStartTimestampMonotonic": "390413625", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-22 14:46:16 EDT] ; stop_time=[n/a] ; pid=38898 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-22 14:46:16 EDT] ; stop_time=[Sat 2026-08-22 14:46:16 EDT] ; pid=38895 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-22 14:46:16 EDT", "InactiveExitTimestampMonotonic": "390405602", "InvocationID": "b0502c6921064d079c6a09882e731d6b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "38898", "MemoryAccounting": "yes", "MemoryCurrent": "18436096", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-22 14:46:16 EDT", "StateChangeTimestampMonotonic": "390453665", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-22 14:46:16 EDT", "WatchdogTimestampMonotonic": "390453663", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:46:19 -0400 (0:00:00.878) 0:02:13.839 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007213", "end": "2026-08-22 14:46:19.716627", "rc": 0, "start": "2026-08-22 14:46:19.709414" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:46:19 -0400 (0:00:00.325) 0:02:14.164 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007675", "end": "2026-08-22 14:46:20.037978", "rc": 0, "start": "2026-08-22 14:46:20.030303" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:46:20 -0400 (0:00:00.321) 0:02:14.486 ******* ok: [managed-node1] => { "ansible_job_id": "503560827608.40103", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011563", "end": "2026-08-22 14:46:20.581685", "finished": 1, "rc": 0, "start": "2026-08-22 14:46:20.570122" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:46:35 -0400 (0:00:15.697) 0:02:30.183 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008740", "end": "2026-08-22 14:46:36.072040", "rc": 0, "start": "2026-08-22 14:46:36.063300" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:46:36 -0400 (0:00:00.337) 0:02:30.521 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:46:36 -0400 (0:00:00.031) 0:02:30.553 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008716", "end": "2026-08-22 14:46:36.445655", "rc": 0, "start": "2026-08-22 14:46:36.436939" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:46:36 -0400 (0:00:00.342) 0:02:30.895 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:46:36 -0400 (0:00:00.033) 0:02:30.928 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008486", "end": "2026-08-22 14:46:36.802011", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:46:36.793525" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:46:36 -0400 (0:00:00.324) 0:02:31.253 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:46:36 -0400 (0:00:00.031) 0:02:31.284 ******* changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server removed.", "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", "Removed: postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:46:41 -0400 (0:00:04.543) 0:02:35.828 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:46:41 -0400 (0:00:00.018) 0:02:35.846 ******* changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:46:41 -0400 (0:00:00.356) 0:02:36.203 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:46:43 -0400 (0:00:01.237) 0:02:37.441 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007298", "end": "2026-08-22 14:46:43.321070", "rc": 0, "start": "2026-08-22 14:46:43.313772" } STDOUT: -- Logs begin at Sat 2026-08-22 14:39:46 EDT, end at Sat 2026-08-22 14:46:43 EDT. -- Aug 22 14:43:08 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:08 managed-node1 postmaster[10429]: 2026-08-22 14:43:08.490 EDT [10429] LOG: redirecting log output to logging collector process Aug 22 14:43:08 managed-node1 postmaster[10429]: 2026-08-22 14:43:08.490 EDT [10429] HINT: Future log output will appear in directory "log". Aug 22 14:43:08 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:18 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:18 managed-node1 systemd[1]: postgresql.service: Killing process 10430 (postmaster) with signal SIGKILL. Aug 22 14:43:18 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:18 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:36 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:36 managed-node1 postmaster[16162]: 2026-08-22 14:43:36.519 EDT [16162] LOG: redirecting log output to logging collector process Aug 22 14:43:36 managed-node1 postmaster[16162]: 2026-08-22 14:43:36.519 EDT [16162] HINT: Future log output will appear in directory "log". Aug 22 14:43:36 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:39 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:39 managed-node1 systemd[1]: postgresql.service: Killing process 16163 (postmaster) with signal SIGKILL. Aug 22 14:43:39 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:39 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:39 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:39 managed-node1 postmaster[16969]: 2026-08-22 14:43:39.705 EDT [16969] LOG: redirecting log output to logging collector process Aug 22 14:43:39 managed-node1 postmaster[16969]: 2026-08-22 14:43:39.705 EDT [16969] HINT: Future log output will appear in directory "log". Aug 22 14:43:39 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:01 managed-node1 systemd[1]: postgresql.service: Killing process 16971 (postmaster) with signal SIGKILL. Aug 22 14:44:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:19 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:19 managed-node1 postmaster[22288]: 2026-08-22 14:44:19.424 EDT [22288] LOG: redirecting log output to logging collector process Aug 22 14:44:19 managed-node1 postmaster[22288]: 2026-08-22 14:44:19.424 EDT [22288] HINT: Future log output will appear in directory "log". Aug 22 14:44:19 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:22 managed-node1 systemd[1]: postgresql.service: Killing process 22289 (postmaster) with signal SIGKILL. Aug 22 14:44:22 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:22 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:22 managed-node1 postmaster[23096]: 2026-08-22 14:44:22.665 EDT [23096] LOG: redirecting log output to logging collector process Aug 22 14:44:22 managed-node1 postmaster[23096]: 2026-08-22 14:44:22.665 EDT [23096] HINT: Future log output will appear in directory "log". Aug 22 14:44:22 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:44 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:44 managed-node1 systemd[1]: postgresql.service: Killing process 23097 (postmaster) with signal SIGKILL. Aug 22 14:44:44 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:44 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:58 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.680 EDT [27802] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.680 EDT [27802] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.682 EDT [27802] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.686 EDT [27802] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.696 EDT [27802] LOG: redirecting log output to logging collector process Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.696 EDT [27802] HINT: Future log output will appear in directory "log". Aug 22 14:44:58 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:01 managed-node1 systemd[1]: postgresql.service: Killing process 27803 (postmaster) with signal SIGKILL. Aug 22 14:45:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:01 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.515 EDT [28610] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.515 EDT [28610] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.517 EDT [28610] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.520 EDT [28610] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.548 EDT [28610] LOG: redirecting log output to logging collector process Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.548 EDT [28610] HINT: Future log output will appear in directory "log". Aug 22 14:45:01 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:22 managed-node1 systemd[1]: postgresql.service: Killing process 28611 (postmaster) with signal SIGKILL. Aug 22 14:45:22 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:37 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.453 EDT [33345] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.453 EDT [33345] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.453 EDT [33345] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.455 EDT [33345] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.459 EDT [33345] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.469 EDT [33345] LOG: redirecting log output to logging collector process Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.469 EDT [33345] HINT: Future log output will appear in directory "log". Aug 22 14:45:37 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:40 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:40 managed-node1 systemd[1]: postgresql.service: Killing process 33346 (postmaster) with signal SIGKILL. Aug 22 14:45:40 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:40 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:40 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.287 EDT [34152] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.287 EDT [34152] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.287 EDT [34152] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.289 EDT [34152] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.293 EDT [34152] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.321 EDT [34152] LOG: redirecting log output to logging collector process Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.321 EDT [34152] HINT: Future log output will appear in directory "log". Aug 22 14:45:40 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:01 managed-node1 systemd[1]: postgresql.service: Killing process 34154 (postmaster) with signal SIGKILL. Aug 22 14:46:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:16 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:16 managed-node1 postmaster[38898]: 2026-08-22 14:46:16.487 EDT [38898] LOG: redirecting log output to logging collector process Aug 22 14:46:16 managed-node1 postmaster[38898]: 2026-08-22 14:46:16.487 EDT [38898] HINT: Future log output will appear in directory "log". Aug 22 14:46:16 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:19 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:19 managed-node1 systemd[1]: postgresql.service: Killing process 38899 (postmaster) with signal SIGKILL. Aug 22 14:46:19 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:19 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:19 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:19 managed-node1 postmaster[39704]: 2026-08-22 14:46:19.363 EDT [39704] LOG: redirecting log output to logging collector process Aug 22 14:46:19 managed-node1 postmaster[39704]: 2026-08-22 14:46:19.363 EDT [39704] HINT: Future log output will appear in directory "log". Aug 22 14:46:19 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:40 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:40 managed-node1 systemd[1]: postgresql.service: Killing process 39706 (postmaster) with signal SIGKILL. Aug 22 14:46:40 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:40 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:46:43 -0400 (0:00:00.330) 0:02:37.771 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:46:43 -0400 (0:00:00.034) 0:02:37.806 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:46:43 -0400 (0:00:00.012) 0:02:37.818 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:46:43 -0400 (0:00:00.025) 0:02:37.844 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:46:43 -0400 (0:00:00.026) 0:02:37.871 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.644) 0:02:38.515 ******* ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T14:46:44-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.316) 0:02:38.831 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.013) 0:02:38.845 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.012) 0:02:38.857 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.011) 0:02:38.869 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.011) 0:02:38.881 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.011) 0:02:38.893 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-0bl/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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.039) 0:02:38.932 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.310) 0:02:39.243 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:46:45 -0400 (0:00:00.311) 0:02:39.554 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:46:45 -0400 (0:00:00.311) 0:02:39.866 ******* ok: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:46:46 -0400 (0:00:01.333) 0:02:41.199 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:46:46 -0400 (0:00:00.032) 0:02:41.231 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:46:46 -0400 (0:00:00.030) 0:02:41.262 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:46:46 -0400 (0:00:00.076) 0:02:41.338 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:46:46 -0400 (0:00:00.023) 0:02:41.361 ******* changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server installed.", "Installed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:46:53 -0400 (0:00:06.156) 0:02:47.518 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.706172", "end": "2026-08-22 14:46:54.114706", "rc": 0, "start": "2026-08-22 14:46:53.408534" } 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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:46:54 -0400 (0:00:01.046) 0:02:48.564 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:46:54 -0400 (0:00:00.021) 0:02:48.585 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:46:54 -0400 (0:00:00.019) 0:02:48.604 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:46:54 -0400 (0:00:00.018) 0:02:48.623 ******* changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket sysinit.target network-online.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.970) 0:02:49.594 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.018) 0:02:49.612 ******* skipping: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.017) 0:02:49.630 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.018) 0:02:49.649 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.017) 0:02:49.667 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.016) 0:02:49.684 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.029) 0:02:49.713 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.019) 0:02:49.732 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.019) 0:02:49.752 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.019) 0:02:49.772 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.018) 0:02:49.791 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.017) 0:02:49.809 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.017) 0:02:49.827 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.019) 0:02:49.846 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.017) 0:02:49.864 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.017) 0:02:49.882 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.017) 0:02:49.899 ******* ok: [managed-node1] => { "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-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:46:55 -0400 (0:00:00.322) 0:02:50.222 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.334) 0:02:50.557 ******* changed: [managed-node1] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1787424416.1934805-13864-177654264239847/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.651) 0:02:51.208 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.018) 0:02:51.226 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:46:56 -0400 (0:00:00.018) 0:02:51.245 ******* ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T14:46:57-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:46:57 -0400 (0:00:00.323) 0:02:51.569 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:46:57 -0400 (0:00:00.011) 0:02:51.580 ******* changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-22 14:46:55 EDT", "ActiveEnterTimestampMonotonic": "429084876", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target network-online.target system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:46:55 EDT", "AssertTimestampMonotonic": "429036381", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-22 14:46:55 EDT", "ConditionTimestampMonotonic": "429036380", "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": "44445", "ExecMainStartTimestamp": "Sat 2026-08-22 14:46:55 EDT", "ExecMainStartTimestampMonotonic": "429045199", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-22 14:46:55 EDT] ; stop_time=[n/a] ; pid=44445 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-22 14:46:55 EDT] ; stop_time=[Sat 2026-08-22 14:46:55 EDT] ; pid=44442 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-22 14:46:55 EDT", "InactiveExitTimestampMonotonic": "429037200", "InvocationID": "962eb741869c42f0ac6ca77b2a308f02", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "44445", "MemoryAccounting": "yes", "MemoryCurrent": "18579456", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-22 14:46:55 EDT", "StateChangeTimestampMonotonic": "429084876", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-22 14:46:55 EDT", "WatchdogTimestampMonotonic": "429084875", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:46:58 -0400 (0:00:00.885) 0:02:52.466 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007352", "end": "2026-08-22 14:46:58.347370", "rc": 0, "start": "2026-08-22 14:46:58.340018" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:46:58 -0400 (0:00:00.329) 0:02:52.795 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008251", "end": "2026-08-22 14:46:58.676848", "rc": 0, "start": "2026-08-22 14:46:58.668597" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:46:58 -0400 (0:00:00.330) 0:02:53.126 ******* ok: [managed-node1] => { "ansible_job_id": "55327485923.45650", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011977", "end": "2026-08-22 14:46:59.228557", "finished": 1, "rc": 0, "start": "2026-08-22 14:46:59.216580" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:47:14 -0400 (0:00:15.706) 0:03:08.832 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009351", "end": "2026-08-22 14:47:14.729627", "rc": 0, "start": "2026-08-22 14:47:14.720276" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:47:14 -0400 (0:00:00.347) 0:03:09.179 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:47:14 -0400 (0:00:00.032) 0:03:09.212 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009164", "end": "2026-08-22 14:47:15.106765", "rc": 0, "start": "2026-08-22 14:47:15.097601" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:47:15 -0400 (0:00:00.346) 0:03:09.558 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:47:15 -0400 (0:00:00.061) 0:03:09.619 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008395", "end": "2026-08-22 14:47:15.495780", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:47:15.487385" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:47:15 -0400 (0:00:00.346) 0:03:09.965 ******* included: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:47:15 -0400 (0:00:00.034) 0:03:10.000 ******* changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server removed.", "Removed: postgresql-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:47:20 -0400 (0:00:04.525) 0:03:14.525 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:47:20 -0400 (0:00:00.017) 0:03:14.543 ******* changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:47:20 -0400 (0:00:00.362) 0:03:14.905 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:47:21 -0400 (0:00:01.250) 0:03:16.155 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006865", "end": "2026-08-22 14:47:22.028400", "rc": 0, "start": "2026-08-22 14:47:22.021535" } STDOUT: -- Logs begin at Sat 2026-08-22 14:39:46 EDT, end at Sat 2026-08-22 14:47:22 EDT. -- Aug 22 14:43:08 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:08 managed-node1 postmaster[10429]: 2026-08-22 14:43:08.490 EDT [10429] LOG: redirecting log output to logging collector process Aug 22 14:43:08 managed-node1 postmaster[10429]: 2026-08-22 14:43:08.490 EDT [10429] HINT: Future log output will appear in directory "log". Aug 22 14:43:08 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:18 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:18 managed-node1 systemd[1]: postgresql.service: Killing process 10430 (postmaster) with signal SIGKILL. Aug 22 14:43:18 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:18 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:36 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:36 managed-node1 postmaster[16162]: 2026-08-22 14:43:36.519 EDT [16162] LOG: redirecting log output to logging collector process Aug 22 14:43:36 managed-node1 postmaster[16162]: 2026-08-22 14:43:36.519 EDT [16162] HINT: Future log output will appear in directory "log". Aug 22 14:43:36 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:39 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:39 managed-node1 systemd[1]: postgresql.service: Killing process 16163 (postmaster) with signal SIGKILL. Aug 22 14:43:39 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:43:39 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:39 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:39 managed-node1 postmaster[16969]: 2026-08-22 14:43:39.705 EDT [16969] LOG: redirecting log output to logging collector process Aug 22 14:43:39 managed-node1 postmaster[16969]: 2026-08-22 14:43:39.705 EDT [16969] HINT: Future log output will appear in directory "log". Aug 22 14:43:39 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:01 managed-node1 systemd[1]: postgresql.service: Killing process 16971 (postmaster) with signal SIGKILL. Aug 22 14:44:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:19 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:19 managed-node1 postmaster[22288]: 2026-08-22 14:44:19.424 EDT [22288] LOG: redirecting log output to logging collector process Aug 22 14:44:19 managed-node1 postmaster[22288]: 2026-08-22 14:44:19.424 EDT [22288] HINT: Future log output will appear in directory "log". Aug 22 14:44:19 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:22 managed-node1 systemd[1]: postgresql.service: Killing process 22289 (postmaster) with signal SIGKILL. Aug 22 14:44:22 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:22 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:22 managed-node1 postmaster[23096]: 2026-08-22 14:44:22.665 EDT [23096] LOG: redirecting log output to logging collector process Aug 22 14:44:22 managed-node1 postmaster[23096]: 2026-08-22 14:44:22.665 EDT [23096] HINT: Future log output will appear in directory "log". Aug 22 14:44:22 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:44 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:44 managed-node1 systemd[1]: postgresql.service: Killing process 23097 (postmaster) with signal SIGKILL. Aug 22 14:44:44 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:44:44 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:58 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.680 EDT [27802] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.680 EDT [27802] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.682 EDT [27802] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.686 EDT [27802] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.696 EDT [27802] LOG: redirecting log output to logging collector process Aug 22 14:44:58 managed-node1 postmaster[27802]: 2026-08-22 14:44:58.696 EDT [27802] HINT: Future log output will appear in directory "log". Aug 22 14:44:58 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:01 managed-node1 systemd[1]: postgresql.service: Killing process 27803 (postmaster) with signal SIGKILL. Aug 22 14:45:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:01 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.515 EDT [28610] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.515 EDT [28610] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.517 EDT [28610] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.520 EDT [28610] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.548 EDT [28610] LOG: redirecting log output to logging collector process Aug 22 14:45:01 managed-node1 postmaster[28610]: 2026-08-22 14:45:01.548 EDT [28610] HINT: Future log output will appear in directory "log". Aug 22 14:45:01 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:22 managed-node1 systemd[1]: postgresql.service: Killing process 28611 (postmaster) with signal SIGKILL. Aug 22 14:45:22 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:37 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.453 EDT [33345] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.453 EDT [33345] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.453 EDT [33345] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.455 EDT [33345] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.459 EDT [33345] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.469 EDT [33345] LOG: redirecting log output to logging collector process Aug 22 14:45:37 managed-node1 postmaster[33345]: 2026-08-22 14:45:37.469 EDT [33345] HINT: Future log output will appear in directory "log". Aug 22 14:45:37 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:40 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:40 managed-node1 systemd[1]: postgresql.service: Killing process 33346 (postmaster) with signal SIGKILL. Aug 22 14:45:40 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:45:40 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:40 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.287 EDT [34152] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.287 EDT [34152] LOG: listening on IPv6 address "::1", port 5432 Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.287 EDT [34152] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.289 EDT [34152] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.293 EDT [34152] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.321 EDT [34152] LOG: redirecting log output to logging collector process Aug 22 14:45:40 managed-node1 postmaster[34152]: 2026-08-22 14:45:40.321 EDT [34152] HINT: Future log output will appear in directory "log". Aug 22 14:45:40 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:01 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:01 managed-node1 systemd[1]: postgresql.service: Killing process 34154 (postmaster) with signal SIGKILL. Aug 22 14:46:01 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:01 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:16 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:16 managed-node1 postmaster[38898]: 2026-08-22 14:46:16.487 EDT [38898] LOG: redirecting log output to logging collector process Aug 22 14:46:16 managed-node1 postmaster[38898]: 2026-08-22 14:46:16.487 EDT [38898] HINT: Future log output will appear in directory "log". Aug 22 14:46:16 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:19 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:19 managed-node1 systemd[1]: postgresql.service: Killing process 38899 (postmaster) with signal SIGKILL. Aug 22 14:46:19 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:19 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:19 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:19 managed-node1 postmaster[39704]: 2026-08-22 14:46:19.363 EDT [39704] LOG: redirecting log output to logging collector process Aug 22 14:46:19 managed-node1 postmaster[39704]: 2026-08-22 14:46:19.363 EDT [39704] HINT: Future log output will appear in directory "log". Aug 22 14:46:19 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:40 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:40 managed-node1 systemd[1]: postgresql.service: Killing process 39706 (postmaster) with signal SIGKILL. Aug 22 14:46:40 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:40 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:55 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:55 managed-node1 postgres[44445]: 2026-08-22 14:46:55.118 EDT [44445] LOG: redirecting log output to logging collector process Aug 22 14:46:55 managed-node1 postgres[44445]: 2026-08-22 14:46:55.118 EDT [44445] HINT: Future log output will appear in directory "log". Aug 22 14:46:55 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:57 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:57 managed-node1 systemd[1]: postgresql.service: Killing process 44446 (postgres) with signal SIGKILL. Aug 22 14:46:57 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:46:57 managed-node1 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:57 managed-node1 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:57 managed-node1 postgres[45252]: 2026-08-22 14:46:57.988 EDT [45252] LOG: redirecting log output to logging collector process Aug 22 14:46:57 managed-node1 postgres[45252]: 2026-08-22 14:46:57.988 EDT [45252] HINT: Future log output will appear in directory "log". Aug 22 14:46:58 managed-node1 systemd[1]: Started PostgreSQL database server. Aug 22 14:47:19 managed-node1 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:47:19 managed-node1 systemd[1]: postgresql.service: Killing process 45253 (postgres) with signal SIGKILL. Aug 22 14:47:19 managed-node1 systemd[1]: postgresql.service: Succeeded. Aug 22 14:47:19 managed-node1 systemd[1]: Stopped PostgreSQL database server. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=166 changed=45 unreachable=0 failed=0 skipped=156 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 Saturday 22 August 2026 14:47:22 -0400 (0:00:00.316) 0:03:16.472 ******* =============================================================================== Test - database is accessible for super user using Unix socket --------- 15.86s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.71s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.70s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.69s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.69s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.16s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.57s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.57s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.54s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.53s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.52s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.33s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Remove config files ----------------------------------------------------- 1.25s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.24s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.23s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.23s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.22s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 1.05s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 0.97s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.92s /tmp/collections-0bl/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3