ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 29 August 2026 16:56:02 -0400 (0:00:00.023) 0:00:00.023 ******* ok: [managed-node2] META: ran handlers META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 29 August 2026 16:56:03 -0400 (0:00:01.116) 0:00:01.139 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-FCA/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.025) 0:00:01.165 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-FCA/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.031) 0:00:01.197 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-FCA/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:00:01.212 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.161) 0:00:01.374 ******* included: /tmp/collections-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.037) 0:00:01.411 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.687) 0:00:02.099 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T16:56:05-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:56:05 -0400 (0:00:00.431) 0:00:02.531 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:56:05 -0400 (0:00:00.430) 0:00:02.961 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:56:05 -0400 (0:00:00.022) 0:00:02.983 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008345", "end": "2026-08-29 16:56:05.933425", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:56:05.925080" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:56:05 -0400 (0:00:00.440) 0:00:03.423 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:56:06 -0400 (0:00:00.018) 0:00:03.442 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:56:06 -0400 (0:00:00.025) 0:00:03.467 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "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-FCA/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-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:56:06 -0400 (0:00:00.050) 0:00:03.517 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:56:06 -0400 (0:00:00.338) 0:00:03.856 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:56:06 -0400 (0:00:00.342) 0:00:04.198 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:56:07 -0400 (0:00:00.340) 0:00:04.539 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:56:08 -0400 (0:00:01.679) 0:00:06.218 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:56:08 -0400 (0:00:00.067) 0:00:06.286 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:56:08 -0400 (0:00:00.055) 0:00:06.342 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:56:08 -0400 (0:00:00.054) 0:00:06.397 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:56:08 -0400 (0:00:00.034) 0:00:06.432 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:56:15 -0400 (0:00:06.175) 0:00:12.607 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.736829", "end": "2026-08-29 16:56:16.220667", "rc": 0, "start": "2026-08-29 16:56:15.483838" } 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:56:16 -0400 (0:00:01.109) 0:00:13.717 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:56:16 -0400 (0:00:00.029) 0:00:13.746 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:56:16 -0400 (0:00:00.028) 0:00:13.775 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:56:16 -0400 (0:00:00.028) 0:00:13.804 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target system.slice sysinit.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:56:17 -0400 (0:00:01.287) 0:00:15.091 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.024) 0:00:15.116 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.024) 0:00:15.140 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.024) 0:00:15.165 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.025) 0:00:15.190 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.024) 0:00:15.214 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.048) 0:00:15.263 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.025) 0:00:15.288 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.024) 0:00:15.313 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.024) 0:00:15.338 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.025) 0:00:15.364 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.024) 0:00:15.388 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.024) 0:00:15.413 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:56:17 -0400 (0:00:00.024) 0:00:15.437 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:56:18 -0400 (0:00:00.025) 0:00:15.463 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:56:18 -0400 (0:00:00.048) 0:00:15.511 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:56:18 -0400 (0:00:00.026) 0:00:15.538 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:56:18 -0400 (0:00:00.456) 0:00:15.994 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:56:19 -0400 (0:00:00.446) 0:00:16.441 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788036979.0442169-12997-129314559867903/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:56:19 -0400 (0:00:00.812) 0:00:17.253 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:56:19 -0400 (0:00:00.024) 0:00:17.278 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:56:19 -0400 (0:00:00.024) 0:00:17.303 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T16:56:20-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:56:20 -0400 (0:00:00.369) 0:00:17.672 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:56:20 -0400 (0:00:00.013) 0:00:17.686 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-29 16:56:17 EDT", "ActiveEnterTimestampMonotonic": "409555148", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target sysinit.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:56:17 EDT", "AssertTimestampMonotonic": "409503945", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-29 16:56:17 EDT", "ConditionTimestampMonotonic": "409503945", "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": "30170", "ExecMainStartTimestamp": "Sat 2026-08-29 16:56:17 EDT", "ExecMainStartTimestampMonotonic": "409514666", "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:17 EDT] ; stop_time=[n/a] ; pid=30170 ; 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:17 EDT] ; stop_time=[Sat 2026-08-29 16:56:17 EDT] ; pid=30167 ; 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:17 EDT", "InactiveExitTimestampMonotonic": "409505217", "InvocationID": "eea9d2190fe048bdbb9f55e7858cdfc4", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30170", "MemoryAccounting": "yes", "MemoryCurrent": "17829888", "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:17 EDT", "StateChangeTimestampMonotonic": "409555148", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-29 16:56:17 EDT", "WatchdogTimestampMonotonic": "409555147", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:56:21 -0400 (0:00:00.957) 0:00:18.643 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007760", "end": "2026-08-29 16:56:21.506797", "rc": 0, "start": "2026-08-29 16:56:21.499037" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:56:21 -0400 (0:00:00.358) 0:00:19.002 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008099", "end": "2026-08-29 16:56:21.859369", "rc": 0, "start": "2026-08-29 16:56:21.851270" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:56:21 -0400 (0:00:00.351) 0:00:19.354 ******* ok: [managed-node2] => { "ansible_job_id": "953372067581.31377", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012428", "end": "2026-08-29 16:56:22.572661", "finished": 1, "rc": 0, "start": "2026-08-29 16:56:22.560233" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:56:37 -0400 (0:00:16.020) 0:00:35.374 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010392", "end": "2026-08-29 16:56:38.253938", "rc": 0, "start": "2026-08-29 16:56:38.243546" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:56:38 -0400 (0:00:00.377) 0:00:35.752 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:56:38 -0400 (0:00:00.044) 0:00:35.797 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009563", "end": "2026-08-29 16:56:38.676629", "rc": 0, "start": "2026-08-29 16:56:38.667066" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:56:38 -0400 (0:00:00.376) 0:00:36.174 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:56:38 -0400 (0:00:00.044) 0:00:36.218 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009257", "end": "2026-08-29 16:56:39.087686", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:56:39.078429" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:56:39 -0400 (0:00:00.382) 0:00:36.600 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:56:39 -0400 (0:00:00.048) 0:00:36.649 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:56:43 -0400 (0:00:04.715) 0:00:41.365 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:56:43 -0400 (0:00:00.025) 0:00:41.390 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:56:44 -0400 (0:00:00.413) 0:00:41.804 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:56:45 -0400 (0:00:01.392) 0:00:43.197 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007208", "end": "2026-08-29 16:56:46.056173", "rc": 0, "start": "2026-08-29 16:56:46.048965" } STDOUT: -- Logs begin at Sat 2026-08-29 16:49:29 EDT, end at Sat 2026-08-29 16:56:46 EDT. -- Aug 29 16:54:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:32 managed-node2 postmaster[10418]: 2026-08-29 16:54:32.542 EDT [10418] LOG: redirecting log output to logging collector process Aug 29 16:54:32 managed-node2 postmaster[10418]: 2026-08-29 16:54:32.542 EDT [10418] 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:40 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:41 managed-node2 systemd[1]: postgresql.service: Killing process 10419 (postmaster) with signal SIGKILL. Aug 29 16:54:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:41 managed-node2 postmaster[12681]: 2026-08-29 16:54:41.056 EDT [12681] LOG: redirecting log output to logging collector process Aug 29 16:54:41 managed-node2 postmaster[12681]: 2026-08-29 16:54:41.056 EDT [12681] HINT: Future log output will appear in directory "log". Aug 29 16:54:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:45 managed-node2 systemd[1]: postgresql.service: Killing process 12682 (postmaster) with signal SIGKILL. Aug 29 16:54:45 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:18 managed-node2 postmaster[19293]: 2026-08-29 16:55:18.498 EDT [19293] LOG: redirecting log output to logging collector process Aug 29 16:55:18 managed-node2 postmaster[19293]: 2026-08-29 16:55:18.498 EDT [19293] HINT: Future log output will appear in directory "log". Aug 29 16:55:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:24 managed-node2 systemd[1]: postgresql.service: Killing process 19294 (postmaster) with signal SIGKILL. Aug 29 16:55:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:24 managed-node2 postmaster[20833]: 2026-08-29 16:55:24.310 EDT [20833] LOG: redirecting log output to logging collector process Aug 29 16:55:24 managed-node2 postmaster[20833]: 2026-08-29 16:55:24.310 EDT [20833] HINT: Future log output will appear in directory "log". Aug 29 16:55:24 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:29 managed-node2 systemd[1]: postgresql.service: Killing process 20835 (postmaster) with signal SIGKILL. Aug 29 16:55:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:49 managed-node2 postmaster[25199]: 2026-08-29 16:55:49.926 EDT [25199] LOG: redirecting log output to logging collector process Aug 29 16:55:49 managed-node2 postmaster[25199]: 2026-08-29 16:55:49.926 EDT [25199] HINT: Future log output will appear in directory "log". Aug 29 16:55:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:53 managed-node2 systemd[1]: postgresql.service: Killing process 25200 (postmaster) with signal SIGKILL. Aug 29 16:55:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:53 managed-node2 postmaster[25938]: 2026-08-29 16:55:53.129 EDT [25938] LOG: redirecting log output to logging collector process Aug 29 16:55:53 managed-node2 postmaster[25938]: 2026-08-29 16:55:53.129 EDT [25938] HINT: Future log output will appear in directory "log". Aug 29 16:55:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:56 managed-node2 systemd[1]: postgresql.service: Killing process 25940 (postmaster) with signal SIGKILL. Aug 29 16:55:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:56 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[30170]: 2026-08-29 16:56:17.565 EDT [30170] LOG: redirecting log output to logging collector process Aug 29 16:56:17 managed-node2 postmaster[30170]: 2026-08-29 16:56:17.565 EDT [30170] 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:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:21 managed-node2 systemd[1]: postgresql.service: Killing process 30171 (postmaster) with signal SIGKILL. Aug 29 16:56:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:21 managed-node2 postmaster[30978]: 2026-08-29 16:56:21.118 EDT [30978] LOG: redirecting log output to logging collector process Aug 29 16:56:21 managed-node2 postmaster[30978]: 2026-08-29 16:56:21.118 EDT [30978] HINT: Future log output will appear in directory "log". Aug 29 16:56:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:43 managed-node2 systemd[1]: postgresql.service: Killing process 30979 (postmaster) with signal SIGKILL. Aug 29 16:56:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 29 August 2026 16:56:46 -0400 (0:00:00.392) 0:00:43.589 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 29 August 2026 16:56:46 -0400 (0:00:00.037) 0:00:43.626 ******* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:56:46 -0400 (0:00:00.134) 0:00:43.760 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:56:46 -0400 (0:00:00.051) 0:00:43.812 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:56:46 -0400 (0:00:00.015) 0:00:43.828 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:56:46 -0400 (0:00:00.032) 0:00:43.860 ******* included: /tmp/collections-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:56:46 -0400 (0:00:00.034) 0:00:43.894 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:56:47 -0400 (0:00:00.685) 0:00:44.580 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T16:56:47-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:56:47 -0400 (0:00:00.344) 0:00:44.925 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:56:47 -0400 (0:00:00.015) 0:00:44.941 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:56:47 -0400 (0:00:00.016) 0:00:44.957 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:56:47 -0400 (0:00:00.016) 0:00:44.973 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:56:47 -0400 (0:00:00.015) 0:00:44.989 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:56:47 -0400 (0:00:00.016) 0:00:45.005 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "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-FCA/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-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:56:47 -0400 (0:00:00.049) 0:00:45.054 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:56:47 -0400 (0:00:00.339) 0:00:45.394 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:56:48 -0400 (0:00:00.341) 0:00:45.736 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:56:48 -0400 (0:00:00.341) 0:00:46.077 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:56:50 -0400 (0:00:01.449) 0:00:47.527 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:56:50 -0400 (0:00:00.048) 0:00:47.575 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:56:50 -0400 (0:00:00.085) 0:00:47.660 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:56:50 -0400 (0:00:00.044) 0:00:47.704 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:56:50 -0400 (0:00:00.033) 0:00:47.738 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:56:56 -0400 (0:00:05.980) 0:00:53.719 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.711594", "end": "2026-08-29 16:56:57.312052", "rc": 0, "start": "2026-08-29 16:56:56.600458" } 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:56:57 -0400 (0:00:01.090) 0:00:54.809 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:56:57 -0400 (0:00:00.028) 0:00:54.838 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:56:57 -0400 (0:00:00.028) 0:00:54.866 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:56:57 -0400 (0:00:00.029) 0:00:54.895 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target system.slice network.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:56:58 -0400 (0:00:01.048) 0:00:55.943 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:55.969 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:55.994 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:56.020 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:56.045 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:56.070 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.048) 0:00:56.119 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:56.144 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:56.170 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.026) 0:00:56.196 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:56.222 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:56.247 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:56.272 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.026) 0:00:56.299 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:56.324 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.025) 0:00:56.349 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:56:58 -0400 (0:00:00.024) 0:00:56.374 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:56:59 -0400 (0:00:00.380) 0:00:56.755 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:56:59 -0400 (0:00:00.372) 0:00:57.127 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788037019.7317758-13474-21316753964356/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:57:00 -0400 (0:00:00.743) 0:00:57.870 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:57:00 -0400 (0:00:00.027) 0:00:57.898 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:57:00 -0400 (0:00:00.024) 0:00:57.922 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T16:57:00-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:57:00 -0400 (0:00:00.376) 0:00:58.299 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:57:00 -0400 (0:00:00.013) 0:00:58.312 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-29 16:56:58 EDT", "ActiveEnterTimestampMonotonic": "450407903", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:56:58 EDT", "AssertTimestampMonotonic": "450362534", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-29 16:56:58 EDT", "ConditionTimestampMonotonic": "450362533", "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": "35683", "ExecMainStartTimestamp": "Sat 2026-08-29 16:56:58 EDT", "ExecMainStartTimestampMonotonic": "450372300", "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:58 EDT] ; stop_time=[n/a] ; pid=35683 ; 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:58 EDT] ; stop_time=[Sat 2026-08-29 16:56:58 EDT] ; pid=35681 ; 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:58 EDT", "InactiveExitTimestampMonotonic": "450363542", "InvocationID": "c3b5a36b89ca453a8a99f3c4d77a2406", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35683", "MemoryAccounting": "yes", "MemoryCurrent": "16809984", "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:56:58 EDT", "StateChangeTimestampMonotonic": "450407903", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-29 16:56:58 EDT", "WatchdogTimestampMonotonic": "450407901", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:57:01 -0400 (0:00:00.966) 0:00:59.279 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008170", "end": "2026-08-29 16:57:02.150579", "rc": 0, "start": "2026-08-29 16:57:02.142409" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:57:02 -0400 (0:00:00.368) 0:00:59.648 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008756", "end": "2026-08-29 16:57:02.511880", "rc": 0, "start": "2026-08-29 16:57:02.503124" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:57:02 -0400 (0:00:00.360) 0:01:00.008 ******* ok: [managed-node2] => { "ansible_job_id": "523344609311.36891", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011882", "end": "2026-08-29 16:57:03.112698", "finished": 1, "rc": 0, "start": "2026-08-29 16:57:03.100816" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:57:18 -0400 (0:00:15.770) 0:01:15.779 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009673", "end": "2026-08-29 16:57:18.655880", "rc": 0, "start": "2026-08-29 16:57:18.646207" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:57:18 -0400 (0:00:00.375) 0:01:16.154 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:57:18 -0400 (0:00:00.106) 0:01:16.260 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009405", "end": "2026-08-29 16:57:19.143201", "rc": 0, "start": "2026-08-29 16:57:19.133796" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:57:19 -0400 (0:00:00.381) 0:01:16.641 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:57:19 -0400 (0:00:00.044) 0:01:16.686 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006953", "end": "2026-08-29 16:57:19.545773", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:57:19.538820" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:57:19 -0400 (0:00:00.364) 0:01:17.050 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:57:19 -0400 (0:00:00.048) 0:01:17.099 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:57:24 -0400 (0:00:04.675) 0:01:21.774 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:57:24 -0400 (0:00:00.024) 0:01:21.799 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:57:24 -0400 (0:00:00.398) 0:01:22.197 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-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-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:57:26 -0400 (0:00:01.361) 0:01:23.558 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007483", "end": "2026-08-29 16:57:26.414915", "rc": 0, "start": "2026-08-29 16:57:26.407432" } STDOUT: -- Logs begin at Sat 2026-08-29 16:49:29 EDT, end at Sat 2026-08-29 16:57:26 EDT. -- Aug 29 16:54:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:32 managed-node2 postmaster[10418]: 2026-08-29 16:54:32.542 EDT [10418] LOG: redirecting log output to logging collector process Aug 29 16:54:32 managed-node2 postmaster[10418]: 2026-08-29 16:54:32.542 EDT [10418] 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:40 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:41 managed-node2 systemd[1]: postgresql.service: Killing process 10419 (postmaster) with signal SIGKILL. Aug 29 16:54:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:41 managed-node2 postmaster[12681]: 2026-08-29 16:54:41.056 EDT [12681] LOG: redirecting log output to logging collector process Aug 29 16:54:41 managed-node2 postmaster[12681]: 2026-08-29 16:54:41.056 EDT [12681] HINT: Future log output will appear in directory "log". Aug 29 16:54:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:45 managed-node2 systemd[1]: postgresql.service: Killing process 12682 (postmaster) with signal SIGKILL. Aug 29 16:54:45 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:18 managed-node2 postmaster[19293]: 2026-08-29 16:55:18.498 EDT [19293] LOG: redirecting log output to logging collector process Aug 29 16:55:18 managed-node2 postmaster[19293]: 2026-08-29 16:55:18.498 EDT [19293] HINT: Future log output will appear in directory "log". Aug 29 16:55:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:24 managed-node2 systemd[1]: postgresql.service: Killing process 19294 (postmaster) with signal SIGKILL. Aug 29 16:55:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:24 managed-node2 postmaster[20833]: 2026-08-29 16:55:24.310 EDT [20833] LOG: redirecting log output to logging collector process Aug 29 16:55:24 managed-node2 postmaster[20833]: 2026-08-29 16:55:24.310 EDT [20833] HINT: Future log output will appear in directory "log". Aug 29 16:55:24 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:29 managed-node2 systemd[1]: postgresql.service: Killing process 20835 (postmaster) with signal SIGKILL. Aug 29 16:55:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:49 managed-node2 postmaster[25199]: 2026-08-29 16:55:49.926 EDT [25199] LOG: redirecting log output to logging collector process Aug 29 16:55:49 managed-node2 postmaster[25199]: 2026-08-29 16:55:49.926 EDT [25199] HINT: Future log output will appear in directory "log". Aug 29 16:55:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:53 managed-node2 systemd[1]: postgresql.service: Killing process 25200 (postmaster) with signal SIGKILL. Aug 29 16:55:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:53 managed-node2 postmaster[25938]: 2026-08-29 16:55:53.129 EDT [25938] LOG: redirecting log output to logging collector process Aug 29 16:55:53 managed-node2 postmaster[25938]: 2026-08-29 16:55:53.129 EDT [25938] HINT: Future log output will appear in directory "log". Aug 29 16:55:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:56 managed-node2 systemd[1]: postgresql.service: Killing process 25940 (postmaster) with signal SIGKILL. Aug 29 16:55:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:56 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[30170]: 2026-08-29 16:56:17.565 EDT [30170] LOG: redirecting log output to logging collector process Aug 29 16:56:17 managed-node2 postmaster[30170]: 2026-08-29 16:56:17.565 EDT [30170] 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:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:21 managed-node2 systemd[1]: postgresql.service: Killing process 30171 (postmaster) with signal SIGKILL. Aug 29 16:56:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:21 managed-node2 postmaster[30978]: 2026-08-29 16:56:21.118 EDT [30978] LOG: redirecting log output to logging collector process Aug 29 16:56:21 managed-node2 postmaster[30978]: 2026-08-29 16:56:21.118 EDT [30978] HINT: Future log output will appear in directory "log". Aug 29 16:56:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:43 managed-node2 systemd[1]: postgresql.service: Killing process 30979 (postmaster) with signal SIGKILL. Aug 29 16:56:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.411 EDT [35683] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.411 EDT [35683] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.413 EDT [35683] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.416 EDT [35683] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.426 EDT [35683] LOG: redirecting log output to logging collector process Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.426 EDT [35683] HINT: Future log output will appear in directory "log". Aug 29 16:56:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:01 managed-node2 systemd[1]: postgresql.service: Killing process 35685 (postmaster) with signal SIGKILL. Aug 29 16:57:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.726 EDT [36492] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.726 EDT [36492] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.727 EDT [36492] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.731 EDT [36492] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.759 EDT [36492] LOG: redirecting log output to logging collector process Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.759 EDT [36492] HINT: Future log output will appear in directory "log". Aug 29 16:57:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:23 managed-node2 systemd[1]: postgresql.service: Killing process 36493 (postmaster) with signal SIGKILL. Aug 29 16:57:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:57:26 -0400 (0:00:00.353) 0:01:23.912 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:57:26 -0400 (0:00:00.046) 0:01:23.958 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:57:26 -0400 (0:00:00.015) 0:01:23.974 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:57:26 -0400 (0:00:00.033) 0:01:24.008 ******* included: /tmp/collections-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:57:26 -0400 (0:00:00.034) 0:01:24.043 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:57:27 -0400 (0:00:00.692) 0:01:24.735 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T16:57:27-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:57:27 -0400 (0:00:00.344) 0:01:25.080 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:57:27 -0400 (0:00:00.016) 0:01:25.096 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:57:27 -0400 (0:00:00.019) 0:01:25.115 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:57:27 -0400 (0:00:00.015) 0:01:25.131 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:57:27 -0400 (0:00:00.015) 0:01:25.147 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:57:27 -0400 (0:00:00.015) 0:01:25.162 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "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-FCA/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-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:57:27 -0400 (0:00:00.048) 0:01:25.211 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:57:28 -0400 (0:00:00.343) 0:01:25.554 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:57:28 -0400 (0:00:00.342) 0:01:25.897 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:57:28 -0400 (0:00:00.342) 0:01:26.240 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:57:30 -0400 (0:00:01.427) 0:01:27.667 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:57:30 -0400 (0:00:00.047) 0:01:27.714 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:57:30 -0400 (0:00:00.044) 0:01:27.759 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:57:30 -0400 (0:00:00.045) 0:01:27.805 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:57:30 -0400 (0:00:00.074) 0:01:27.879 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:57:36 -0400 (0:00:06.051) 0:01:33.931 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.753524", "end": "2026-08-29 16:57:37.564798", "rc": 0, "start": "2026-08-29 16:57:36.811274" } 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:57:37 -0400 (0:00:01.133) 0:01:35.064 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:57:37 -0400 (0:00:00.028) 0:01:35.092 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:57:37 -0400 (0:00:00.026) 0:01:35.119 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:57:37 -0400 (0:00:00.026) 0:01:35.146 ******* 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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:57:38 -0400 (0:00:01.062) 0:01:36.208 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:57:38 -0400 (0:00:00.025) 0:01:36.233 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:57:38 -0400 (0:00:00.025) 0:01:36.259 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:57:38 -0400 (0:00:00.025) 0:01:36.284 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:57:38 -0400 (0:00:00.026) 0:01:36.311 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:57:38 -0400 (0:00:00.025) 0:01:36.336 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:57:38 -0400 (0:00:00.048) 0:01:36.385 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:57:38 -0400 (0:00:00.025) 0:01:36.411 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:57:38 -0400 (0:00:00.025) 0:01:36.436 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:57:39 -0400 (0:00:00.025) 0:01:36.462 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:57:39 -0400 (0:00:00.026) 0:01:36.488 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:57:39 -0400 (0:00:00.025) 0:01:36.514 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:57:39 -0400 (0:00:00.024) 0:01:36.539 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:57:39 -0400 (0:00:00.024) 0:01:36.564 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:57:39 -0400 (0:00:00.026) 0:01:36.590 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:57:39 -0400 (0:00:00.051) 0:01:36.642 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:57:39 -0400 (0:00:00.025) 0:01:36.668 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:57:39 -0400 (0:00:00.363) 0:01:37.031 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:57:39 -0400 (0:00:00.355) 0:01:37.387 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788037059.9897108-13944-150614956287263/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:57:40 -0400 (0:00:00.721) 0:01:38.108 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:57:40 -0400 (0:00:00.025) 0:01:38.133 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:57:40 -0400 (0:00:00.025) 0:01:38.158 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T16:57:41-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:57:41 -0400 (0:00:00.371) 0:01:38.530 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:57:41 -0400 (0:00:00.013) 0:01:38.543 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-29 16:57:38 EDT", "ActiveEnterTimestampMonotonic": "490666644", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket system.slice sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:57:38 EDT", "AssertTimestampMonotonic": "490614945", "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:38 EDT", "ConditionTimestampMonotonic": "490614945", "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": "41225", "ExecMainStartTimestamp": "Sat 2026-08-29 16:57:38 EDT", "ExecMainStartTimestampMonotonic": "490625243", "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:38 EDT] ; stop_time=[n/a] ; pid=41225 ; 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:38 EDT] ; stop_time=[Sat 2026-08-29 16:57:38 EDT] ; pid=41222 ; 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:38 EDT", "InactiveExitTimestampMonotonic": "490616023", "InvocationID": "1840e804bd094ec792f899e33ae1923a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41225", "MemoryAccounting": "yes", "MemoryCurrent": "17850368", "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:38 EDT", "StateChangeTimestampMonotonic": "490666644", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-29 16:57:38 EDT", "WatchdogTimestampMonotonic": "490666642", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:57:42 -0400 (0:00:00.958) 0:01:39.501 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008096", "end": "2026-08-29 16:57:42.370975", "rc": 0, "start": "2026-08-29 16:57:42.362879" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:57:42 -0400 (0:00:00.365) 0:01:39.867 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008358", "end": "2026-08-29 16:57:42.726177", "rc": 0, "start": "2026-08-29 16:57:42.717819" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:57:42 -0400 (0:00:00.357) 0:01:40.224 ******* ok: [managed-node2] => { "ansible_job_id": "201439091381.42432", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012271", "end": "2026-08-29 16:57:43.325521", "finished": 1, "rc": 0, "start": "2026-08-29 16:57:43.313250" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:57:58 -0400 (0:00:15.771) 0:01:55.996 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009649", "end": "2026-08-29 16:57:58.879261", "rc": 0, "start": "2026-08-29 16:57:58.869612" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:57:58 -0400 (0:00:00.384) 0:01:56.380 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:57:58 -0400 (0:00:00.045) 0:01:56.426 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009701", "end": "2026-08-29 16:57:59.315137", "rc": 0, "start": "2026-08-29 16:57:59.305436" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:57:59 -0400 (0:00:00.387) 0:01:56.813 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:57:59 -0400 (0:00:00.045) 0:01:56.859 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009333", "end": "2026-08-29 16:57:59.734248", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:57:59.724915" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:57:59 -0400 (0:00:00.377) 0:01:57.236 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:57:59 -0400 (0:00:00.048) 0:01:57.285 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:58:04 -0400 (0:00:04.730) 0:02:02.016 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:58:04 -0400 (0:00:00.024) 0:02:02.041 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:58:05 -0400 (0:00:00.402) 0:02:02.444 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-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-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:58:06 -0400 (0:00:01.370) 0:02:03.815 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007623", "end": "2026-08-29 16:58:06.673605", "rc": 0, "start": "2026-08-29 16:58:06.665982" } STDOUT: -- Logs begin at Sat 2026-08-29 16:49:29 EDT, end at Sat 2026-08-29 16:58:06 EDT. -- Aug 29 16:54:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:32 managed-node2 postmaster[10418]: 2026-08-29 16:54:32.542 EDT [10418] LOG: redirecting log output to logging collector process Aug 29 16:54:32 managed-node2 postmaster[10418]: 2026-08-29 16:54:32.542 EDT [10418] 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:40 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:41 managed-node2 systemd[1]: postgresql.service: Killing process 10419 (postmaster) with signal SIGKILL. Aug 29 16:54:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:41 managed-node2 postmaster[12681]: 2026-08-29 16:54:41.056 EDT [12681] LOG: redirecting log output to logging collector process Aug 29 16:54:41 managed-node2 postmaster[12681]: 2026-08-29 16:54:41.056 EDT [12681] HINT: Future log output will appear in directory "log". Aug 29 16:54:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:45 managed-node2 systemd[1]: postgresql.service: Killing process 12682 (postmaster) with signal SIGKILL. Aug 29 16:54:45 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:18 managed-node2 postmaster[19293]: 2026-08-29 16:55:18.498 EDT [19293] LOG: redirecting log output to logging collector process Aug 29 16:55:18 managed-node2 postmaster[19293]: 2026-08-29 16:55:18.498 EDT [19293] HINT: Future log output will appear in directory "log". Aug 29 16:55:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:24 managed-node2 systemd[1]: postgresql.service: Killing process 19294 (postmaster) with signal SIGKILL. Aug 29 16:55:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:24 managed-node2 postmaster[20833]: 2026-08-29 16:55:24.310 EDT [20833] LOG: redirecting log output to logging collector process Aug 29 16:55:24 managed-node2 postmaster[20833]: 2026-08-29 16:55:24.310 EDT [20833] HINT: Future log output will appear in directory "log". Aug 29 16:55:24 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:29 managed-node2 systemd[1]: postgresql.service: Killing process 20835 (postmaster) with signal SIGKILL. Aug 29 16:55:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:49 managed-node2 postmaster[25199]: 2026-08-29 16:55:49.926 EDT [25199] LOG: redirecting log output to logging collector process Aug 29 16:55:49 managed-node2 postmaster[25199]: 2026-08-29 16:55:49.926 EDT [25199] HINT: Future log output will appear in directory "log". Aug 29 16:55:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:53 managed-node2 systemd[1]: postgresql.service: Killing process 25200 (postmaster) with signal SIGKILL. Aug 29 16:55:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:53 managed-node2 postmaster[25938]: 2026-08-29 16:55:53.129 EDT [25938] LOG: redirecting log output to logging collector process Aug 29 16:55:53 managed-node2 postmaster[25938]: 2026-08-29 16:55:53.129 EDT [25938] HINT: Future log output will appear in directory "log". Aug 29 16:55:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:56 managed-node2 systemd[1]: postgresql.service: Killing process 25940 (postmaster) with signal SIGKILL. Aug 29 16:55:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:56 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[30170]: 2026-08-29 16:56:17.565 EDT [30170] LOG: redirecting log output to logging collector process Aug 29 16:56:17 managed-node2 postmaster[30170]: 2026-08-29 16:56:17.565 EDT [30170] 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:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:21 managed-node2 systemd[1]: postgresql.service: Killing process 30171 (postmaster) with signal SIGKILL. Aug 29 16:56:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:21 managed-node2 postmaster[30978]: 2026-08-29 16:56:21.118 EDT [30978] LOG: redirecting log output to logging collector process Aug 29 16:56:21 managed-node2 postmaster[30978]: 2026-08-29 16:56:21.118 EDT [30978] HINT: Future log output will appear in directory "log". Aug 29 16:56:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:43 managed-node2 systemd[1]: postgresql.service: Killing process 30979 (postmaster) with signal SIGKILL. Aug 29 16:56:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.411 EDT [35683] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.411 EDT [35683] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.413 EDT [35683] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.416 EDT [35683] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.426 EDT [35683] LOG: redirecting log output to logging collector process Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.426 EDT [35683] HINT: Future log output will appear in directory "log". Aug 29 16:56:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:01 managed-node2 systemd[1]: postgresql.service: Killing process 35685 (postmaster) with signal SIGKILL. Aug 29 16:57:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.726 EDT [36492] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.726 EDT [36492] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.727 EDT [36492] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.731 EDT [36492] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.759 EDT [36492] LOG: redirecting log output to logging collector process Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.759 EDT [36492] HINT: Future log output will appear in directory "log". Aug 29 16:57:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:23 managed-node2 systemd[1]: postgresql.service: Killing process 36493 (postmaster) with signal SIGKILL. Aug 29 16:57:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.666 EDT [41225] 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:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.667 EDT [41225] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.667 EDT [41225] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.669 EDT [41225] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.673 EDT [41225] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.683 EDT [41225] LOG: redirecting log output to logging collector process Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.683 EDT [41225] HINT: Future log output will appear in directory "log". Aug 29 16:57:38 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:41 managed-node2 systemd[1]: postgresql.service: Killing process 41226 (postmaster) with signal SIGKILL. Aug 29 16:57:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.948 EDT [42033] 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:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.948 EDT [42033] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.948 EDT [42033] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.950 EDT [42033] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.954 EDT [42033] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.983 EDT [42033] LOG: redirecting log output to logging collector process Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.983 EDT [42033] HINT: Future log output will appear in directory "log". Aug 29 16:57:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:58:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:58:03 managed-node2 systemd[1]: postgresql.service: Killing process 42034 (postmaster) with signal SIGKILL. Aug 29 16:58:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:58:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:58:06 -0400 (0:00:00.356) 0:02:04.171 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:58:06 -0400 (0:00:00.071) 0:02:04.243 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:58:06 -0400 (0:00:00.015) 0:02:04.259 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:58:06 -0400 (0:00:00.032) 0:02:04.291 ******* included: /tmp/collections-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:58:06 -0400 (0:00:00.035) 0:02:04.327 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:58:07 -0400 (0:00:00.689) 0:02:05.016 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T16:58:07-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:58:07 -0400 (0:00:00.346) 0:02:05.363 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:58:07 -0400 (0:00:00.016) 0:02:05.379 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:58:07 -0400 (0:00:00.016) 0:02:05.395 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:58:07 -0400 (0:00:00.016) 0:02:05.411 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:58:07 -0400 (0:00:00.020) 0:02:05.432 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:58:08 -0400 (0:00:00.016) 0:02:05.448 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "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-FCA/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-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:58:08 -0400 (0:00:00.049) 0:02:05.498 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:58:08 -0400 (0:00:00.343) 0:02:05.842 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:58:08 -0400 (0:00:00.339) 0:02:06.182 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:58:09 -0400 (0:00:00.343) 0:02:06.526 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:58:10 -0400 (0:00:01.417) 0:02:07.943 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:58:10 -0400 (0:00:00.049) 0:02:07.992 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:58:10 -0400 (0:00:00.044) 0:02:08.037 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:58:10 -0400 (0:00:00.044) 0:02:08.082 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:58:10 -0400 (0:00:00.034) 0:02:08.117 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:58:17 -0400 (0:00:06.334) 0:02:14.452 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.735303", "end": "2026-08-29 16:58:18.070589", "rc": 0, "start": "2026-08-29 16:58:17.335286" } 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:58:18 -0400 (0:00:01.116) 0:02:15.568 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:58:18 -0400 (0:00:00.028) 0:02:15.596 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:58:18 -0400 (0:00:00.027) 0:02:15.624 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:58:18 -0400 (0:00:00.027) 0:02:15.651 ******* 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.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:58:19 -0400 (0:00:01.053) 0:02:16.705 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.025) 0:02:16.730 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.024) 0:02:16.755 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.025) 0:02:16.781 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.025) 0:02:16.806 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.024) 0:02:16.831 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.048) 0:02:16.879 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.025) 0:02:16.905 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.025) 0:02:16.930 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.026) 0:02:16.956 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.025) 0:02:16.982 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.025) 0:02:17.007 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.025) 0:02:17.032 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.026) 0:02:17.059 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.025) 0:02:17.084 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.025) 0:02:17.109 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:58:19 -0400 (0:00:00.024) 0:02:17.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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:58:20 -0400 (0:00:00.359) 0:02:17.494 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:58:20 -0400 (0:00:00.365) 0:02:17.859 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788037100.462818-14414-19753432694427/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:58:21 -0400 (0:00:00.726) 0:02:18.585 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:58:21 -0400 (0:00:00.024) 0:02:18.610 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:58:21 -0400 (0:00:00.024) 0:02:18.635 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T16:58:21-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:58:21 -0400 (0:00:00.372) 0:02:19.007 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:58:21 -0400 (0:00:00.013) 0:02:19.021 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-29 16:58:19 EDT", "ActiveEnterTimestampMonotonic": "531168976", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket network.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:58:19 EDT", "AssertTimestampMonotonic": "531118864", "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:58:19 EDT", "ConditionTimestampMonotonic": "531118864", "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": "46778", "ExecMainStartTimestamp": "Sat 2026-08-29 16:58:19 EDT", "ExecMainStartTimestampMonotonic": "531128873", "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:58:19 EDT] ; stop_time=[n/a] ; pid=46778 ; 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:58:19 EDT] ; stop_time=[Sat 2026-08-29 16:58:19 EDT] ; pid=46775 ; 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:58:19 EDT", "InactiveExitTimestampMonotonic": "531119897", "InvocationID": "e1bc7e56457748ad9c6343221ac6e0a3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "46778", "MemoryAccounting": "yes", "MemoryCurrent": "18481152", "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:58:19 EDT", "StateChangeTimestampMonotonic": "531168976", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-29 16:58:19 EDT", "WatchdogTimestampMonotonic": "531168974", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:58:22 -0400 (0:00:00.954) 0:02:19.975 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007967", "end": "2026-08-29 16:58:22.839697", "rc": 0, "start": "2026-08-29 16:58:22.831730" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:58:22 -0400 (0:00:00.360) 0:02:20.336 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008482", "end": "2026-08-29 16:58:23.195169", "rc": 0, "start": "2026-08-29 16:58:23.186687" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:58:23 -0400 (0:00:00.355) 0:02:20.692 ******* ok: [managed-node2] => { "ansible_job_id": "702439778347.47984", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012414", "end": "2026-08-29 16:58:23.790464", "finished": 1, "rc": 0, "start": "2026-08-29 16:58:23.778050" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:58:39 -0400 (0:00:15.767) 0:02:36.459 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009842", "end": "2026-08-29 16:58:39.339257", "rc": 0, "start": "2026-08-29 16:58:39.329415" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:58:39 -0400 (0:00:00.377) 0:02:36.837 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:58:39 -0400 (0:00:00.072) 0:02:36.909 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009643", "end": "2026-08-29 16:58:39.792541", "rc": 0, "start": "2026-08-29 16:58:39.782898" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:58:39 -0400 (0:00:00.381) 0:02:37.291 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:58:39 -0400 (0:00:00.044) 0:02:37.336 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009203", "end": "2026-08-29 16:58:40.204650", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:58:40.195447" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:58:40 -0400 (0:00:00.372) 0:02:37.708 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:58:40 -0400 (0:00:00.049) 0:02:37.758 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:58:45 -0400 (0:00:04.729) 0:02:42.487 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:58:45 -0400 (0:00:00.025) 0:02:42.512 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:58:45 -0400 (0:00:00.409) 0:02:42.922 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-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-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:58:46 -0400 (0:00:01.388) 0:02:44.311 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008431", "end": "2026-08-29 16:58:47.177697", "rc": 0, "start": "2026-08-29 16:58:47.169266" } STDOUT: -- Logs begin at Sat 2026-08-29 16:49:29 EDT, end at Sat 2026-08-29 16:58:47 EDT. -- Aug 29 16:54:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:32 managed-node2 postmaster[10418]: 2026-08-29 16:54:32.542 EDT [10418] LOG: redirecting log output to logging collector process Aug 29 16:54:32 managed-node2 postmaster[10418]: 2026-08-29 16:54:32.542 EDT [10418] 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:40 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:41 managed-node2 systemd[1]: postgresql.service: Killing process 10419 (postmaster) with signal SIGKILL. Aug 29 16:54:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:41 managed-node2 postmaster[12681]: 2026-08-29 16:54:41.056 EDT [12681] LOG: redirecting log output to logging collector process Aug 29 16:54:41 managed-node2 postmaster[12681]: 2026-08-29 16:54:41.056 EDT [12681] HINT: Future log output will appear in directory "log". Aug 29 16:54:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:45 managed-node2 systemd[1]: postgresql.service: Killing process 12682 (postmaster) with signal SIGKILL. Aug 29 16:54:45 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:18 managed-node2 postmaster[19293]: 2026-08-29 16:55:18.498 EDT [19293] LOG: redirecting log output to logging collector process Aug 29 16:55:18 managed-node2 postmaster[19293]: 2026-08-29 16:55:18.498 EDT [19293] HINT: Future log output will appear in directory "log". Aug 29 16:55:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:24 managed-node2 systemd[1]: postgresql.service: Killing process 19294 (postmaster) with signal SIGKILL. Aug 29 16:55:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:24 managed-node2 postmaster[20833]: 2026-08-29 16:55:24.310 EDT [20833] LOG: redirecting log output to logging collector process Aug 29 16:55:24 managed-node2 postmaster[20833]: 2026-08-29 16:55:24.310 EDT [20833] HINT: Future log output will appear in directory "log". Aug 29 16:55:24 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:29 managed-node2 systemd[1]: postgresql.service: Killing process 20835 (postmaster) with signal SIGKILL. Aug 29 16:55:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:49 managed-node2 postmaster[25199]: 2026-08-29 16:55:49.926 EDT [25199] LOG: redirecting log output to logging collector process Aug 29 16:55:49 managed-node2 postmaster[25199]: 2026-08-29 16:55:49.926 EDT [25199] HINT: Future log output will appear in directory "log". Aug 29 16:55:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:53 managed-node2 systemd[1]: postgresql.service: Killing process 25200 (postmaster) with signal SIGKILL. Aug 29 16:55:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:53 managed-node2 postmaster[25938]: 2026-08-29 16:55:53.129 EDT [25938] LOG: redirecting log output to logging collector process Aug 29 16:55:53 managed-node2 postmaster[25938]: 2026-08-29 16:55:53.129 EDT [25938] HINT: Future log output will appear in directory "log". Aug 29 16:55:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:56 managed-node2 systemd[1]: postgresql.service: Killing process 25940 (postmaster) with signal SIGKILL. Aug 29 16:55:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:56 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[30170]: 2026-08-29 16:56:17.565 EDT [30170] LOG: redirecting log output to logging collector process Aug 29 16:56:17 managed-node2 postmaster[30170]: 2026-08-29 16:56:17.565 EDT [30170] 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:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:21 managed-node2 systemd[1]: postgresql.service: Killing process 30171 (postmaster) with signal SIGKILL. Aug 29 16:56:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:21 managed-node2 postmaster[30978]: 2026-08-29 16:56:21.118 EDT [30978] LOG: redirecting log output to logging collector process Aug 29 16:56:21 managed-node2 postmaster[30978]: 2026-08-29 16:56:21.118 EDT [30978] HINT: Future log output will appear in directory "log". Aug 29 16:56:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:43 managed-node2 systemd[1]: postgresql.service: Killing process 30979 (postmaster) with signal SIGKILL. Aug 29 16:56:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.411 EDT [35683] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.411 EDT [35683] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.413 EDT [35683] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.416 EDT [35683] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.426 EDT [35683] LOG: redirecting log output to logging collector process Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.426 EDT [35683] HINT: Future log output will appear in directory "log". Aug 29 16:56:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:01 managed-node2 systemd[1]: postgresql.service: Killing process 35685 (postmaster) with signal SIGKILL. Aug 29 16:57:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.726 EDT [36492] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.726 EDT [36492] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.727 EDT [36492] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.731 EDT [36492] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.759 EDT [36492] LOG: redirecting log output to logging collector process Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.759 EDT [36492] HINT: Future log output will appear in directory "log". Aug 29 16:57:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:23 managed-node2 systemd[1]: postgresql.service: Killing process 36493 (postmaster) with signal SIGKILL. Aug 29 16:57:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.666 EDT [41225] 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:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.667 EDT [41225] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.667 EDT [41225] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.669 EDT [41225] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.673 EDT [41225] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.683 EDT [41225] LOG: redirecting log output to logging collector process Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.683 EDT [41225] HINT: Future log output will appear in directory "log". Aug 29 16:57:38 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:41 managed-node2 systemd[1]: postgresql.service: Killing process 41226 (postmaster) with signal SIGKILL. Aug 29 16:57:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.948 EDT [42033] 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:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.948 EDT [42033] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.948 EDT [42033] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.950 EDT [42033] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.954 EDT [42033] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.983 EDT [42033] LOG: redirecting log output to logging collector process Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.983 EDT [42033] HINT: Future log output will appear in directory "log". Aug 29 16:57:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:58:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:58:03 managed-node2 systemd[1]: postgresql.service: Killing process 42034 (postmaster) with signal SIGKILL. Aug 29 16:58:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:58:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:58:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:58:19 managed-node2 postmaster[46778]: 2026-08-29 16:58:19.180 EDT [46778] LOG: redirecting log output to logging collector process Aug 29 16:58:19 managed-node2 postmaster[46778]: 2026-08-29 16:58:19.180 EDT [46778] HINT: Future log output will appear in directory "log". Aug 29 16:58:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:58:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:58:22 managed-node2 systemd[1]: postgresql.service: Killing process 46779 (postmaster) with signal SIGKILL. Aug 29 16:58:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:58:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:58:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:58:22 managed-node2 postmaster[47584]: 2026-08-29 16:58:22.450 EDT [47584] LOG: redirecting log output to logging collector process Aug 29 16:58:22 managed-node2 postmaster[47584]: 2026-08-29 16:58:22.450 EDT [47584] HINT: Future log output will appear in directory "log". Aug 29 16:58:22 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:58:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:58:44 managed-node2 systemd[1]: postgresql.service: Killing process 47587 (postmaster) with signal SIGKILL. Aug 29 16:58:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:58:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:58:47 -0400 (0:00:00.367) 0:02:44.678 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:58:47 -0400 (0:00:00.050) 0:02:44.729 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:58:47 -0400 (0:00:00.015) 0:02:44.745 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:58:47 -0400 (0:00:00.034) 0:02:44.779 ******* included: /tmp/collections-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:58:47 -0400 (0:00:00.035) 0:02:44.814 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:58:48 -0400 (0:00:00.697) 0:02:45.511 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T16:58:48-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:58:48 -0400 (0:00:00.349) 0:02:45.861 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:58:48 -0400 (0:00:00.016) 0:02:45.877 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:58:48 -0400 (0:00:00.016) 0:02:45.894 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:58:48 -0400 (0:00:00.015) 0:02:45.909 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:58:48 -0400 (0:00:00.015) 0:02:45.925 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:58:48 -0400 (0:00:00.015) 0:02:45.941 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "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-FCA/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-FCA/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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:58:48 -0400 (0:00:00.049) 0:02:45.990 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:58:48 -0400 (0:00:00.340) 0:02:46.330 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:58:49 -0400 (0:00:00.343) 0:02:46.674 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:58:49 -0400 (0:00:00.342) 0:02:47.016 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:58:50 -0400 (0:00:01.411) 0:02:48.428 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:58:51 -0400 (0:00:00.048) 0:02:48.476 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:58:51 -0400 (0:00:00.044) 0:02:48.521 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:58:51 -0400 (0:00:00.044) 0:02:48.566 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:58:51 -0400 (0:00:00.036) 0:02:48.603 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:58:57 -0400 (0:00:06.379) 0:02:54.982 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.711276", "end": "2026-08-29 16:58:58.587029", "rc": 0, "start": "2026-08-29 16:58:57.875753" } 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:58:58 -0400 (0:00:01.103) 0:02:56.085 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:58:58 -0400 (0:00:00.029) 0:02:56.114 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:58:58 -0400 (0:00:00.028) 0:02:56.142 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:58:58 -0400 (0:00:00.027) 0:02:56.170 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:58:59 -0400 (0:00:01.074) 0:02:57.244 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:58:59 -0400 (0:00:00.025) 0:02:57.269 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:58:59 -0400 (0:00:00.024) 0:02:57.294 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:58:59 -0400 (0:00:00.024) 0:02:57.319 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:58:59 -0400 (0:00:00.024) 0:02:57.343 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:58:59 -0400 (0:00:00.025) 0:02:57.369 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:58:59 -0400 (0:00:00.046) 0:02:57.416 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.026) 0:02:57.442 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.025) 0:02:57.468 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.025) 0:02:57.493 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.025) 0:02:57.519 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.026) 0:02:57.545 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.024) 0:02:57.570 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.024) 0:02:57.594 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.024) 0:02:57.619 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.026) 0:02:57.645 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.050) 0:02:57.696 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.368) 0:02:58.064 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 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-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:59:00 -0400 (0:00:00.356) 0:02:58.421 ******* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788037141.0237617-14884-227741486778668/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:59:01 -0400 (0:00:00.731) 0:02:59.152 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:59:01 -0400 (0:00:00.026) 0:02:59.178 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:59:01 -0400 (0:00:00.026) 0:02:59.205 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T16:59:02-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:59:02 -0400 (0:00:00.387) 0:02:59.593 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:59:02 -0400 (0:00:00.014) 0:02:59.607 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-29 16:58:59 EDT", "ActiveEnterTimestampMonotonic": "571707786", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target system.slice basic.target sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:58:59 EDT", "AssertTimestampMonotonic": "571656095", "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:58:59 EDT", "ConditionTimestampMonotonic": "571656095", "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": "52326", "ExecMainStartTimestamp": "Sat 2026-08-29 16:58:59 EDT", "ExecMainStartTimestampMonotonic": "571666364", "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:58:59 EDT] ; stop_time=[n/a] ; pid=52326 ; 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:58:59 EDT] ; stop_time=[Sat 2026-08-29 16:58:59 EDT] ; pid=52323 ; 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:58:59 EDT", "InactiveExitTimestampMonotonic": "571657176", "InvocationID": "8fd49dfaf27345698f671357a77b7da4", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52326", "MemoryAccounting": "yes", "MemoryCurrent": "18694144", "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:58:59 EDT", "StateChangeTimestampMonotonic": "571707786", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-08-29 16:58:59 EDT", "WatchdogTimestampMonotonic": "571707784", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:59:03 -0400 (0:00:00.969) 0:03:00.576 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008190", "end": "2026-08-29 16:59:03.446303", "rc": 0, "start": "2026-08-29 16:59:03.438113" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:59:03 -0400 (0:00:00.365) 0:03:00.942 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008485", "end": "2026-08-29 16:59:03.800238", "rc": 0, "start": "2026-08-29 16:59:03.791753" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:59:03 -0400 (0:00:00.354) 0:03:01.296 ******* ok: [managed-node2] => { "ansible_job_id": "466937764650.53531", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012732", "end": "2026-08-29 16:59:04.409533", "finished": 1, "rc": 0, "start": "2026-08-29 16:59:04.396801" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:59:19 -0400 (0:00:15.774) 0:03:17.071 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009736", "end": "2026-08-29 16:59:19.949832", "rc": 0, "start": "2026-08-29 16:59:19.940096" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:59:20 -0400 (0:00:00.376) 0:03:17.447 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:59:20 -0400 (0:00:00.044) 0:03:17.492 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009615", "end": "2026-08-29 16:59:20.371616", "rc": 0, "start": "2026-08-29 16:59:20.362001" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:59:20 -0400 (0:00:00.376) 0:03:17.868 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:59:20 -0400 (0:00:00.045) 0:03:17.913 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009421", "end": "2026-08-29 16:59:20.777133", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:59:20.767712" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:59:20 -0400 (0:00:00.365) 0:03:18.279 ******* included: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:59:20 -0400 (0:00:00.048) 0:03:18.327 ******* 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-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:59:25 -0400 (0:00:04.696) 0:03:23.024 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:59:25 -0400 (0:00:00.025) 0:03:23.050 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:59:26 -0400 (0:00:00.398) 0:03:23.448 ******* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-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-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:59:27 -0400 (0:00:01.365) 0:03:24.813 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008008", "end": "2026-08-29 16:59:27.672169", "rc": 0, "start": "2026-08-29 16:59:27.664161" } STDOUT: -- Logs begin at Sat 2026-08-29 16:49:29 EDT, end at Sat 2026-08-29 16:59:27 EDT. -- Aug 29 16:54:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:32 managed-node2 postmaster[10418]: 2026-08-29 16:54:32.542 EDT [10418] LOG: redirecting log output to logging collector process Aug 29 16:54:32 managed-node2 postmaster[10418]: 2026-08-29 16:54:32.542 EDT [10418] 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:40 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:41 managed-node2 systemd[1]: postgresql.service: Killing process 10419 (postmaster) with signal SIGKILL. Aug 29 16:54:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:41 managed-node2 postmaster[12681]: 2026-08-29 16:54:41.056 EDT [12681] LOG: redirecting log output to logging collector process Aug 29 16:54:41 managed-node2 postmaster[12681]: 2026-08-29 16:54:41.056 EDT [12681] HINT: Future log output will appear in directory "log". Aug 29 16:54:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:45 managed-node2 systemd[1]: postgresql.service: Killing process 12682 (postmaster) with signal SIGKILL. Aug 29 16:54:45 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:54:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:18 managed-node2 postmaster[19293]: 2026-08-29 16:55:18.498 EDT [19293] LOG: redirecting log output to logging collector process Aug 29 16:55:18 managed-node2 postmaster[19293]: 2026-08-29 16:55:18.498 EDT [19293] HINT: Future log output will appear in directory "log". Aug 29 16:55:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:24 managed-node2 systemd[1]: postgresql.service: Killing process 19294 (postmaster) with signal SIGKILL. Aug 29 16:55:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:24 managed-node2 postmaster[20833]: 2026-08-29 16:55:24.310 EDT [20833] LOG: redirecting log output to logging collector process Aug 29 16:55:24 managed-node2 postmaster[20833]: 2026-08-29 16:55:24.310 EDT [20833] HINT: Future log output will appear in directory "log". Aug 29 16:55:24 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:29 managed-node2 systemd[1]: postgresql.service: Killing process 20835 (postmaster) with signal SIGKILL. Aug 29 16:55:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:49 managed-node2 postmaster[25199]: 2026-08-29 16:55:49.926 EDT [25199] LOG: redirecting log output to logging collector process Aug 29 16:55:49 managed-node2 postmaster[25199]: 2026-08-29 16:55:49.926 EDT [25199] HINT: Future log output will appear in directory "log". Aug 29 16:55:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:53 managed-node2 systemd[1]: postgresql.service: Killing process 25200 (postmaster) with signal SIGKILL. Aug 29 16:55:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:53 managed-node2 postmaster[25938]: 2026-08-29 16:55:53.129 EDT [25938] LOG: redirecting log output to logging collector process Aug 29 16:55:53 managed-node2 postmaster[25938]: 2026-08-29 16:55:53.129 EDT [25938] HINT: Future log output will appear in directory "log". Aug 29 16:55:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:56 managed-node2 systemd[1]: postgresql.service: Killing process 25940 (postmaster) with signal SIGKILL. Aug 29 16:55:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:55:56 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[30170]: 2026-08-29 16:56:17.565 EDT [30170] LOG: redirecting log output to logging collector process Aug 29 16:56:17 managed-node2 postmaster[30170]: 2026-08-29 16:56:17.565 EDT [30170] 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:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:21 managed-node2 systemd[1]: postgresql.service: Killing process 30171 (postmaster) with signal SIGKILL. Aug 29 16:56:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:21 managed-node2 postmaster[30978]: 2026-08-29 16:56:21.118 EDT [30978] LOG: redirecting log output to logging collector process Aug 29 16:56:21 managed-node2 postmaster[30978]: 2026-08-29 16:56:21.118 EDT [30978] HINT: Future log output will appear in directory "log". Aug 29 16:56:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:43 managed-node2 systemd[1]: postgresql.service: Killing process 30979 (postmaster) with signal SIGKILL. Aug 29 16:56:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:56:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.411 EDT [35683] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.411 EDT [35683] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.413 EDT [35683] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.416 EDT [35683] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.426 EDT [35683] LOG: redirecting log output to logging collector process Aug 29 16:56:58 managed-node2 postmaster[35683]: 2026-08-29 16:56:58.426 EDT [35683] HINT: Future log output will appear in directory "log". Aug 29 16:56:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:01 managed-node2 systemd[1]: postgresql.service: Killing process 35685 (postmaster) with signal SIGKILL. Aug 29 16:57:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.726 EDT [36492] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.726 EDT [36492] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.727 EDT [36492] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.731 EDT [36492] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.759 EDT [36492] LOG: redirecting log output to logging collector process Aug 29 16:57:01 managed-node2 postmaster[36492]: 2026-08-29 16:57:01.759 EDT [36492] HINT: Future log output will appear in directory "log". Aug 29 16:57:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:23 managed-node2 systemd[1]: postgresql.service: Killing process 36493 (postmaster) with signal SIGKILL. Aug 29 16:57:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.666 EDT [41225] 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:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.667 EDT [41225] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.667 EDT [41225] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.669 EDT [41225] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.673 EDT [41225] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.683 EDT [41225] LOG: redirecting log output to logging collector process Aug 29 16:57:38 managed-node2 postmaster[41225]: 2026-08-29 16:57:38.683 EDT [41225] HINT: Future log output will appear in directory "log". Aug 29 16:57:38 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:57:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:57:41 managed-node2 systemd[1]: postgresql.service: Killing process 41226 (postmaster) with signal SIGKILL. Aug 29 16:57:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:57:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:57:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.948 EDT [42033] 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:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.948 EDT [42033] LOG: listening on IPv6 address "::1", port 5432 Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.948 EDT [42033] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.950 EDT [42033] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.954 EDT [42033] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.983 EDT [42033] LOG: redirecting log output to logging collector process Aug 29 16:57:41 managed-node2 postmaster[42033]: 2026-08-29 16:57:41.983 EDT [42033] HINT: Future log output will appear in directory "log". Aug 29 16:57:41 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:58:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:58:03 managed-node2 systemd[1]: postgresql.service: Killing process 42034 (postmaster) with signal SIGKILL. Aug 29 16:58:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:58:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:58:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:58:19 managed-node2 postmaster[46778]: 2026-08-29 16:58:19.180 EDT [46778] LOG: redirecting log output to logging collector process Aug 29 16:58:19 managed-node2 postmaster[46778]: 2026-08-29 16:58:19.180 EDT [46778] HINT: Future log output will appear in directory "log". Aug 29 16:58:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:58:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:58:22 managed-node2 systemd[1]: postgresql.service: Killing process 46779 (postmaster) with signal SIGKILL. Aug 29 16:58:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:58:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:58:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:58:22 managed-node2 postmaster[47584]: 2026-08-29 16:58:22.450 EDT [47584] LOG: redirecting log output to logging collector process Aug 29 16:58:22 managed-node2 postmaster[47584]: 2026-08-29 16:58:22.450 EDT [47584] HINT: Future log output will appear in directory "log". Aug 29 16:58:22 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:58:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:58:44 managed-node2 systemd[1]: postgresql.service: Killing process 47587 (postmaster) with signal SIGKILL. Aug 29 16:58:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:58:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:58:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:58:59 managed-node2 postgres[52326]: 2026-08-29 16:58:59.718 EDT [52326] LOG: redirecting log output to logging collector process Aug 29 16:58:59 managed-node2 postgres[52326]: 2026-08-29 16:58:59.718 EDT [52326] HINT: Future log output will appear in directory "log". Aug 29 16:58:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:59:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:59:02 managed-node2 systemd[1]: postgresql.service: Killing process 52327 (postgres) with signal SIGKILL. Aug 29 16:59:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:59:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:59:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:59:03 managed-node2 postgres[53133]: 2026-08-29 16:59:03.051 EDT [53133] LOG: redirecting log output to logging collector process Aug 29 16:59:03 managed-node2 postgres[53133]: 2026-08-29 16:59:03.051 EDT [53133] HINT: Future log output will appear in directory "log". Aug 29 16:59:03 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:59:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:59:24 managed-node2 systemd[1]: postgresql.service: Killing process 53134 (postgres) with signal SIGKILL. Aug 29 16:59:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 29 16:59:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. META: ran handlers META: ran handlers 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:59:27 -0400 (0:00:00.346) 0:03:25.160 ******* =============================================================================== fedora.linux_system_roles.postgresql : Ensure required packages are installed -- 30.92s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Test - database is accessible for super user using Unix socket --------- 16.02s /tmp/collections-FCA/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.77s /tmp/collections-FCA/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.77s /tmp/collections-FCA/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.77s /tmp/collections-FCA/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.77s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 fedora.linux_system_roles.postgresql : Gather the package facts --------- 7.39s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 5.55s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 5.53s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 fedora.linux_system_roles.postgresql : Restart postgresql --------------- 4.81s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Uninstall postgresql ---------------------------------------------------- 4.73s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.73s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.72s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.70s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.68s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf --- 3.73s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 fedora.linux_system_roles.postgresql : Create postgresql directory in /etc --- 1.93s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 fedora.linux_system_roles.postgresql : Link generated conf file with server one --- 1.90s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 fedora.linux_system_roles.postgresql : Record role success fingerprint --- 1.88s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Remove config files ----------------------------------------------------- 1.39s /tmp/collections-FCA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32