ansible-playbook [core 2.16.19] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Pa8 executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-Pa8/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-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 29 August 2026 16:54:44 -0400 (0:00:00.016) 0:00:00.016 ******* ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 29 August 2026 16:54:45 -0400 (0:00:00.981) 0:00:00.997 ******* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 29 August 2026 16:54:45 -0400 (0:00:00.005) 0:00:01.003 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:54:45 -0400 (0:00:00.044) 0:00:01.047 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 29 August 2026 16:54:45 -0400 (0:00:00.054) 0:00:01.101 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:54:45 -0400 (0:00:00.001) 0:00:01.102 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:54:45 -0400 (0:00:00.020) 0:00:01.122 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:54:45 -0400 (0:00:00.109) 0:00:01.232 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:54:45 -0400 (0:00:00.036) 0:00:01.269 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.740) 0:00:02.009 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-29T16:54:46-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-Pa8/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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.431) 0:00:02.441 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.395) 0:00:02.836 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.026) 0:00:02.863 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007394", "end": "2026-08-29 16:54:47.336544", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:54:47.329150" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:54:47 -0400 (0:00:00.395) 0:00:03.258 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:54:47 -0400 (0:00:00.018) 0:00:03.277 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:54:47 -0400 (0:00:00.018) 0:00:03.295 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Pa8/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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:54:47 -0400 (0:00:00.034) 0:00:03.330 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:54:47 -0400 (0:00:00.295) 0:00:03.625 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:54:48 -0400 (0:00:00.310) 0:00:03.936 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:54:48 -0400 (0:00:00.316) 0:00:04.253 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:54:49 -0400 (0:00:01.515) 0:00:05.769 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:54:49 -0400 (0:00:00.032) 0:00:05.801 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:54:49 -0400 (0:00:00.034) 0:00:05.836 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:54:49 -0400 (0:00:00.031) 0:00:05.867 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:54:50 -0400 (0:00:00.020) 0:00:05.888 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server installed.", "Installed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Installed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } lsrpackages: @postgresql:13/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:54:55 -0400 (0:00:05.706) 0:00:11.594 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.685375", "end": "2026-08-29 16:54:56.677543", "rc": 0, "start": "2026-08-29 16:54:55.992168" } 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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:54:56 -0400 (0:00:01.017) 0:00:12.611 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.021) 0:00:12.632 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.017) 0:00:12.650 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.018) 0:00:12.669 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network.target systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:54:58 -0400 (0:00:01.216) 0:00:13.886 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.019) 0:00:13.905 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.019) 0:00:13.924 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.017) 0:00:13.942 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.015) 0:00:13.958 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.017) 0:00:13.975 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.030) 0:00:14.006 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.016) 0:00:14.022 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.015) 0:00:14.038 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.015) 0:00:14.054 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.015) 0:00:14.069 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.017) 0:00:14.086 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.015) 0:00:14.102 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.015) 0:00:14.117 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.014) 0:00:14.131 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.015) 0:00:14.146 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.017) 0:00:14.164 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.428) 0:00:14.593 ******* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:54:59 -0400 (0:00:00.414) 0:00:15.007 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788036899.1575959-12438-54912176849562/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:54:59 -0400 (0:00:00.746) 0:00:15.753 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:54:59 -0400 (0:00:00.019) 0:00:15.773 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:54:59 -0400 (0:00:00.018) 0:00:15.791 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-29T16:55:00-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:55:00 -0400 (0:00:00.311) 0:00:16.103 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 29 August 2026 16:55:00 -0400 (0:00:00.016) 0:00:16.120 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:55:00 -0400 (0:00:00.004) 0:00:16.124 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-29 16:54:57 EDT", "ActiveEnterTimestampMonotonic": "320874722", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:54:57 EDT", "AssertTimestampMonotonic": "320827789", "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-29 16:54:57 EDT", "ConditionTimestampMonotonic": "320827788", "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": "30208", "ExecMainStartTimestamp": "Sat 2026-08-29 16:54:57 EDT", "ExecMainStartTimestampMonotonic": "320836237", "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-29 16:54:57 EDT] ; stop_time=[n/a] ; pid=30208 ; 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-29 16:54:57 EDT] ; stop_time=[Sat 2026-08-29 16:54:57 EDT] ; pid=30205 ; 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-29 16:54:57 EDT", "InactiveExitTimestampMonotonic": "320828605", "InvocationID": "42ec54a0e2e14a909a481a7fb365ef1e", "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": "30208", "MemoryAccounting": "yes", "MemoryCurrent": "17801216", "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-29 16:54:57 EDT", "StateChangeTimestampMonotonic": "320874722", "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-29 16:54:57 EDT", "WatchdogTimestampMonotonic": "320874721", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:55:01 -0400 (0:00:00.865) 0:00:16.990 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007845", "end": "2026-08-29 16:55:01.371991", "rc": 0, "start": "2026-08-29 16:55:01.364146" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:55:01 -0400 (0:00:00.309) 0:00:17.299 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007811", "end": "2026-08-29 16:55:01.681599", "rc": 0, "start": "2026-08-29 16:55:01.673788" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:55:01 -0400 (0:00:00.309) 0:00:17.609 ******* ASYNC OK on managed-node2: jid=j502060751420.31415 ok: [managed-node2] => { "ansible_job_id": "j502060751420.31415", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011356", "end": "2026-08-29 16:55:02.299378", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j502060751420.31415", "start": "2026-08-29 16:55:02.288022", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:55:17 -0400 (0:00:16.096) 0:00:33.706 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008943", "end": "2026-08-29 16:55:18.097457", "rc": 0, "start": "2026-08-29 16:55:18.088514" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:55:18 -0400 (0:00:00.318) 0:00:34.024 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:55:18 -0400 (0:00:00.031) 0:00:34.056 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009092", "end": "2026-08-29 16:55:18.447606", "rc": 0, "start": "2026-08-29 16:55:18.438514" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:55:18 -0400 (0:00:00.317) 0:00:34.374 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:55:18 -0400 (0:00:00.029) 0:00:34.403 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008375", "end": "2026-08-29 16:55:18.781213", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:55:18.772838" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:55:18 -0400 (0:00:00.312) 0:00:34.716 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 29 August 2026 16:55:18 -0400 (0:00:00.031) 0:00:34.747 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:55:18 -0400 (0:00:00.004) 0:00:34.751 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server removed.", "Removed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Removed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:55:23 -0400 (0:00:04.385) 0:00:39.137 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:55:23 -0400 (0:00:00.016) 0:00:39.154 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:55:23 -0400 (0:00:00.338) 0:00:39.492 ******* ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:55:24 -0400 (0:00:01.156) 0:00:40.649 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006496", "end": "2026-08-29 16:55:25.022831", "rc": 0, "start": "2026-08-29 16:55:25.016335" } STDOUT: -- Logs begin at Sat 2026-08-29 16:49:37 EDT, end at Sat 2026-08-29 16:55:25 EDT. -- Aug 29 16:53:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:25 managed-node2 postmaster[10424]: 2026-08-29 16:53:25.310 EDT [10424] LOG: redirecting log output to logging collector process Aug 29 16:53:25 managed-node2 postmaster[10424]: 2026-08-29 16:53:25.310 EDT [10424] HINT: Future log output will appear in directory "log". Aug 29 16:53:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:32 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Aug 29 16:53:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:53:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:32 managed-node2 postmaster[12686]: 2026-08-29 16:53:32.323 EDT [12686] LOG: redirecting log output to logging collector process Aug 29 16:53:32 managed-node2 postmaster[12686]: 2026-08-29 16:53:32.323 EDT [12686] HINT: Future log output will appear in directory "log". Aug 29 16:53:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:35 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Aug 29 16:53:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:53:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:05 managed-node2 postmaster[19310]: 2026-08-29 16:54:05.124 EDT [19310] LOG: redirecting log output to logging collector process Aug 29 16:54:05 managed-node2 postmaster[19310]: 2026-08-29 16:54:05.124 EDT [19310] HINT: Future log output will appear in directory "log". Aug 29 16:54:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:10 managed-node2 systemd[1]: postgresql.service: Killing process 19311 (postmaster) with signal SIGKILL. Aug 29 16:54:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:10 managed-node2 postmaster[20851]: 2026-08-29 16:54:10.117 EDT [20851] LOG: redirecting log output to logging collector process Aug 29 16:54:10 managed-node2 postmaster[20851]: 2026-08-29 16:54:10.117 EDT [20851] HINT: Future log output will appear in directory "log". Aug 29 16:54:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:14 managed-node2 systemd[1]: postgresql.service: Killing process 20852 (postmaster) with signal SIGKILL. Aug 29 16:54:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:32 managed-node2 postmaster[25226]: 2026-08-29 16:54:32.778 EDT [25226] LOG: redirecting log output to logging collector process Aug 29 16:54:32 managed-node2 postmaster[25226]: 2026-08-29 16:54:32.778 EDT [25226] HINT: Future log output will appear in directory "log". Aug 29 16:54:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:35 managed-node2 systemd[1]: postgresql.service: Killing process 25227 (postmaster) with signal SIGKILL. Aug 29 16:54:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:35 managed-node2 postmaster[25965]: 2026-08-29 16:54:35.949 EDT [25965] LOG: redirecting log output to logging collector process Aug 29 16:54:35 managed-node2 postmaster[25965]: 2026-08-29 16:54:35.949 EDT [25965] HINT: Future log output will appear in directory "log". Aug 29 16:54:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:39 managed-node2 systemd[1]: postgresql.service: Killing process 25967 (postmaster) with signal SIGKILL. Aug 29 16:54:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:57 managed-node2 postmaster[30208]: 2026-08-29 16:54:57.927 EDT [30208] LOG: redirecting log output to logging collector process Aug 29 16:54:57 managed-node2 postmaster[30208]: 2026-08-29 16:54:57.927 EDT [30208] HINT: Future log output will appear in directory "log". Aug 29 16:54:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:00 managed-node2 systemd[1]: postgresql.service: Killing process 30209 (postmaster) with signal SIGKILL. Aug 29 16:55:00 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:01 managed-node2 postmaster[31016]: 2026-08-29 16:55:01.034 EDT [31016] LOG: redirecting log output to logging collector process Aug 29 16:55:01 managed-node2 postmaster[31016]: 2026-08-29 16:55:01.034 EDT [31016] HINT: Future log output will appear in directory "log". Aug 29 16:55:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:22 managed-node2 systemd[1]: postgresql.service: Killing process 31017 (postmaster) with signal SIGKILL. Aug 29 16:55:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 29 August 2026 16:55:25 -0400 (0:00:00.299) 0:00:40.949 ******* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 29 August 2026 16:55:25 -0400 (0:00:00.011) 0:00:40.960 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 29 August 2026 16:55:25 -0400 (0:00:00.021) 0:00:40.982 ******* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item != __default_version", "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:55:25 -0400 (0:00:00.079) 0:00:41.062 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 29 August 2026 16:55:25 -0400 (0:00:00.026) 0:00:41.088 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:55:25 -0400 (0:00:00.000) 0:00:41.089 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:55:25 -0400 (0:00:00.014) 0:00:41.104 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:55:25 -0400 (0:00:00.037) 0:00:41.141 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:55:25 -0400 (0:00:00.021) 0:00:41.163 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:55:26 -0400 (0:00:00.723) 0:00:41.886 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-29T16:55:26-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-Pa8/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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:55:26 -0400 (0:00:00.295) 0:00:42.182 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:55:26 -0400 (0:00:00.015) 0:00:42.198 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:55:26 -0400 (0:00:00.014) 0:00:42.213 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:55:26 -0400 (0:00:00.014) 0:00:42.227 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:55:26 -0400 (0:00:00.014) 0:00:42.242 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:55:26 -0400 (0:00:00.013) 0:00:42.256 ******* [WARNING]: TASK: fedora.linux_system_roles.postgresql : Set platform/version specific variables: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Pa8/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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:55:26 -0400 (0:00:00.035) 0:00:42.291 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:55:26 -0400 (0:00:00.291) 0:00:42.583 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:55:26 -0400 (0:00:00.289) 0:00:42.873 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:55:27 -0400 (0:00:00.291) 0:00:43.165 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:55:28 -0400 (0:00:01.313) 0:00:44.478 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:55:28 -0400 (0:00:00.049) 0:00:44.528 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:55:28 -0400 (0:00:00.022) 0:00:44.550 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:55:28 -0400 (0:00:00.021) 0:00:44.572 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:55:28 -0400 (0:00:00.017) 0:00:44.589 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server installed.", "Installed: postgresql-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Installed: postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Installed: postgresql-private-libs-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64" ] } lsrpackages: @postgresql:15/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:55:34 -0400 (0:00:06.237) 0:00:50.827 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.683376", "end": "2026-08-29 16:55:35.908366", "rc": 0, "start": "2026-08-29 16:55:35.224990" } 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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:55:35 -0400 (0:00:01.009) 0:00:51.836 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:55:35 -0400 (0:00:00.018) 0:00:51.854 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:55:35 -0400 (0:00:00.016) 0:00:51.871 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:55:36 -0400 (0:00:00.018) 0:00:51.889 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target sysinit.target basic.target system.slice 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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:55:36 -0400 (0:00:00.961) 0:00:52.851 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:55:36 -0400 (0:00:00.019) 0:00:52.871 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.018) 0:00:52.890 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.019) 0:00:52.909 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.014) 0:00:52.924 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.017) 0:00:52.942 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.030) 0:00:52.973 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.016) 0:00:52.990 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.015) 0:00:53.006 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.015) 0:00:53.021 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.016) 0:00:53.038 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.015) 0:00:53.054 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.015) 0:00:53.069 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.015) 0:00:53.085 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.015) 0:00:53.101 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.014) 0:00:53.116 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.018) 0:00:53.134 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.307) 0:00:53.441 ******* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:55:37 -0400 (0:00:00.305) 0:00:53.747 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788036937.8979926-12846-132290625650625/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:55:38 -0400 (0:00:00.606) 0:00:54.353 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:55:38 -0400 (0:00:00.019) 0:00:54.373 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:55:38 -0400 (0:00:00.018) 0:00:54.392 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-29T16:55:38-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:55:38 -0400 (0:00:00.310) 0:00:54.702 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 29 August 2026 16:55:38 -0400 (0:00:00.017) 0:00:54.719 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:55:38 -0400 (0:00:00.004) 0:00:54.724 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-29 16:55:36 EDT", "ActiveEnterTimestampMonotonic": "359843516", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:55:36 EDT", "AssertTimestampMonotonic": "359796604", "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-29 16:55:36 EDT", "ConditionTimestampMonotonic": "359796603", "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": "35866", "ExecMainStartTimestamp": "Sat 2026-08-29 16:55:36 EDT", "ExecMainStartTimestampMonotonic": "359805020", "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-29 16:55:36 EDT] ; stop_time=[n/a] ; pid=35866 ; 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-29 16:55:36 EDT] ; stop_time=[Sat 2026-08-29 16:55:36 EDT] ; pid=35864 ; 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-29 16:55:36 EDT", "InactiveExitTimestampMonotonic": "359797439", "InvocationID": "22aa9c3ed4c44171a355eacf19199929", "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": "35866", "MemoryAccounting": "yes", "MemoryCurrent": "18444288", "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-29 16:55:36 EDT", "StateChangeTimestampMonotonic": "359843516", "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-29 16:55:36 EDT", "WatchdogTimestampMonotonic": "359843514", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:55:39 -0400 (0:00:00.860) 0:00:55.584 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.006976", "end": "2026-08-29 16:55:39.961227", "rc": 0, "start": "2026-08-29 16:55:39.954251" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:55:40 -0400 (0:00:00.301) 0:00:55.886 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007815", "end": "2026-08-29 16:55:40.260313", "rc": 0, "start": "2026-08-29 16:55:40.252498" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:55:40 -0400 (0:00:00.299) 0:00:56.185 ******* ASYNC OK on managed-node2: jid=j640790958601.37072 ok: [managed-node2] => { "ansible_job_id": "j640790958601.37072", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011186", "end": "2026-08-29 16:55:40.766159", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j640790958601.37072", "start": "2026-08-29 16:55:40.754973", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:55:56 -0400 (0:00:15.913) 0:01:12.099 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008824", "end": "2026-08-29 16:55:56.490504", "rc": 0, "start": "2026-08-29 16:55:56.481680" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:55:56 -0400 (0:00:00.319) 0:01:12.418 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:55:56 -0400 (0:00:00.029) 0:01:12.448 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008676", "end": "2026-08-29 16:55:56.838437", "rc": 0, "start": "2026-08-29 16:55:56.829761" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:55:56 -0400 (0:00:00.316) 0:01:12.765 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:55:56 -0400 (0:00:00.029) 0:01:12.794 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008602", "end": "2026-08-29 16:55:57.172311", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:55:57.163709" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:55:57 -0400 (0:00:00.341) 0:01:13.135 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 29 August 2026 16:55:57 -0400 (0:00:00.030) 0:01:13.165 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:55:57 -0400 (0:00:00.004) 0:01:13.170 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server removed.", "Removed: postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Removed: postgresql-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Removed: postgresql-private-libs-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:56:01 -0400 (0:00:04.429) 0:01:17.600 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:56:01 -0400 (0:00:00.017) 0:01:17.617 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:56:02 -0400 (0:00:00.347) 0:01:17.965 ******* [WARNING]: TASK: Remove config files: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:56:03 -0400 (0:00:01.189) 0:01:19.155 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006718", "end": "2026-08-29 16:56:03.533209", "rc": 0, "start": "2026-08-29 16:56:03.526491" } STDOUT: -- Logs begin at Sat 2026-08-29 16:49:37 EDT, end at Sat 2026-08-29 16:56:03 EDT. -- Aug 29 16:53:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:25 managed-node2 postmaster[10424]: 2026-08-29 16:53:25.310 EDT [10424] LOG: redirecting log output to logging collector process Aug 29 16:53:25 managed-node2 postmaster[10424]: 2026-08-29 16:53:25.310 EDT [10424] HINT: Future log output will appear in directory "log". Aug 29 16:53:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:32 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Aug 29 16:53:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:53:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:32 managed-node2 postmaster[12686]: 2026-08-29 16:53:32.323 EDT [12686] LOG: redirecting log output to logging collector process Aug 29 16:53:32 managed-node2 postmaster[12686]: 2026-08-29 16:53:32.323 EDT [12686] HINT: Future log output will appear in directory "log". Aug 29 16:53:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:35 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Aug 29 16:53:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:53:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:05 managed-node2 postmaster[19310]: 2026-08-29 16:54:05.124 EDT [19310] LOG: redirecting log output to logging collector process Aug 29 16:54:05 managed-node2 postmaster[19310]: 2026-08-29 16:54:05.124 EDT [19310] HINT: Future log output will appear in directory "log". Aug 29 16:54:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:10 managed-node2 systemd[1]: postgresql.service: Killing process 19311 (postmaster) with signal SIGKILL. Aug 29 16:54:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:10 managed-node2 postmaster[20851]: 2026-08-29 16:54:10.117 EDT [20851] LOG: redirecting log output to logging collector process Aug 29 16:54:10 managed-node2 postmaster[20851]: 2026-08-29 16:54:10.117 EDT [20851] HINT: Future log output will appear in directory "log". Aug 29 16:54:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:14 managed-node2 systemd[1]: postgresql.service: Killing process 20852 (postmaster) with signal SIGKILL. Aug 29 16:54:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:32 managed-node2 postmaster[25226]: 2026-08-29 16:54:32.778 EDT [25226] LOG: redirecting log output to logging collector process Aug 29 16:54:32 managed-node2 postmaster[25226]: 2026-08-29 16:54:32.778 EDT [25226] HINT: Future log output will appear in directory "log". Aug 29 16:54:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:35 managed-node2 systemd[1]: postgresql.service: Killing process 25227 (postmaster) with signal SIGKILL. Aug 29 16:54:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:35 managed-node2 postmaster[25965]: 2026-08-29 16:54:35.949 EDT [25965] LOG: redirecting log output to logging collector process Aug 29 16:54:35 managed-node2 postmaster[25965]: 2026-08-29 16:54:35.949 EDT [25965] HINT: Future log output will appear in directory "log". Aug 29 16:54:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:39 managed-node2 systemd[1]: postgresql.service: Killing process 25967 (postmaster) with signal SIGKILL. Aug 29 16:54:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:57 managed-node2 postmaster[30208]: 2026-08-29 16:54:57.927 EDT [30208] LOG: redirecting log output to logging collector process Aug 29 16:54:57 managed-node2 postmaster[30208]: 2026-08-29 16:54:57.927 EDT [30208] HINT: Future log output will appear in directory "log". Aug 29 16:54:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:00 managed-node2 systemd[1]: postgresql.service: Killing process 30209 (postmaster) with signal SIGKILL. Aug 29 16:55:00 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:01 managed-node2 postmaster[31016]: 2026-08-29 16:55:01.034 EDT [31016] LOG: redirecting log output to logging collector process Aug 29 16:55:01 managed-node2 postmaster[31016]: 2026-08-29 16:55:01.034 EDT [31016] HINT: Future log output will appear in directory "log". Aug 29 16:55:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:22 managed-node2 systemd[1]: postgresql.service: Killing process 31017 (postmaster) with signal SIGKILL. Aug 29 16:55:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:36 managed-node2 postmaster[35866]: 2026-08-29 16:55:36.896 EDT [35866] LOG: redirecting log output to logging collector process Aug 29 16:55:36 managed-node2 postmaster[35866]: 2026-08-29 16:55:36.896 EDT [35866] HINT: Future log output will appear in directory "log". Aug 29 16:55:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:39 managed-node2 systemd[1]: postgresql.service: Killing process 35868 (postmaster) with signal SIGKILL. Aug 29 16:55:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:39 managed-node2 postmaster[36673]: 2026-08-29 16:55:39.629 EDT [36673] LOG: redirecting log output to logging collector process Aug 29 16:55:39 managed-node2 postmaster[36673]: 2026-08-29 16:55:39.629 EDT [36673] HINT: Future log output will appear in directory "log". Aug 29 16:55:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:00 managed-node2 systemd[1]: postgresql.service: Killing process 36675 (postmaster) with signal SIGKILL. Aug 29 16:56:00 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.305) 0:01:19.460 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.027) 0:01:19.488 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.000) 0:01:19.489 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.015) 0:01:19.505 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.040) 0:01:19.545 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.023) 0:01:19.568 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.729) 0:01:20.297 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-29T16:56:04-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-Pa8/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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.295) 0:01:20.593 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.016) 0:01:20.609 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.015) 0:01:20.625 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.014) 0:01:20.640 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.014) 0:01:20.654 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.015) 0:01:20.670 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Pa8/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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.036) 0:01:20.706 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:56:05 -0400 (0:00:00.293) 0:01:20.999 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:56:05 -0400 (0:00:00.289) 0:01:21.289 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:56:05 -0400 (0:00:00.292) 0:01:21.582 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:56:06 -0400 (0:00:01.291) 0:01:22.873 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:56:07 -0400 (0:00:00.025) 0:01:22.899 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:56:07 -0400 (0:00:00.022) 0:01:22.921 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:56:07 -0400 (0:00:00.024) 0:01:22.945 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:56:07 -0400 (0:00:00.018) 0:01:22.964 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server installed.", "Installed: postgresql-12.15-3.module_el8+514+f9db76aa.x86_64", "Installed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64" ] } lsrpackages: @postgresql:12/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:56:13 -0400 (0:00:05.972) 0:01:28.936 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.698310", "end": "2026-08-29 16:56:14.033074", "rc": 0, "start": "2026-08-29 16:56:13.334764" } 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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:56:14 -0400 (0:00:01.024) 0:01:29.961 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:56:14 -0400 (0:00:00.019) 0:01:29.981 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:56:14 -0400 (0:00:00.016) 0:01:29.997 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:56:14 -0400 (0:00:00.016) 0:01:30.013 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice network.target systemd-journald.socket sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.964) 0:01:30.978 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.021) 0:01:30.999 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.019) 0:01:31.018 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.018) 0:01:31.037 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.015) 0:01:31.052 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.019) 0:01:31.072 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.026) 0:01:31.098 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.016) 0:01:31.115 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.016) 0:01:31.132 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.015) 0:01:31.148 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.015) 0:01:31.164 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.015) 0:01:31.180 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.041) 0:01:31.222 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.020) 0:01:31.243 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.015) 0:01:31.258 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.014) 0:01:31.273 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.019) 0:01:31.293 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:56:15 -0400 (0:00:00.304) 0:01:31.597 ******* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:56:16 -0400 (0:00:00.304) 0:01:31.901 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788036976.0523436-13252-23267691995401/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:56:16 -0400 (0:00:00.607) 0:01:32.509 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:56:16 -0400 (0:00:00.022) 0:01:32.531 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:56:16 -0400 (0:00:00.019) 0:01:32.551 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-29T16:56:16-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:56:16 -0400 (0:00:00.309) 0:01:32.860 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 29 August 2026 16:56:16 -0400 (0:00:00.019) 0:01:32.880 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.004) 0:01:32.885 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-29 16:56:15 EDT", "ActiveEnterTimestampMonotonic": "397969624", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:56:14 EDT", "AssertTimestampMonotonic": "397921024", "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-29 16:56:14 EDT", "ConditionTimestampMonotonic": "397921024", "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": "41511", "ExecMainStartTimestamp": "Sat 2026-08-29 16:56:14 EDT", "ExecMainStartTimestampMonotonic": "397930357", "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-29 16:56:14 EDT] ; stop_time=[n/a] ; pid=41511 ; 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-29 16:56:14 EDT] ; stop_time=[Sat 2026-08-29 16:56:14 EDT] ; pid=41508 ; 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-29 16:56:14 EDT", "InactiveExitTimestampMonotonic": "397921939", "InvocationID": "8612fa268fbe4c2f98290b563997bc89", "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": "41511", "MemoryAccounting": "yes", "MemoryCurrent": "17805312", "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-29 16:56:15 EDT", "StateChangeTimestampMonotonic": "397969624", "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-29 16:56:15 EDT", "WatchdogTimestampMonotonic": "397969621", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.866) 0:01:33.751 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007056", "end": "2026-08-29 16:56:18.130892", "rc": 0, "start": "2026-08-29 16:56:18.123836" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:56:18 -0400 (0:00:00.306) 0:01:34.057 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007919", "end": "2026-08-29 16:56:18.433912", "rc": 0, "start": "2026-08-29 16:56:18.425993" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:56:18 -0400 (0:00:00.304) 0:01:34.362 ******* ASYNC OK on managed-node2: jid=j457951577743.42718 ok: [managed-node2] => { "ansible_job_id": "j457951577743.42718", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010745", "end": "2026-08-29 16:56:18.945659", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j457951577743.42718", "start": "2026-08-29 16:56:18.934914", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:56:34 -0400 (0:00:15.908) 0:01:50.271 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009342", "end": "2026-08-29 16:56:34.663194", "rc": 0, "start": "2026-08-29 16:56:34.653852" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:56:34 -0400 (0:00:00.318) 0:01:50.590 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:56:34 -0400 (0:00:00.030) 0:01:50.620 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008706", "end": "2026-08-29 16:56:35.010308", "rc": 0, "start": "2026-08-29 16:56:35.001602" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:56:35 -0400 (0:00:00.318) 0:01:50.939 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:56:35 -0400 (0:00:00.030) 0:01:50.969 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008413", "end": "2026-08-29 16:56:35.347300", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:56:35.338887" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:56:35 -0400 (0:00:00.309) 0:01:51.278 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 29 August 2026 16:56:35 -0400 (0:00:00.031) 0:01:51.310 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:56:35 -0400 (0:00:00.004) 0:01:51.314 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server removed.", "Removed: postgresql-12.15-3.module_el8+514+f9db76aa.x86_64", "Removed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:56:39 -0400 (0:00:04.377) 0:01:55.692 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:56:39 -0400 (0:00:00.017) 0:01:55.709 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:56:40 -0400 (0:00:00.341) 0:01:56.051 ******* ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:56:41 -0400 (0:00:01.153) 0:01:57.204 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006855", "end": "2026-08-29 16:56:41.579805", "rc": 0, "start": "2026-08-29 16:56:41.572950" } STDOUT: -- Logs begin at Sat 2026-08-29 16:49:37 EDT, end at Sat 2026-08-29 16:56:41 EDT. -- Aug 29 16:53:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:25 managed-node2 postmaster[10424]: 2026-08-29 16:53:25.310 EDT [10424] LOG: redirecting log output to logging collector process Aug 29 16:53:25 managed-node2 postmaster[10424]: 2026-08-29 16:53:25.310 EDT [10424] HINT: Future log output will appear in directory "log". Aug 29 16:53:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:32 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Aug 29 16:53:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:53:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:32 managed-node2 postmaster[12686]: 2026-08-29 16:53:32.323 EDT [12686] LOG: redirecting log output to logging collector process Aug 29 16:53:32 managed-node2 postmaster[12686]: 2026-08-29 16:53:32.323 EDT [12686] HINT: Future log output will appear in directory "log". Aug 29 16:53:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:35 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Aug 29 16:53:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:53:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:05 managed-node2 postmaster[19310]: 2026-08-29 16:54:05.124 EDT [19310] LOG: redirecting log output to logging collector process Aug 29 16:54:05 managed-node2 postmaster[19310]: 2026-08-29 16:54:05.124 EDT [19310] HINT: Future log output will appear in directory "log". Aug 29 16:54:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:10 managed-node2 systemd[1]: postgresql.service: Killing process 19311 (postmaster) with signal SIGKILL. Aug 29 16:54:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:10 managed-node2 postmaster[20851]: 2026-08-29 16:54:10.117 EDT [20851] LOG: redirecting log output to logging collector process Aug 29 16:54:10 managed-node2 postmaster[20851]: 2026-08-29 16:54:10.117 EDT [20851] HINT: Future log output will appear in directory "log". Aug 29 16:54:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:14 managed-node2 systemd[1]: postgresql.service: Killing process 20852 (postmaster) with signal SIGKILL. Aug 29 16:54:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:32 managed-node2 postmaster[25226]: 2026-08-29 16:54:32.778 EDT [25226] LOG: redirecting log output to logging collector process Aug 29 16:54:32 managed-node2 postmaster[25226]: 2026-08-29 16:54:32.778 EDT [25226] HINT: Future log output will appear in directory "log". Aug 29 16:54:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:35 managed-node2 systemd[1]: postgresql.service: Killing process 25227 (postmaster) with signal SIGKILL. Aug 29 16:54:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:35 managed-node2 postmaster[25965]: 2026-08-29 16:54:35.949 EDT [25965] LOG: redirecting log output to logging collector process Aug 29 16:54:35 managed-node2 postmaster[25965]: 2026-08-29 16:54:35.949 EDT [25965] HINT: Future log output will appear in directory "log". Aug 29 16:54:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:39 managed-node2 systemd[1]: postgresql.service: Killing process 25967 (postmaster) with signal SIGKILL. Aug 29 16:54:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:57 managed-node2 postmaster[30208]: 2026-08-29 16:54:57.927 EDT [30208] LOG: redirecting log output to logging collector process Aug 29 16:54:57 managed-node2 postmaster[30208]: 2026-08-29 16:54:57.927 EDT [30208] HINT: Future log output will appear in directory "log". Aug 29 16:54:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:00 managed-node2 systemd[1]: postgresql.service: Killing process 30209 (postmaster) with signal SIGKILL. Aug 29 16:55:00 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:01 managed-node2 postmaster[31016]: 2026-08-29 16:55:01.034 EDT [31016] LOG: redirecting log output to logging collector process Aug 29 16:55:01 managed-node2 postmaster[31016]: 2026-08-29 16:55:01.034 EDT [31016] HINT: Future log output will appear in directory "log". Aug 29 16:55:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:22 managed-node2 systemd[1]: postgresql.service: Killing process 31017 (postmaster) with signal SIGKILL. Aug 29 16:55:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:36 managed-node2 postmaster[35866]: 2026-08-29 16:55:36.896 EDT [35866] LOG: redirecting log output to logging collector process Aug 29 16:55:36 managed-node2 postmaster[35866]: 2026-08-29 16:55:36.896 EDT [35866] HINT: Future log output will appear in directory "log". Aug 29 16:55:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:39 managed-node2 systemd[1]: postgresql.service: Killing process 35868 (postmaster) with signal SIGKILL. Aug 29 16:55:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:39 managed-node2 postmaster[36673]: 2026-08-29 16:55:39.629 EDT [36673] LOG: redirecting log output to logging collector process Aug 29 16:55:39 managed-node2 postmaster[36673]: 2026-08-29 16:55:39.629 EDT [36673] HINT: Future log output will appear in directory "log". Aug 29 16:55:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:00 managed-node2 systemd[1]: postgresql.service: Killing process 36675 (postmaster) with signal SIGKILL. Aug 29 16:56:00 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.012 EDT [41511] 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 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.013 EDT [41511] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.013 EDT [41511] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.015 EDT [41511] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.018 EDT [41511] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.028 EDT [41511] LOG: redirecting log output to logging collector process Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.028 EDT [41511] HINT: Future log output will appear in directory "log". Aug 29 16:56:15 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:17 managed-node2 systemd[1]: postgresql.service: Killing process 41512 (postmaster) with signal SIGKILL. Aug 29 16:56:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:17 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.769 EDT [42318] 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 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.770 EDT [42318] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.770 EDT [42318] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.772 EDT [42318] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.775 EDT [42318] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.802 EDT [42318] LOG: redirecting log output to logging collector process Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.802 EDT [42318] HINT: Future log output will appear in directory "log". Aug 29 16:56:17 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:39 managed-node2 systemd[1]: postgresql.service: Killing process 42320 (postmaster) with signal SIGKILL. Aug 29 16:56:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:56:41 -0400 (0:00:00.302) 0:01:57.507 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 29 August 2026 16:56:41 -0400 (0:00:00.028) 0:01:57.535 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:56:41 -0400 (0:00:00.000) 0:01:57.536 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:56:41 -0400 (0:00:00.014) 0:01:57.551 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:56:41 -0400 (0:00:00.038) 0:01:57.589 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:56:41 -0400 (0:00:00.022) 0:01:57.612 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:56:42 -0400 (0:00:00.724) 0:01:58.336 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-29T16:56:42-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-Pa8/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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:56:42 -0400 (0:00:00.293) 0:01:58.629 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:56:42 -0400 (0:00:00.016) 0:01:58.646 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:56:42 -0400 (0:00:00.014) 0:01:58.661 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:56:42 -0400 (0:00:00.015) 0:01:58.676 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:56:42 -0400 (0:00:00.015) 0:01:58.692 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:56:42 -0400 (0:00:00.014) 0:01:58.706 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Pa8/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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:56:42 -0400 (0:00:00.035) 0:01:58.742 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:56:43 -0400 (0:00:00.291) 0:01:59.033 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:56:43 -0400 (0:00:00.288) 0:01:59.322 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:56:43 -0400 (0:00:00.292) 0:01:59.614 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:56:45 -0400 (0:00:01.312) 0:02:00.927 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:56:45 -0400 (0:00:00.079) 0:02:01.007 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:56:45 -0400 (0:00:00.023) 0:02:01.030 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:56:45 -0400 (0:00:00.022) 0:02:01.053 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:56:45 -0400 (0:00:00.018) 0:02:01.071 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server installed.", "Installed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64" ] } lsrpackages: @postgresql:16/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:56:51 -0400 (0:00:06.376) 0:02:07.447 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.682671", "end": "2026-08-29 16:56:52.526067", "rc": 0, "start": "2026-08-29 16:56:51.843396" } 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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:56:52 -0400 (0:00:01.006) 0:02:08.454 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:56:52 -0400 (0:00:00.020) 0:02:08.474 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:56:52 -0400 (0:00:00.018) 0:02:08.493 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:56:52 -0400 (0:00:00.018) 0:02:08.511 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target basic.target network-online.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/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.966) 0:02:09.477 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.023) 0:02:09.500 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.019) 0:02:09.520 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.019) 0:02:09.539 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.015) 0:02:09.554 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.018) 0:02:09.573 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.027) 0:02:09.601 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.016) 0:02:09.617 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.016) 0:02:09.634 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.018) 0:02:09.652 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.016) 0:02:09.669 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.016) 0:02:09.685 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.016) 0:02:09.702 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.017) 0:02:09.719 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.015) 0:02:09.734 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.014) 0:02:09.749 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:56:53 -0400 (0:00:00.018) 0:02:09.768 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:56:54 -0400 (0:00:00.307) 0:02:10.076 ******* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:56:54 -0400 (0:00:00.303) 0:02:10.380 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788037014.5308797-13658-199810745299508/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:56:55 -0400 (0:00:00.605) 0:02:10.986 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:56:55 -0400 (0:00:00.020) 0:02:11.006 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:56:55 -0400 (0:00:00.020) 0:02:11.026 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-29T16:56:55-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:56:55 -0400 (0:00:00.309) 0:02:11.336 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 29 August 2026 16:56:55 -0400 (0:00:00.017) 0:02:11.353 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:56:55 -0400 (0:00:00.005) 0:02:11.359 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-29 16:56:53 EDT", "ActiveEnterTimestampMonotonic": "436469053", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target system.slice sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:56:53 EDT", "AssertTimestampMonotonic": "436419703", "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-29 16:56:53 EDT", "ConditionTimestampMonotonic": "436419703", "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": "47163", "ExecMainStartTimestamp": "Sat 2026-08-29 16:56:53 EDT", "ExecMainStartTimestampMonotonic": "436428532", "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-29 16:56:53 EDT] ; stop_time=[n/a] ; pid=47163 ; 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-29 16:56:53 EDT] ; stop_time=[Sat 2026-08-29 16:56:53 EDT] ; pid=47161 ; 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-29 16:56:53 EDT", "InactiveExitTimestampMonotonic": "436420607", "InvocationID": "726c12c9733640429fde8361b2633973", "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": "47163", "MemoryAccounting": "yes", "MemoryCurrent": "18681856", "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-29 16:56:53 EDT", "StateChangeTimestampMonotonic": "436469053", "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-29 16:56:53 EDT", "WatchdogTimestampMonotonic": "436469052", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:56:56 -0400 (0:00:00.862) 0:02:12.222 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007335", "end": "2026-08-29 16:56:56.599703", "rc": 0, "start": "2026-08-29 16:56:56.592368" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:56:56 -0400 (0:00:00.304) 0:02:12.526 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007786", "end": "2026-08-29 16:56:56.901173", "rc": 0, "start": "2026-08-29 16:56:56.893387" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:56:56 -0400 (0:00:00.300) 0:02:12.826 ******* ASYNC OK on managed-node2: jid=j662289207077.48369 ok: [managed-node2] => { "ansible_job_id": "j662289207077.48369", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011118", "end": "2026-08-29 16:56:57.406756", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j662289207077.48369", "start": "2026-08-29 16:56:57.395638", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:57:12 -0400 (0:00:15.907) 0:02:28.734 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009046", "end": "2026-08-29 16:57:13.128923", "rc": 0, "start": "2026-08-29 16:57:13.119877" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:57:13 -0400 (0:00:00.323) 0:02:29.057 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:57:13 -0400 (0:00:00.030) 0:02:29.087 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008831", "end": "2026-08-29 16:57:13.480461", "rc": 0, "start": "2026-08-29 16:57:13.471630" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:57:13 -0400 (0:00:00.319) 0:02:29.407 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:57:13 -0400 (0:00:00.031) 0:02:29.439 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008583", "end": "2026-08-29 16:57:13.817697", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:57:13.809114" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:57:13 -0400 (0:00:00.364) 0:02:29.803 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 29 August 2026 16:57:13 -0400 (0:00:00.030) 0:02:29.833 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:57:13 -0400 (0:00:00.004) 0:02:29.837 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server removed.", "Removed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:57:18 -0400 (0:00:04.391) 0:02:34.229 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:57:18 -0400 (0:00:00.017) 0:02:34.247 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:57:18 -0400 (0:00:00.341) 0:02:34.588 ******* ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:57:19 -0400 (0:00:01.165) 0:02:35.754 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007227", "end": "2026-08-29 16:57:20.130414", "rc": 0, "start": "2026-08-29 16:57:20.123187" } STDOUT: -- Logs begin at Sat 2026-08-29 16:49:37 EDT, end at Sat 2026-08-29 16:57:20 EDT. -- Aug 29 16:53:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:25 managed-node2 postmaster[10424]: 2026-08-29 16:53:25.310 EDT [10424] LOG: redirecting log output to logging collector process Aug 29 16:53:25 managed-node2 postmaster[10424]: 2026-08-29 16:53:25.310 EDT [10424] HINT: Future log output will appear in directory "log". Aug 29 16:53:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:32 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Aug 29 16:53:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:53:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:32 managed-node2 postmaster[12686]: 2026-08-29 16:53:32.323 EDT [12686] LOG: redirecting log output to logging collector process Aug 29 16:53:32 managed-node2 postmaster[12686]: 2026-08-29 16:53:32.323 EDT [12686] HINT: Future log output will appear in directory "log". Aug 29 16:53:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:35 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Aug 29 16:53:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:53:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:05 managed-node2 postmaster[19310]: 2026-08-29 16:54:05.124 EDT [19310] LOG: redirecting log output to logging collector process Aug 29 16:54:05 managed-node2 postmaster[19310]: 2026-08-29 16:54:05.124 EDT [19310] HINT: Future log output will appear in directory "log". Aug 29 16:54:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:10 managed-node2 systemd[1]: postgresql.service: Killing process 19311 (postmaster) with signal SIGKILL. Aug 29 16:54:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:10 managed-node2 postmaster[20851]: 2026-08-29 16:54:10.117 EDT [20851] LOG: redirecting log output to logging collector process Aug 29 16:54:10 managed-node2 postmaster[20851]: 2026-08-29 16:54:10.117 EDT [20851] HINT: Future log output will appear in directory "log". Aug 29 16:54:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:14 managed-node2 systemd[1]: postgresql.service: Killing process 20852 (postmaster) with signal SIGKILL. Aug 29 16:54:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:32 managed-node2 postmaster[25226]: 2026-08-29 16:54:32.778 EDT [25226] LOG: redirecting log output to logging collector process Aug 29 16:54:32 managed-node2 postmaster[25226]: 2026-08-29 16:54:32.778 EDT [25226] HINT: Future log output will appear in directory "log". Aug 29 16:54:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:35 managed-node2 systemd[1]: postgresql.service: Killing process 25227 (postmaster) with signal SIGKILL. Aug 29 16:54:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:35 managed-node2 postmaster[25965]: 2026-08-29 16:54:35.949 EDT [25965] LOG: redirecting log output to logging collector process Aug 29 16:54:35 managed-node2 postmaster[25965]: 2026-08-29 16:54:35.949 EDT [25965] HINT: Future log output will appear in directory "log". Aug 29 16:54:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:39 managed-node2 systemd[1]: postgresql.service: Killing process 25967 (postmaster) with signal SIGKILL. Aug 29 16:54:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:57 managed-node2 postmaster[30208]: 2026-08-29 16:54:57.927 EDT [30208] LOG: redirecting log output to logging collector process Aug 29 16:54:57 managed-node2 postmaster[30208]: 2026-08-29 16:54:57.927 EDT [30208] HINT: Future log output will appear in directory "log". Aug 29 16:54:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:00 managed-node2 systemd[1]: postgresql.service: Killing process 30209 (postmaster) with signal SIGKILL. Aug 29 16:55:00 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:01 managed-node2 postmaster[31016]: 2026-08-29 16:55:01.034 EDT [31016] LOG: redirecting log output to logging collector process Aug 29 16:55:01 managed-node2 postmaster[31016]: 2026-08-29 16:55:01.034 EDT [31016] HINT: Future log output will appear in directory "log". Aug 29 16:55:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:22 managed-node2 systemd[1]: postgresql.service: Killing process 31017 (postmaster) with signal SIGKILL. Aug 29 16:55:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:36 managed-node2 postmaster[35866]: 2026-08-29 16:55:36.896 EDT [35866] LOG: redirecting log output to logging collector process Aug 29 16:55:36 managed-node2 postmaster[35866]: 2026-08-29 16:55:36.896 EDT [35866] HINT: Future log output will appear in directory "log". Aug 29 16:55:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:39 managed-node2 systemd[1]: postgresql.service: Killing process 35868 (postmaster) with signal SIGKILL. Aug 29 16:55:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:39 managed-node2 postmaster[36673]: 2026-08-29 16:55:39.629 EDT [36673] LOG: redirecting log output to logging collector process Aug 29 16:55:39 managed-node2 postmaster[36673]: 2026-08-29 16:55:39.629 EDT [36673] HINT: Future log output will appear in directory "log". Aug 29 16:55:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:00 managed-node2 systemd[1]: postgresql.service: Killing process 36675 (postmaster) with signal SIGKILL. Aug 29 16:56:00 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.012 EDT [41511] 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 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.013 EDT [41511] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.013 EDT [41511] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.015 EDT [41511] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.018 EDT [41511] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.028 EDT [41511] LOG: redirecting log output to logging collector process Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.028 EDT [41511] HINT: Future log output will appear in directory "log". Aug 29 16:56:15 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:17 managed-node2 systemd[1]: postgresql.service: Killing process 41512 (postmaster) with signal SIGKILL. Aug 29 16:56:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:17 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.769 EDT [42318] 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 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.770 EDT [42318] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.770 EDT [42318] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.772 EDT [42318] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.775 EDT [42318] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.802 EDT [42318] LOG: redirecting log output to logging collector process Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.802 EDT [42318] HINT: Future log output will appear in directory "log". Aug 29 16:56:17 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:39 managed-node2 systemd[1]: postgresql.service: Killing process 42320 (postmaster) with signal SIGKILL. Aug 29 16:56:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:53 managed-node2 postgres[47163]: 2026-08-29 16:56:53.521 EDT [47163] LOG: redirecting log output to logging collector process Aug 29 16:56:53 managed-node2 postgres[47163]: 2026-08-29 16:56:53.521 EDT [47163] HINT: Future log output will appear in directory "log". Aug 29 16:56:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:56 managed-node2 systemd[1]: postgresql.service: Killing process 47165 (postgres) with signal SIGKILL. Aug 29 16:56:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:56 managed-node2 postgres[47971]: 2026-08-29 16:56:56.266 EDT [47971] LOG: redirecting log output to logging collector process Aug 29 16:56:56 managed-node2 postgres[47971]: 2026-08-29 16:56:56.266 EDT [47971] HINT: Future log output will appear in directory "log". Aug 29 16:56:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:17 managed-node2 systemd[1]: postgresql.service: Killing process 47972 (postgres) with signal SIGKILL. Aug 29 16:57:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:57:20 -0400 (0:00:00.305) 0:02:36.059 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 29 August 2026 16:57:20 -0400 (0:00:00.027) 0:02:36.086 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:57:20 -0400 (0:00:00.000) 0:02:36.087 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:57:20 -0400 (0:00:00.014) 0:02:36.102 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:57:20 -0400 (0:00:00.038) 0:02:36.141 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:57:20 -0400 (0:00:00.022) 0:02:36.163 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:57:21 -0400 (0:00:00.725) 0:02:36.889 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-29T16:57:21-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-Pa8/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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:57:21 -0400 (0:00:00.292) 0:02:37.181 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:57:21 -0400 (0:00:00.016) 0:02:37.197 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:57:21 -0400 (0:00:00.015) 0:02:37.213 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:57:21 -0400 (0:00:00.014) 0:02:37.227 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:57:21 -0400 (0:00:00.015) 0:02:37.243 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:57:21 -0400 (0:00:00.014) 0:02:37.257 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Pa8/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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:57:21 -0400 (0:00:00.035) 0:02:37.292 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:57:21 -0400 (0:00:00.290) 0:02:37.582 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:57:21 -0400 (0:00:00.289) 0:02:37.872 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:57:22 -0400 (0:00:00.288) 0:02:38.161 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:57:23 -0400 (0:00:01.288) 0:02:39.449 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:57:23 -0400 (0:00:00.026) 0:02:39.475 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:57:23 -0400 (0:00:00.023) 0:02:39.498 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:57:23 -0400 (0:00:00.022) 0:02:39.520 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:57:23 -0400 (0:00:00.017) 0:02:39.538 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server installed.", "Installed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Installed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } lsrpackages: @postgresql:10/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:57:29 -0400 (0:00:05.550) 0:02:45.089 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.659848", "end": "2026-08-29 16:57:30.148290", "rc": 0, "start": "2026-08-29 16:57:29.488442" } 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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:57:30 -0400 (0:00:00.988) 0:02:46.077 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:57:30 -0400 (0:00:00.018) 0:02:46.096 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:57:30 -0400 (0:00:00.016) 0:02:46.113 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:57:30 -0400 (0:00:00.016) 0:02:46.129 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target sysinit.target basic.target system.slice 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-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.961) 0:02:47.091 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.020) 0:02:47.111 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.018) 0:02:47.130 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.018) 0:02:47.148 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.016) 0:02:47.165 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.018) 0:02:47.183 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.027) 0:02:47.210 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.018) 0:02:47.229 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.017) 0:02:47.246 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.017) 0:02:47.263 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.016) 0:02:47.280 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.045) 0:02:47.325 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.018) 0:02:47.343 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.018) 0:02:47.362 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.016) 0:02:47.378 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.017) 0:02:47.395 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.020) 0:02:47.416 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:57:31 -0400 (0:00:00.308) 0:02:47.724 ******* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:57:32 -0400 (0:00:00.309) 0:02:48.033 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788037052.185274-14064-224228195820248/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:57:32 -0400 (0:00:00.614) 0:02:48.648 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:57:32 -0400 (0:00:00.020) 0:02:48.669 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:57:32 -0400 (0:00:00.020) 0:02:48.689 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-08-29T16:57:33-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:57:33 -0400 (0:00:00.315) 0:02:49.005 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 29 August 2026 16:57:33 -0400 (0:00:00.018) 0:02:49.023 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:57:33 -0400 (0:00:00.004) 0:02:49.028 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-29 16:57:31 EDT", "ActiveEnterTimestampMonotonic": "474081955", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target system.slice systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:57:31 EDT", "AssertTimestampMonotonic": "474037322", "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-29 16:57:31 EDT", "ConditionTimestampMonotonic": "474037321", "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": "52780", "ExecMainStartTimestamp": "Sat 2026-08-29 16:57:31 EDT", "ExecMainStartTimestampMonotonic": "474045892", "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-29 16:57:31 EDT] ; stop_time=[n/a] ; pid=52780 ; 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-29 16:57:31 EDT] ; stop_time=[Sat 2026-08-29 16:57:31 EDT] ; pid=52777 ; 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-29 16:57:31 EDT", "InactiveExitTimestampMonotonic": "474038152", "InvocationID": "df2b8bead08d44e8849ca44e181e7e87", "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": "52780", "MemoryAccounting": "yes", "MemoryCurrent": "16736256", "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-29 16:57:31 EDT", "StateChangeTimestampMonotonic": "474081955", "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-29 16:57:31 EDT", "WatchdogTimestampMonotonic": "474081953", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:57:34 -0400 (0:00:00.863) 0:02:49.892 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007244", "end": "2026-08-29 16:57:34.271135", "rc": 0, "start": "2026-08-29 16:57:34.263891" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:57:34 -0400 (0:00:00.307) 0:02:50.199 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007970", "end": "2026-08-29 16:57:34.576237", "rc": 0, "start": "2026-08-29 16:57:34.568267" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:57:34 -0400 (0:00:00.302) 0:02:50.502 ******* ASYNC OK on managed-node2: jid=j147304360549.53987 ok: [managed-node2] => { "ansible_job_id": "j147304360549.53987", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010407", "end": "2026-08-29 16:57:35.090708", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j147304360549.53987", "start": "2026-08-29 16:57:35.080301", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:57:50 -0400 (0:00:15.909) 0:03:06.412 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009205", "end": "2026-08-29 16:57:50.804490", "rc": 0, "start": "2026-08-29 16:57:50.795285" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:57:50 -0400 (0:00:00.319) 0:03:06.731 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:57:50 -0400 (0:00:00.031) 0:03:06.763 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008942", "end": "2026-08-29 16:57:51.159311", "rc": 0, "start": "2026-08-29 16:57:51.150369" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:57:51 -0400 (0:00:00.322) 0:03:07.086 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:57:51 -0400 (0:00:00.030) 0:03:07.116 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006270", "end": "2026-08-29 16:57:51.493338", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:57:51.487068" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:57:51 -0400 (0:00:00.308) 0:03:07.425 ******* included: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 29 August 2026 16:57:51 -0400 (0:00:00.032) 0:03:07.457 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:57:51 -0400 (0:00:00.004) 0:03:07.461 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server removed.", "Removed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Removed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:57:55 -0400 (0:00:04.392) 0:03:11.854 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:57:55 -0400 (0:00:00.019) 0:03:11.873 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:57:56 -0400 (0:00:00.343) 0:03:12.216 ******* ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:57:57 -0400 (0:00:01.167) 0:03:13.384 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007259", "end": "2026-08-29 16:57:57.759078", "rc": 0, "start": "2026-08-29 16:57:57.751819" } STDOUT: -- Logs begin at Sat 2026-08-29 16:49:37 EDT, end at Sat 2026-08-29 16:57:57 EDT. -- Aug 29 16:53:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:25 managed-node2 postmaster[10424]: 2026-08-29 16:53:25.310 EDT [10424] LOG: redirecting log output to logging collector process Aug 29 16:53:25 managed-node2 postmaster[10424]: 2026-08-29 16:53:25.310 EDT [10424] HINT: Future log output will appear in directory "log". Aug 29 16:53:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:32 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Aug 29 16:53:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:53:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:32 managed-node2 postmaster[12686]: 2026-08-29 16:53:32.323 EDT [12686] LOG: redirecting log output to logging collector process Aug 29 16:53:32 managed-node2 postmaster[12686]: 2026-08-29 16:53:32.323 EDT [12686] HINT: Future log output will appear in directory "log". Aug 29 16:53:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:35 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Aug 29 16:53:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:53:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:05 managed-node2 postmaster[19310]: 2026-08-29 16:54:05.124 EDT [19310] LOG: redirecting log output to logging collector process Aug 29 16:54:05 managed-node2 postmaster[19310]: 2026-08-29 16:54:05.124 EDT [19310] HINT: Future log output will appear in directory "log". Aug 29 16:54:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:10 managed-node2 systemd[1]: postgresql.service: Killing process 19311 (postmaster) with signal SIGKILL. Aug 29 16:54:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:10 managed-node2 postmaster[20851]: 2026-08-29 16:54:10.117 EDT [20851] LOG: redirecting log output to logging collector process Aug 29 16:54:10 managed-node2 postmaster[20851]: 2026-08-29 16:54:10.117 EDT [20851] HINT: Future log output will appear in directory "log". Aug 29 16:54:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:14 managed-node2 systemd[1]: postgresql.service: Killing process 20852 (postmaster) with signal SIGKILL. Aug 29 16:54:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:32 managed-node2 postmaster[25226]: 2026-08-29 16:54:32.778 EDT [25226] LOG: redirecting log output to logging collector process Aug 29 16:54:32 managed-node2 postmaster[25226]: 2026-08-29 16:54:32.778 EDT [25226] HINT: Future log output will appear in directory "log". Aug 29 16:54:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:35 managed-node2 systemd[1]: postgresql.service: Killing process 25227 (postmaster) with signal SIGKILL. Aug 29 16:54:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:35 managed-node2 postmaster[25965]: 2026-08-29 16:54:35.949 EDT [25965] LOG: redirecting log output to logging collector process Aug 29 16:54:35 managed-node2 postmaster[25965]: 2026-08-29 16:54:35.949 EDT [25965] HINT: Future log output will appear in directory "log". Aug 29 16:54:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:39 managed-node2 systemd[1]: postgresql.service: Killing process 25967 (postmaster) with signal SIGKILL. Aug 29 16:54:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:57 managed-node2 postmaster[30208]: 2026-08-29 16:54:57.927 EDT [30208] LOG: redirecting log output to logging collector process Aug 29 16:54:57 managed-node2 postmaster[30208]: 2026-08-29 16:54:57.927 EDT [30208] HINT: Future log output will appear in directory "log". Aug 29 16:54:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:00 managed-node2 systemd[1]: postgresql.service: Killing process 30209 (postmaster) with signal SIGKILL. Aug 29 16:55:00 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:01 managed-node2 postmaster[31016]: 2026-08-29 16:55:01.034 EDT [31016] LOG: redirecting log output to logging collector process Aug 29 16:55:01 managed-node2 postmaster[31016]: 2026-08-29 16:55:01.034 EDT [31016] HINT: Future log output will appear in directory "log". Aug 29 16:55:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:22 managed-node2 systemd[1]: postgresql.service: Killing process 31017 (postmaster) with signal SIGKILL. Aug 29 16:55:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:36 managed-node2 postmaster[35866]: 2026-08-29 16:55:36.896 EDT [35866] LOG: redirecting log output to logging collector process Aug 29 16:55:36 managed-node2 postmaster[35866]: 2026-08-29 16:55:36.896 EDT [35866] HINT: Future log output will appear in directory "log". Aug 29 16:55:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:39 managed-node2 systemd[1]: postgresql.service: Killing process 35868 (postmaster) with signal SIGKILL. Aug 29 16:55:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:39 managed-node2 postmaster[36673]: 2026-08-29 16:55:39.629 EDT [36673] LOG: redirecting log output to logging collector process Aug 29 16:55:39 managed-node2 postmaster[36673]: 2026-08-29 16:55:39.629 EDT [36673] HINT: Future log output will appear in directory "log". Aug 29 16:55:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:00 managed-node2 systemd[1]: postgresql.service: Killing process 36675 (postmaster) with signal SIGKILL. Aug 29 16:56:00 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.012 EDT [41511] 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 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.013 EDT [41511] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.013 EDT [41511] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.015 EDT [41511] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.018 EDT [41511] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.028 EDT [41511] LOG: redirecting log output to logging collector process Aug 29 16:56:15 managed-node2 postmaster[41511]: 2026-08-29 16:56:15.028 EDT [41511] HINT: Future log output will appear in directory "log". Aug 29 16:56:15 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:17 managed-node2 systemd[1]: postgresql.service: Killing process 41512 (postmaster) with signal SIGKILL. Aug 29 16:56:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:17 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.769 EDT [42318] 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 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.770 EDT [42318] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.770 EDT [42318] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.772 EDT [42318] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.775 EDT [42318] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.802 EDT [42318] LOG: redirecting log output to logging collector process Aug 29 16:56:17 managed-node2 postmaster[42318]: 2026-08-29 16:56:17.802 EDT [42318] HINT: Future log output will appear in directory "log". Aug 29 16:56:17 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:39 managed-node2 systemd[1]: postgresql.service: Killing process 42320 (postmaster) with signal SIGKILL. Aug 29 16:56:39 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:53 managed-node2 postgres[47163]: 2026-08-29 16:56:53.521 EDT [47163] LOG: redirecting log output to logging collector process Aug 29 16:56:53 managed-node2 postgres[47163]: 2026-08-29 16:56:53.521 EDT [47163] HINT: Future log output will appear in directory "log". Aug 29 16:56:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:56 managed-node2 systemd[1]: postgresql.service: Killing process 47165 (postgres) with signal SIGKILL. Aug 29 16:56:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:56 managed-node2 postgres[47971]: 2026-08-29 16:56:56.266 EDT [47971] LOG: redirecting log output to logging collector process Aug 29 16:56:56 managed-node2 postgres[47971]: 2026-08-29 16:56:56.266 EDT [47971] HINT: Future log output will appear in directory "log". Aug 29 16:56:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:17 managed-node2 systemd[1]: postgresql.service: Killing process 47972 (postgres) with signal SIGKILL. Aug 29 16:57:17 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:31 managed-node2 postmaster[52780]: 2026-08-29 16:57:31.126 EDT [52780] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:31 managed-node2 postmaster[52780]: 2026-08-29 16:57:31.126 EDT [52780] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:31 managed-node2 postmaster[52780]: 2026-08-29 16:57:31.128 EDT [52780] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:31 managed-node2 postmaster[52780]: 2026-08-29 16:57:31.131 EDT [52780] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:31 managed-node2 postmaster[52780]: 2026-08-29 16:57:31.141 EDT [52780] LOG: redirecting log output to logging collector process Aug 29 16:57:31 managed-node2 postmaster[52780]: 2026-08-29 16:57:31.141 EDT [52780] HINT: Future log output will appear in directory "log". Aug 29 16:57:31 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:33 managed-node2 systemd[1]: postgresql.service: Killing process 52781 (postmaster) with signal SIGKILL. Aug 29 16:57:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:33 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:33 managed-node2 postmaster[53588]: 2026-08-29 16:57:33.912 EDT [53588] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:33 managed-node2 postmaster[53588]: 2026-08-29 16:57:33.912 EDT [53588] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:33 managed-node2 postmaster[53588]: 2026-08-29 16:57:33.914 EDT [53588] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:33 managed-node2 postmaster[53588]: 2026-08-29 16:57:33.917 EDT [53588] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:33 managed-node2 postmaster[53588]: 2026-08-29 16:57:33.944 EDT [53588] LOG: redirecting log output to logging collector process Aug 29 16:57:33 managed-node2 postmaster[53588]: 2026-08-29 16:57:33.944 EDT [53588] HINT: Future log output will appear in directory "log". Aug 29 16:57:33 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:55 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:55 managed-node2 systemd[1]: postgresql.service: Killing process 53589 (postmaster) with signal SIGKILL. Aug 29 16:57:55 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:55 managed-node2 systemd[1]: Stopped PostgreSQL database server. PLAY RECAP ********************************************************************* managed-node2 : ok=166 changed=45 unreachable=0 failed=0 skipped=156 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 29 August 2026 16:57:57 -0400 (0:00:00.296) 0:03:13.680 ******* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.10s /tmp/collections-Pa8/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.91s /tmp/collections-Pa8/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.91s /tmp/collections-Pa8/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.91s /tmp/collections-Pa8/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.91s /tmp/collections-Pa8/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.38s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.24s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.97s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.71s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.55s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.43s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.39s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.39s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.39s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.38s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.52s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.31s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.31s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.29s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.29s /tmp/collections-Pa8/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8