ansible-playbook [core 2.17.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-YZF executable location = /usr/local/bin/ansible-playbook python version = 3.12.14 (main, Aug 13 2026, 00:00:00) [GCC 14.4.1 20260724 (Red Hat 14.4.1-3)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-YZF/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-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Tuesday 08 September 2026 11:56:59 -0400 (0:00:00.029) 0:00:00.029 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Tuesday 08 September 2026 11:57:00 -0400 (0:00:01.209) 0:00:01.238 ***** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Tuesday 08 September 2026 11:57:00 -0400 (0:00:00.009) 0:00:01.248 ***** included: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Tuesday 08 September 2026 11:57:01 -0400 (0:00:00.042) 0:00:01.290 ***** included: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 TASK [Clear facts] ************************************************************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Tuesday 08 September 2026 11:57:01 -0400 (0:00:00.038) 0:00:01.329 ***** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Tuesday 08 September 2026 11:57:01 -0400 (0:00:00.000) 0:00:01.329 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Tuesday 08 September 2026 11:57:01 -0400 (0:00:00.014) 0:00:01.344 ***** included: fedora.linux_system_roles.postgresql for managed-node1 TASK [fedora.linux_system_roles.postgresql : Validating arguments against arg spec 'main' - The postgresql role.] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Tuesday 08 September 2026 11:57:01 -0400 (0:00:00.075) 0:00:01.419 ***** ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "postgresql", "path": "/tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql", "type": "role" } } MSG: The arg spec validation passed TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Tuesday 08 September 2026 11:57:01 -0400 (0:00:00.014) 0:00:01.433 ***** included: /tmp/collections-YZF/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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Tuesday 08 September 2026 11:57:01 -0400 (0:00:00.030) 0:00:01.464 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Tuesday 08 September 2026 11:57:02 -0400 (0:00:00.945) 0:00:02.409 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning_default": true, "__postgresql_version_default": "16" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set postgresql effective values from user input or defaults] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Tuesday 08 September 2026 11:57:02 -0400 (0:00:00.022) 0:00:02.431 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Tuesday 08 September 2026 11:57:02 -0400 (0:00:00.019) 0:00:02.451 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T11:57:02-04:00", "managed_node_distro": "CentOS-10", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-YZF/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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Tuesday 08 September 2026 11:57:02 -0400 (0:00:00.459) 0:00:02.910 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Tuesday 08 September 2026 11:57:03 -0400 (0:00:00.463) 0:00:03.374 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Tuesday 08 September 2026 11:57:03 -0400 (0:00:00.020) 0:00:03.394 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008694", "end": "2026-09-08 11:57:03.501322", "failed_when_result": false, "rc": 0, "start": "2026-09-08 11:57:03.492628" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Tuesday 08 September 2026 11:57:03 -0400 (0:00:00.448) 0:00:03.842 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Tuesday 08 September 2026 11:57:03 -0400 (0:00:00.018) 0:00:03.861 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Tuesday 08 September 2026 11:57:03 -0400 (0:00:00.020) 0:00:03.881 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['postgresql' + (__postgresql_version | string) +\n '-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [managed-node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['postgresql' + (__postgresql_version | string) +\n '-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Tuesday 08 September 2026 11:57:03 -0400 (0:00:00.040) 0:00:03.921 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.374) 0:00:04.296 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.380) 0:00:04.677 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.369) 0:00:05.046 ***** included: /tmp/collections-YZF/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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.032) 0:00:05.079 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_version is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Assert postgresql_password is null or a string] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.017) 0:00:05.096 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.019) 0:00:05.115 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.019) 0:00:05.134 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.020) 0:00:05.155 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postgresql : Assert email in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.009) 0:00:05.164 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postgresql : Assert ip in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.009) 0:00:05.174 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postgresql : Assert principal in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.009) 0:00:05.183 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postgresql : Assert mode in postgresql_certificates is a string or integer] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.010) 0:00:05.194 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Tuesday 08 September 2026 11:57:04 -0400 (0:00:00.012) 0:00:05.206 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Tuesday 08 September 2026 11:57:05 -0400 (0:00:01.074) 0:00:06.280 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"8\"", "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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Tuesday 08 September 2026 11:57:06 -0400 (0:00:00.022) 0:00:06.303 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Tuesday 08 September 2026 11:57:06 -0400 (0:00:00.022) 0:00:06.326 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_version | string not in __postgresql_versions_el10", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Tuesday 08 September 2026 11:57:06 -0400 (0:00:00.025) 0:00:06.352 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Tuesday 08 September 2026 11:57:06 -0400 (0:00:00.019) 0:00:06.371 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: postgresql-private-libs-16.14-3.el10.x86_64", "Installed: postgresql-server-16.14-3.el10.x86_64", "Installed: postgresql-16.14-3.el10.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Tuesday 08 September 2026 11:57:09 -0400 (0:00:03.362) 0:00:09.734 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.726137", "end": "2026-09-08 11:57:10.495372", "rc": 0, "start": "2026-09-08 11:57:09.769235" } 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Tuesday 08 September 2026 11:57:10 -0400 (0:00:01.107) 0:00:10.841 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Tuesday 08 September 2026 11:57:10 -0400 (0:00:00.021) 0:00:10.862 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Tuesday 08 September 2026 11:57:10 -0400 (0:00:00.028) 0:00:10.891 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Tuesday 08 September 2026 11:57:10 -0400 (0:00:00.019) 0:00:10.910 ***** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target system.slice systemd-journald.socket basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BindLogSockets": "no", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "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", "CanLiveMount": "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DebugInvocation": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveMemoryHigh": "3579817984", "EffectiveMemoryMax": "3579817984", "EffectiveTasksMax": "21476", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; 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 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "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": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13422", "LimitNPROCSoft": "13422", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13422", "LimitSIGPENDINGSoft": "13422", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LiveMountResult": "success", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureDurationUSec": "[not set]", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3049451520", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivatePIDs": "no", "PrivateTmp": "no", "PrivateTmpEx": "no", "PrivateUsers": "no", "PrivateUsersEx": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectControlGroupsEx": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "2", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21476", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Tuesday 08 September 2026 11:57:12 -0400 (0:00:01.565) 0:00:12.475 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.027) 0:00:12.503 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.020) 0:00:12.523 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.033) 0:00:12.557 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.027) 0:00:12.584 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.034) 0:00:12.618 ***** included: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.047) 0:00:12.666 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.018) 0:00:12.685 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.022) 0:00:12.708 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.020) 0:00:12.728 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.021) 0:00:12.750 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.020) 0:00:12.770 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.021) 0:00:12.792 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.017) 0:00:12.809 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.019) 0:00:12.829 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.015) 0:00:12.845 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Tuesday 08 September 2026 11:57:12 -0400 (0:00:00.042) 0:00:12.887 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Tuesday 08 September 2026 11:57:13 -0400 (0:00:00.511) 0:00:13.398 ***** Notification for handler Restart postgresql has been saved. 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Tuesday 08 September 2026 11:57:13 -0400 (0:00:00.481) 0:00:13.879 ***** changed: [managed-node1] => { "changed": true, "checksum": "65e48f4fd3b9dece216d614d64d9fae75364f0f8", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "54890e6cd5f97c56725a8a06676e614f", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788883033.6366882-14372-53876487377902/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Tuesday 08 September 2026 11:57:14 -0400 (0:00:00.903) 0:00:14.783 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Tuesday 08 September 2026 11:57:14 -0400 (0:00:00.025) 0:00:14.808 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Tuesday 08 September 2026 11:57:14 -0400 (0:00:00.024) 0:00:14.832 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T11:57:14-04:00", "managed_node_distro": "CentOS-10", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Tuesday 08 September 2026 11:57:14 -0400 (0:00:00.399) 0:00:15.232 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Tuesday 08 September 2026 11:57:14 -0400 (0:00:00.022) 0:00:15.254 ***** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Tuesday 08 September 2026 11:57:14 -0400 (0:00:00.005) 0:00:15.259 ***** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2026-09-08 11:57:12 EDT", "ActiveEnterTimestampMonotonic": "446060290", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-09-08 11:57:12 EDT", "AssertTimestampMonotonic": "445982494", "Before": "shutdown.target multi-user.target", "BindLogSockets": "no", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "40384000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanLiveMount": "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2026-09-08 11:57:12 EDT", "ConditionTimestampMonotonic": "445982492", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7086", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DebugInvocation": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveMemoryHigh": "3579817984", "EffectiveMemoryMax": "3579817984", "EffectiveTasksMax": "21476", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Tue 2026-09-08 11:57:12 EDT", "ExecMainHandoffTimestampMonotonic": "446021225", "ExecMainPID": "31444", "ExecMainStartTimestamp": "Tue 2026-09-08 11:57:12 EDT", "ExecMainStartTimestampMonotonic": "446005483", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 11:57:12 EDT] ; stop_time=[n/a] ; pid=31444 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Tue 2026-09-08 11:57:12 EDT] ; stop_time=[n/a] ; pid=31444 ; 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 11:57:12 EDT] ; stop_time=[Tue 2026-09-08 11:57:12 EDT] ; pid=31441 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[Tue 2026-09-08 11:57:12 EDT] ; stop_time=[Tue 2026-09-08 11:57:12 EDT] ; pid=31441 ; code=exited ; status=0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2026-09-08 11:57:12 EDT", "InactiveExitTimestampMonotonic": "445983787", "InvocationID": "e991df78cf4b4f018b0427e1840308da", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13422", "LimitNPROCSoft": "13422", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13422", "LimitSIGPENDINGSoft": "13422", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LiveMountResult": "success", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "31444", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureDurationUSec": "[not set]", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3027218432", "MemoryCurrent": "18595840", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18984960", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivatePIDs": "no", "PrivateTmp": "no", "PrivateTmpEx": "no", "PrivateUsers": "no", "PrivateUsersEx": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectControlGroupsEx": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Tue 2026-09-08 11:57:12 EDT", "StateChangeTimestampMonotonic": "446060290", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "21476", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Tuesday 08 September 2026 11:57:16 -0400 (0:00:01.032) 0:00:16.292 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008619", "end": "2026-09-08 11:57:16.336241", "rc": 0, "start": "2026-09-08 11:57:16.327622" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Tuesday 08 September 2026 11:57:16 -0400 (0:00:00.399) 0:00:16.691 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008848", "end": "2026-09-08 11:57:16.729915", "rc": 0, "start": "2026-09-08 11:57:16.721067" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Tuesday 08 September 2026 11:57:16 -0400 (0:00:00.384) 0:00:17.076 ***** ASYNC OK on managed-node1: jid=j455323496444.32937 ok: [managed-node1] => { "ansible_job_id": "j455323496444.32937", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012867", "end": "2026-09-08 11:57:17.498554", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j455323496444.32937", "start": "2026-09-08 11:57:17.485687", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Tuesday 08 September 2026 11:57:33 -0400 (0:00:16.483) 0:00:33.559 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010858", "end": "2026-09-08 11:57:33.675374", "rc": 0, "start": "2026-09-08 11:57:33.664516" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Tuesday 08 September 2026 11:57:33 -0400 (0:00:00.463) 0:00:34.022 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Tuesday 08 September 2026 11:57:33 -0400 (0:00:00.030) 0:00:34.053 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010477", "end": "2026-09-08 11:57:34.168654", "rc": 0, "start": "2026-09-08 11:57:34.158177" } STDOUT: effective_cache_size ---------------------- 1706MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Tuesday 08 September 2026 11:57:34 -0400 (0:00:00.463) 0:00:34.516 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Tuesday 08 September 2026 11:57:34 -0400 (0:00:00.028) 0:00:34.545 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009756", "end": "2026-09-08 11:57:34.577683", "failed_when_result": false, "rc": 0, "start": "2026-09-08 11:57:34.567927" } STDOUT: postgres (PostgreSQL) 16.14 TASK [Clean up] **************************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Tuesday 08 September 2026 11:57:34 -0400 (0:00:00.381) 0:00:34.926 ***** included: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Tuesday 08 September 2026 11:57:34 -0400 (0:00:00.032) 0:00:34.959 ***** META: triggered running handlers for managed-node1 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Tuesday 08 September 2026 11:57:34 -0400 (0:00:00.004) 0:00:34.963 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Removed: postgresql-16.14-3.el10.x86_64", "Removed: postgresql-private-libs-16.14-3.el10.x86_64", "Removed: postgresql-server-16.14-3.el10.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Tuesday 08 September 2026 11:57:36 -0400 (0:00:01.844) 0:00:36.807 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Tuesday 08 September 2026 11:57:36 -0400 (0:00:00.018) 0:00:36.826 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Tuesday 08 September 2026 11:57:37 -0400 (0:00:00.485) 0:00:37.312 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Tuesday 08 September 2026 11:57:38 -0400 (0:00:01.457) 0:00:38.769 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006940", "end": "2026-09-08 11:57:38.795654", "rc": 0, "start": "2026-09-08 11:57:38.788714" } STDOUT: Sep 08 11:55:28 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:55:28 managed-node1 postgres[11344]: 2026-09-08 11:55:28.503 EDT [11344] LOG: redirecting log output to logging collector process Sep 08 11:55:28 managed-node1 postgres[11344]: 2026-09-08 11:55:28.503 EDT [11344] HINT: Future log output will appear in directory "log". Sep 08 11:55:28 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:55:46 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:55:46 managed-node1 systemd[1]: postgresql.service: Killing process 11345 (postgres) with signal SIGKILL. Sep 08 11:55:46 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:55:46 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:55:46 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:55:46 managed-node1 postgres[15231]: 2026-09-08 11:55:46.684 EDT [15231] LOG: redirecting log output to logging collector process Sep 08 11:55:46 managed-node1 postgres[15231]: 2026-09-08 11:55:46.684 EDT [15231] HINT: Future log output will appear in directory "log". Sep 08 11:55:46 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:55:50 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:55:50 managed-node1 systemd[1]: postgresql.service: Killing process 15232 (postgres) with signal SIGKILL. Sep 08 11:55:50 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:55:50 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:56:06 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:56:06 managed-node1 postgres[19862]: 2026-09-08 11:56:06.995 EDT [19862] LOG: redirecting log output to logging collector process Sep 08 11:56:06 managed-node1 postgres[19862]: 2026-09-08 11:56:06.995 EDT [19862] HINT: Future log output will appear in directory "log". Sep 08 11:56:07 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:56:10 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:56:10 managed-node1 systemd[1]: postgresql.service: Killing process 19863 (postgres) with signal SIGKILL. Sep 08 11:56:10 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:56:10 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:56:10 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:56:10 managed-node1 postgres[20825]: 2026-09-08 11:56:10.798 EDT [20825] LOG: redirecting log output to logging collector process Sep 08 11:56:10 managed-node1 postgres[20825]: 2026-09-08 11:56:10.798 EDT [20825] HINT: Future log output will appear in directory "log". Sep 08 11:56:10 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:56:30 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:56:30 managed-node1 systemd[1]: postgresql.service: Killing process 20826 (postgres) with signal SIGKILL. Sep 08 11:56:30 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:56:30 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:56:47 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:56:47 managed-node1 postgres[25986]: 2026-09-08 11:56:47.962 EDT [25986] LOG: redirecting log output to logging collector process Sep 08 11:56:47 managed-node1 postgres[25986]: 2026-09-08 11:56:47.962 EDT [25986] HINT: Future log output will appear in directory "log". Sep 08 11:56:47 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:56:53 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:56:53 managed-node1 systemd[1]: postgresql.service: Killing process 25988 (postgres) with signal SIGKILL. Sep 08 11:56:53 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:56:53 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:56:53 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:56:53 managed-node1 postgres[27721]: 2026-09-08 11:56:53.887 EDT [27721] LOG: redirecting log output to logging collector process Sep 08 11:56:53 managed-node1 postgres[27721]: 2026-09-08 11:56:53.887 EDT [27721] HINT: Future log output will appear in directory "log". Sep 08 11:56:53 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:56:55 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:56:55 managed-node1 systemd[1]: postgresql.service: Killing process 27722 (postgres) with signal SIGKILL. Sep 08 11:56:55 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:56:55 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:57:12 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:57:12 managed-node1 postgres[31444]: 2026-09-08 11:57:12.101 EDT [31444] LOG: redirecting log output to logging collector process Sep 08 11:57:12 managed-node1 postgres[31444]: 2026-09-08 11:57:12.101 EDT [31444] HINT: Future log output will appear in directory "log". Sep 08 11:57:12 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:57:15 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:57:15 managed-node1 systemd[1]: postgresql.service: Killing process 31445 (postgres) with signal SIGKILL. Sep 08 11:57:15 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:57:15 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:57:15 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:57:15 managed-node1 postgres[32407]: 2026-09-08 11:57:15.912 EDT [32407] LOG: redirecting log output to logging collector process Sep 08 11:57:15 managed-node1 postgres[32407]: 2026-09-08 11:57:15.912 EDT [32407] HINT: Future log output will appear in directory "log". Sep 08 11:57:15 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:57:35 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:57:35 managed-node1 systemd[1]: postgresql.service: Killing process 32408 (postgres) with signal SIGKILL. Sep 08 11:57:35 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:57:35 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Tuesday 08 September 2026 11:57:38 -0400 (0:00:00.371) 0:00:39.140 ***** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Tuesday 08 September 2026 11:57:38 -0400 (0:00:00.012) 0:00:39.152 ***** ok: [managed-node1] => { "ansible_facts": { "__default_version": "16" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Tuesday 08 September 2026 11:57:38 -0400 (0:00:00.018) 0:00:39.171 ***** skipping: [managed-node1] => (item=16) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item != __default_version", "item": "16", "skip_reason": "Conditional result was False" } included: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 => (item=18) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Tuesday 08 September 2026 11:57:38 -0400 (0:00:00.056) 0:00:39.228 ***** included: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node1 TASK [Clear facts] ************************************************************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Tuesday 08 September 2026 11:57:38 -0400 (0:00:00.027) 0:00:39.256 ***** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Tuesday 08 September 2026 11:57:38 -0400 (0:00:00.000) 0:00:39.257 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Tuesday 08 September 2026 11:57:38 -0400 (0:00:00.015) 0:00:39.272 ***** included: fedora.linux_system_roles.postgresql for managed-node1 TASK [fedora.linux_system_roles.postgresql : Validating arguments against arg spec 'main' - The postgresql role.] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Tuesday 08 September 2026 11:57:39 -0400 (0:00:00.041) 0:00:39.313 ***** ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "postgresql", "path": "/tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql", "type": "role" } } MSG: The arg spec validation passed TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Tuesday 08 September 2026 11:57:39 -0400 (0:00:00.016) 0:00:39.330 ***** included: /tmp/collections-YZF/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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Tuesday 08 September 2026 11:57:39 -0400 (0:00:00.025) 0:00:39.355 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Tuesday 08 September 2026 11:57:39 -0400 (0:00:00.924) 0:00:40.280 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning_default": true, "__postgresql_version_default": "16" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set postgresql effective values from user input or defaults] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Tuesday 08 September 2026 11:57:40 -0400 (0:00:00.018) 0:00:40.298 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning": true, "__postgresql_version": "18" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Tuesday 08 September 2026 11:57:40 -0400 (0:00:00.020) 0:00:40.319 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T11:57:40-04:00", "managed_node_distro": "CentOS-10", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-YZF/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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Tuesday 08 September 2026 11:57:40 -0400 (0:00:00.366) 0:00:40.686 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Tuesday 08 September 2026 11:57:40 -0400 (0:00:00.016) 0:00:40.702 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Tuesday 08 September 2026 11:57:40 -0400 (0:00:00.015) 0:00:40.718 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Tuesday 08 September 2026 11:57:40 -0400 (0:00:00.016) 0:00:40.735 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Tuesday 08 September 2026 11:57:40 -0400 (0:00:00.016) 0:00:40.752 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Tuesday 08 September 2026 11:57:40 -0400 (0:00:00.015) 0:00:40.767 ***** [WARNING]: TASK: fedora.linux_system_roles.postgresql : Set platform/version specific variables: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['postgresql' + (__postgresql_version | string) +\n '-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [managed-node1] => (item=CentOS_10.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['postgresql' + (__postgresql_version | string) +\n '-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Tuesday 08 September 2026 11:57:40 -0400 (0:00:00.036) 0:00:40.804 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Tuesday 08 September 2026 11:57:40 -0400 (0:00:00.364) 0:00:41.168 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.365) 0:00:41.534 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.358) 0:00:41.892 ***** included: /tmp/collections-YZF/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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.032) 0:00:41.924 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.026) 0:00:41.950 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.020) 0:00:41.971 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.021) 0:00:41.993 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.023) 0:00:42.016 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postgresql : Assert email in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.010) 0:00:42.026 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postgresql : Assert ip in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.010) 0:00:42.036 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postgresql : Assert principal in postgresql_certificates is a string or list of strings] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.009) 0:00:42.046 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postgresql : Assert mode in postgresql_certificates is a string or integer] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.010) 0:00:42.057 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Tuesday 08 September 2026 11:57:41 -0400 (0:00:00.010) 0:00:42.067 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Tuesday 08 September 2026 11:57:42 -0400 (0:00:00.916) 0:00:42.984 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"8\"", "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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Tuesday 08 September 2026 11:57:42 -0400 (0:00:00.023) 0:00:43.008 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Tuesday 08 September 2026 11:57:42 -0400 (0:00:00.022) 0:00:43.030 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_version | string not in __postgresql_versions_el10", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Tuesday 08 September 2026 11:57:42 -0400 (0:00:00.024) 0:00:43.055 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Tuesday 08 September 2026 11:57:42 -0400 (0:00:00.018) 0:00:43.073 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: postgresql18-private-libs-18.4-1.el10.x86_64", "Installed: postgresql18-18.4-1.el10.x86_64", "Installed: postgresql18-server-18.4-1.el10.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Tuesday 08 September 2026 11:57:46 -0400 (0:00:03.952) 0:00:47.025 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.813904", "end": "2026-09-08 11:57:47.874136", "rc": 0, "start": "2026-09-08 11:57:47.060232" } 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Tuesday 08 September 2026 11:57:47 -0400 (0:00:01.193) 0:00:48.219 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Tuesday 08 September 2026 11:57:47 -0400 (0:00:00.018) 0:00:48.237 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Tuesday 08 September 2026 11:57:47 -0400 (0:00:00.017) 0:00:48.255 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Tuesday 08 September 2026 11:57:47 -0400 (0:00:00.018) 0:00:48.273 ***** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target sysinit.target network-online.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BindLogSockets": "no", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "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", "CanLiveMount": "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DebugInvocation": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveMemoryHigh": "3579817984", "EffectiveMemoryMax": "3579817984", "EffectiveTasksMax": "21476", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; 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 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "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": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13422", "LimitNPROCSoft": "13422", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13422", "LimitSIGPENDINGSoft": "13422", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LiveMountResult": "success", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureDurationUSec": "[not set]", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3003166720", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivatePIDs": "no", "PrivateTmp": "no", "PrivateTmpEx": "no", "PrivateUsers": "no", "PrivateUsersEx": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectControlGroupsEx": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21476", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Tuesday 08 September 2026 11:57:49 -0400 (0:00:01.242) 0:00:49.515 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.020) 0:00:49.536 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.019) 0:00:49.556 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.020) 0:00:49.576 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.016) 0:00:49.593 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.019) 0:00:49.613 ***** included: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.029) 0:00:49.643 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.018) 0:00:49.661 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.017) 0:00:49.678 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.017) 0:00:49.695 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.018) 0:00:49.714 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.016) 0:00:49.730 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.016) 0:00:49.747 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.016) 0:00:49.764 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.016) 0:00:49.780 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.015) 0:00:49.795 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.018) 0:00:49.814 ***** 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Tuesday 08 September 2026 11:57:49 -0400 (0:00:00.378) 0:00:50.193 ***** Notification for handler Restart postgresql has been saved. 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-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Tuesday 08 September 2026 11:57:50 -0400 (0:00:00.375) 0:00:50.568 ***** changed: [managed-node1] => { "changed": true, "checksum": "65e48f4fd3b9dece216d614d64d9fae75364f0f8", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "54890e6cd5f97c56725a8a06676e614f", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788883070.3234289-15173-129423192206343/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Tuesday 08 September 2026 11:57:51 -0400 (0:00:00.730) 0:00:51.298 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Tuesday 08 September 2026 11:57:51 -0400 (0:00:00.021) 0:00:51.320 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Tuesday 08 September 2026 11:57:51 -0400 (0:00:00.020) 0:00:51.340 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T11:57:51-04:00", "managed_node_distro": "CentOS-10", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Tuesday 08 September 2026 11:57:51 -0400 (0:00:00.384) 0:00:51.725 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Tuesday 08 September 2026 11:57:51 -0400 (0:00:00.018) 0:00:51.743 ***** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Tuesday 08 September 2026 11:57:51 -0400 (0:00:00.004) 0:00:51.748 ***** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2026-09-08 11:57:49 EDT", "ActiveEnterTimestampMonotonic": "483098820", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network-online.target sysinit.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-09-08 11:57:49 EDT", "AssertTimestampMonotonic": "483026638", "Before": "shutdown.target multi-user.target", "BindLogSockets": "no", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "45059000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanLiveMount": "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2026-09-08 11:57:49 EDT", "ConditionTimestampMonotonic": "483026635", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7808", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DebugInvocation": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveMemoryHigh": "3579817984", "EffectiveMemoryMax": "3579817984", "EffectiveTasksMax": "21476", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Tue 2026-09-08 11:57:49 EDT", "ExecMainHandoffTimestampMonotonic": "483057249", "ExecMainPID": "37096", "ExecMainStartTimestamp": "Tue 2026-09-08 11:57:49 EDT", "ExecMainStartTimestampMonotonic": "483047633", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 11:57:49 EDT] ; stop_time=[n/a] ; pid=37096 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Tue 2026-09-08 11:57:49 EDT] ; stop_time=[n/a] ; pid=37096 ; 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 11:57:49 EDT] ; stop_time=[Tue 2026-09-08 11:57:49 EDT] ; pid=37093 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[Tue 2026-09-08 11:57:49 EDT] ; stop_time=[Tue 2026-09-08 11:57:49 EDT] ; pid=37093 ; code=exited ; status=0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2026-09-08 11:57:49 EDT", "InactiveExitTimestampMonotonic": "483028071", "InvocationID": "b24ade28fa94438ca857ce67d4e9a04a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13422", "LimitNPROCSoft": "13422", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13422", "LimitSIGPENDINGSoft": "13422", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LiveMountResult": "success", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37096", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureDurationUSec": "[not set]", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3002478592", "MemoryCurrent": "23187456", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "23445504", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivatePIDs": "no", "PrivateTmp": "no", "PrivateTmpEx": "no", "PrivateUsers": "no", "PrivateUsersEx": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectControlGroupsEx": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Tue 2026-09-08 11:57:49 EDT", "StateChangeTimestampMonotonic": "483098820", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "10", "TasksMax": "21476", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Tuesday 08 September 2026 11:57:52 -0400 (0:00:01.038) 0:00:52.786 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008380", "end": "2026-09-08 11:57:52.819713", "rc": 0, "start": "2026-09-08 11:57:52.811333" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Tuesday 08 September 2026 11:57:52 -0400 (0:00:00.378) 0:00:53.164 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009291", "end": "2026-09-08 11:57:53.198213", "rc": 0, "start": "2026-09-08 11:57:53.188922" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Tuesday 08 September 2026 11:57:53 -0400 (0:00:00.378) 0:00:53.543 ***** ASYNC OK on managed-node1: jid=j220018999278.38595 ok: [managed-node1] => { "ansible_job_id": "j220018999278.38595", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014376", "end": "2026-09-08 11:57:53.877062", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j220018999278.38595", "start": "2026-09-08 11:57:53.862686", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Tuesday 08 September 2026 11:58:09 -0400 (0:00:16.304) 0:01:09.847 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010685", "end": "2026-09-08 11:58:09.952506", "rc": 0, "start": "2026-09-08 11:58:09.941821" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Tuesday 08 September 2026 11:58:10 -0400 (0:00:00.475) 0:01:10.322 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Tuesday 08 September 2026 11:58:10 -0400 (0:00:00.030) 0:01:10.352 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010553", "end": "2026-09-08 11:58:10.458645", "rc": 0, "start": "2026-09-08 11:58:10.448092" } STDOUT: effective_cache_size ---------------------- 1706MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Tuesday 08 September 2026 11:58:10 -0400 (0:00:00.452) 0:01:10.805 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Tuesday 08 September 2026 11:58:10 -0400 (0:00:00.030) 0:01:10.836 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009806", "end": "2026-09-08 11:58:10.868479", "failed_when_result": false, "rc": 0, "start": "2026-09-08 11:58:10.858673" } STDOUT: postgres (PostgreSQL) 18.4 TASK [Clean up] **************************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Tuesday 08 September 2026 11:58:10 -0400 (0:00:00.385) 0:01:11.221 ***** included: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Tuesday 08 September 2026 11:58:10 -0400 (0:00:00.031) 0:01:11.252 ***** META: triggered running handlers for managed-node1 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Tuesday 08 September 2026 11:58:10 -0400 (0:00:00.004) 0:01:11.257 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Removed: postgresql18-18.4-1.el10.x86_64", "Removed: postgresql18-private-libs-18.4-1.el10.x86_64", "Removed: postgresql18-server-18.4-1.el10.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Tuesday 08 September 2026 11:58:12 -0400 (0:00:01.797) 0:01:13.054 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Tuesday 08 September 2026 11:58:12 -0400 (0:00:00.018) 0:01:13.073 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Tuesday 08 September 2026 11:58:13 -0400 (0:00:00.499) 0:01:13.572 ***** [WARNING]: TASK: Remove config files: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-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-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Tuesday 08 September 2026 11:58:14 -0400 (0:00:01.456) 0:01:15.028 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007221", "end": "2026-09-08 11:58:15.056254", "rc": 0, "start": "2026-09-08 11:58:15.049033" } STDOUT: Sep 08 11:55:28 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:55:28 managed-node1 postgres[11344]: 2026-09-08 11:55:28.503 EDT [11344] LOG: redirecting log output to logging collector process Sep 08 11:55:28 managed-node1 postgres[11344]: 2026-09-08 11:55:28.503 EDT [11344] HINT: Future log output will appear in directory "log". Sep 08 11:55:28 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:55:46 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:55:46 managed-node1 systemd[1]: postgresql.service: Killing process 11345 (postgres) with signal SIGKILL. Sep 08 11:55:46 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:55:46 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:55:46 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:55:46 managed-node1 postgres[15231]: 2026-09-08 11:55:46.684 EDT [15231] LOG: redirecting log output to logging collector process Sep 08 11:55:46 managed-node1 postgres[15231]: 2026-09-08 11:55:46.684 EDT [15231] HINT: Future log output will appear in directory "log". Sep 08 11:55:46 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:55:50 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:55:50 managed-node1 systemd[1]: postgresql.service: Killing process 15232 (postgres) with signal SIGKILL. Sep 08 11:55:50 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:55:50 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:56:06 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:56:06 managed-node1 postgres[19862]: 2026-09-08 11:56:06.995 EDT [19862] LOG: redirecting log output to logging collector process Sep 08 11:56:06 managed-node1 postgres[19862]: 2026-09-08 11:56:06.995 EDT [19862] HINT: Future log output will appear in directory "log". Sep 08 11:56:07 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:56:10 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:56:10 managed-node1 systemd[1]: postgresql.service: Killing process 19863 (postgres) with signal SIGKILL. Sep 08 11:56:10 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:56:10 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:56:10 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:56:10 managed-node1 postgres[20825]: 2026-09-08 11:56:10.798 EDT [20825] LOG: redirecting log output to logging collector process Sep 08 11:56:10 managed-node1 postgres[20825]: 2026-09-08 11:56:10.798 EDT [20825] HINT: Future log output will appear in directory "log". Sep 08 11:56:10 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:56:30 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:56:30 managed-node1 systemd[1]: postgresql.service: Killing process 20826 (postgres) with signal SIGKILL. Sep 08 11:56:30 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:56:30 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:56:47 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:56:47 managed-node1 postgres[25986]: 2026-09-08 11:56:47.962 EDT [25986] LOG: redirecting log output to logging collector process Sep 08 11:56:47 managed-node1 postgres[25986]: 2026-09-08 11:56:47.962 EDT [25986] HINT: Future log output will appear in directory "log". Sep 08 11:56:47 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:56:53 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:56:53 managed-node1 systemd[1]: postgresql.service: Killing process 25988 (postgres) with signal SIGKILL. Sep 08 11:56:53 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:56:53 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:56:53 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:56:53 managed-node1 postgres[27721]: 2026-09-08 11:56:53.887 EDT [27721] LOG: redirecting log output to logging collector process Sep 08 11:56:53 managed-node1 postgres[27721]: 2026-09-08 11:56:53.887 EDT [27721] HINT: Future log output will appear in directory "log". Sep 08 11:56:53 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:56:55 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:56:55 managed-node1 systemd[1]: postgresql.service: Killing process 27722 (postgres) with signal SIGKILL. Sep 08 11:56:55 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:56:55 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:57:12 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:57:12 managed-node1 postgres[31444]: 2026-09-08 11:57:12.101 EDT [31444] LOG: redirecting log output to logging collector process Sep 08 11:57:12 managed-node1 postgres[31444]: 2026-09-08 11:57:12.101 EDT [31444] HINT: Future log output will appear in directory "log". Sep 08 11:57:12 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:57:15 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:57:15 managed-node1 systemd[1]: postgresql.service: Killing process 31445 (postgres) with signal SIGKILL. Sep 08 11:57:15 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:57:15 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:57:15 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:57:15 managed-node1 postgres[32407]: 2026-09-08 11:57:15.912 EDT [32407] LOG: redirecting log output to logging collector process Sep 08 11:57:15 managed-node1 postgres[32407]: 2026-09-08 11:57:15.912 EDT [32407] HINT: Future log output will appear in directory "log". Sep 08 11:57:15 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:57:35 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:57:35 managed-node1 systemd[1]: postgresql.service: Killing process 32408 (postgres) with signal SIGKILL. Sep 08 11:57:35 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:57:35 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:57:49 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:57:49 managed-node1 postgres[37096]: 2026-09-08 11:57:49.139 EDT [37096] LOG: redirecting log output to logging collector process Sep 08 11:57:49 managed-node1 postgres[37096]: 2026-09-08 11:57:49.139 EDT [37096] HINT: Future log output will appear in directory "log". Sep 08 11:57:49 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:57:52 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:57:52 managed-node1 systemd[1]: postgresql.service: Killing process 37097 (postgres) with signal SIGKILL. Sep 08 11:57:52 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:57:52 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. Sep 08 11:57:52 managed-node1 systemd[1]: Starting postgresql.service - PostgreSQL database server... Sep 08 11:57:52 managed-node1 postgres[38062]: 2026-09-08 11:57:52.408 EDT [38062] LOG: redirecting log output to logging collector process Sep 08 11:57:52 managed-node1 postgres[38062]: 2026-09-08 11:57:52.408 EDT [38062] HINT: Future log output will appear in directory "log". Sep 08 11:57:52 managed-node1 systemd[1]: Started postgresql.service - PostgreSQL database server. Sep 08 11:58:12 managed-node1 systemd[1]: Stopping postgresql.service - PostgreSQL database server... Sep 08 11:58:12 managed-node1 systemd[1]: postgresql.service: Killing process 38063 (postgres) with signal SIGKILL. Sep 08 11:58:12 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 11:58:12 managed-node1 systemd[1]: Stopped postgresql.service - PostgreSQL database server. PLAY RECAP ********************************************************************* managed-node1 : ok=87 changed=18 unreachable=0 failed=0 skipped=71 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 08 September 2026 11:58:15 -0400 (0:00:00.367) 0:01:15.396 ***** =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.48s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 16.30s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.95s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.36s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Uninstall postgresql ---------------------------------------------------- 1.84s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.80s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 1.57s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Remove config files ----------------------------------------------------- 1.46s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.46s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 1.24s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Gathering Facts --------------------------------------------------------- 1.21s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 1.19s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 1.11s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.07s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 fedora.linux_system_roles.postgresql : Restart postgresql --------------- 1.04s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 fedora.linux_system_roles.postgresql : Restart postgresql --------------- 1.03s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role --- 0.95s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role --- 0.92s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 fedora.linux_system_roles.postgresql : Gather the package facts --------- 0.92s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf --- 0.90s /tmp/collections-YZF/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185