ansible-playbook [core 2.16.19] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-JlX executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-JlX/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-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 20 June 2026 15:53:35 -0400 (0:00:00.028) 0:00:00.028 ********* ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 20 June 2026 15:53:36 -0400 (0:00:01.099) 0:00:01.128 ********* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 20 June 2026 15:53:36 -0400 (0:00:00.005) 0:00:01.134 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 20 June 2026 15:53:36 -0400 (0:00:00.039) 0:00:01.174 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 20 June 2026 15:53:36 -0400 (0:00:00.045) 0:00:01.219 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 20 June 2026 15:53:36 -0400 (0:00:00.000) 0:00:01.220 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 20 June 2026 15:53:36 -0400 (0:00:00.017) 0:00:01.237 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 20 June 2026 15:53:36 -0400 (0:00:00.079) 0:00:01.317 ********* included: /tmp/collections-JlX/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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 20 June 2026 15:53:36 -0400 (0:00:00.024) 0:00:01.341 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 20 June 2026 15:53:37 -0400 (0:00:00.792) 0:00:02.134 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 20 June 2026 15:53:37 -0400 (0:00:00.452) 0:00:02.586 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 20 June 2026 15:53:38 -0400 (0:00:00.477) 0:00:03.063 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 20 June 2026 15:53:38 -0400 (0:00:00.023) 0:00:03.087 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008245", "end": "2026-06-20 15:53:38.568842", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:53:38.560597" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 20 June 2026 15:53:38 -0400 (0:00:00.446) 0:00:03.534 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 20 June 2026 15:53:38 -0400 (0:00:00.019) 0:00:03.553 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 20 June 2026 15:53:38 -0400 (0:00:00.019) 0:00:03.573 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-JlX/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-JlX/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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 20 June 2026 15:53:38 -0400 (0:00:00.037) 0:00:03.611 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 20 June 2026 15:53:39 -0400 (0:00:00.333) 0:00:03.944 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 20 June 2026 15:53:39 -0400 (0:00:00.336) 0:00:04.280 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 20 June 2026 15:53:39 -0400 (0:00:00.340) 0:00:04.621 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 20 June 2026 15:53:41 -0400 (0:00:01.624) 0:00:06.245 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 20 June 2026 15:53:41 -0400 (0:00:00.030) 0:00:06.276 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 20 June 2026 15:53:41 -0400 (0:00:00.023) 0:00:06.300 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 20 June 2026 15:53:41 -0400 (0:00:00.022) 0:00:06.322 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 20 June 2026 15:53:41 -0400 (0:00:00.018) 0:00:06.341 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 20 June 2026 15:53:47 -0400 (0:00:06.304) 0:00:12.646 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.736507", "end": "2026-06-20 15:53:48.769547", "rc": 0, "start": "2026-06-20 15:53:48.033040" } 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 20 June 2026 15:53:48 -0400 (0:00:01.095) 0:00:13.741 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 20 June 2026 15:53:48 -0400 (0:00:00.019) 0:00:13.761 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 20 June 2026 15:53:48 -0400 (0:00:00.017) 0:00:13.778 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 20 June 2026 15:53:48 -0400 (0:00:00.017) 0:00:13.795 ********* 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 systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 20 June 2026 15:53:50 -0400 (0:00:01.258) 0:00:15.054 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.020) 0:00:15.075 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.019) 0:00:15.095 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.019) 0:00:15.114 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.016) 0:00:15.131 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.019) 0:00:15.150 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.028) 0:00:15.179 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.017) 0:00:15.197 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.016) 0:00:15.213 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.016) 0:00:15.230 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.017) 0:00:15.248 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.018) 0:00:15.266 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.016) 0:00:15.283 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.016) 0:00:15.300 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.015) 0:00:15.315 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.016) 0:00:15.332 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.019) 0:00:15.351 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.467) 0:00:15.819 ********* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 20 June 2026 15:53:51 -0400 (0:00:00.456) 0:00:16.275 ********* 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-1781985231.391503-12482-105255112358266/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 20 June 2026 15:53:52 -0400 (0:00:00.827) 0:00:17.102 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 20 June 2026 15:53:52 -0400 (0:00:00.021) 0:00:17.124 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 20 June 2026 15:53:52 -0400 (0:00:00.020) 0:00:17.144 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 20 June 2026 15:53:52 -0400 (0:00:00.334) 0:00:17.479 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 20 June 2026 15:53:52 -0400 (0:00:00.018) 0:00:17.497 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 20 June 2026 15:53:52 -0400 (0:00:00.005) 0:00:17.502 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-20 15:53:50 EDT", "ActiveEnterTimestampMonotonic": "350045377", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target systemd-journald.socket sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-20 15:53:50 EDT", "AssertTimestampMonotonic": "349993104", "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-06-20 15:53:50 EDT", "ConditionTimestampMonotonic": "349993104", "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": "30217", "ExecMainStartTimestamp": "Sat 2026-06-20 15:53:50 EDT", "ExecMainStartTimestampMonotonic": "350003479", "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-06-20 15:53:50 EDT] ; stop_time=[n/a] ; pid=30217 ; 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-06-20 15:53:50 EDT] ; stop_time=[Sat 2026-06-20 15:53:50 EDT] ; pid=30214 ; 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-06-20 15:53:50 EDT", "InactiveExitTimestampMonotonic": "349994154", "InvocationID": "66eebe7288fc489a9a83aa8b5daf36da", "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": "30217", "MemoryAccounting": "yes", "MemoryCurrent": "17788928", "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-06-20 15:53:50 EDT", "StateChangeTimestampMonotonic": "350045377", "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-06-20 15:53:50 EDT", "WatchdogTimestampMonotonic": "350045375", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 20 June 2026 15:53:53 -0400 (0:00:00.951) 0:00:18.454 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008373", "end": "2026-06-20 15:53:53.823500", "rc": 0, "start": "2026-06-20 15:53:53.815127" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 20 June 2026 15:53:53 -0400 (0:00:00.340) 0:00:18.795 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008731", "end": "2026-06-20 15:53:54.167885", "rc": 0, "start": "2026-06-20 15:53:54.159154" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 20 June 2026 15:53:54 -0400 (0:00:00.341) 0:00:19.137 ********* ASYNC OK on managed-node2: jid=j120498843393.31424 ok: [managed-node2] => { "ansible_job_id": "j120498843393.31424", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012826", "end": "2026-06-20 15:53:54.832187", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j120498843393.31424", "start": "2026-06-20 15:53:54.819361", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 20 June 2026 15:54:10 -0400 (0:00:16.211) 0:00:35.348 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009847", "end": "2026-06-20 15:54:10.735533", "rc": 0, "start": "2026-06-20 15:54:10.725686" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 20 June 2026 15:54:10 -0400 (0:00:00.361) 0:00:35.709 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 20 June 2026 15:54:10 -0400 (0:00:00.035) 0:00:35.745 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010337", "end": "2026-06-20 15:54:11.132018", "rc": 0, "start": "2026-06-20 15:54:11.121681" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 20 June 2026 15:54:11 -0400 (0:00:00.357) 0:00:36.102 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 20 June 2026 15:54:11 -0400 (0:00:00.031) 0:00:36.134 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009431", "end": "2026-06-20 15:54:11.508479", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:54:11.499048" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 20 June 2026 15:54:11 -0400 (0:00:00.353) 0:00:36.488 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 20 June 2026 15:54:11 -0400 (0:00:00.033) 0:00:36.522 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 20 June 2026 15:54:11 -0400 (0:00:00.004) 0:00:36.526 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 20 June 2026 15:54:16 -0400 (0:00:04.776) 0:00:41.303 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 20 June 2026 15:54:16 -0400 (0:00:00.018) 0:00:41.322 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 20 June 2026 15:54:16 -0400 (0:00:00.372) 0:00:41.694 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 20 June 2026 15:54:18 -0400 (0:00:01.280) 0:00:42.975 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007729", "end": "2026-06-20 15:54:18.339845", "rc": 0, "start": "2026-06-20 15:54:18.332116" } STDOUT: -- Logs begin at Sat 2026-06-20 15:48:01 EDT, end at Sat 2026-06-20 15:54:18 EDT. -- Jun 20 15:52:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:09 managed-node2 postmaster[10434]: 2026-06-20 15:52:09.156 EDT [10434] LOG: redirecting log output to logging collector process Jun 20 15:52:09 managed-node2 postmaster[10434]: 2026-06-20 15:52:09.156 EDT [10434] HINT: Future log output will appear in directory "log". Jun 20 15:52:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:16 managed-node2 systemd[1]: postgresql.service: Killing process 10435 (postmaster) with signal SIGKILL. Jun 20 15:52:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:17 managed-node2 postmaster[12697]: 2026-06-20 15:52:17.026 EDT [12697] LOG: redirecting log output to logging collector process Jun 20 15:52:17 managed-node2 postmaster[12697]: 2026-06-20 15:52:17.026 EDT [12697] HINT: Future log output will appear in directory "log". Jun 20 15:52:17 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:20 managed-node2 systemd[1]: postgresql.service: Killing process 12698 (postmaster) with signal SIGKILL. Jun 20 15:52:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:52 managed-node2 postmaster[19318]: 2026-06-20 15:52:52.714 EDT [19318] LOG: redirecting log output to logging collector process Jun 20 15:52:52 managed-node2 postmaster[19318]: 2026-06-20 15:52:52.714 EDT [19318] HINT: Future log output will appear in directory "log". Jun 20 15:52:52 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:58 managed-node2 systemd[1]: postgresql.service: Killing process 19319 (postmaster) with signal SIGKILL. Jun 20 15:52:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:58 managed-node2 postmaster[20859]: 2026-06-20 15:52:58.229 EDT [20859] LOG: redirecting log output to logging collector process Jun 20 15:52:58 managed-node2 postmaster[20859]: 2026-06-20 15:52:58.229 EDT [20859] HINT: Future log output will appear in directory "log". Jun 20 15:52:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:03 managed-node2 systemd[1]: postgresql.service: Killing process 20860 (postmaster) with signal SIGKILL. Jun 20 15:53:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:22 managed-node2 postmaster[25234]: 2026-06-20 15:53:22.808 EDT [25234] LOG: redirecting log output to logging collector process Jun 20 15:53:22 managed-node2 postmaster[25234]: 2026-06-20 15:53:22.808 EDT [25234] HINT: Future log output will appear in directory "log". Jun 20 15:53:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:26 managed-node2 systemd[1]: postgresql.service: Killing process 25235 (postmaster) with signal SIGKILL. Jun 20 15:53:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:26 managed-node2 postmaster[25973]: 2026-06-20 15:53:26.162 EDT [25973] LOG: redirecting log output to logging collector process Jun 20 15:53:26 managed-node2 postmaster[25973]: 2026-06-20 15:53:26.162 EDT [25973] HINT: Future log output will appear in directory "log". Jun 20 15:53:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:29 managed-node2 systemd[1]: postgresql.service: Killing process 25975 (postmaster) with signal SIGKILL. Jun 20 15:53:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:50 managed-node2 postmaster[30217]: 2026-06-20 15:53:50.053 EDT [30217] LOG: redirecting log output to logging collector process Jun 20 15:53:50 managed-node2 postmaster[30217]: 2026-06-20 15:53:50.053 EDT [30217] HINT: Future log output will appear in directory "log". Jun 20 15:53:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:53 managed-node2 systemd[1]: postgresql.service: Killing process 30218 (postmaster) with signal SIGKILL. Jun 20 15:53:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:53 managed-node2 postmaster[31024]: 2026-06-20 15:53:53.454 EDT [31024] LOG: redirecting log output to logging collector process Jun 20 15:53:53 managed-node2 postmaster[31024]: 2026-06-20 15:53:53.454 EDT [31024] HINT: Future log output will appear in directory "log". Jun 20 15:53:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:15 managed-node2 systemd[1]: postgresql.service: Killing process 31026 (postmaster) with signal SIGKILL. Jun 20 15:54:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 20 June 2026 15:54:18 -0400 (0:00:00.335) 0:00:43.310 ********* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 20 June 2026 15:54:18 -0400 (0:00:00.012) 0:00:43.323 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 20 June 2026 15:54:18 -0400 (0:00:00.023) 0:00:43.346 ********* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item != __default_version", "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 20 June 2026 15:54:18 -0400 (0:00:00.087) 0:00:43.434 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 20 June 2026 15:54:18 -0400 (0:00:00.027) 0:00:43.462 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 20 June 2026 15:54:18 -0400 (0:00:00.000) 0:00:43.462 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 20 June 2026 15:54:18 -0400 (0:00:00.015) 0:00:43.478 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 20 June 2026 15:54:18 -0400 (0:00:00.040) 0:00:43.518 ********* included: /tmp/collections-JlX/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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 20 June 2026 15:54:18 -0400 (0:00:00.024) 0:00:43.542 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 20 June 2026 15:54:19 -0400 (0:00:00.779) 0:00:44.322 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 20 June 2026 15:54:19 -0400 (0:00:00.319) 0:00:44.641 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 20 June 2026 15:54:19 -0400 (0:00:00.017) 0:00:44.659 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 20 June 2026 15:54:19 -0400 (0:00:00.016) 0:00:44.675 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 20 June 2026 15:54:19 -0400 (0:00:00.015) 0:00:44.691 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 20 June 2026 15:54:19 -0400 (0:00:00.015) 0:00:44.707 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 20 June 2026 15:54:19 -0400 (0:00:00.015) 0:00:44.722 ********* [WARNING]: TASK: fedora.linux_system_roles.postgresql : Set platform/version specific variables: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-JlX/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-JlX/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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 20 June 2026 15:54:19 -0400 (0:00:00.040) 0:00:44.763 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 20 June 2026 15:54:20 -0400 (0:00:00.324) 0:00:45.088 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 20 June 2026 15:54:20 -0400 (0:00:00.323) 0:00:45.411 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 20 June 2026 15:54:20 -0400 (0:00:00.320) 0:00:45.732 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 20 June 2026 15:54:22 -0400 (0:00:01.432) 0:00:47.165 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 20 June 2026 15:54:22 -0400 (0:00:00.028) 0:00:47.193 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 20 June 2026 15:54:22 -0400 (0:00:00.084) 0:00:47.277 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 20 June 2026 15:54:22 -0400 (0:00:00.025) 0:00:47.302 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 20 June 2026 15:54:22 -0400 (0:00:00.020) 0:00:47.322 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 20 June 2026 15:54:29 -0400 (0:00:06.728) 0:00:54.051 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.751183", "end": "2026-06-20 15:54:30.180807", "rc": 0, "start": "2026-06-20 15:54:29.429624" } 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 20 June 2026 15:54:30 -0400 (0:00:01.103) 0:00:55.154 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 20 June 2026 15:54:30 -0400 (0:00:00.020) 0:00:55.175 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 20 June 2026 15:54:30 -0400 (0:00:00.018) 0:00:55.193 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 20 June 2026 15:54:30 -0400 (0:00:00.017) 0:00:55.211 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network.target systemd-journald.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 20 June 2026 15:54:31 -0400 (0:00:01.064) 0:00:56.275 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.021) 0:00:56.297 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.020) 0:00:56.317 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.021) 0:00:56.339 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.016) 0:00:56.355 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.019) 0:00:56.375 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.030) 0:00:56.405 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.018) 0:00:56.424 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.017) 0:00:56.441 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.017) 0:00:56.459 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.019) 0:00:56.479 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.017) 0:00:56.496 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.017) 0:00:56.514 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.017) 0:00:56.531 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.017) 0:00:56.549 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.015) 0:00:56.565 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.020) 0:00:56.585 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 20 June 2026 15:54:32 -0400 (0:00:00.338) 0:00:56.924 ********* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 20 June 2026 15:54:32 -0400 (0:00:00.337) 0:00:57.261 ********* 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-1781985272.3782995-12899-120053777390258/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 20 June 2026 15:54:33 -0400 (0:00:00.674) 0:00:57.935 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 20 June 2026 15:54:33 -0400 (0:00:00.021) 0:00:57.957 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 20 June 2026 15:54:33 -0400 (0:00:00.020) 0:00:57.978 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 20 June 2026 15:54:33 -0400 (0:00:00.337) 0:00:58.316 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 20 June 2026 15:54:33 -0400 (0:00:00.018) 0:00:58.334 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 20 June 2026 15:54:33 -0400 (0:00:00.005) 0:00:58.339 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-20 15:54:31 EDT", "ActiveEnterTimestampMonotonic": "391266152", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target systemd-journald.socket system.slice network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-20 15:54:31 EDT", "AssertTimestampMonotonic": "391214145", "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-06-20 15:54:31 EDT", "ConditionTimestampMonotonic": "391214145", "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": "35863", "ExecMainStartTimestamp": "Sat 2026-06-20 15:54:31 EDT", "ExecMainStartTimestampMonotonic": "391224087", "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-06-20 15:54:31 EDT] ; stop_time=[n/a] ; pid=35863 ; 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-06-20 15:54:31 EDT] ; stop_time=[Sat 2026-06-20 15:54:31 EDT] ; pid=35860 ; 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-06-20 15:54:31 EDT", "InactiveExitTimestampMonotonic": "391215182", "InvocationID": "140be95263de4cb2ab38df1f97ad1dcc", "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": "35863", "MemoryAccounting": "yes", "MemoryCurrent": "17780736", "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-06-20 15:54:31 EDT", "StateChangeTimestampMonotonic": "391266152", "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-06-20 15:54:31 EDT", "WatchdogTimestampMonotonic": "391266150", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 20 June 2026 15:54:34 -0400 (0:00:00.949) 0:00:59.288 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008006", "end": "2026-06-20 15:54:34.655956", "rc": 0, "start": "2026-06-20 15:54:34.647950" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 20 June 2026 15:54:34 -0400 (0:00:00.335) 0:00:59.624 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008671", "end": "2026-06-20 15:54:34.991325", "rc": 0, "start": "2026-06-20 15:54:34.982654" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 20 June 2026 15:54:35 -0400 (0:00:00.336) 0:00:59.960 ********* ASYNC OK on managed-node2: jid=j678057382731.37070 ok: [managed-node2] => { "ansible_job_id": "j678057382731.37070", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012292", "end": "2026-06-20 15:54:35.554861", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j678057382731.37070", "start": "2026-06-20 15:54:35.542569", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 20 June 2026 15:54:51 -0400 (0:00:16.007) 0:01:15.968 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010050", "end": "2026-06-20 15:54:51.356983", "rc": 0, "start": "2026-06-20 15:54:51.346933" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 20 June 2026 15:54:51 -0400 (0:00:00.361) 0:01:16.330 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 20 June 2026 15:54:51 -0400 (0:00:00.032) 0:01:16.363 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009803", "end": "2026-06-20 15:54:51.752384", "rc": 0, "start": "2026-06-20 15:54:51.742581" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 20 June 2026 15:54:51 -0400 (0:00:00.360) 0:01:16.723 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 20 June 2026 15:54:51 -0400 (0:00:00.032) 0:01:16.756 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009491", "end": "2026-06-20 15:54:52.130129", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:54:52.120638" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 20 June 2026 15:54:52 -0400 (0:00:00.376) 0:01:17.133 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 20 June 2026 15:54:52 -0400 (0:00:00.032) 0:01:17.165 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 20 June 2026 15:54:52 -0400 (0:00:00.004) 0:01:17.170 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 20 June 2026 15:54:57 -0400 (0:00:04.809) 0:01:21.979 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 20 June 2026 15:54:57 -0400 (0:00:00.019) 0:01:21.999 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 20 June 2026 15:54:57 -0400 (0:00:00.382) 0:01:22.381 ********* [WARNING]: TASK: Remove config files: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 20 June 2026 15:54:58 -0400 (0:00:01.289) 0:01:23.670 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007549", "end": "2026-06-20 15:54:59.036950", "rc": 0, "start": "2026-06-20 15:54:59.029401" } STDOUT: -- Logs begin at Sat 2026-06-20 15:48:01 EDT, end at Sat 2026-06-20 15:54:59 EDT. -- Jun 20 15:52:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:09 managed-node2 postmaster[10434]: 2026-06-20 15:52:09.156 EDT [10434] LOG: redirecting log output to logging collector process Jun 20 15:52:09 managed-node2 postmaster[10434]: 2026-06-20 15:52:09.156 EDT [10434] HINT: Future log output will appear in directory "log". Jun 20 15:52:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:16 managed-node2 systemd[1]: postgresql.service: Killing process 10435 (postmaster) with signal SIGKILL. Jun 20 15:52:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:17 managed-node2 postmaster[12697]: 2026-06-20 15:52:17.026 EDT [12697] LOG: redirecting log output to logging collector process Jun 20 15:52:17 managed-node2 postmaster[12697]: 2026-06-20 15:52:17.026 EDT [12697] HINT: Future log output will appear in directory "log". Jun 20 15:52:17 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:20 managed-node2 systemd[1]: postgresql.service: Killing process 12698 (postmaster) with signal SIGKILL. Jun 20 15:52:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:52 managed-node2 postmaster[19318]: 2026-06-20 15:52:52.714 EDT [19318] LOG: redirecting log output to logging collector process Jun 20 15:52:52 managed-node2 postmaster[19318]: 2026-06-20 15:52:52.714 EDT [19318] HINT: Future log output will appear in directory "log". Jun 20 15:52:52 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:58 managed-node2 systemd[1]: postgresql.service: Killing process 19319 (postmaster) with signal SIGKILL. Jun 20 15:52:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:58 managed-node2 postmaster[20859]: 2026-06-20 15:52:58.229 EDT [20859] LOG: redirecting log output to logging collector process Jun 20 15:52:58 managed-node2 postmaster[20859]: 2026-06-20 15:52:58.229 EDT [20859] HINT: Future log output will appear in directory "log". Jun 20 15:52:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:03 managed-node2 systemd[1]: postgresql.service: Killing process 20860 (postmaster) with signal SIGKILL. Jun 20 15:53:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:22 managed-node2 postmaster[25234]: 2026-06-20 15:53:22.808 EDT [25234] LOG: redirecting log output to logging collector process Jun 20 15:53:22 managed-node2 postmaster[25234]: 2026-06-20 15:53:22.808 EDT [25234] HINT: Future log output will appear in directory "log". Jun 20 15:53:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:26 managed-node2 systemd[1]: postgresql.service: Killing process 25235 (postmaster) with signal SIGKILL. Jun 20 15:53:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:26 managed-node2 postmaster[25973]: 2026-06-20 15:53:26.162 EDT [25973] LOG: redirecting log output to logging collector process Jun 20 15:53:26 managed-node2 postmaster[25973]: 2026-06-20 15:53:26.162 EDT [25973] HINT: Future log output will appear in directory "log". Jun 20 15:53:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:29 managed-node2 systemd[1]: postgresql.service: Killing process 25975 (postmaster) with signal SIGKILL. Jun 20 15:53:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:50 managed-node2 postmaster[30217]: 2026-06-20 15:53:50.053 EDT [30217] LOG: redirecting log output to logging collector process Jun 20 15:53:50 managed-node2 postmaster[30217]: 2026-06-20 15:53:50.053 EDT [30217] HINT: Future log output will appear in directory "log". Jun 20 15:53:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:53 managed-node2 systemd[1]: postgresql.service: Killing process 30218 (postmaster) with signal SIGKILL. Jun 20 15:53:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:53 managed-node2 postmaster[31024]: 2026-06-20 15:53:53.454 EDT [31024] LOG: redirecting log output to logging collector process Jun 20 15:53:53 managed-node2 postmaster[31024]: 2026-06-20 15:53:53.454 EDT [31024] HINT: Future log output will appear in directory "log". Jun 20 15:53:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:15 managed-node2 systemd[1]: postgresql.service: Killing process 31026 (postmaster) with signal SIGKILL. Jun 20 15:54:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] 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 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.265 EDT [35863] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.269 EDT [35863] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.280 EDT [35863] LOG: redirecting log output to logging collector process Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.280 EDT [35863] HINT: Future log output will appear in directory "log". Jun 20 15:54:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:34 managed-node2 systemd[1]: postgresql.service: Killing process 35864 (postmaster) with signal SIGKILL. Jun 20 15:54:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:34 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.258 EDT [36671] 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 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.259 EDT [36671] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.259 EDT [36671] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.261 EDT [36671] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.265 EDT [36671] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.295 EDT [36671] LOG: redirecting log output to logging collector process Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.295 EDT [36671] HINT: Future log output will appear in directory "log". Jun 20 15:54:34 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:56 managed-node2 systemd[1]: postgresql.service: Killing process 36672 (postmaster) with signal SIGKILL. Jun 20 15:54:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 20 June 2026 15:54:59 -0400 (0:00:00.336) 0:01:24.006 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 20 June 2026 15:54:59 -0400 (0:00:00.029) 0:01:24.036 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 20 June 2026 15:54:59 -0400 (0:00:00.001) 0:01:24.037 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 20 June 2026 15:54:59 -0400 (0:00:00.020) 0:01:24.057 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 20 June 2026 15:54:59 -0400 (0:00:00.042) 0:01:24.100 ********* included: /tmp/collections-JlX/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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 20 June 2026 15:54:59 -0400 (0:00:00.024) 0:01:24.124 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 20 June 2026 15:54:59 -0400 (0:00:00.782) 0:01:24.907 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 20 June 2026 15:55:00 -0400 (0:00:00.328) 0:01:25.235 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 20 June 2026 15:55:00 -0400 (0:00:00.018) 0:01:25.253 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 20 June 2026 15:55:00 -0400 (0:00:00.017) 0:01:25.271 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 20 June 2026 15:55:00 -0400 (0:00:00.015) 0:01:25.287 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 20 June 2026 15:55:00 -0400 (0:00:00.016) 0:01:25.303 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 20 June 2026 15:55:00 -0400 (0:00:00.016) 0:01:25.319 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-JlX/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-JlX/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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 20 June 2026 15:55:00 -0400 (0:00:00.038) 0:01:25.357 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 20 June 2026 15:55:00 -0400 (0:00:00.321) 0:01:25.678 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 20 June 2026 15:55:01 -0400 (0:00:00.323) 0:01:26.002 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 20 June 2026 15:55:01 -0400 (0:00:00.329) 0:01:26.332 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 20 June 2026 15:55:02 -0400 (0:00:01.399) 0:01:27.731 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 20 June 2026 15:55:02 -0400 (0:00:00.028) 0:01:27.759 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 20 June 2026 15:55:02 -0400 (0:00:00.023) 0:01:27.783 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 20 June 2026 15:55:02 -0400 (0:00:00.024) 0:01:27.808 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 20 June 2026 15:55:02 -0400 (0:00:00.019) 0:01:27.828 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 20 June 2026 15:55:09 -0400 (0:00:06.868) 0:01:34.696 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.734785", "end": "2026-06-20 15:55:10.815399", "rc": 0, "start": "2026-06-20 15:55:10.080614" } 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 20 June 2026 15:55:10 -0400 (0:00:01.089) 0:01:35.786 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 20 June 2026 15:55:10 -0400 (0:00:00.022) 0:01:35.808 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 20 June 2026 15:55:10 -0400 (0:00:00.017) 0:01:35.826 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 20 June 2026 15:55:10 -0400 (0:00:00.017) 0:01:35.843 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice basic.target systemd-journald.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 20 June 2026 15:55:11 -0400 (0:00:01.069) 0:01:36.913 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.023) 0:01:36.937 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.021) 0:01:36.958 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.020) 0:01:36.979 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.017) 0:01:36.996 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.022) 0:01:37.019 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.029) 0:01:37.048 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.018) 0:01:37.067 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.019) 0:01:37.086 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.018) 0:01:37.105 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.018) 0:01:37.123 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.017) 0:01:37.141 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.050) 0:01:37.191 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.019) 0:01:37.211 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.016) 0:01:37.228 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.016) 0:01:37.244 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.022) 0:01:37.266 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.339) 0:01:37.606 ********* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 20 June 2026 15:55:13 -0400 (0:00:00.339) 0:01:37.945 ********* 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-1781985313.0619178-13311-32598473300983/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 20 June 2026 15:55:13 -0400 (0:00:00.674) 0:01:38.620 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 20 June 2026 15:55:13 -0400 (0:00:00.024) 0:01:38.644 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 20 June 2026 15:55:13 -0400 (0:00:00.021) 0:01:38.665 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 20 June 2026 15:55:14 -0400 (0:00:00.336) 0:01:39.002 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 20 June 2026 15:55:14 -0400 (0:00:00.020) 0:01:39.023 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 20 June 2026 15:55:14 -0400 (0:00:00.004) 0:01:39.028 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-20 15:55:11 EDT", "ActiveEnterTimestampMonotonic": "431905215", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target basic.target system.slice network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-20 15:55:11 EDT", "AssertTimestampMonotonic": "431852992", "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-06-20 15:55:11 EDT", "ConditionTimestampMonotonic": "431852992", "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": "41520", "ExecMainStartTimestamp": "Sat 2026-06-20 15:55:11 EDT", "ExecMainStartTimestampMonotonic": "431862778", "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-06-20 15:55:11 EDT] ; stop_time=[n/a] ; pid=41520 ; 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-06-20 15:55:11 EDT] ; stop_time=[Sat 2026-06-20 15:55:11 EDT] ; pid=41517 ; 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-06-20 15:55:11 EDT", "InactiveExitTimestampMonotonic": "431854061", "InvocationID": "a345394067ff4dd49ced8d52b7716c65", "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": "41520", "MemoryAccounting": "yes", "MemoryCurrent": "18415616", "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-06-20 15:55:11 EDT", "StateChangeTimestampMonotonic": "431905215", "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-06-20 15:55:11 EDT", "WatchdogTimestampMonotonic": "431905213", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 20 June 2026 15:55:15 -0400 (0:00:00.949) 0:01:39.977 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008369", "end": "2026-06-20 15:55:15.345916", "rc": 0, "start": "2026-06-20 15:55:15.337547" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 20 June 2026 15:55:15 -0400 (0:00:00.337) 0:01:40.315 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008692", "end": "2026-06-20 15:55:15.682662", "rc": 0, "start": "2026-06-20 15:55:15.673970" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 20 June 2026 15:55:15 -0400 (0:00:00.338) 0:01:40.654 ********* ASYNC OK on managed-node2: jid=j472056158326.42725 ok: [managed-node2] => { "ansible_job_id": "j472056158326.42725", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012750", "end": "2026-06-20 15:55:16.254894", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j472056158326.42725", "start": "2026-06-20 15:55:16.242144", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 20 June 2026 15:55:31 -0400 (0:00:16.012) 0:01:56.666 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010125", "end": "2026-06-20 15:55:32.052614", "rc": 0, "start": "2026-06-20 15:55:32.042489" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 20 June 2026 15:55:32 -0400 (0:00:00.357) 0:01:57.024 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 20 June 2026 15:55:32 -0400 (0:00:00.033) 0:01:57.057 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009714", "end": "2026-06-20 15:55:32.441291", "rc": 0, "start": "2026-06-20 15:55:32.431577" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 20 June 2026 15:55:32 -0400 (0:00:00.355) 0:01:57.413 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 20 June 2026 15:55:32 -0400 (0:00:00.032) 0:01:57.446 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009480", "end": "2026-06-20 15:55:32.817220", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:55:32.807740" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 20 June 2026 15:55:32 -0400 (0:00:00.345) 0:01:57.792 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 20 June 2026 15:55:32 -0400 (0:00:00.033) 0:01:57.826 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 20 June 2026 15:55:32 -0400 (0:00:00.004) 0:01:57.830 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 20 June 2026 15:55:37 -0400 (0:00:04.762) 0:02:02.593 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 20 June 2026 15:55:37 -0400 (0:00:00.018) 0:02:02.612 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 20 June 2026 15:55:38 -0400 (0:00:00.382) 0:02:02.995 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 20 June 2026 15:55:39 -0400 (0:00:01.301) 0:02:04.296 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008161", "end": "2026-06-20 15:55:39.671605", "rc": 0, "start": "2026-06-20 15:55:39.663444" } STDOUT: -- Logs begin at Sat 2026-06-20 15:48:01 EDT, end at Sat 2026-06-20 15:55:39 EDT. -- Jun 20 15:52:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:09 managed-node2 postmaster[10434]: 2026-06-20 15:52:09.156 EDT [10434] LOG: redirecting log output to logging collector process Jun 20 15:52:09 managed-node2 postmaster[10434]: 2026-06-20 15:52:09.156 EDT [10434] HINT: Future log output will appear in directory "log". Jun 20 15:52:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:16 managed-node2 systemd[1]: postgresql.service: Killing process 10435 (postmaster) with signal SIGKILL. Jun 20 15:52:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:17 managed-node2 postmaster[12697]: 2026-06-20 15:52:17.026 EDT [12697] LOG: redirecting log output to logging collector process Jun 20 15:52:17 managed-node2 postmaster[12697]: 2026-06-20 15:52:17.026 EDT [12697] HINT: Future log output will appear in directory "log". Jun 20 15:52:17 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:20 managed-node2 systemd[1]: postgresql.service: Killing process 12698 (postmaster) with signal SIGKILL. Jun 20 15:52:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:52 managed-node2 postmaster[19318]: 2026-06-20 15:52:52.714 EDT [19318] LOG: redirecting log output to logging collector process Jun 20 15:52:52 managed-node2 postmaster[19318]: 2026-06-20 15:52:52.714 EDT [19318] HINT: Future log output will appear in directory "log". Jun 20 15:52:52 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:58 managed-node2 systemd[1]: postgresql.service: Killing process 19319 (postmaster) with signal SIGKILL. Jun 20 15:52:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:58 managed-node2 postmaster[20859]: 2026-06-20 15:52:58.229 EDT [20859] LOG: redirecting log output to logging collector process Jun 20 15:52:58 managed-node2 postmaster[20859]: 2026-06-20 15:52:58.229 EDT [20859] HINT: Future log output will appear in directory "log". Jun 20 15:52:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:03 managed-node2 systemd[1]: postgresql.service: Killing process 20860 (postmaster) with signal SIGKILL. Jun 20 15:53:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:22 managed-node2 postmaster[25234]: 2026-06-20 15:53:22.808 EDT [25234] LOG: redirecting log output to logging collector process Jun 20 15:53:22 managed-node2 postmaster[25234]: 2026-06-20 15:53:22.808 EDT [25234] HINT: Future log output will appear in directory "log". Jun 20 15:53:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:26 managed-node2 systemd[1]: postgresql.service: Killing process 25235 (postmaster) with signal SIGKILL. Jun 20 15:53:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:26 managed-node2 postmaster[25973]: 2026-06-20 15:53:26.162 EDT [25973] LOG: redirecting log output to logging collector process Jun 20 15:53:26 managed-node2 postmaster[25973]: 2026-06-20 15:53:26.162 EDT [25973] HINT: Future log output will appear in directory "log". Jun 20 15:53:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:29 managed-node2 systemd[1]: postgresql.service: Killing process 25975 (postmaster) with signal SIGKILL. Jun 20 15:53:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:50 managed-node2 postmaster[30217]: 2026-06-20 15:53:50.053 EDT [30217] LOG: redirecting log output to logging collector process Jun 20 15:53:50 managed-node2 postmaster[30217]: 2026-06-20 15:53:50.053 EDT [30217] HINT: Future log output will appear in directory "log". Jun 20 15:53:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:53 managed-node2 systemd[1]: postgresql.service: Killing process 30218 (postmaster) with signal SIGKILL. Jun 20 15:53:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:53 managed-node2 postmaster[31024]: 2026-06-20 15:53:53.454 EDT [31024] LOG: redirecting log output to logging collector process Jun 20 15:53:53 managed-node2 postmaster[31024]: 2026-06-20 15:53:53.454 EDT [31024] HINT: Future log output will appear in directory "log". Jun 20 15:53:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:15 managed-node2 systemd[1]: postgresql.service: Killing process 31026 (postmaster) with signal SIGKILL. Jun 20 15:54:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] 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 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.265 EDT [35863] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.269 EDT [35863] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.280 EDT [35863] LOG: redirecting log output to logging collector process Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.280 EDT [35863] HINT: Future log output will appear in directory "log". Jun 20 15:54:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:34 managed-node2 systemd[1]: postgresql.service: Killing process 35864 (postmaster) with signal SIGKILL. Jun 20 15:54:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:34 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.258 EDT [36671] 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 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.259 EDT [36671] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.259 EDT [36671] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.261 EDT [36671] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.265 EDT [36671] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.295 EDT [36671] LOG: redirecting log output to logging collector process Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.295 EDT [36671] HINT: Future log output will appear in directory "log". Jun 20 15:54:34 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:56 managed-node2 systemd[1]: postgresql.service: Killing process 36672 (postmaster) with signal SIGKILL. Jun 20 15:54:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:11 managed-node2 postmaster[41520]: 2026-06-20 15:55:11.912 EDT [41520] LOG: redirecting log output to logging collector process Jun 20 15:55:11 managed-node2 postmaster[41520]: 2026-06-20 15:55:11.912 EDT [41520] HINT: Future log output will appear in directory "log". Jun 20 15:55:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:14 managed-node2 systemd[1]: postgresql.service: Killing process 41521 (postmaster) with signal SIGKILL. Jun 20 15:55:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:14 managed-node2 postmaster[42326]: 2026-06-20 15:55:14.976 EDT [42326] LOG: redirecting log output to logging collector process Jun 20 15:55:14 managed-node2 postmaster[42326]: 2026-06-20 15:55:14.976 EDT [42326] HINT: Future log output will appear in directory "log". Jun 20 15:55:14 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:36 managed-node2 systemd[1]: postgresql.service: Killing process 42328 (postmaster) with signal SIGKILL. Jun 20 15:55:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 20 June 2026 15:55:39 -0400 (0:00:00.347) 0:02:04.644 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 20 June 2026 15:55:39 -0400 (0:00:00.031) 0:02:04.675 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 20 June 2026 15:55:39 -0400 (0:00:00.001) 0:02:04.676 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 20 June 2026 15:55:39 -0400 (0:00:00.016) 0:02:04.692 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 20 June 2026 15:55:39 -0400 (0:00:00.041) 0:02:04.734 ********* included: /tmp/collections-JlX/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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 20 June 2026 15:55:39 -0400 (0:00:00.024) 0:02:04.758 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 20 June 2026 15:55:40 -0400 (0:00:00.787) 0:02:05.546 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 20 June 2026 15:55:40 -0400 (0:00:00.326) 0:02:05.872 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 20 June 2026 15:55:40 -0400 (0:00:00.017) 0:02:05.890 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 20 June 2026 15:55:40 -0400 (0:00:00.017) 0:02:05.907 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 20 June 2026 15:55:41 -0400 (0:00:00.016) 0:02:05.923 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 20 June 2026 15:55:41 -0400 (0:00:00.016) 0:02:05.940 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 20 June 2026 15:55:41 -0400 (0:00:00.016) 0:02:05.957 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-JlX/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-JlX/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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 20 June 2026 15:55:41 -0400 (0:00:00.039) 0:02:05.997 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 20 June 2026 15:55:41 -0400 (0:00:00.326) 0:02:06.323 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 20 June 2026 15:55:41 -0400 (0:00:00.331) 0:02:06.654 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 20 June 2026 15:55:42 -0400 (0:00:00.324) 0:02:06.979 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 20 June 2026 15:55:43 -0400 (0:00:01.437) 0:02:08.416 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 20 June 2026 15:55:43 -0400 (0:00:00.028) 0:02:08.445 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 20 June 2026 15:55:43 -0400 (0:00:00.091) 0:02:08.537 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 20 June 2026 15:55:43 -0400 (0:00:00.026) 0:02:08.563 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 20 June 2026 15:55:43 -0400 (0:00:00.020) 0:02:08.583 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 20 June 2026 15:55:49 -0400 (0:00:06.061) 0:02:14.645 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.712125", "end": "2026-06-20 15:55:50.743020", "rc": 0, "start": "2026-06-20 15:55:50.030895" } 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 20 June 2026 15:55:50 -0400 (0:00:01.071) 0:02:15.717 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 20 June 2026 15:55:50 -0400 (0:00:00.021) 0:02:15.738 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 20 June 2026 15:55:50 -0400 (0:00:00.018) 0:02:15.756 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 20 June 2026 15:55:50 -0400 (0:00:00.018) 0:02:15.775 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target sysinit.target network.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 20 June 2026 15:55:51 -0400 (0:00:01.059) 0:02:16.834 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 20 June 2026 15:55:51 -0400 (0:00:00.022) 0:02:16.856 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 20 June 2026 15:55:51 -0400 (0:00:00.020) 0:02:16.877 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 20 June 2026 15:55:51 -0400 (0:00:00.021) 0:02:16.899 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 20 June 2026 15:55:51 -0400 (0:00:00.016) 0:02:16.916 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.020) 0:02:16.936 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.030) 0:02:16.967 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.018) 0:02:16.985 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.018) 0:02:17.003 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.018) 0:02:17.021 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.019) 0:02:17.041 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.017) 0:02:17.059 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.018) 0:02:17.077 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.017) 0:02:17.094 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.017) 0:02:17.112 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.016) 0:02:17.128 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.021) 0:02:17.150 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.343) 0:02:17.494 ********* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 20 June 2026 15:55:52 -0400 (0:00:00.342) 0:02:17.836 ********* 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-1781985352.9534454-13723-270238103279965/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 20 June 2026 15:55:53 -0400 (0:00:00.682) 0:02:18.519 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 20 June 2026 15:55:53 -0400 (0:00:00.022) 0:02:18.541 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 20 June 2026 15:55:53 -0400 (0:00:00.020) 0:02:18.562 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 20 June 2026 15:55:53 -0400 (0:00:00.343) 0:02:18.905 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 20 June 2026 15:55:54 -0400 (0:00:00.019) 0:02:18.924 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 20 June 2026 15:55:54 -0400 (0:00:00.005) 0:02:18.930 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-20 15:55:51 EDT", "ActiveEnterTimestampMonotonic": "471822845", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket network.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-20 15:55:51 EDT", "AssertTimestampMonotonic": "471773717", "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-06-20 15:55:51 EDT", "ConditionTimestampMonotonic": "471773717", "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": "47137", "ExecMainStartTimestamp": "Sat 2026-06-20 15:55:51 EDT", "ExecMainStartTimestampMonotonic": "471783642", "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-06-20 15:55:51 EDT] ; stop_time=[n/a] ; pid=47137 ; 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-06-20 15:55:51 EDT] ; stop_time=[Sat 2026-06-20 15:55:51 EDT] ; pid=47134 ; 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-06-20 15:55:51 EDT", "InactiveExitTimestampMonotonic": "471774757", "InvocationID": "7a25422d37224088a82389412f96526d", "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": "47137", "MemoryAccounting": "yes", "MemoryCurrent": "16785408", "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-06-20 15:55:51 EDT", "StateChangeTimestampMonotonic": "471822845", "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-06-20 15:55:51 EDT", "WatchdogTimestampMonotonic": "471822843", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 20 June 2026 15:55:54 -0400 (0:00:00.977) 0:02:19.908 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008121", "end": "2026-06-20 15:55:55.282201", "rc": 0, "start": "2026-06-20 15:55:55.274080" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 20 June 2026 15:55:55 -0400 (0:00:00.343) 0:02:20.251 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008576", "end": "2026-06-20 15:55:55.619025", "rc": 0, "start": "2026-06-20 15:55:55.610449" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 20 June 2026 15:55:55 -0400 (0:00:00.336) 0:02:20.587 ********* ASYNC OK on managed-node2: jid=j457579716133.48344 ok: [managed-node2] => { "ansible_job_id": "j457579716133.48344", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011813", "end": "2026-06-20 15:55:56.185443", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j457579716133.48344", "start": "2026-06-20 15:55:56.173630", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 20 June 2026 15:56:11 -0400 (0:00:16.015) 0:02:36.603 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009583", "end": "2026-06-20 15:56:11.988234", "rc": 0, "start": "2026-06-20 15:56:11.978651" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 20 June 2026 15:56:12 -0400 (0:00:00.358) 0:02:36.961 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 20 June 2026 15:56:12 -0400 (0:00:00.032) 0:02:36.994 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010118", "end": "2026-06-20 15:56:12.381170", "rc": 0, "start": "2026-06-20 15:56:12.371052" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 20 June 2026 15:56:12 -0400 (0:00:00.359) 0:02:37.353 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 20 June 2026 15:56:12 -0400 (0:00:00.033) 0:02:37.387 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.007085", "end": "2026-06-20 15:56:12.761680", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:56:12.754595" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 20 June 2026 15:56:12 -0400 (0:00:00.381) 0:02:37.768 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 20 June 2026 15:56:12 -0400 (0:00:00.032) 0:02:37.801 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 20 June 2026 15:56:12 -0400 (0:00:00.004) 0:02:37.806 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 20 June 2026 15:56:17 -0400 (0:00:04.757) 0:02:42.564 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 20 June 2026 15:56:17 -0400 (0:00:00.019) 0:02:42.583 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 20 June 2026 15:56:18 -0400 (0:00:00.375) 0:02:42.958 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 20 June 2026 15:56:19 -0400 (0:00:01.294) 0:02:44.253 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008093", "end": "2026-06-20 15:56:19.618325", "rc": 0, "start": "2026-06-20 15:56:19.610232" } STDOUT: -- Logs begin at Sat 2026-06-20 15:48:01 EDT, end at Sat 2026-06-20 15:56:19 EDT. -- Jun 20 15:52:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:09 managed-node2 postmaster[10434]: 2026-06-20 15:52:09.156 EDT [10434] LOG: redirecting log output to logging collector process Jun 20 15:52:09 managed-node2 postmaster[10434]: 2026-06-20 15:52:09.156 EDT [10434] HINT: Future log output will appear in directory "log". Jun 20 15:52:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:16 managed-node2 systemd[1]: postgresql.service: Killing process 10435 (postmaster) with signal SIGKILL. Jun 20 15:52:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:17 managed-node2 postmaster[12697]: 2026-06-20 15:52:17.026 EDT [12697] LOG: redirecting log output to logging collector process Jun 20 15:52:17 managed-node2 postmaster[12697]: 2026-06-20 15:52:17.026 EDT [12697] HINT: Future log output will appear in directory "log". Jun 20 15:52:17 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:20 managed-node2 systemd[1]: postgresql.service: Killing process 12698 (postmaster) with signal SIGKILL. Jun 20 15:52:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:52 managed-node2 postmaster[19318]: 2026-06-20 15:52:52.714 EDT [19318] LOG: redirecting log output to logging collector process Jun 20 15:52:52 managed-node2 postmaster[19318]: 2026-06-20 15:52:52.714 EDT [19318] HINT: Future log output will appear in directory "log". Jun 20 15:52:52 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:58 managed-node2 systemd[1]: postgresql.service: Killing process 19319 (postmaster) with signal SIGKILL. Jun 20 15:52:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:58 managed-node2 postmaster[20859]: 2026-06-20 15:52:58.229 EDT [20859] LOG: redirecting log output to logging collector process Jun 20 15:52:58 managed-node2 postmaster[20859]: 2026-06-20 15:52:58.229 EDT [20859] HINT: Future log output will appear in directory "log". Jun 20 15:52:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:03 managed-node2 systemd[1]: postgresql.service: Killing process 20860 (postmaster) with signal SIGKILL. Jun 20 15:53:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:22 managed-node2 postmaster[25234]: 2026-06-20 15:53:22.808 EDT [25234] LOG: redirecting log output to logging collector process Jun 20 15:53:22 managed-node2 postmaster[25234]: 2026-06-20 15:53:22.808 EDT [25234] HINT: Future log output will appear in directory "log". Jun 20 15:53:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:26 managed-node2 systemd[1]: postgresql.service: Killing process 25235 (postmaster) with signal SIGKILL. Jun 20 15:53:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:26 managed-node2 postmaster[25973]: 2026-06-20 15:53:26.162 EDT [25973] LOG: redirecting log output to logging collector process Jun 20 15:53:26 managed-node2 postmaster[25973]: 2026-06-20 15:53:26.162 EDT [25973] HINT: Future log output will appear in directory "log". Jun 20 15:53:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:29 managed-node2 systemd[1]: postgresql.service: Killing process 25975 (postmaster) with signal SIGKILL. Jun 20 15:53:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:50 managed-node2 postmaster[30217]: 2026-06-20 15:53:50.053 EDT [30217] LOG: redirecting log output to logging collector process Jun 20 15:53:50 managed-node2 postmaster[30217]: 2026-06-20 15:53:50.053 EDT [30217] HINT: Future log output will appear in directory "log". Jun 20 15:53:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:53 managed-node2 systemd[1]: postgresql.service: Killing process 30218 (postmaster) with signal SIGKILL. Jun 20 15:53:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:53 managed-node2 postmaster[31024]: 2026-06-20 15:53:53.454 EDT [31024] LOG: redirecting log output to logging collector process Jun 20 15:53:53 managed-node2 postmaster[31024]: 2026-06-20 15:53:53.454 EDT [31024] HINT: Future log output will appear in directory "log". Jun 20 15:53:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:15 managed-node2 systemd[1]: postgresql.service: Killing process 31026 (postmaster) with signal SIGKILL. Jun 20 15:54:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] 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 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.265 EDT [35863] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.269 EDT [35863] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.280 EDT [35863] LOG: redirecting log output to logging collector process Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.280 EDT [35863] HINT: Future log output will appear in directory "log". Jun 20 15:54:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:34 managed-node2 systemd[1]: postgresql.service: Killing process 35864 (postmaster) with signal SIGKILL. Jun 20 15:54:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:34 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.258 EDT [36671] 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 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.259 EDT [36671] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.259 EDT [36671] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.261 EDT [36671] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.265 EDT [36671] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.295 EDT [36671] LOG: redirecting log output to logging collector process Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.295 EDT [36671] HINT: Future log output will appear in directory "log". Jun 20 15:54:34 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:56 managed-node2 systemd[1]: postgresql.service: Killing process 36672 (postmaster) with signal SIGKILL. Jun 20 15:54:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:11 managed-node2 postmaster[41520]: 2026-06-20 15:55:11.912 EDT [41520] LOG: redirecting log output to logging collector process Jun 20 15:55:11 managed-node2 postmaster[41520]: 2026-06-20 15:55:11.912 EDT [41520] HINT: Future log output will appear in directory "log". Jun 20 15:55:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:14 managed-node2 systemd[1]: postgresql.service: Killing process 41521 (postmaster) with signal SIGKILL. Jun 20 15:55:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:14 managed-node2 postmaster[42326]: 2026-06-20 15:55:14.976 EDT [42326] LOG: redirecting log output to logging collector process Jun 20 15:55:14 managed-node2 postmaster[42326]: 2026-06-20 15:55:14.976 EDT [42326] HINT: Future log output will appear in directory "log". Jun 20 15:55:14 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:36 managed-node2 systemd[1]: postgresql.service: Killing process 42328 (postmaster) with signal SIGKILL. Jun 20 15:55:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.820 EDT [47137] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.820 EDT [47137] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.822 EDT [47137] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.826 EDT [47137] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.837 EDT [47137] LOG: redirecting log output to logging collector process Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.837 EDT [47137] HINT: Future log output will appear in directory "log". Jun 20 15:55:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:54 managed-node2 systemd[1]: postgresql.service: Killing process 47138 (postmaster) with signal SIGKILL. Jun 20 15:55:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.876 EDT [47945] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.876 EDT [47945] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.878 EDT [47945] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.882 EDT [47945] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.912 EDT [47945] LOG: redirecting log output to logging collector process Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.912 EDT [47945] HINT: Future log output will appear in directory "log". Jun 20 15:55:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:56:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:56:16 managed-node2 systemd[1]: postgresql.service: Killing process 47946 (postmaster) with signal SIGKILL. Jun 20 15:56:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:56:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 20 June 2026 15:56:19 -0400 (0:00:00.336) 0:02:44.589 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 20 June 2026 15:56:19 -0400 (0:00:00.029) 0:02:44.619 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 20 June 2026 15:56:19 -0400 (0:00:00.001) 0:02:44.620 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 20 June 2026 15:56:19 -0400 (0:00:00.016) 0:02:44.636 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 20 June 2026 15:56:19 -0400 (0:00:00.046) 0:02:44.683 ********* included: /tmp/collections-JlX/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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 20 June 2026 15:56:19 -0400 (0:00:00.024) 0:02:44.708 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 20 June 2026 15:56:20 -0400 (0:00:00.785) 0:02:45.493 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 20 June 2026 15:56:20 -0400 (0:00:00.322) 0:02:45.815 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 20 June 2026 15:56:20 -0400 (0:00:00.018) 0:02:45.834 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 20 June 2026 15:56:20 -0400 (0:00:00.017) 0:02:45.851 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 20 June 2026 15:56:20 -0400 (0:00:00.015) 0:02:45.867 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 20 June 2026 15:56:20 -0400 (0:00:00.016) 0:02:45.883 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 20 June 2026 15:56:20 -0400 (0:00:00.016) 0:02:45.900 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-JlX/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-JlX/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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 20 June 2026 15:56:21 -0400 (0:00:00.038) 0:02:45.938 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 20 June 2026 15:56:21 -0400 (0:00:00.322) 0:02:46.261 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 20 June 2026 15:56:21 -0400 (0:00:00.331) 0:02:46.592 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 20 June 2026 15:56:21 -0400 (0:00:00.325) 0:02:46.918 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 20 June 2026 15:56:23 -0400 (0:00:01.398) 0:02:48.316 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 20 June 2026 15:56:23 -0400 (0:00:00.029) 0:02:48.346 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 20 June 2026 15:56:23 -0400 (0:00:00.024) 0:02:48.370 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 20 June 2026 15:56:23 -0400 (0:00:00.025) 0:02:48.396 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 20 June 2026 15:56:23 -0400 (0:00:00.020) 0:02:48.416 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 20 June 2026 15:56:30 -0400 (0:00:07.057) 0:02:55.474 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.731717", "end": "2026-06-20 15:56:31.593825", "rc": 0, "start": "2026-06-20 15:56:30.862108" } 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 20 June 2026 15:56:31 -0400 (0:00:01.090) 0:02:56.565 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 20 June 2026 15:56:31 -0400 (0:00:00.022) 0:02:56.587 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 20 June 2026 15:56:31 -0400 (0:00:00.018) 0:02:56.605 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 20 June 2026 15:56:31 -0400 (0:00:00.018) 0:02:56.624 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice systemd-journald.socket network-online.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 20 June 2026 15:56:32 -0400 (0:00:01.067) 0:02:57.692 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 20 June 2026 15:56:32 -0400 (0:00:00.024) 0:02:57.716 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 20 June 2026 15:56:32 -0400 (0:00:00.021) 0:02:57.737 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 20 June 2026 15:56:32 -0400 (0:00:00.024) 0:02:57.762 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 20 June 2026 15:56:32 -0400 (0:00:00.016) 0:02:57.779 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 20 June 2026 15:56:32 -0400 (0:00:00.022) 0:02:57.801 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 20 June 2026 15:56:32 -0400 (0:00:00.029) 0:02:57.831 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 20 June 2026 15:56:32 -0400 (0:00:00.018) 0:02:57.849 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 20 June 2026 15:56:32 -0400 (0:00:00.019) 0:02:57.868 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 20 June 2026 15:56:32 -0400 (0:00:00.018) 0:02:57.886 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 20 June 2026 15:56:32 -0400 (0:00:00.017) 0:02:57.904 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 20 June 2026 15:56:33 -0400 (0:00:00.017) 0:02:57.922 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 20 June 2026 15:56:33 -0400 (0:00:00.048) 0:02:57.970 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 20 June 2026 15:56:33 -0400 (0:00:00.019) 0:02:57.990 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 20 June 2026 15:56:33 -0400 (0:00:00.017) 0:02:58.007 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 20 June 2026 15:56:33 -0400 (0:00:00.016) 0:02:58.024 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 20 June 2026 15:56:33 -0400 (0:00:00.022) 0:02:58.046 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 20 June 2026 15:56:33 -0400 (0:00:00.340) 0:02:58.387 ********* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 20 June 2026 15:56:33 -0400 (0:00:00.339) 0:02:58.726 ********* 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-1781985393.8447902-14135-156919847553121/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 20 June 2026 15:56:34 -0400 (0:00:00.673) 0:02:59.400 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 20 June 2026 15:56:34 -0400 (0:00:00.024) 0:02:59.425 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 20 June 2026 15:56:34 -0400 (0:00:00.021) 0:02:59.446 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 20 June 2026 15:56:34 -0400 (0:00:00.334) 0:02:59.781 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 20 June 2026 15:56:34 -0400 (0:00:00.020) 0:02:59.802 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 20 June 2026 15:56:34 -0400 (0:00:00.005) 0:02:59.807 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-20 15:56:32 EDT", "ActiveEnterTimestampMonotonic": "512683312", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target systemd-journald.socket network-online.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-20 15:56:32 EDT", "AssertTimestampMonotonic": "512631190", "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-06-20 15:56:32 EDT", "ConditionTimestampMonotonic": "512631190", "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": "52790", "ExecMainStartTimestamp": "Sat 2026-06-20 15:56:32 EDT", "ExecMainStartTimestampMonotonic": "512641150", "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-06-20 15:56:32 EDT] ; stop_time=[n/a] ; pid=52790 ; 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-06-20 15:56:32 EDT] ; stop_time=[Sat 2026-06-20 15:56:32 EDT] ; pid=52787 ; 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-06-20 15:56:32 EDT", "InactiveExitTimestampMonotonic": "512632220", "InvocationID": "1d810aebf5ab4451a9bc20d639e6bb95", "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": "52790", "MemoryAccounting": "yes", "MemoryCurrent": "18755584", "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-06-20 15:56:32 EDT", "StateChangeTimestampMonotonic": "512683312", "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-06-20 15:56:32 EDT", "WatchdogTimestampMonotonic": "512683310", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 20 June 2026 15:56:35 -0400 (0:00:00.945) 0:03:00.753 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008230", "end": "2026-06-20 15:56:36.123606", "rc": 0, "start": "2026-06-20 15:56:36.115376" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 20 June 2026 15:56:36 -0400 (0:00:00.340) 0:03:01.093 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008469", "end": "2026-06-20 15:56:36.459542", "rc": 0, "start": "2026-06-20 15:56:36.451073" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 20 June 2026 15:56:36 -0400 (0:00:00.336) 0:03:01.430 ********* ASYNC OK on managed-node2: jid=j467810964371.53995 ok: [managed-node2] => { "ansible_job_id": "j467810964371.53995", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012602", "end": "2026-06-20 15:56:37.025352", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j467810964371.53995", "start": "2026-06-20 15:56:37.012750", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 20 June 2026 15:56:52 -0400 (0:00:16.007) 0:03:17.438 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009915", "end": "2026-06-20 15:56:52.822641", "rc": 0, "start": "2026-06-20 15:56:52.812726" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 20 June 2026 15:56:52 -0400 (0:00:00.355) 0:03:17.793 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 20 June 2026 15:56:52 -0400 (0:00:00.033) 0:03:17.827 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009888", "end": "2026-06-20 15:56:53.212857", "rc": 0, "start": "2026-06-20 15:56:53.202969" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 20 June 2026 15:56:53 -0400 (0:00:00.358) 0:03:18.185 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 20 June 2026 15:56:53 -0400 (0:00:00.033) 0:03:18.219 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009633", "end": "2026-06-20 15:56:53.591505", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:56:53.581872" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 20 June 2026 15:56:53 -0400 (0:00:00.348) 0:03:18.567 ********* included: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 20 June 2026 15:56:53 -0400 (0:00:00.034) 0:03:18.601 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 20 June 2026 15:56:53 -0400 (0:00:00.004) 0:03:18.606 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 20 June 2026 15:56:58 -0400 (0:00:04.803) 0:03:23.409 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 20 June 2026 15:56:58 -0400 (0:00:00.019) 0:03:23.429 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 20 June 2026 15:56:58 -0400 (0:00:00.381) 0:03:23.810 ********* 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-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 20 June 2026 15:57:00 -0400 (0:00:01.295) 0:03:25.105 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008186", "end": "2026-06-20 15:57:00.471990", "rc": 0, "start": "2026-06-20 15:57:00.463804" } STDOUT: -- Logs begin at Sat 2026-06-20 15:48:01 EDT, end at Sat 2026-06-20 15:57:00 EDT. -- Jun 20 15:52:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:09 managed-node2 postmaster[10434]: 2026-06-20 15:52:09.156 EDT [10434] LOG: redirecting log output to logging collector process Jun 20 15:52:09 managed-node2 postmaster[10434]: 2026-06-20 15:52:09.156 EDT [10434] HINT: Future log output will appear in directory "log". Jun 20 15:52:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:16 managed-node2 systemd[1]: postgresql.service: Killing process 10435 (postmaster) with signal SIGKILL. Jun 20 15:52:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:17 managed-node2 postmaster[12697]: 2026-06-20 15:52:17.026 EDT [12697] LOG: redirecting log output to logging collector process Jun 20 15:52:17 managed-node2 postmaster[12697]: 2026-06-20 15:52:17.026 EDT [12697] HINT: Future log output will appear in directory "log". Jun 20 15:52:17 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:20 managed-node2 systemd[1]: postgresql.service: Killing process 12698 (postmaster) with signal SIGKILL. Jun 20 15:52:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:52 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:52 managed-node2 postmaster[19318]: 2026-06-20 15:52:52.714 EDT [19318] LOG: redirecting log output to logging collector process Jun 20 15:52:52 managed-node2 postmaster[19318]: 2026-06-20 15:52:52.714 EDT [19318] HINT: Future log output will appear in directory "log". Jun 20 15:52:52 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:58 managed-node2 systemd[1]: postgresql.service: Killing process 19319 (postmaster) with signal SIGKILL. Jun 20 15:52:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:58 managed-node2 postmaster[20859]: 2026-06-20 15:52:58.229 EDT [20859] LOG: redirecting log output to logging collector process Jun 20 15:52:58 managed-node2 postmaster[20859]: 2026-06-20 15:52:58.229 EDT [20859] HINT: Future log output will appear in directory "log". Jun 20 15:52:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:03 managed-node2 systemd[1]: postgresql.service: Killing process 20860 (postmaster) with signal SIGKILL. Jun 20 15:53:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:22 managed-node2 postmaster[25234]: 2026-06-20 15:53:22.808 EDT [25234] LOG: redirecting log output to logging collector process Jun 20 15:53:22 managed-node2 postmaster[25234]: 2026-06-20 15:53:22.808 EDT [25234] HINT: Future log output will appear in directory "log". Jun 20 15:53:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:26 managed-node2 systemd[1]: postgresql.service: Killing process 25235 (postmaster) with signal SIGKILL. Jun 20 15:53:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:26 managed-node2 postmaster[25973]: 2026-06-20 15:53:26.162 EDT [25973] LOG: redirecting log output to logging collector process Jun 20 15:53:26 managed-node2 postmaster[25973]: 2026-06-20 15:53:26.162 EDT [25973] HINT: Future log output will appear in directory "log". Jun 20 15:53:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:29 managed-node2 systemd[1]: postgresql.service: Killing process 25975 (postmaster) with signal SIGKILL. Jun 20 15:53:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:50 managed-node2 postmaster[30217]: 2026-06-20 15:53:50.053 EDT [30217] LOG: redirecting log output to logging collector process Jun 20 15:53:50 managed-node2 postmaster[30217]: 2026-06-20 15:53:50.053 EDT [30217] HINT: Future log output will appear in directory "log". Jun 20 15:53:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:53 managed-node2 systemd[1]: postgresql.service: Killing process 30218 (postmaster) with signal SIGKILL. Jun 20 15:53:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:53 managed-node2 postmaster[31024]: 2026-06-20 15:53:53.454 EDT [31024] LOG: redirecting log output to logging collector process Jun 20 15:53:53 managed-node2 postmaster[31024]: 2026-06-20 15:53:53.454 EDT [31024] HINT: Future log output will appear in directory "log". Jun 20 15:53:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:15 managed-node2 systemd[1]: postgresql.service: Killing process 31026 (postmaster) with signal SIGKILL. Jun 20 15:54:15 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] 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 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.263 EDT [35863] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.265 EDT [35863] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.269 EDT [35863] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.280 EDT [35863] LOG: redirecting log output to logging collector process Jun 20 15:54:31 managed-node2 postmaster[35863]: 2026-06-20 15:54:31.280 EDT [35863] HINT: Future log output will appear in directory "log". Jun 20 15:54:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:34 managed-node2 systemd[1]: postgresql.service: Killing process 35864 (postmaster) with signal SIGKILL. Jun 20 15:54:34 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:34 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.258 EDT [36671] 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 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.259 EDT [36671] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.259 EDT [36671] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.261 EDT [36671] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.265 EDT [36671] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.295 EDT [36671] LOG: redirecting log output to logging collector process Jun 20 15:54:34 managed-node2 postmaster[36671]: 2026-06-20 15:54:34.295 EDT [36671] HINT: Future log output will appear in directory "log". Jun 20 15:54:34 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:56 managed-node2 systemd[1]: postgresql.service: Killing process 36672 (postmaster) with signal SIGKILL. Jun 20 15:54:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:11 managed-node2 postmaster[41520]: 2026-06-20 15:55:11.912 EDT [41520] LOG: redirecting log output to logging collector process Jun 20 15:55:11 managed-node2 postmaster[41520]: 2026-06-20 15:55:11.912 EDT [41520] HINT: Future log output will appear in directory "log". Jun 20 15:55:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:14 managed-node2 systemd[1]: postgresql.service: Killing process 41521 (postmaster) with signal SIGKILL. Jun 20 15:55:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:14 managed-node2 postmaster[42326]: 2026-06-20 15:55:14.976 EDT [42326] LOG: redirecting log output to logging collector process Jun 20 15:55:14 managed-node2 postmaster[42326]: 2026-06-20 15:55:14.976 EDT [42326] HINT: Future log output will appear in directory "log". Jun 20 15:55:14 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:36 managed-node2 systemd[1]: postgresql.service: Killing process 42328 (postmaster) with signal SIGKILL. Jun 20 15:55:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.820 EDT [47137] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.820 EDT [47137] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.822 EDT [47137] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.826 EDT [47137] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.837 EDT [47137] LOG: redirecting log output to logging collector process Jun 20 15:55:51 managed-node2 postmaster[47137]: 2026-06-20 15:55:51.837 EDT [47137] HINT: Future log output will appear in directory "log". Jun 20 15:55:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:54 managed-node2 systemd[1]: postgresql.service: Killing process 47138 (postmaster) with signal SIGKILL. Jun 20 15:55:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.876 EDT [47945] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.876 EDT [47945] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.878 EDT [47945] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.882 EDT [47945] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.912 EDT [47945] LOG: redirecting log output to logging collector process Jun 20 15:55:54 managed-node2 postmaster[47945]: 2026-06-20 15:55:54.912 EDT [47945] HINT: Future log output will appear in directory "log". Jun 20 15:55:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:56:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:56:16 managed-node2 systemd[1]: postgresql.service: Killing process 47946 (postmaster) with signal SIGKILL. Jun 20 15:56:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:56:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:56:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:56:32 managed-node2 postgres[52790]: 2026-06-20 15:56:32.690 EDT [52790] LOG: redirecting log output to logging collector process Jun 20 15:56:32 managed-node2 postgres[52790]: 2026-06-20 15:56:32.690 EDT [52790] HINT: Future log output will appear in directory "log". Jun 20 15:56:32 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:56:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:56:35 managed-node2 systemd[1]: postgresql.service: Killing process 52791 (postgres) with signal SIGKILL. Jun 20 15:56:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:56:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:56:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:56:35 managed-node2 postgres[53596]: 2026-06-20 15:56:35.752 EDT [53596] LOG: redirecting log output to logging collector process Jun 20 15:56:35 managed-node2 postgres[53596]: 2026-06-20 15:56:35.752 EDT [53596] HINT: Future log output will appear in directory "log". Jun 20 15:56:35 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:56:57 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:56:57 managed-node2 systemd[1]: postgresql.service: Killing process 53598 (postgres) with signal SIGKILL. Jun 20 15:56:57 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:56:57 managed-node2 systemd[1]: Stopped PostgreSQL database server. PLAY RECAP ********************************************************************* managed-node2 : ok=166 changed=45 unreachable=0 failed=0 skipped=156 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 20 June 2026 15:57:00 -0400 (0:00:00.332) 0:03:25.438 ********* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.21s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.02s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.01s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.01s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.01s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 7.06s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.87s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.73s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.30s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.06s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.81s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.80s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.78s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.76s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.76s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.62s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.44s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.43s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.40s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.40s /tmp/collections-JlX/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8