ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-1eS/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-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Tuesday 08 September 2026 19:52:08 -0400 (0:00:00.017) 0:00:00.017 ***** ok: [managed-node1] META: ran handlers META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Tuesday 08 September 2026 19:52:09 -0400 (0:00:01.043) 0:00:01.061 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Tuesday 08 September 2026 19:52:09 -0400 (0:00:00.031) 0:00:01.092 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Tuesday 08 September 2026 19:52:09 -0400 (0:00:00.029) 0:00:01.121 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Tuesday 08 September 2026 19:52:09 -0400 (0:00:00.016) 0:00:01.138 ***** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Tuesday 08 September 2026 19:52:09 -0400 (0:00:00.142) 0:00:01.280 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Tuesday 08 September 2026 19:52:09 -0400 (0:00:00.028) 0:00:01.309 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Tuesday 08 September 2026 19:52:10 -0400 (0:00:00.693) 0:00:02.002 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning_default": true, "__postgresql_version_default": "13" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set postgresql effective values from user input or defaults] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Tuesday 08 September 2026 19:52:10 -0400 (0:00:00.025) 0:00:02.028 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning": true, "__postgresql_version": "13" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Tuesday 08 September 2026 19:52:10 -0400 (0:00:00.018) 0:00:02.047 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-08T19:52:11-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Tuesday 08 September 2026 19:52:11 -0400 (0:00:00.439) 0:00:02.486 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Tuesday 08 September 2026 19:52:11 -0400 (0:00:00.438) 0:00:02.924 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Tuesday 08 September 2026 19:52:11 -0400 (0:00:00.019) 0:00:02.943 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008314", "end": "2026-09-08 19:52:11.954402", "failed_when_result": false, "rc": 0, "start": "2026-09-08 19:52:11.946088" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Tuesday 08 September 2026 19:52:12 -0400 (0:00:00.492) 0:00:03.436 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Tuesday 08 September 2026 19:52:12 -0400 (0:00:00.017) 0:00:03.453 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Tuesday 08 September 2026 19:52:12 -0400 (0:00:00.020) 0:00:03.473 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-1eS/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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Tuesday 08 September 2026 19:52:12 -0400 (0:00:00.050) 0:00:03.524 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Tuesday 08 September 2026 19:52:12 -0400 (0:00:00.364) 0:00:03.889 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Tuesday 08 September 2026 19:52:12 -0400 (0:00:00.352) 0:00:04.241 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Tuesday 08 September 2026 19:52:13 -0400 (0:00:00.389) 0:00:04.631 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Assert postgresql_version is a string or integer] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Tuesday 08 September 2026 19:52:13 -0400 (0:00:00.046) 0:00:04.677 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Assert postgresql_password is null or a string] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Tuesday 08 September 2026 19:52:13 -0400 (0:00:00.022) 0:00:04.699 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_cert_name is null or a string] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Tuesday 08 September 2026 19:52:13 -0400 (0:00:00.020) 0:00:04.719 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_server_tuning is null or a boolean] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Tuesday 08 September 2026 19:52:13 -0400 (0:00:00.022) 0:00:04.742 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert dns in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Tuesday 08 September 2026 19:52:13 -0400 (0:00:00.019) 0:00:04.761 ***** TASK [fedora.linux_system_roles.postgresql : Assert email in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Tuesday 08 September 2026 19:52:13 -0400 (0:00:00.013) 0:00:04.775 ***** TASK [fedora.linux_system_roles.postgresql : Assert ip in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Tuesday 08 September 2026 19:52:13 -0400 (0:00:00.013) 0:00:04.789 ***** TASK [fedora.linux_system_roles.postgresql : Assert principal in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Tuesday 08 September 2026 19:52:13 -0400 (0:00:00.014) 0:00:04.803 ***** TASK [fedora.linux_system_roles.postgresql : Assert mode in postgresql_certificates is a string or integer] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Tuesday 08 September 2026 19:52:13 -0400 (0:00:00.014) 0:00:04.817 ***** TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Tuesday 08 September 2026 19:52:13 -0400 (0:00:00.012) 0:00:04.830 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Tuesday 08 September 2026 19:52:15 -0400 (0:00:01.650) 0:00:06.480 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Tuesday 08 September 2026 19:52:15 -0400 (0:00:00.034) 0:00:06.515 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Tuesday 08 September 2026 19:52:15 -0400 (0:00:00.036) 0:00:06.551 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Tuesday 08 September 2026 19:52:15 -0400 (0:00:00.037) 0:00:06.589 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Tuesday 08 September 2026 19:52:15 -0400 (0:00:00.039) 0:00:06.629 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server installed.", "Installed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Installed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Tuesday 08 September 2026 19:52:21 -0400 (0:00:06.047) 0:00:12.676 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.747923", "end": "2026-09-08 19:52:22.334662", "rc": 0, "start": "2026-09-08 19:52:21.586739" } 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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Tuesday 08 September 2026 19:52:22 -0400 (0:00:01.173) 0:00:13.849 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Tuesday 08 September 2026 19:52:22 -0400 (0:00:00.025) 0:00:13.875 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Tuesday 08 September 2026 19:52:22 -0400 (0:00:00.023) 0:00:13.898 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Tuesday 08 September 2026 19:52:22 -0400 (0:00:00.028) 0:00:13.927 ***** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice network.target basic.target sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Tuesday 08 September 2026 19:52:23 -0400 (0:00:01.318) 0:00:15.246 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Tuesday 08 September 2026 19:52:23 -0400 (0:00:00.020) 0:00:15.266 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Tuesday 08 September 2026 19:52:23 -0400 (0:00:00.028) 0:00:15.295 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Tuesday 08 September 2026 19:52:23 -0400 (0:00:00.024) 0:00:15.319 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Tuesday 08 September 2026 19:52:23 -0400 (0:00:00.029) 0:00:15.349 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Tuesday 08 September 2026 19:52:23 -0400 (0:00:00.024) 0:00:15.373 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Tuesday 08 September 2026 19:52:23 -0400 (0:00:00.036) 0:00:15.409 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Tuesday 08 September 2026 19:52:23 -0400 (0:00:00.021) 0:00:15.430 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Tuesday 08 September 2026 19:52:24 -0400 (0:00:00.021) 0:00:15.451 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Tuesday 08 September 2026 19:52:24 -0400 (0:00:00.020) 0:00:15.472 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Tuesday 08 September 2026 19:52:24 -0400 (0:00:00.019) 0:00:15.491 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Tuesday 08 September 2026 19:52:24 -0400 (0:00:00.020) 0:00:15.512 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Tuesday 08 September 2026 19:52:24 -0400 (0:00:00.020) 0:00:15.532 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Tuesday 08 September 2026 19:52:24 -0400 (0:00:00.020) 0:00:15.553 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Tuesday 08 September 2026 19:52:24 -0400 (0:00:00.019) 0:00:15.573 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Tuesday 08 September 2026 19:52:24 -0400 (0:00:00.021) 0:00:15.594 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Tuesday 08 September 2026 19:52:24 -0400 (0:00:00.019) 0:00:15.613 ***** ok: [managed-node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Tuesday 08 September 2026 19:52:24 -0400 (0:00:00.522) 0:00:16.136 ***** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Tuesday 08 September 2026 19:52:25 -0400 (0:00:00.425) 0:00:16.561 ***** changed: [managed-node1] => { "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-1788911545.169783-14299-99234871983147/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Tuesday 08 September 2026 19:52:25 -0400 (0:00:00.787) 0:00:17.349 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Tuesday 08 September 2026 19:52:25 -0400 (0:00:00.030) 0:00:17.379 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Tuesday 08 September 2026 19:52:25 -0400 (0:00:00.020) 0:00:17.399 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-08T19:52:26-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Tuesday 08 September 2026 19:52:26 -0400 (0:00:00.353) 0:00:17.753 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Tuesday 08 September 2026 19:52:26 -0400 (0:00:00.012) 0:00:17.765 ***** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2026-09-08 19:52:23 EDT", "ActiveEnterTimestampMonotonic": "490722379", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-09-08 19:52:23 EDT", "AssertTimestampMonotonic": "490670250", "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": "Tue 2026-09-08 19:52:23 EDT", "ConditionTimestampMonotonic": "490670250", "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": "30904", "ExecMainStartTimestamp": "Tue 2026-09-08 19:52:23 EDT", "ExecMainStartTimestampMonotonic": "490679901", "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=[Tue 2026-09-08 19:52:23 EDT] ; stop_time=[n/a] ; pid=30904 ; 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=[Tue 2026-09-08 19:52:23 EDT] ; stop_time=[Tue 2026-09-08 19:52:23 EDT] ; pid=30901 ; 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": "Tue 2026-09-08 19:52:23 EDT", "InactiveExitTimestampMonotonic": "490671348", "InvocationID": "ffa7463a79ec4e87adb0b762585815a1", "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": "30904", "MemoryAccounting": "yes", "MemoryCurrent": "17829888", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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": "Tue 2026-09-08 19:52:23 EDT", "StateChangeTimestampMonotonic": "490722379", "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": "Tue 2026-09-08 19:52:23 EDT", "WatchdogTimestampMonotonic": "490722378", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Tuesday 08 September 2026 19:52:27 -0400 (0:00:00.932) 0:00:18.698 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007525", "end": "2026-09-08 19:52:27.561307", "rc": 0, "start": "2026-09-08 19:52:27.553782" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Tuesday 08 September 2026 19:52:27 -0400 (0:00:00.347) 0:00:19.046 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007847", "end": "2026-09-08 19:52:27.905389", "rc": 0, "start": "2026-09-08 19:52:27.897542" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Tuesday 08 September 2026 19:52:27 -0400 (0:00:00.343) 0:00:19.389 ***** ok: [managed-node1] => { "ansible_job_id": "457053598259.32111", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012166", "end": "2026-09-08 19:52:28.588316", "finished": 1, "rc": 0, "start": "2026-09-08 19:52:28.576150" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Tuesday 08 September 2026 19:52:43 -0400 (0:00:15.974) 0:00:35.364 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009912", "end": "2026-09-08 19:52:44.245004", "rc": 0, "start": "2026-09-08 19:52:44.235092" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Tuesday 08 September 2026 19:52:44 -0400 (0:00:00.367) 0:00:35.731 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Tuesday 08 September 2026 19:52:44 -0400 (0:00:00.031) 0:00:35.763 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009079", "end": "2026-09-08 19:52:44.649258", "rc": 0, "start": "2026-09-08 19:52:44.640179" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Tuesday 08 September 2026 19:52:44 -0400 (0:00:00.370) 0:00:36.134 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Tuesday 08 September 2026 19:52:44 -0400 (0:00:00.030) 0:00:36.165 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008824", "end": "2026-09-08 19:52:45.025561", "failed_when_result": false, "rc": 0, "start": "2026-09-08 19:52:45.016737" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Tuesday 08 September 2026 19:52:45 -0400 (0:00:00.347) 0:00:36.512 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Tuesday 08 September 2026 19:52:45 -0400 (0:00:00.033) 0:00:36.546 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server removed.", "Removed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Removed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Tuesday 08 September 2026 19:52:49 -0400 (0:00:04.635) 0:00:41.181 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Tuesday 08 September 2026 19:52:49 -0400 (0:00:00.018) 0:00:41.199 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Tuesday 08 September 2026 19:52:50 -0400 (0:00:00.376) 0:00:41.575 ***** ok: [managed-node1] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node1] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node1] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node1] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Tuesday 08 September 2026 19:52:51 -0400 (0:00:01.312) 0:00:42.887 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007447", "end": "2026-09-08 19:52:51.747428", "rc": 0, "start": "2026-09-08 19:52:51.739981" } STDOUT: -- Logs begin at Tue 2026-09-08 19:44:13 EDT, end at Tue 2026-09-08 19:52:51 EDT. -- Sep 08 19:50:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:50:25 managed-node1 postmaster[10455]: 2026-09-08 19:50:25.443 EDT [10455] LOG: redirecting log output to logging collector process Sep 08 19:50:25 managed-node1 postmaster[10455]: 2026-09-08 19:50:25.443 EDT [10455] HINT: Future log output will appear in directory "log". Sep 08 19:50:25 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:50:44 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:50:44 managed-node1 systemd[1]: postgresql.service: Killing process 10456 (postmaster) with signal SIGKILL. Sep 08 19:50:44 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:50:44 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:50:44 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:50:44 managed-node1 postmaster[14014]: 2026-09-08 19:50:44.382 EDT [14014] LOG: redirecting log output to logging collector process Sep 08 19:50:44 managed-node1 postmaster[14014]: 2026-09-08 19:50:44.382 EDT [14014] HINT: Future log output will appear in directory "log". Sep 08 19:50:44 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:50:50 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:50:50 managed-node1 systemd[1]: postgresql.service: Killing process 14016 (postmaster) with signal SIGKILL. Sep 08 19:50:50 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:50:50 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:09 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:09 managed-node1 postmaster[18941]: 2026-09-08 19:51:09.901 EDT [18941] LOG: redirecting log output to logging collector process Sep 08 19:51:09 managed-node1 postmaster[18941]: 2026-09-08 19:51:09.901 EDT [18941] HINT: Future log output will appear in directory "log". Sep 08 19:51:09 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:13 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:13 managed-node1 systemd[1]: postgresql.service: Killing process 18942 (postmaster) with signal SIGKILL. Sep 08 19:51:13 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:13 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:13 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:13 managed-node1 postmaster[19748]: 2026-09-08 19:51:13.342 EDT [19748] LOG: redirecting log output to logging collector process Sep 08 19:51:13 managed-node1 postmaster[19748]: 2026-09-08 19:51:13.342 EDT [19748] HINT: Future log output will appear in directory "log". Sep 08 19:51:13 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:34 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:34 managed-node1 systemd[1]: postgresql.service: Killing process 19750 (postmaster) with signal SIGKILL. Sep 08 19:51:34 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:34 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:54 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:54 managed-node1 postmaster[25067]: 2026-09-08 19:51:54.541 EDT [25067] LOG: redirecting log output to logging collector process Sep 08 19:51:54 managed-node1 postmaster[25067]: 2026-09-08 19:51:54.541 EDT [25067] HINT: Future log output will appear in directory "log". Sep 08 19:51:54 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:59 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:59 managed-node1 systemd[1]: postgresql.service: Killing process 25068 (postmaster) with signal SIGKILL. Sep 08 19:51:59 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:59 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:59 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:59 managed-node1 postmaster[26475]: 2026-09-08 19:51:59.777 EDT [26475] LOG: redirecting log output to logging collector process Sep 08 19:51:59 managed-node1 postmaster[26475]: 2026-09-08 19:51:59.777 EDT [26475] HINT: Future log output will appear in directory "log". Sep 08 19:51:59 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:04 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:04 managed-node1 systemd[1]: postgresql.service: Killing process 26476 (postmaster) with signal SIGKILL. Sep 08 19:52:04 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:04 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:52:23 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:52:23 managed-node1 postmaster[30904]: 2026-09-08 19:52:23.733 EDT [30904] LOG: redirecting log output to logging collector process Sep 08 19:52:23 managed-node1 postmaster[30904]: 2026-09-08 19:52:23.733 EDT [30904] HINT: Future log output will appear in directory "log". Sep 08 19:52:23 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:27 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:27 managed-node1 systemd[1]: postgresql.service: Killing process 30905 (postmaster) with signal SIGKILL. Sep 08 19:52:27 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:27 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:52:27 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:52:27 managed-node1 postmaster[31712]: 2026-09-08 19:52:27.185 EDT [31712] LOG: redirecting log output to logging collector process Sep 08 19:52:27 managed-node1 postmaster[31712]: 2026-09-08 19:52:27.185 EDT [31712] HINT: Future log output will appear in directory "log". Sep 08 19:52:27 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:48 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:48 managed-node1 systemd[1]: postgresql.service: Killing process 31713 (postmaster) with signal SIGKILL. Sep 08 19:52:48 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:48 managed-node1 systemd[1]: Stopped PostgreSQL database server. META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Tuesday 08 September 2026 19:52:51 -0400 (0:00:00.354) 0:00:43.242 ***** ok: [managed-node1] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Tuesday 08 September 2026 19:52:51 -0400 (0:00:00.040) 0:00:43.282 ***** skipping: [managed-node1] => (item=13) => { "ansible_loop_var": "item", "changed": false, "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Tuesday 08 September 2026 19:52:51 -0400 (0:00:00.088) 0:00:43.371 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Tuesday 08 September 2026 19:52:51 -0400 (0:00:00.031) 0:00:43.402 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Tuesday 08 September 2026 19:52:51 -0400 (0:00:00.013) 0:00:43.415 ***** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Tuesday 08 September 2026 19:52:52 -0400 (0:00:00.025) 0:00:43.441 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Tuesday 08 September 2026 19:52:52 -0400 (0:00:00.025) 0:00:43.466 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Tuesday 08 September 2026 19:52:52 -0400 (0:00:00.688) 0:00:44.154 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning_default": true, "__postgresql_version_default": "13" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set postgresql effective values from user input or defaults] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Tuesday 08 September 2026 19:52:52 -0400 (0:00:00.018) 0:00:44.173 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning": true, "__postgresql_version": "10" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Tuesday 08 September 2026 19:52:52 -0400 (0:00:00.017) 0:00:44.190 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-08T19:52:53-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Tuesday 08 September 2026 19:52:53 -0400 (0:00:00.343) 0:00:44.534 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Tuesday 08 September 2026 19:52:53 -0400 (0:00:00.013) 0:00:44.548 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Tuesday 08 September 2026 19:52:53 -0400 (0:00:00.013) 0:00:44.562 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Tuesday 08 September 2026 19:52:53 -0400 (0:00:00.013) 0:00:44.575 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Tuesday 08 September 2026 19:52:53 -0400 (0:00:00.013) 0:00:44.588 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Tuesday 08 September 2026 19:52:53 -0400 (0:00:00.013) 0:00:44.602 ***** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-1eS/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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Tuesday 08 September 2026 19:52:53 -0400 (0:00:00.038) 0:00:44.640 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Tuesday 08 September 2026 19:52:53 -0400 (0:00:00.327) 0:00:44.968 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Tuesday 08 September 2026 19:52:53 -0400 (0:00:00.326) 0:00:45.294 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Tuesday 08 September 2026 19:52:54 -0400 (0:00:00.333) 0:00:45.628 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Assert postgresql_version is a string or integer] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Tuesday 08 September 2026 19:52:54 -0400 (0:00:00.028) 0:00:45.656 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_password is null or a string] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Tuesday 08 September 2026 19:52:54 -0400 (0:00:00.021) 0:00:45.677 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_cert_name is null or a string] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Tuesday 08 September 2026 19:52:54 -0400 (0:00:00.016) 0:00:45.694 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_server_tuning is null or a boolean] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Tuesday 08 September 2026 19:52:54 -0400 (0:00:00.015) 0:00:45.710 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert dns in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Tuesday 08 September 2026 19:52:54 -0400 (0:00:00.016) 0:00:45.727 ***** TASK [fedora.linux_system_roles.postgresql : Assert email in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Tuesday 08 September 2026 19:52:54 -0400 (0:00:00.011) 0:00:45.738 ***** TASK [fedora.linux_system_roles.postgresql : Assert ip in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Tuesday 08 September 2026 19:52:54 -0400 (0:00:00.011) 0:00:45.750 ***** TASK [fedora.linux_system_roles.postgresql : Assert principal in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Tuesday 08 September 2026 19:52:54 -0400 (0:00:00.011) 0:00:45.761 ***** TASK [fedora.linux_system_roles.postgresql : Assert mode in postgresql_certificates is a string or integer] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Tuesday 08 September 2026 19:52:54 -0400 (0:00:00.011) 0:00:45.773 ***** TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Tuesday 08 September 2026 19:52:54 -0400 (0:00:00.010) 0:00:45.784 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Tuesday 08 September 2026 19:52:55 -0400 (0:00:01.393) 0:00:47.178 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Tuesday 08 September 2026 19:52:55 -0400 (0:00:00.030) 0:00:47.209 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Tuesday 08 September 2026 19:52:55 -0400 (0:00:00.081) 0:00:47.291 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Tuesday 08 September 2026 19:52:55 -0400 (0:00:00.030) 0:00:47.321 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Tuesday 08 September 2026 19:52:55 -0400 (0:00:00.023) 0:00:47.344 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server installed.", "Installed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Installed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Tuesday 08 September 2026 19:53:01 -0400 (0:00:05.952) 0:00:53.297 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.706593", "end": "2026-09-08 19:53:02.880941", "rc": 0, "start": "2026-09-08 19:53:02.174348" } 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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Tuesday 08 September 2026 19:53:02 -0400 (0:00:01.069) 0:00:54.366 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Tuesday 08 September 2026 19:53:02 -0400 (0:00:00.021) 0:00:54.387 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Tuesday 08 September 2026 19:53:02 -0400 (0:00:00.020) 0:00:54.407 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Tuesday 08 September 2026 19:53:02 -0400 (0:00:00.019) 0:00:54.427 ***** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network.target systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Tuesday 08 September 2026 19:53:04 -0400 (0:00:01.017) 0:00:55.445 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.018) 0:00:55.463 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.018) 0:00:55.482 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.018) 0:00:55.500 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.017) 0:00:55.518 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.017) 0:00:55.536 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.031) 0:00:55.568 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.018) 0:00:55.586 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.017) 0:00:55.604 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.018) 0:00:55.623 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.017) 0:00:55.641 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.017) 0:00:55.659 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.018) 0:00:55.677 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.018) 0:00:55.696 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.017) 0:00:55.713 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.017) 0:00:55.731 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.017) 0:00:55.748 ***** ok: [managed-node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Tuesday 08 September 2026 19:53:04 -0400 (0:00:00.350) 0:00:56.098 ***** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Tuesday 08 September 2026 19:53:05 -0400 (0:00:00.341) 0:00:56.440 ***** changed: [managed-node1] => { "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-1788911585.0465984-14874-85402202900648/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Tuesday 08 September 2026 19:53:05 -0400 (0:00:00.680) 0:00:57.120 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Tuesday 08 September 2026 19:53:05 -0400 (0:00:00.018) 0:00:57.139 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Tuesday 08 September 2026 19:53:05 -0400 (0:00:00.018) 0:00:57.157 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-08T19:53:06-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Tuesday 08 September 2026 19:53:06 -0400 (0:00:00.349) 0:00:57.507 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Tuesday 08 September 2026 19:53:06 -0400 (0:00:00.012) 0:00:57.519 ***** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2026-09-08 19:53:03 EDT", "ActiveEnterTimestampMonotonic": "530921406", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket system.slice basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-09-08 19:53:03 EDT", "AssertTimestampMonotonic": "530872623", "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": "Tue 2026-09-08 19:53:03 EDT", "ConditionTimestampMonotonic": "530872622", "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": "36418", "ExecMainStartTimestamp": "Tue 2026-09-08 19:53:03 EDT", "ExecMainStartTimestampMonotonic": "530881916", "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=[Tue 2026-09-08 19:53:03 EDT] ; stop_time=[n/a] ; pid=36418 ; 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=[Tue 2026-09-08 19:53:03 EDT] ; stop_time=[Tue 2026-09-08 19:53:03 EDT] ; pid=36415 ; 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": "Tue 2026-09-08 19:53:03 EDT", "InactiveExitTimestampMonotonic": "530873549", "InvocationID": "15418a3e6b99454086b66a166691482e", "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": "36418", "MemoryAccounting": "yes", "MemoryCurrent": "16805888", "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": "Tue 2026-09-08 19:53:03 EDT", "StateChangeTimestampMonotonic": "530921406", "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": "Tue 2026-09-08 19:53:03 EDT", "WatchdogTimestampMonotonic": "530921404", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Tuesday 08 September 2026 19:53:07 -0400 (0:00:00.933) 0:00:58.452 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008286", "end": "2026-09-08 19:53:07.319550", "rc": 0, "start": "2026-09-08 19:53:07.311264" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Tuesday 08 September 2026 19:53:07 -0400 (0:00:00.352) 0:00:58.805 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008640", "end": "2026-09-08 19:53:07.670199", "rc": 0, "start": "2026-09-08 19:53:07.661559" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Tuesday 08 September 2026 19:53:07 -0400 (0:00:00.350) 0:00:59.156 ***** ok: [managed-node1] => { "ansible_job_id": "243799840659.37625", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011815", "end": "2026-09-08 19:53:08.260330", "finished": 1, "rc": 0, "start": "2026-09-08 19:53:08.248515" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Tuesday 08 September 2026 19:53:23 -0400 (0:00:15.765) 0:01:14.921 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009424", "end": "2026-09-08 19:53:23.799244", "rc": 0, "start": "2026-09-08 19:53:23.789820" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Tuesday 08 September 2026 19:53:23 -0400 (0:00:00.363) 0:01:15.284 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Tuesday 08 September 2026 19:53:23 -0400 (0:00:00.031) 0:01:15.316 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009736", "end": "2026-09-08 19:53:24.196367", "rc": 0, "start": "2026-09-08 19:53:24.186631" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Tuesday 08 September 2026 19:53:24 -0400 (0:00:00.367) 0:01:15.684 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Tuesday 08 September 2026 19:53:24 -0400 (0:00:00.031) 0:01:15.715 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006453", "end": "2026-09-08 19:53:24.572597", "failed_when_result": false, "rc": 0, "start": "2026-09-08 19:53:24.566144" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Tuesday 08 September 2026 19:53:24 -0400 (0:00:00.344) 0:01:16.060 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Tuesday 08 September 2026 19:53:24 -0400 (0:00:00.038) 0:01:16.098 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server removed.", "Removed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Removed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Tuesday 08 September 2026 19:53:29 -0400 (0:00:04.647) 0:01:20.745 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Tuesday 08 September 2026 19:53:29 -0400 (0:00:00.018) 0:01:20.764 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Tuesday 08 September 2026 19:53:29 -0400 (0:00:00.381) 0:01:21.146 ***** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node1] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node1] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node1] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node1] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Tuesday 08 September 2026 19:53:31 -0400 (0:00:01.321) 0:01:22.468 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007070", "end": "2026-09-08 19:53:31.321876", "rc": 0, "start": "2026-09-08 19:53:31.314806" } STDOUT: -- Logs begin at Tue 2026-09-08 19:44:13 EDT, end at Tue 2026-09-08 19:53:31 EDT. -- Sep 08 19:50:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:50:25 managed-node1 postmaster[10455]: 2026-09-08 19:50:25.443 EDT [10455] LOG: redirecting log output to logging collector process Sep 08 19:50:25 managed-node1 postmaster[10455]: 2026-09-08 19:50:25.443 EDT [10455] HINT: Future log output will appear in directory "log". Sep 08 19:50:25 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:50:44 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:50:44 managed-node1 systemd[1]: postgresql.service: Killing process 10456 (postmaster) with signal SIGKILL. Sep 08 19:50:44 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:50:44 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:50:44 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:50:44 managed-node1 postmaster[14014]: 2026-09-08 19:50:44.382 EDT [14014] LOG: redirecting log output to logging collector process Sep 08 19:50:44 managed-node1 postmaster[14014]: 2026-09-08 19:50:44.382 EDT [14014] HINT: Future log output will appear in directory "log". Sep 08 19:50:44 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:50:50 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:50:50 managed-node1 systemd[1]: postgresql.service: Killing process 14016 (postmaster) with signal SIGKILL. Sep 08 19:50:50 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:50:50 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:09 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:09 managed-node1 postmaster[18941]: 2026-09-08 19:51:09.901 EDT [18941] LOG: redirecting log output to logging collector process Sep 08 19:51:09 managed-node1 postmaster[18941]: 2026-09-08 19:51:09.901 EDT [18941] HINT: Future log output will appear in directory "log". Sep 08 19:51:09 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:13 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:13 managed-node1 systemd[1]: postgresql.service: Killing process 18942 (postmaster) with signal SIGKILL. Sep 08 19:51:13 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:13 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:13 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:13 managed-node1 postmaster[19748]: 2026-09-08 19:51:13.342 EDT [19748] LOG: redirecting log output to logging collector process Sep 08 19:51:13 managed-node1 postmaster[19748]: 2026-09-08 19:51:13.342 EDT [19748] HINT: Future log output will appear in directory "log". Sep 08 19:51:13 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:34 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:34 managed-node1 systemd[1]: postgresql.service: Killing process 19750 (postmaster) with signal SIGKILL. Sep 08 19:51:34 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:34 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:54 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:54 managed-node1 postmaster[25067]: 2026-09-08 19:51:54.541 EDT [25067] LOG: redirecting log output to logging collector process Sep 08 19:51:54 managed-node1 postmaster[25067]: 2026-09-08 19:51:54.541 EDT [25067] HINT: Future log output will appear in directory "log". Sep 08 19:51:54 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:59 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:59 managed-node1 systemd[1]: postgresql.service: Killing process 25068 (postmaster) with signal SIGKILL. Sep 08 19:51:59 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:59 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:59 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:59 managed-node1 postmaster[26475]: 2026-09-08 19:51:59.777 EDT [26475] LOG: redirecting log output to logging collector process Sep 08 19:51:59 managed-node1 postmaster[26475]: 2026-09-08 19:51:59.777 EDT [26475] HINT: Future log output will appear in directory "log". Sep 08 19:51:59 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:04 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:04 managed-node1 systemd[1]: postgresql.service: Killing process 26476 (postmaster) with signal SIGKILL. Sep 08 19:52:04 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:04 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:52:23 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:52:23 managed-node1 postmaster[30904]: 2026-09-08 19:52:23.733 EDT [30904] LOG: redirecting log output to logging collector process Sep 08 19:52:23 managed-node1 postmaster[30904]: 2026-09-08 19:52:23.733 EDT [30904] HINT: Future log output will appear in directory "log". Sep 08 19:52:23 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:27 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:27 managed-node1 systemd[1]: postgresql.service: Killing process 30905 (postmaster) with signal SIGKILL. Sep 08 19:52:27 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:27 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:52:27 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:52:27 managed-node1 postmaster[31712]: 2026-09-08 19:52:27.185 EDT [31712] LOG: redirecting log output to logging collector process Sep 08 19:52:27 managed-node1 postmaster[31712]: 2026-09-08 19:52:27.185 EDT [31712] HINT: Future log output will appear in directory "log". Sep 08 19:52:27 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:48 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:48 managed-node1 systemd[1]: postgresql.service: Killing process 31713 (postmaster) with signal SIGKILL. Sep 08 19:52:48 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:48 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:03 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.921 EDT [36418] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.921 EDT [36418] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.924 EDT [36418] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.928 EDT [36418] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.938 EDT [36418] LOG: redirecting log output to logging collector process Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.938 EDT [36418] HINT: Future log output will appear in directory "log". Sep 08 19:53:03 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:53:06 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:53:06 managed-node1 systemd[1]: postgresql.service: Killing process 36419 (postmaster) with signal SIGKILL. Sep 08 19:53:06 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:53:06 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:06 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.910 EDT [37226] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.910 EDT [37226] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.912 EDT [37226] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.916 EDT [37226] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.945 EDT [37226] LOG: redirecting log output to logging collector process Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.945 EDT [37226] HINT: Future log output will appear in directory "log". Sep 08 19:53:06 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:53:28 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:53:28 managed-node1 systemd[1]: postgresql.service: Killing process 37227 (postmaster) with signal SIGKILL. Sep 08 19:53:28 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:53:28 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Tuesday 08 September 2026 19:53:31 -0400 (0:00:00.338) 0:01:22.806 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Tuesday 08 September 2026 19:53:31 -0400 (0:00:00.031) 0:01:22.838 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Tuesday 08 September 2026 19:53:31 -0400 (0:00:00.013) 0:01:22.851 ***** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Tuesday 08 September 2026 19:53:31 -0400 (0:00:00.026) 0:01:22.878 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Tuesday 08 September 2026 19:53:31 -0400 (0:00:00.026) 0:01:22.904 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Tuesday 08 September 2026 19:53:32 -0400 (0:00:00.674) 0:01:23.579 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning_default": true, "__postgresql_version_default": "13" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set postgresql effective values from user input or defaults] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Tuesday 08 September 2026 19:53:32 -0400 (0:00:00.018) 0:01:23.597 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning": true, "__postgresql_version": "12" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Tuesday 08 September 2026 19:53:32 -0400 (0:00:00.017) 0:01:23.615 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-08T19:53:32-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Tuesday 08 September 2026 19:53:32 -0400 (0:00:00.331) 0:01:23.946 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Tuesday 08 September 2026 19:53:32 -0400 (0:00:00.014) 0:01:23.960 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Tuesday 08 September 2026 19:53:32 -0400 (0:00:00.013) 0:01:23.973 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Tuesday 08 September 2026 19:53:32 -0400 (0:00:00.013) 0:01:23.987 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Tuesday 08 September 2026 19:53:32 -0400 (0:00:00.013) 0:01:24.001 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Tuesday 08 September 2026 19:53:32 -0400 (0:00:00.013) 0:01:24.014 ***** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-1eS/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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Tuesday 08 September 2026 19:53:32 -0400 (0:00:00.038) 0:01:24.053 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Tuesday 08 September 2026 19:53:32 -0400 (0:00:00.331) 0:01:24.385 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.327) 0:01:24.712 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.327) 0:01:25.040 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Assert postgresql_version is a string or integer] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.028) 0:01:25.069 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_password is null or a string] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.021) 0:01:25.091 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_cert_name is null or a string] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.016) 0:01:25.107 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_server_tuning is null or a boolean] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.016) 0:01:25.123 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert dns in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.016) 0:01:25.140 ***** TASK [fedora.linux_system_roles.postgresql : Assert email in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.011) 0:01:25.152 ***** TASK [fedora.linux_system_roles.postgresql : Assert ip in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.011) 0:01:25.164 ***** TASK [fedora.linux_system_roles.postgresql : Assert principal in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.015) 0:01:25.180 ***** TASK [fedora.linux_system_roles.postgresql : Assert mode in postgresql_certificates is a string or integer] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.011) 0:01:25.191 ***** TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Tuesday 08 September 2026 19:53:33 -0400 (0:00:00.011) 0:01:25.203 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Tuesday 08 September 2026 19:53:35 -0400 (0:00:01.370) 0:01:26.573 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Tuesday 08 September 2026 19:53:35 -0400 (0:00:00.031) 0:01:26.605 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Tuesday 08 September 2026 19:53:35 -0400 (0:00:00.030) 0:01:26.635 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Tuesday 08 September 2026 19:53:35 -0400 (0:00:00.028) 0:01:26.664 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Tuesday 08 September 2026 19:53:35 -0400 (0:00:00.023) 0:01:26.687 ***** changed: [managed-node1] => { "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" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Tuesday 08 September 2026 19:53:41 -0400 (0:00:06.018) 0:01:32.706 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.745313", "end": "2026-09-08 19:53:42.328688", "rc": 0, "start": "2026-09-08 19:53:41.583375" } 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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Tuesday 08 September 2026 19:53:42 -0400 (0:00:01.107) 0:01:33.813 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Tuesday 08 September 2026 19:53:42 -0400 (0:00:00.021) 0:01:33.835 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Tuesday 08 September 2026 19:53:42 -0400 (0:00:00.020) 0:01:33.855 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Tuesday 08 September 2026 19:53:42 -0400 (0:00:00.020) 0:01:33.876 ***** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network.target sysinit.target system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Tuesday 08 September 2026 19:53:43 -0400 (0:00:01.019) 0:01:34.895 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.018) 0:01:34.913 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.018) 0:01:34.932 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.019) 0:01:34.951 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.018) 0:01:34.969 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.018) 0:01:34.987 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.031) 0:01:35.018 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.018) 0:01:35.037 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.018) 0:01:35.055 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.019) 0:01:35.074 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.018) 0:01:35.092 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.018) 0:01:35.110 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.018) 0:01:35.128 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.019) 0:01:35.148 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.018) 0:01:35.166 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.018) 0:01:35.184 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Tuesday 08 September 2026 19:53:43 -0400 (0:00:00.017) 0:01:35.202 ***** ok: [managed-node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Tuesday 08 September 2026 19:53:44 -0400 (0:00:00.348) 0:01:35.551 ***** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Tuesday 08 September 2026 19:53:44 -0400 (0:00:00.349) 0:01:35.900 ***** changed: [managed-node1] => { "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-1788911624.5065653-15365-167003768757514/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Tuesday 08 September 2026 19:53:45 -0400 (0:00:00.683) 0:01:36.584 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Tuesday 08 September 2026 19:53:45 -0400 (0:00:00.018) 0:01:36.602 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Tuesday 08 September 2026 19:53:45 -0400 (0:00:00.018) 0:01:36.621 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-08T19:53:45-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Tuesday 08 September 2026 19:53:45 -0400 (0:00:00.344) 0:01:36.965 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Tuesday 08 September 2026 19:53:45 -0400 (0:00:00.012) 0:01:36.977 ***** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2026-09-08 19:53:43 EDT", "ActiveEnterTimestampMonotonic": "570372118", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-09-08 19:53:43 EDT", "AssertTimestampMonotonic": "570320388", "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": "Tue 2026-09-08 19:53:43 EDT", "ConditionTimestampMonotonic": "570320387", "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": "41961", "ExecMainStartTimestamp": "Tue 2026-09-08 19:53:43 EDT", "ExecMainStartTimestampMonotonic": "570330202", "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=[Tue 2026-09-08 19:53:43 EDT] ; stop_time=[n/a] ; pid=41961 ; 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=[Tue 2026-09-08 19:53:43 EDT] ; stop_time=[Tue 2026-09-08 19:53:43 EDT] ; pid=41958 ; 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": "Tue 2026-09-08 19:53:43 EDT", "InactiveExitTimestampMonotonic": "570321416", "InvocationID": "0cceda30ce3f41f3b00d6c8a312a38b8", "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": "41961", "MemoryAccounting": "yes", "MemoryCurrent": "17854464", "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": "Tue 2026-09-08 19:53:43 EDT", "StateChangeTimestampMonotonic": "570372118", "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": "Tue 2026-09-08 19:53:43 EDT", "WatchdogTimestampMonotonic": "570372117", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Tuesday 08 September 2026 19:53:46 -0400 (0:00:00.923) 0:01:37.901 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007866", "end": "2026-09-08 19:53:46.759897", "rc": 0, "start": "2026-09-08 19:53:46.752031" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Tuesday 08 September 2026 19:53:46 -0400 (0:00:00.342) 0:01:38.243 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008148", "end": "2026-09-08 19:53:47.098746", "rc": 0, "start": "2026-09-08 19:53:47.090598" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Tuesday 08 September 2026 19:53:47 -0400 (0:00:00.339) 0:01:38.583 ***** ok: [managed-node1] => { "ansible_job_id": "908654924648.43168", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011814", "end": "2026-09-08 19:53:47.668969", "finished": 1, "rc": 0, "start": "2026-09-08 19:53:47.657155" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Tuesday 08 September 2026 19:54:02 -0400 (0:00:15.750) 0:01:54.333 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009537", "end": "2026-09-08 19:54:03.216119", "rc": 0, "start": "2026-09-08 19:54:03.206582" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Tuesday 08 September 2026 19:54:03 -0400 (0:00:00.367) 0:01:54.701 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Tuesday 08 September 2026 19:54:03 -0400 (0:00:00.032) 0:01:54.734 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009829", "end": "2026-09-08 19:54:03.608960", "rc": 0, "start": "2026-09-08 19:54:03.599131" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Tuesday 08 September 2026 19:54:03 -0400 (0:00:00.360) 0:01:55.094 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Tuesday 08 September 2026 19:54:03 -0400 (0:00:00.032) 0:01:55.127 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008940", "end": "2026-09-08 19:54:03.986205", "failed_when_result": false, "rc": 0, "start": "2026-09-08 19:54:03.977265" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Tuesday 08 September 2026 19:54:04 -0400 (0:00:00.346) 0:01:55.473 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Tuesday 08 September 2026 19:54:04 -0400 (0:00:00.032) 0:01:55.506 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server removed.", "Removed: postgresql-12.15-3.module_el8+514+f9db76aa.x86_64", "Removed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Tuesday 08 September 2026 19:54:08 -0400 (0:00:04.687) 0:02:00.193 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Tuesday 08 September 2026 19:54:08 -0400 (0:00:00.018) 0:02:00.212 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Tuesday 08 September 2026 19:54:09 -0400 (0:00:00.389) 0:02:00.601 ***** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node1] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node1] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node1] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node1] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Tuesday 08 September 2026 19:54:10 -0400 (0:00:01.322) 0:02:01.924 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007448", "end": "2026-09-08 19:54:10.778440", "rc": 0, "start": "2026-09-08 19:54:10.770992" } STDOUT: -- Logs begin at Tue 2026-09-08 19:44:13 EDT, end at Tue 2026-09-08 19:54:10 EDT. -- Sep 08 19:50:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:50:25 managed-node1 postmaster[10455]: 2026-09-08 19:50:25.443 EDT [10455] LOG: redirecting log output to logging collector process Sep 08 19:50:25 managed-node1 postmaster[10455]: 2026-09-08 19:50:25.443 EDT [10455] HINT: Future log output will appear in directory "log". Sep 08 19:50:25 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:50:44 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:50:44 managed-node1 systemd[1]: postgresql.service: Killing process 10456 (postmaster) with signal SIGKILL. Sep 08 19:50:44 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:50:44 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:50:44 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:50:44 managed-node1 postmaster[14014]: 2026-09-08 19:50:44.382 EDT [14014] LOG: redirecting log output to logging collector process Sep 08 19:50:44 managed-node1 postmaster[14014]: 2026-09-08 19:50:44.382 EDT [14014] HINT: Future log output will appear in directory "log". Sep 08 19:50:44 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:50:50 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:50:50 managed-node1 systemd[1]: postgresql.service: Killing process 14016 (postmaster) with signal SIGKILL. Sep 08 19:50:50 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:50:50 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:09 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:09 managed-node1 postmaster[18941]: 2026-09-08 19:51:09.901 EDT [18941] LOG: redirecting log output to logging collector process Sep 08 19:51:09 managed-node1 postmaster[18941]: 2026-09-08 19:51:09.901 EDT [18941] HINT: Future log output will appear in directory "log". Sep 08 19:51:09 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:13 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:13 managed-node1 systemd[1]: postgresql.service: Killing process 18942 (postmaster) with signal SIGKILL. Sep 08 19:51:13 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:13 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:13 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:13 managed-node1 postmaster[19748]: 2026-09-08 19:51:13.342 EDT [19748] LOG: redirecting log output to logging collector process Sep 08 19:51:13 managed-node1 postmaster[19748]: 2026-09-08 19:51:13.342 EDT [19748] HINT: Future log output will appear in directory "log". Sep 08 19:51:13 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:34 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:34 managed-node1 systemd[1]: postgresql.service: Killing process 19750 (postmaster) with signal SIGKILL. Sep 08 19:51:34 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:34 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:54 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:54 managed-node1 postmaster[25067]: 2026-09-08 19:51:54.541 EDT [25067] LOG: redirecting log output to logging collector process Sep 08 19:51:54 managed-node1 postmaster[25067]: 2026-09-08 19:51:54.541 EDT [25067] HINT: Future log output will appear in directory "log". Sep 08 19:51:54 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:59 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:59 managed-node1 systemd[1]: postgresql.service: Killing process 25068 (postmaster) with signal SIGKILL. Sep 08 19:51:59 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:59 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:59 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:59 managed-node1 postmaster[26475]: 2026-09-08 19:51:59.777 EDT [26475] LOG: redirecting log output to logging collector process Sep 08 19:51:59 managed-node1 postmaster[26475]: 2026-09-08 19:51:59.777 EDT [26475] HINT: Future log output will appear in directory "log". Sep 08 19:51:59 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:04 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:04 managed-node1 systemd[1]: postgresql.service: Killing process 26476 (postmaster) with signal SIGKILL. Sep 08 19:52:04 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:04 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:52:23 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:52:23 managed-node1 postmaster[30904]: 2026-09-08 19:52:23.733 EDT [30904] LOG: redirecting log output to logging collector process Sep 08 19:52:23 managed-node1 postmaster[30904]: 2026-09-08 19:52:23.733 EDT [30904] HINT: Future log output will appear in directory "log". Sep 08 19:52:23 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:27 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:27 managed-node1 systemd[1]: postgresql.service: Killing process 30905 (postmaster) with signal SIGKILL. Sep 08 19:52:27 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:27 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:52:27 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:52:27 managed-node1 postmaster[31712]: 2026-09-08 19:52:27.185 EDT [31712] LOG: redirecting log output to logging collector process Sep 08 19:52:27 managed-node1 postmaster[31712]: 2026-09-08 19:52:27.185 EDT [31712] HINT: Future log output will appear in directory "log". Sep 08 19:52:27 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:48 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:48 managed-node1 systemd[1]: postgresql.service: Killing process 31713 (postmaster) with signal SIGKILL. Sep 08 19:52:48 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:48 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:03 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.921 EDT [36418] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.921 EDT [36418] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.924 EDT [36418] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.928 EDT [36418] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.938 EDT [36418] LOG: redirecting log output to logging collector process Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.938 EDT [36418] HINT: Future log output will appear in directory "log". Sep 08 19:53:03 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:53:06 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:53:06 managed-node1 systemd[1]: postgresql.service: Killing process 36419 (postmaster) with signal SIGKILL. Sep 08 19:53:06 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:53:06 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:06 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.910 EDT [37226] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.910 EDT [37226] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.912 EDT [37226] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.916 EDT [37226] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.945 EDT [37226] LOG: redirecting log output to logging collector process Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.945 EDT [37226] HINT: Future log output will appear in directory "log". Sep 08 19:53:06 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:53:28 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:53:28 managed-node1 systemd[1]: postgresql.service: Killing process 37227 (postmaster) with signal SIGKILL. Sep 08 19:53:28 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:53:28 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:43 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.371 EDT [41961] 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 Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.372 EDT [41961] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.372 EDT [41961] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.374 EDT [41961] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.378 EDT [41961] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.389 EDT [41961] LOG: redirecting log output to logging collector process Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.389 EDT [41961] HINT: Future log output will appear in directory "log". Sep 08 19:53:43 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:53:46 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:53:46 managed-node1 systemd[1]: postgresql.service: Killing process 41962 (postmaster) with signal SIGKILL. Sep 08 19:53:46 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:53:46 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:46 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.359 EDT [42769] 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 Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.359 EDT [42769] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.359 EDT [42769] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.361 EDT [42769] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.365 EDT [42769] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.395 EDT [42769] LOG: redirecting log output to logging collector process Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.395 EDT [42769] HINT: Future log output will appear in directory "log". Sep 08 19:53:46 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:54:07 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:54:07 managed-node1 systemd[1]: postgresql.service: Killing process 42770 (postmaster) with signal SIGKILL. Sep 08 19:54:07 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:54:07 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Tuesday 08 September 2026 19:54:10 -0400 (0:00:00.339) 0:02:02.263 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Tuesday 08 September 2026 19:54:10 -0400 (0:00:00.031) 0:02:02.295 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Tuesday 08 September 2026 19:54:10 -0400 (0:00:00.013) 0:02:02.308 ***** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Tuesday 08 September 2026 19:54:10 -0400 (0:00:00.026) 0:02:02.335 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Tuesday 08 September 2026 19:54:10 -0400 (0:00:00.025) 0:02:02.360 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Tuesday 08 September 2026 19:54:11 -0400 (0:00:00.669) 0:02:03.030 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning_default": true, "__postgresql_version_default": "13" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set postgresql effective values from user input or defaults] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Tuesday 08 September 2026 19:54:11 -0400 (0:00:00.018) 0:02:03.048 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning": true, "__postgresql_version": "15" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Tuesday 08 September 2026 19:54:11 -0400 (0:00:00.017) 0:02:03.065 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-08T19:54:11-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Tuesday 08 September 2026 19:54:11 -0400 (0:00:00.332) 0:02:03.398 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Tuesday 08 September 2026 19:54:11 -0400 (0:00:00.014) 0:02:03.412 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Tuesday 08 September 2026 19:54:11 -0400 (0:00:00.013) 0:02:03.425 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Tuesday 08 September 2026 19:54:12 -0400 (0:00:00.014) 0:02:03.440 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Tuesday 08 September 2026 19:54:12 -0400 (0:00:00.016) 0:02:03.456 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Tuesday 08 September 2026 19:54:12 -0400 (0:00:00.013) 0:02:03.470 ***** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-1eS/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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Tuesday 08 September 2026 19:54:12 -0400 (0:00:00.038) 0:02:03.508 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Tuesday 08 September 2026 19:54:12 -0400 (0:00:00.328) 0:02:03.837 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Tuesday 08 September 2026 19:54:12 -0400 (0:00:00.331) 0:02:04.169 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Tuesday 08 September 2026 19:54:13 -0400 (0:00:00.327) 0:02:04.496 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Assert postgresql_version is a string or integer] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Tuesday 08 September 2026 19:54:13 -0400 (0:00:00.028) 0:02:04.524 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_password is null or a string] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Tuesday 08 September 2026 19:54:13 -0400 (0:00:00.021) 0:02:04.546 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_cert_name is null or a string] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Tuesday 08 September 2026 19:54:13 -0400 (0:00:00.016) 0:02:04.563 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_server_tuning is null or a boolean] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Tuesday 08 September 2026 19:54:13 -0400 (0:00:00.016) 0:02:04.579 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert dns in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Tuesday 08 September 2026 19:54:13 -0400 (0:00:00.016) 0:02:04.596 ***** TASK [fedora.linux_system_roles.postgresql : Assert email in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Tuesday 08 September 2026 19:54:13 -0400 (0:00:00.011) 0:02:04.608 ***** TASK [fedora.linux_system_roles.postgresql : Assert ip in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Tuesday 08 September 2026 19:54:13 -0400 (0:00:00.011) 0:02:04.619 ***** TASK [fedora.linux_system_roles.postgresql : Assert principal in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Tuesday 08 September 2026 19:54:13 -0400 (0:00:00.011) 0:02:04.630 ***** TASK [fedora.linux_system_roles.postgresql : Assert mode in postgresql_certificates is a string or integer] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Tuesday 08 September 2026 19:54:13 -0400 (0:00:00.011) 0:02:04.641 ***** TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Tuesday 08 September 2026 19:54:13 -0400 (0:00:00.011) 0:02:04.653 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Tuesday 08 September 2026 19:54:14 -0400 (0:00:01.374) 0:02:06.028 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Tuesday 08 September 2026 19:54:14 -0400 (0:00:00.033) 0:02:06.061 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Tuesday 08 September 2026 19:54:14 -0400 (0:00:00.033) 0:02:06.094 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Tuesday 08 September 2026 19:54:14 -0400 (0:00:00.031) 0:02:06.125 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Tuesday 08 September 2026 19:54:14 -0400 (0:00:00.025) 0:02:06.150 ***** changed: [managed-node1] => { "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" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Tuesday 08 September 2026 19:54:20 -0400 (0:00:06.055) 0:02:12.206 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.734875", "end": "2026-09-08 19:54:21.843696", "rc": 0, "start": "2026-09-08 19:54:21.108821" } 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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Tuesday 08 September 2026 19:54:21 -0400 (0:00:01.124) 0:02:13.330 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Tuesday 08 September 2026 19:54:21 -0400 (0:00:00.023) 0:02:13.354 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Tuesday 08 September 2026 19:54:21 -0400 (0:00:00.021) 0:02:13.375 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Tuesday 08 September 2026 19:54:21 -0400 (0:00:00.020) 0:02:13.395 ***** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target sysinit.target system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Tuesday 08 September 2026 19:54:23 -0400 (0:00:01.053) 0:02:14.449 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.019) 0:02:14.468 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.019) 0:02:14.488 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.019) 0:02:14.507 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.022) 0:02:14.529 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.020) 0:02:14.550 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.032) 0:02:14.583 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.019) 0:02:14.602 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.019) 0:02:14.622 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.019) 0:02:14.642 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.019) 0:02:14.661 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.018) 0:02:14.679 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.019) 0:02:14.699 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.019) 0:02:14.719 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.019) 0:02:14.738 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.018) 0:02:14.757 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.019) 0:02:14.777 ***** ok: [managed-node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Tuesday 08 September 2026 19:54:23 -0400 (0:00:00.377) 0:02:15.155 ***** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Tuesday 08 September 2026 19:54:24 -0400 (0:00:00.348) 0:02:15.503 ***** changed: [managed-node1] => { "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-1788911664.1103284-15856-133824572346053/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Tuesday 08 September 2026 19:54:24 -0400 (0:00:00.691) 0:02:16.195 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Tuesday 08 September 2026 19:54:24 -0400 (0:00:00.019) 0:02:16.214 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Tuesday 08 September 2026 19:54:24 -0400 (0:00:00.018) 0:02:16.233 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-08T19:54:25-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Tuesday 08 September 2026 19:54:25 -0400 (0:00:00.350) 0:02:16.584 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Tuesday 08 September 2026 19:54:25 -0400 (0:00:00.012) 0:02:16.597 ***** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2026-09-08 19:54:22 EDT", "ActiveEnterTimestampMonotonic": "609924748", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket sysinit.target system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-09-08 19:54:22 EDT", "AssertTimestampMonotonic": "609872360", "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": "Tue 2026-09-08 19:54:22 EDT", "ConditionTimestampMonotonic": "609872359", "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": "47514", "ExecMainStartTimestamp": "Tue 2026-09-08 19:54:22 EDT", "ExecMainStartTimestampMonotonic": "609882422", "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=[Tue 2026-09-08 19:54:22 EDT] ; stop_time=[n/a] ; pid=47514 ; 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=[Tue 2026-09-08 19:54:22 EDT] ; stop_time=[Tue 2026-09-08 19:54:22 EDT] ; pid=47511 ; 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": "Tue 2026-09-08 19:54:22 EDT", "InactiveExitTimestampMonotonic": "609873377", "InvocationID": "a91c69e1e10f4746807e9a1d60c43f37", "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": "47514", "MemoryAccounting": "yes", "MemoryCurrent": "18472960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2026-09-08 19:54:22 EDT", "StateChangeTimestampMonotonic": "609924748", "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": "Tue 2026-09-08 19:54:22 EDT", "WatchdogTimestampMonotonic": "609924745", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Tuesday 08 September 2026 19:54:26 -0400 (0:00:00.925) 0:02:17.522 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008470", "end": "2026-09-08 19:54:26.385275", "rc": 0, "start": "2026-09-08 19:54:26.376805" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Tuesday 08 September 2026 19:54:26 -0400 (0:00:00.348) 0:02:17.870 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008096", "end": "2026-09-08 19:54:26.728535", "rc": 0, "start": "2026-09-08 19:54:26.720439" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Tuesday 08 September 2026 19:54:26 -0400 (0:00:00.342) 0:02:18.213 ***** ok: [managed-node1] => { "ansible_job_id": "362221942858.48719", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012199", "end": "2026-09-08 19:54:27.302172", "finished": 1, "rc": 0, "start": "2026-09-08 19:54:27.289973" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Tuesday 08 September 2026 19:54:42 -0400 (0:00:15.755) 0:02:33.968 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009526", "end": "2026-09-08 19:54:42.841957", "rc": 0, "start": "2026-09-08 19:54:42.832431" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Tuesday 08 September 2026 19:54:42 -0400 (0:00:00.359) 0:02:34.327 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Tuesday 08 September 2026 19:54:42 -0400 (0:00:00.031) 0:02:34.359 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009207", "end": "2026-09-08 19:54:43.232859", "rc": 0, "start": "2026-09-08 19:54:43.223652" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Tuesday 08 September 2026 19:54:43 -0400 (0:00:00.358) 0:02:34.717 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Tuesday 08 September 2026 19:54:43 -0400 (0:00:00.032) 0:02:34.749 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008854", "end": "2026-09-08 19:54:43.613115", "failed_when_result": false, "rc": 0, "start": "2026-09-08 19:54:43.604261" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Tuesday 08 September 2026 19:54:43 -0400 (0:00:00.379) 0:02:35.129 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Tuesday 08 September 2026 19:54:43 -0400 (0:00:00.032) 0:02:35.161 ***** changed: [managed-node1] => { "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-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Tuesday 08 September 2026 19:54:48 -0400 (0:00:04.667) 0:02:39.829 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Tuesday 08 September 2026 19:54:48 -0400 (0:00:00.019) 0:02:39.848 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Tuesday 08 September 2026 19:54:48 -0400 (0:00:00.385) 0:02:40.234 ***** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node1] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node1] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node1] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node1] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Tuesday 08 September 2026 19:54:50 -0400 (0:00:01.335) 0:02:41.569 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007557", "end": "2026-09-08 19:54:50.426303", "rc": 0, "start": "2026-09-08 19:54:50.418746" } STDOUT: -- Logs begin at Tue 2026-09-08 19:44:13 EDT, end at Tue 2026-09-08 19:54:50 EDT. -- Sep 08 19:50:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:50:25 managed-node1 postmaster[10455]: 2026-09-08 19:50:25.443 EDT [10455] LOG: redirecting log output to logging collector process Sep 08 19:50:25 managed-node1 postmaster[10455]: 2026-09-08 19:50:25.443 EDT [10455] HINT: Future log output will appear in directory "log". Sep 08 19:50:25 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:50:44 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:50:44 managed-node1 systemd[1]: postgresql.service: Killing process 10456 (postmaster) with signal SIGKILL. Sep 08 19:50:44 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:50:44 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:50:44 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:50:44 managed-node1 postmaster[14014]: 2026-09-08 19:50:44.382 EDT [14014] LOG: redirecting log output to logging collector process Sep 08 19:50:44 managed-node1 postmaster[14014]: 2026-09-08 19:50:44.382 EDT [14014] HINT: Future log output will appear in directory "log". Sep 08 19:50:44 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:50:50 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:50:50 managed-node1 systemd[1]: postgresql.service: Killing process 14016 (postmaster) with signal SIGKILL. Sep 08 19:50:50 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:50:50 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:09 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:09 managed-node1 postmaster[18941]: 2026-09-08 19:51:09.901 EDT [18941] LOG: redirecting log output to logging collector process Sep 08 19:51:09 managed-node1 postmaster[18941]: 2026-09-08 19:51:09.901 EDT [18941] HINT: Future log output will appear in directory "log". Sep 08 19:51:09 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:13 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:13 managed-node1 systemd[1]: postgresql.service: Killing process 18942 (postmaster) with signal SIGKILL. Sep 08 19:51:13 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:13 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:13 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:13 managed-node1 postmaster[19748]: 2026-09-08 19:51:13.342 EDT [19748] LOG: redirecting log output to logging collector process Sep 08 19:51:13 managed-node1 postmaster[19748]: 2026-09-08 19:51:13.342 EDT [19748] HINT: Future log output will appear in directory "log". Sep 08 19:51:13 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:34 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:34 managed-node1 systemd[1]: postgresql.service: Killing process 19750 (postmaster) with signal SIGKILL. Sep 08 19:51:34 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:34 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:54 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:54 managed-node1 postmaster[25067]: 2026-09-08 19:51:54.541 EDT [25067] LOG: redirecting log output to logging collector process Sep 08 19:51:54 managed-node1 postmaster[25067]: 2026-09-08 19:51:54.541 EDT [25067] HINT: Future log output will appear in directory "log". Sep 08 19:51:54 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:59 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:59 managed-node1 systemd[1]: postgresql.service: Killing process 25068 (postmaster) with signal SIGKILL. Sep 08 19:51:59 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:59 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:59 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:59 managed-node1 postmaster[26475]: 2026-09-08 19:51:59.777 EDT [26475] LOG: redirecting log output to logging collector process Sep 08 19:51:59 managed-node1 postmaster[26475]: 2026-09-08 19:51:59.777 EDT [26475] HINT: Future log output will appear in directory "log". Sep 08 19:51:59 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:04 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:04 managed-node1 systemd[1]: postgresql.service: Killing process 26476 (postmaster) with signal SIGKILL. Sep 08 19:52:04 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:04 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:52:23 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:52:23 managed-node1 postmaster[30904]: 2026-09-08 19:52:23.733 EDT [30904] LOG: redirecting log output to logging collector process Sep 08 19:52:23 managed-node1 postmaster[30904]: 2026-09-08 19:52:23.733 EDT [30904] HINT: Future log output will appear in directory "log". Sep 08 19:52:23 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:27 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:27 managed-node1 systemd[1]: postgresql.service: Killing process 30905 (postmaster) with signal SIGKILL. Sep 08 19:52:27 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:27 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:52:27 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:52:27 managed-node1 postmaster[31712]: 2026-09-08 19:52:27.185 EDT [31712] LOG: redirecting log output to logging collector process Sep 08 19:52:27 managed-node1 postmaster[31712]: 2026-09-08 19:52:27.185 EDT [31712] HINT: Future log output will appear in directory "log". Sep 08 19:52:27 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:48 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:48 managed-node1 systemd[1]: postgresql.service: Killing process 31713 (postmaster) with signal SIGKILL. Sep 08 19:52:48 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:48 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:03 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.921 EDT [36418] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.921 EDT [36418] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.924 EDT [36418] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.928 EDT [36418] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.938 EDT [36418] LOG: redirecting log output to logging collector process Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.938 EDT [36418] HINT: Future log output will appear in directory "log". Sep 08 19:53:03 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:53:06 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:53:06 managed-node1 systemd[1]: postgresql.service: Killing process 36419 (postmaster) with signal SIGKILL. Sep 08 19:53:06 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:53:06 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:06 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.910 EDT [37226] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.910 EDT [37226] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.912 EDT [37226] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.916 EDT [37226] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.945 EDT [37226] LOG: redirecting log output to logging collector process Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.945 EDT [37226] HINT: Future log output will appear in directory "log". Sep 08 19:53:06 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:53:28 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:53:28 managed-node1 systemd[1]: postgresql.service: Killing process 37227 (postmaster) with signal SIGKILL. Sep 08 19:53:28 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:53:28 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:43 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.371 EDT [41961] 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 Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.372 EDT [41961] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.372 EDT [41961] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.374 EDT [41961] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.378 EDT [41961] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.389 EDT [41961] LOG: redirecting log output to logging collector process Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.389 EDT [41961] HINT: Future log output will appear in directory "log". Sep 08 19:53:43 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:53:46 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:53:46 managed-node1 systemd[1]: postgresql.service: Killing process 41962 (postmaster) with signal SIGKILL. Sep 08 19:53:46 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:53:46 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:46 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.359 EDT [42769] 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 Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.359 EDT [42769] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.359 EDT [42769] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.361 EDT [42769] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.365 EDT [42769] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.395 EDT [42769] LOG: redirecting log output to logging collector process Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.395 EDT [42769] HINT: Future log output will appear in directory "log". Sep 08 19:53:46 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:54:07 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:54:07 managed-node1 systemd[1]: postgresql.service: Killing process 42770 (postmaster) with signal SIGKILL. Sep 08 19:54:07 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:54:07 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:54:22 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:54:22 managed-node1 postmaster[47514]: 2026-09-08 19:54:22.935 EDT [47514] LOG: redirecting log output to logging collector process Sep 08 19:54:22 managed-node1 postmaster[47514]: 2026-09-08 19:54:22.935 EDT [47514] HINT: Future log output will appear in directory "log". Sep 08 19:54:22 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:54:25 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:54:25 managed-node1 systemd[1]: postgresql.service: Killing process 47515 (postmaster) with signal SIGKILL. Sep 08 19:54:25 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:54:25 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:54:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:54:26 managed-node1 postmaster[48320]: 2026-09-08 19:54:26.010 EDT [48320] LOG: redirecting log output to logging collector process Sep 08 19:54:26 managed-node1 postmaster[48320]: 2026-09-08 19:54:26.010 EDT [48320] HINT: Future log output will appear in directory "log". Sep 08 19:54:26 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:54:47 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:54:47 managed-node1 systemd[1]: postgresql.service: Killing process 48322 (postmaster) with signal SIGKILL. Sep 08 19:54:47 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:54:47 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Tuesday 08 September 2026 19:54:50 -0400 (0:00:00.343) 0:02:41.912 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Tuesday 08 September 2026 19:54:50 -0400 (0:00:00.034) 0:02:41.946 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Tuesday 08 September 2026 19:54:50 -0400 (0:00:00.014) 0:02:41.961 ***** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Tuesday 08 September 2026 19:54:50 -0400 (0:00:00.026) 0:02:41.988 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Tuesday 08 September 2026 19:54:50 -0400 (0:00:00.027) 0:02:42.015 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Tuesday 08 September 2026 19:54:51 -0400 (0:00:00.678) 0:02:42.693 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning_default": true, "__postgresql_version_default": "13" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set postgresql effective values from user input or defaults] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Tuesday 08 September 2026 19:54:51 -0400 (0:00:00.018) 0:02:42.712 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning": true, "__postgresql_version": "16" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Tuesday 08 September 2026 19:54:51 -0400 (0:00:00.022) 0:02:42.734 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-08T19:54:51-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Tuesday 08 September 2026 19:54:51 -0400 (0:00:00.338) 0:02:43.073 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Tuesday 08 September 2026 19:54:51 -0400 (0:00:00.014) 0:02:43.088 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Tuesday 08 September 2026 19:54:51 -0400 (0:00:00.015) 0:02:43.103 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Tuesday 08 September 2026 19:54:51 -0400 (0:00:00.014) 0:02:43.118 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Tuesday 08 September 2026 19:54:51 -0400 (0:00:00.015) 0:02:43.133 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Tuesday 08 September 2026 19:54:51 -0400 (0:00:00.013) 0:02:43.147 ***** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-1eS/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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Tuesday 08 September 2026 19:54:51 -0400 (0:00:00.039) 0:02:43.187 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.346) 0:02:43.533 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.343) 0:02:43.876 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.337) 0:02:44.214 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml for managed-node1 TASK [fedora.linux_system_roles.postgresql : Assert postgresql_version is a string or integer] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.029) 0:02:44.243 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_password is null or a string] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.022) 0:02:44.266 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_cert_name is null or a string] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.018) 0:02:44.284 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert postgresql_server_tuning is null or a boolean] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.017) 0:02:44.302 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.postgresql : Assert dns in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.018) 0:02:44.320 ***** TASK [fedora.linux_system_roles.postgresql : Assert email in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.012) 0:02:44.333 ***** TASK [fedora.linux_system_roles.postgresql : Assert ip in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.012) 0:02:44.346 ***** TASK [fedora.linux_system_roles.postgresql : Assert principal in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.012) 0:02:44.358 ***** TASK [fedora.linux_system_roles.postgresql : Assert mode in postgresql_certificates is a string or integer] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.013) 0:02:44.371 ***** TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Tuesday 08 September 2026 19:54:52 -0400 (0:00:00.012) 0:02:44.383 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Tuesday 08 September 2026 19:54:54 -0400 (0:00:01.383) 0:02:45.767 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Tuesday 08 September 2026 19:54:54 -0400 (0:00:00.033) 0:02:45.801 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Tuesday 08 September 2026 19:54:54 -0400 (0:00:00.030) 0:02:45.832 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Tuesday 08 September 2026 19:54:54 -0400 (0:00:00.030) 0:02:45.862 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Tuesday 08 September 2026 19:54:54 -0400 (0:00:00.024) 0:02:45.887 ***** changed: [managed-node1] => { "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" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Tuesday 08 September 2026 19:55:00 -0400 (0:00:06.242) 0:02:52.130 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.757736", "end": "2026-09-08 19:55:01.794681", "rc": 0, "start": "2026-09-08 19:55:01.036945" } 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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Tuesday 08 September 2026 19:55:01 -0400 (0:00:01.149) 0:02:53.280 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Tuesday 08 September 2026 19:55:01 -0400 (0:00:00.022) 0:02:53.302 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Tuesday 08 September 2026 19:55:01 -0400 (0:00:00.021) 0:02:53.324 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Tuesday 08 September 2026 19:55:01 -0400 (0:00:00.020) 0:02:53.344 ***** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target sysinit.target system.slice network-online.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-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Tuesday 08 September 2026 19:55:02 -0400 (0:00:01.026) 0:02:54.371 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Tuesday 08 September 2026 19:55:02 -0400 (0:00:00.019) 0:02:54.391 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Tuesday 08 September 2026 19:55:02 -0400 (0:00:00.019) 0:02:54.410 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Tuesday 08 September 2026 19:55:02 -0400 (0:00:00.020) 0:02:54.430 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.019) 0:02:54.450 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.019) 0:02:54.469 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.032) 0:02:54.502 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.019) 0:02:54.521 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.019) 0:02:54.541 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.020) 0:02:54.561 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.019) 0:02:54.581 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.018) 0:02:54.599 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.018) 0:02:54.618 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.020) 0:02:54.639 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.019) 0:02:54.658 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.018) 0:02:54.677 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.018) 0:02:54.696 ***** ok: [managed-node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.348) 0:02:55.044 ***** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Tuesday 08 September 2026 19:55:03 -0400 (0:00:00.345) 0:02:55.390 ***** changed: [managed-node1] => { "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-1788911703.9976647-16350-142745884356453/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Tuesday 08 September 2026 19:55:04 -0400 (0:00:00.705) 0:02:56.096 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Tuesday 08 September 2026 19:55:04 -0400 (0:00:00.018) 0:02:56.115 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Tuesday 08 September 2026 19:55:04 -0400 (0:00:00.019) 0:02:56.134 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-08T19:55:05-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Tuesday 08 September 2026 19:55:05 -0400 (0:00:00.351) 0:02:56.486 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Tuesday 08 September 2026 19:55:05 -0400 (0:00:00.012) 0:02:56.498 ***** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2026-09-08 19:55:02 EDT", "ActiveEnterTimestampMonotonic": "649847187", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket network-online.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-09-08 19:55:02 EDT", "AssertTimestampMonotonic": "649803095", "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": "Tue 2026-09-08 19:55:02 EDT", "ConditionTimestampMonotonic": "649803095", "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": "53061", "ExecMainStartTimestamp": "Tue 2026-09-08 19:55:02 EDT", "ExecMainStartTimestampMonotonic": "649812408", "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=[Tue 2026-09-08 19:55:02 EDT] ; stop_time=[n/a] ; pid=53061 ; 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=[Tue 2026-09-08 19:55:02 EDT] ; stop_time=[Tue 2026-09-08 19:55:02 EDT] ; pid=53058 ; 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": "Tue 2026-09-08 19:55:02 EDT", "InactiveExitTimestampMonotonic": "649803981", "InvocationID": "c9a504f92751499489d0f8eb729a3ac1", "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": "53061", "MemoryAccounting": "yes", "MemoryCurrent": "18735104", "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": "Tue 2026-09-08 19:55:02 EDT", "StateChangeTimestampMonotonic": "649847187", "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": "Tue 2026-09-08 19:55:02 EDT", "WatchdogTimestampMonotonic": "649847185", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Tuesday 08 September 2026 19:55:05 -0400 (0:00:00.926) 0:02:57.425 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008446", "end": "2026-09-08 19:55:06.305991", "rc": 0, "start": "2026-09-08 19:55:06.297545" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Tuesday 08 September 2026 19:55:06 -0400 (0:00:00.368) 0:02:57.794 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008537", "end": "2026-09-08 19:55:06.663130", "rc": 0, "start": "2026-09-08 19:55:06.654593" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Tuesday 08 September 2026 19:55:06 -0400 (0:00:00.355) 0:02:58.149 ***** ok: [managed-node1] => { "ansible_job_id": "893689333380.54266", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012754", "end": "2026-09-08 19:55:07.259666", "finished": 1, "rc": 0, "start": "2026-09-08 19:55:07.246912" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Tuesday 08 September 2026 19:55:22 -0400 (0:00:15.766) 0:03:13.915 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010195", "end": "2026-09-08 19:55:22.800653", "rc": 0, "start": "2026-09-08 19:55:22.790458" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Tuesday 08 September 2026 19:55:22 -0400 (0:00:00.373) 0:03:14.288 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Tuesday 08 September 2026 19:55:22 -0400 (0:00:00.032) 0:03:14.321 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009710", "end": "2026-09-08 19:55:23.205739", "rc": 0, "start": "2026-09-08 19:55:23.196029" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Tuesday 08 September 2026 19:55:23 -0400 (0:00:00.371) 0:03:14.692 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Tuesday 08 September 2026 19:55:23 -0400 (0:00:00.031) 0:03:14.724 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009234", "end": "2026-09-08 19:55:23.594502", "failed_when_result": false, "rc": 0, "start": "2026-09-08 19:55:23.585268" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Tuesday 08 September 2026 19:55:23 -0400 (0:00:00.386) 0:03:15.111 ***** included: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Tuesday 08 September 2026 19:55:23 -0400 (0:00:00.033) 0:03:15.144 ***** changed: [managed-node1] => { "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-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Tuesday 08 September 2026 19:55:28 -0400 (0:00:04.684) 0:03:19.829 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Tuesday 08 September 2026 19:55:28 -0400 (0:00:00.020) 0:03:19.849 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Tuesday 08 September 2026 19:55:28 -0400 (0:00:00.386) 0:03:20.235 ***** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node1] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node1] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node1] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node1] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Tuesday 08 September 2026 19:55:30 -0400 (0:00:01.333) 0:03:21.568 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007633", "end": "2026-09-08 19:55:30.421190", "rc": 0, "start": "2026-09-08 19:55:30.413557" } STDOUT: -- Logs begin at Tue 2026-09-08 19:44:13 EDT, end at Tue 2026-09-08 19:55:30 EDT. -- Sep 08 19:50:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:50:25 managed-node1 postmaster[10455]: 2026-09-08 19:50:25.443 EDT [10455] LOG: redirecting log output to logging collector process Sep 08 19:50:25 managed-node1 postmaster[10455]: 2026-09-08 19:50:25.443 EDT [10455] HINT: Future log output will appear in directory "log". Sep 08 19:50:25 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:50:44 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:50:44 managed-node1 systemd[1]: postgresql.service: Killing process 10456 (postmaster) with signal SIGKILL. Sep 08 19:50:44 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:50:44 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:50:44 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:50:44 managed-node1 postmaster[14014]: 2026-09-08 19:50:44.382 EDT [14014] LOG: redirecting log output to logging collector process Sep 08 19:50:44 managed-node1 postmaster[14014]: 2026-09-08 19:50:44.382 EDT [14014] HINT: Future log output will appear in directory "log". Sep 08 19:50:44 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:50:50 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:50:50 managed-node1 systemd[1]: postgresql.service: Killing process 14016 (postmaster) with signal SIGKILL. Sep 08 19:50:50 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:50:50 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:09 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:09 managed-node1 postmaster[18941]: 2026-09-08 19:51:09.901 EDT [18941] LOG: redirecting log output to logging collector process Sep 08 19:51:09 managed-node1 postmaster[18941]: 2026-09-08 19:51:09.901 EDT [18941] HINT: Future log output will appear in directory "log". Sep 08 19:51:09 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:13 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:13 managed-node1 systemd[1]: postgresql.service: Killing process 18942 (postmaster) with signal SIGKILL. Sep 08 19:51:13 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:13 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:13 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:13 managed-node1 postmaster[19748]: 2026-09-08 19:51:13.342 EDT [19748] LOG: redirecting log output to logging collector process Sep 08 19:51:13 managed-node1 postmaster[19748]: 2026-09-08 19:51:13.342 EDT [19748] HINT: Future log output will appear in directory "log". Sep 08 19:51:13 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:34 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:34 managed-node1 systemd[1]: postgresql.service: Killing process 19750 (postmaster) with signal SIGKILL. Sep 08 19:51:34 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:34 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:54 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:54 managed-node1 postmaster[25067]: 2026-09-08 19:51:54.541 EDT [25067] LOG: redirecting log output to logging collector process Sep 08 19:51:54 managed-node1 postmaster[25067]: 2026-09-08 19:51:54.541 EDT [25067] HINT: Future log output will appear in directory "log". Sep 08 19:51:54 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:51:59 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:51:59 managed-node1 systemd[1]: postgresql.service: Killing process 25068 (postmaster) with signal SIGKILL. Sep 08 19:51:59 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:51:59 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:51:59 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:51:59 managed-node1 postmaster[26475]: 2026-09-08 19:51:59.777 EDT [26475] LOG: redirecting log output to logging collector process Sep 08 19:51:59 managed-node1 postmaster[26475]: 2026-09-08 19:51:59.777 EDT [26475] HINT: Future log output will appear in directory "log". Sep 08 19:51:59 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:04 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:04 managed-node1 systemd[1]: postgresql.service: Killing process 26476 (postmaster) with signal SIGKILL. Sep 08 19:52:04 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:04 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:52:23 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:52:23 managed-node1 postmaster[30904]: 2026-09-08 19:52:23.733 EDT [30904] LOG: redirecting log output to logging collector process Sep 08 19:52:23 managed-node1 postmaster[30904]: 2026-09-08 19:52:23.733 EDT [30904] HINT: Future log output will appear in directory "log". Sep 08 19:52:23 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:27 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:27 managed-node1 systemd[1]: postgresql.service: Killing process 30905 (postmaster) with signal SIGKILL. Sep 08 19:52:27 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:27 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:52:27 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:52:27 managed-node1 postmaster[31712]: 2026-09-08 19:52:27.185 EDT [31712] LOG: redirecting log output to logging collector process Sep 08 19:52:27 managed-node1 postmaster[31712]: 2026-09-08 19:52:27.185 EDT [31712] HINT: Future log output will appear in directory "log". Sep 08 19:52:27 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:52:48 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:52:48 managed-node1 systemd[1]: postgresql.service: Killing process 31713 (postmaster) with signal SIGKILL. Sep 08 19:52:48 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:52:48 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:03 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.921 EDT [36418] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.921 EDT [36418] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.924 EDT [36418] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.928 EDT [36418] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.938 EDT [36418] LOG: redirecting log output to logging collector process Sep 08 19:53:03 managed-node1 postmaster[36418]: 2026-09-08 19:53:03.938 EDT [36418] HINT: Future log output will appear in directory "log". Sep 08 19:53:03 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:53:06 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:53:06 managed-node1 systemd[1]: postgresql.service: Killing process 36419 (postmaster) with signal SIGKILL. Sep 08 19:53:06 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:53:06 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:06 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.910 EDT [37226] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.910 EDT [37226] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.912 EDT [37226] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.916 EDT [37226] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.945 EDT [37226] LOG: redirecting log output to logging collector process Sep 08 19:53:06 managed-node1 postmaster[37226]: 2026-09-08 19:53:06.945 EDT [37226] HINT: Future log output will appear in directory "log". Sep 08 19:53:06 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:53:28 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:53:28 managed-node1 systemd[1]: postgresql.service: Killing process 37227 (postmaster) with signal SIGKILL. Sep 08 19:53:28 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:53:28 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:43 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.371 EDT [41961] 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 Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.372 EDT [41961] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.372 EDT [41961] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.374 EDT [41961] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.378 EDT [41961] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.389 EDT [41961] LOG: redirecting log output to logging collector process Sep 08 19:53:43 managed-node1 postmaster[41961]: 2026-09-08 19:53:43.389 EDT [41961] HINT: Future log output will appear in directory "log". Sep 08 19:53:43 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:53:46 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:53:46 managed-node1 systemd[1]: postgresql.service: Killing process 41962 (postmaster) with signal SIGKILL. Sep 08 19:53:46 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:53:46 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:53:46 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.359 EDT [42769] 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 Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.359 EDT [42769] LOG: listening on IPv6 address "::1", port 5432 Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.359 EDT [42769] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.361 EDT [42769] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.365 EDT [42769] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.395 EDT [42769] LOG: redirecting log output to logging collector process Sep 08 19:53:46 managed-node1 postmaster[42769]: 2026-09-08 19:53:46.395 EDT [42769] HINT: Future log output will appear in directory "log". Sep 08 19:53:46 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:54:07 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:54:07 managed-node1 systemd[1]: postgresql.service: Killing process 42770 (postmaster) with signal SIGKILL. Sep 08 19:54:07 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:54:07 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:54:22 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:54:22 managed-node1 postmaster[47514]: 2026-09-08 19:54:22.935 EDT [47514] LOG: redirecting log output to logging collector process Sep 08 19:54:22 managed-node1 postmaster[47514]: 2026-09-08 19:54:22.935 EDT [47514] HINT: Future log output will appear in directory "log". Sep 08 19:54:22 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:54:25 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:54:25 managed-node1 systemd[1]: postgresql.service: Killing process 47515 (postmaster) with signal SIGKILL. Sep 08 19:54:25 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:54:25 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:54:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:54:26 managed-node1 postmaster[48320]: 2026-09-08 19:54:26.010 EDT [48320] LOG: redirecting log output to logging collector process Sep 08 19:54:26 managed-node1 postmaster[48320]: 2026-09-08 19:54:26.010 EDT [48320] HINT: Future log output will appear in directory "log". Sep 08 19:54:26 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:54:47 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:54:47 managed-node1 systemd[1]: postgresql.service: Killing process 48322 (postmaster) with signal SIGKILL. Sep 08 19:54:47 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:54:47 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:55:02 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:55:02 managed-node1 postgres[53061]: 2026-09-08 19:55:02.862 EDT [53061] LOG: redirecting log output to logging collector process Sep 08 19:55:02 managed-node1 postgres[53061]: 2026-09-08 19:55:02.862 EDT [53061] HINT: Future log output will appear in directory "log". Sep 08 19:55:02 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:55:05 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:55:05 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:55:05 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 19:55:05 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 19:55:05 managed-node1 postgres[53868]: 2026-09-08 19:55:05.914 EDT [53868] LOG: redirecting log output to logging collector process Sep 08 19:55:05 managed-node1 postgres[53868]: 2026-09-08 19:55:05.914 EDT [53868] HINT: Future log output will appear in directory "log". Sep 08 19:55:05 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 19:55:27 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 19:55:27 managed-node1 systemd[1]: postgresql.service: Killing process 53869 (postgres) with signal SIGKILL. Sep 08 19:55:27 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 08 19:55:27 managed-node1 systemd[1]: Stopped PostgreSQL database server. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=200 changed=45 unreachable=0 failed=0 skipped=182 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 08 September 2026 19:55:30 -0400 (0:00:00.332) 0:03:21.901 ***** =============================================================================== fedora.linux_system_roles.postgresql : Ensure required packages are installed -- 30.32s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Test - database is accessible for super user using Unix socket --------- 15.97s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.77s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.77s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.76s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.75s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 fedora.linux_system_roles.postgresql : Gather the package facts --------- 7.17s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 5.62s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 5.44s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Uninstall postgresql ---------------------------------------------------- 4.69s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.68s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.67s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.65s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Restart postgresql --------------- 4.64s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Uninstall postgresql ---------------------------------------------------- 4.64s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf --- 3.55s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 fedora.linux_system_roles.postgresql : Create postgresql directory in /etc --- 1.95s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 fedora.linux_system_roles.postgresql : Link generated conf file with server one --- 1.81s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 fedora.linux_system_roles.postgresql : Record role success fingerprint --- 1.75s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Remove config files ----------------------------------------------------- 1.34s /tmp/collections-1eS/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32