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-669 executable location = /usr/local/bin/ansible-playbook python version = 3.12.14 (main, Aug 13 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/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-669/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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Tuesday 08 September 2026 12:19:06 -0400 (0:00:00.017) 0:00:00.017 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Tuesday 08 September 2026 12:19:07 -0400 (0:00:01.183) 0:00:01.200 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Tuesday 08 September 2026 12:19:07 -0400 (0:00:00.005) 0:00:01.205 ***** included: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Tuesday 08 September 2026 12:19:07 -0400 (0:00:00.046) 0:00:01.251 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Tuesday 08 September 2026 12:19:07 -0400 (0:00:00.061) 0:00:01.313 ***** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Tuesday 08 September 2026 12:19:07 -0400 (0:00:00.001) 0:00:01.314 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Tuesday 08 September 2026 12:19:07 -0400 (0:00:00.020) 0:00:01.335 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Tuesday 08 September 2026 12:19:07 -0400 (0:00:00.101) 0:00:01.436 ***** ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "postgresql", "path": "/tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Tuesday 08 September 2026 12:19:07 -0400 (0:00:00.016) 0:00:01.452 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Tuesday 08 September 2026 12:19:07 -0400 (0:00:00.029) 0:00:01.481 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Tuesday 08 September 2026 12:19:08 -0400 (0:00:00.797) 0:00:02.279 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning_default": true, "__postgresql_version_default": "13" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set postgresql effective values from user input or defaults] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Tuesday 08 September 2026 12:19:08 -0400 (0:00:00.018) 0:00:02.297 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning": true, "__postgresql_version": "13" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Tuesday 08 September 2026 12:19:08 -0400 (0:00:00.018) 0:00:02.316 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T12:19:08-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Tuesday 08 September 2026 12:19:08 -0400 (0:00:00.457) 0:00:02.773 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Tuesday 08 September 2026 12:19:09 -0400 (0:00:00.486) 0:00:03.260 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Tuesday 08 September 2026 12:19:09 -0400 (0:00:00.031) 0:00:03.291 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.009192", "end": "2026-09-08 12:19:09.805780", "failed_when_result": false, "rc": 0, "start": "2026-09-08 12:19:09.796588" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Tuesday 08 September 2026 12:19:09 -0400 (0:00:00.559) 0:00:03.851 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Tuesday 08 September 2026 12:19:09 -0400 (0:00:00.019) 0:00:03.870 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Tuesday 08 September 2026 12:19:09 -0400 (0:00:00.028) 0:00:03.899 ***** 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_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + (__postgresql_version | string) +\n '/server'] if (__postgresql_version | string) != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node1] => (item=CentOS_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + (__postgresql_version | string) +\n '/server'] if (__postgresql_version | string) != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Tuesday 08 September 2026 12:19:09 -0400 (0:00:00.044) 0:00:03.944 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Tuesday 08 September 2026 12:19:10 -0400 (0:00:00.345) 0:00:04.289 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Tuesday 08 September 2026 12:19:10 -0400 (0:00:00.367) 0:00:04.656 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Tuesday 08 September 2026 12:19:11 -0400 (0:00:00.365) 0:00:05.022 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Tuesday 08 September 2026 12:19:11 -0400 (0:00:00.039) 0:00:05.062 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Tuesday 08 September 2026 12:19:11 -0400 (0:00:00.016) 0:00:05.078 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Tuesday 08 September 2026 12:19:11 -0400 (0:00:00.022) 0:00:05.101 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Tuesday 08 September 2026 12:19:11 -0400 (0:00:00.022) 0:00:05.124 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Tuesday 08 September 2026 12:19:11 -0400 (0:00:00.026) 0:00:05.151 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Tuesday 08 September 2026 12:19:11 -0400 (0:00:00.013) 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Tuesday 08 September 2026 12:19:11 -0400 (0:00:00.010) 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Tuesday 08 September 2026 12:19:11 -0400 (0:00:00.010) 0:00:05.185 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Tuesday 08 September 2026 12:19:11 -0400 (0:00:00.014) 0:00:05.199 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Tuesday 08 September 2026 12:19:11 -0400 (0:00:00.010) 0:00:05.210 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Tuesday 08 September 2026 12:19:12 -0400 (0:00:01.049) 0:00:06.260 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Tuesday 08 September 2026 12:19:12 -0400 (0:00:00.040) 0:00:06.301 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_version | string not in __postgresql_versions_el9", "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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Tuesday 08 September 2026 12:19:12 -0400 (0:00:00.042) 0:00:06.344 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Tuesday 08 September 2026 12:19:12 -0400 (0:00:00.039) 0:00:06.383 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Tuesday 08 September 2026 12:19:12 -0400 (0:00:00.034) 0:00:06.418 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: postgresql-13.23-7.el9.x86_64", "Installed: postgresql-server-13.23-7.el9.x86_64", "Installed: postgresql-private-libs-13.23-7.el9.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Tuesday 08 September 2026 12:19:16 -0400 (0:00:03.642) 0:00:10.060 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.761969", "end": "2026-09-08 12:19:17.166727", "rc": 0, "start": "2026-09-08 12:19:16.404758" } 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Tuesday 08 September 2026 12:19:17 -0400 (0:00:01.155) 0:00:11.216 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Tuesday 08 September 2026 12:19:17 -0400 (0:00:00.023) 0:00:11.239 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Tuesday 08 September 2026 12:19:17 -0400 (0:00:00.018) 0:00:11.258 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Tuesday 08 September 2026 12:19:17 -0400 (0:00:00.023) 0:00:11.281 ***** 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": "sysinit.target basic.target system.slice network-online.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "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", "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", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "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", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "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": "13485", "LimitNPROCSoft": "13485", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13485", "LimitSIGPENDINGSoft": "13485", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "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", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "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", "RestartMode": "normal", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21576", "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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Tuesday 08 September 2026 12:19:18 -0400 (0:00:01.462) 0:00:12.743 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Tuesday 08 September 2026 12:19:18 -0400 (0:00:00.023) 0:00:12.766 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Tuesday 08 September 2026 12:19:18 -0400 (0:00:00.030) 0:00:12.797 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Tuesday 08 September 2026 12:19:18 -0400 (0:00:00.032) 0:00:12.830 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Tuesday 08 September 2026 12:19:18 -0400 (0:00:00.026) 0:00:12.857 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Tuesday 08 September 2026 12:19:18 -0400 (0:00:00.027) 0:00:12.884 ***** included: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Tuesday 08 September 2026 12:19:18 -0400 (0:00:00.035) 0:00:12.920 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Tuesday 08 September 2026 12:19:18 -0400 (0:00:00.017) 0:00:12.938 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Tuesday 08 September 2026 12:19:18 -0400 (0:00:00.023) 0:00:12.961 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Tuesday 08 September 2026 12:19:18 -0400 (0:00:00.018) 0:00:12.979 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Tuesday 08 September 2026 12:19:19 -0400 (0:00:00.024) 0:00:13.004 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Tuesday 08 September 2026 12:19:19 -0400 (0:00:00.018) 0:00:13.022 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Tuesday 08 September 2026 12:19:19 -0400 (0:00:00.022) 0:00:13.044 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Tuesday 08 September 2026 12:19:19 -0400 (0:00:00.018) 0:00:13.062 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Tuesday 08 September 2026 12:19:19 -0400 (0:00:00.015) 0:00:13.078 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Tuesday 08 September 2026 12:19:19 -0400 (0:00:00.015) 0:00:13.093 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Tuesday 08 September 2026 12:19:19 -0400 (0:00:00.019) 0:00:13.112 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Tuesday 08 September 2026 12:19:19 -0400 (0:00:00.562) 0:00:13.675 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Tuesday 08 September 2026 12:19:20 -0400 (0:00:00.475) 0:00:14.150 ***** changed: [managed-node1] => { "changed": true, "checksum": "56c7cdc8c614abd9b0d03e84141e710aaa9e7e78", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "7e7fa9e0cb2e76c1e0f9024388e24297", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788884360.204058-14285-32859906786010/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Tuesday 08 September 2026 12:19:21 -0400 (0:00:00.903) 0:00:15.054 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Tuesday 08 September 2026 12:19:21 -0400 (0:00:00.022) 0:00:15.077 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Tuesday 08 September 2026 12:19:21 -0400 (0:00:00.028) 0:00:15.105 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T12:19:21-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Tuesday 08 September 2026 12:19:21 -0400 (0:00:00.373) 0:00:15.479 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Tuesday 08 September 2026 12:19:21 -0400 (0:00:00.018) 0:00:15.497 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Tuesday 08 September 2026 12:19:21 -0400 (0:00:00.006) 0:00:15.503 ***** 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 12:19:18 EDT", "ActiveEnterTimestampMonotonic": "665240610", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network-online.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-09-08 12:19:18 EDT", "AssertTimestampMonotonic": "665182797", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "36334000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2026-09-08 12:19:18 EDT", "ConditionTimestampMonotonic": "665182794", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7006", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "35603", "ExecMainStartTimestamp": "Tue 2026-09-08 12:19:18 EDT", "ExecMainStartTimestampMonotonic": "665198381", "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 12:19:18 EDT] ; stop_time=[n/a] ; pid=35603 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Tue 2026-09-08 12:19:18 EDT] ; stop_time=[n/a] ; pid=35603 ; 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 12:19:18 EDT] ; stop_time=[Tue 2026-09-08 12:19:18 EDT] ; pid=35601 ; 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 12:19:18 EDT] ; stop_time=[Tue 2026-09-08 12:19:18 EDT] ; pid=35601 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "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 12:19:18 EDT", "InactiveExitTimestampMonotonic": "665192429", "InvocationID": "1e6c3987c5e349698e655e5320136246", "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": "13485", "LimitNPROCSoft": "13485", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13485", "LimitSIGPENDINGSoft": "13485", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35603", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17612800", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18137088", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "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", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "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", "RestartMode": "normal", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "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]", "StateChangeTimestamp": "Tue 2026-09-08 12:19:18 EDT", "StateChangeTimestampMonotonic": "665240610", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "21576", "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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Tuesday 08 September 2026 12:19:22 -0400 (0:00:00.959) 0:00:16.463 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008830", "end": "2026-09-08 12:19:22.780495", "rc": 0, "start": "2026-09-08 12:19:22.771665" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Tuesday 08 September 2026 12:19:22 -0400 (0:00:00.367) 0:00:16.830 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.010166", "end": "2026-09-08 12:19:23.160477", "rc": 0, "start": "2026-09-08 12:19:23.150311" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Tuesday 08 September 2026 12:19:23 -0400 (0:00:00.381) 0:00:17.212 ***** ASYNC OK on managed-node1: jid=j182548797564.37048 ok: [managed-node1] => { "ansible_job_id": "j182548797564.37048", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013793", "end": "2026-09-08 12:19:23.940551", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j182548797564.37048", "start": "2026-09-08 12:19:23.926758", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Tuesday 08 September 2026 12:19:39 -0400 (0:00:16.351) 0:00:33.564 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010927", "end": "2026-09-08 12:19:39.895419", "rc": 0, "start": "2026-09-08 12:19:39.884492" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Tuesday 08 September 2026 12:19:39 -0400 (0:00:00.381) 0:00:33.945 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Tuesday 08 September 2026 12:19:39 -0400 (0:00:00.030) 0:00:33.975 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011062", "end": "2026-09-08 12:19:40.303578", "rc": 0, "start": "2026-09-08 12:19:40.292516" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Tuesday 08 September 2026 12:19:40 -0400 (0:00:00.377) 0:00:34.353 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Tuesday 08 September 2026 12:19:40 -0400 (0:00:00.031) 0:00:34.384 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010439", "end": "2026-09-08 12:19:40.698749", "failed_when_result": false, "rc": 0, "start": "2026-09-08 12:19:40.688310" } STDOUT: postgres (PostgreSQL) 13.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Tuesday 08 September 2026 12:19:40 -0400 (0:00:00.366) 0:00:34.751 ***** included: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 TASK [Run handlers] ************************************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Tuesday 08 September 2026 12:19:40 -0400 (0:00:00.031) 0:00:34.782 ***** META: triggered running handlers for managed-node1 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Tuesday 08 September 2026 12:19:40 -0400 (0:00:00.005) 0:00:34.788 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Removed: postgresql-private-libs-13.23-7.el9.x86_64", "Removed: postgresql-server-13.23-7.el9.x86_64", "Removed: postgresql-13.23-7.el9.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Tuesday 08 September 2026 12:19:42 -0400 (0:00:01.953) 0:00:36.741 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Tuesday 08 September 2026 12:19:42 -0400 (0:00:00.017) 0:00:36.759 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Tuesday 08 September 2026 12:19:43 -0400 (0:00:00.395) 0:00:37.154 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Tuesday 08 September 2026 12:19:44 -0400 (0:00:01.368) 0:00:38.523 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008073", "end": "2026-09-08 12:19:44.830195", "rc": 0, "start": "2026-09-08 12:19:44.822122" } STDOUT: Sep 08 12:17:37 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:17:37 managed-node1 postgres[12572]: 2026-09-08 12:17:37.716 EDT [12572] LOG: redirecting log output to logging collector process Sep 08 12:17:37 managed-node1 postgres[12572]: 2026-09-08 12:17:37.716 EDT [12572] HINT: Future log output will appear in directory "log". Sep 08 12:17:37 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:17:55 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:17:55 managed-node1 systemd[1]: postgresql.service: Killing process 12573 (postgres) with signal SIGKILL. Sep 08 12:17:55 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:17:55 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:17:55 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:17:55 managed-node1 postgres[16592]: 2026-09-08 12:17:55.536 EDT [16592] LOG: redirecting log output to logging collector process Sep 08 12:17:55 managed-node1 postgres[16592]: 2026-09-08 12:17:55.536 EDT [16592] HINT: Future log output will appear in directory "log". Sep 08 12:17:55 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:17:59 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:17:59 managed-node1 systemd[1]: postgresql.service: Killing process 16593 (postgres) with signal SIGKILL. Sep 08 12:17:59 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:17:59 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:15 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:15 managed-node1 postgres[22060]: 2026-09-08 12:18:15.149 EDT [22060] LOG: redirecting log output to logging collector process Sep 08 12:18:15 managed-node1 postgres[22060]: 2026-09-08 12:18:15.149 EDT [22060] HINT: Future log output will appear in directory "log". Sep 08 12:18:15 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:18:18 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:18:18 managed-node1 systemd[1]: postgresql.service: Killing process 22061 (postgres) with signal SIGKILL. Sep 08 12:18:18 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:18:18 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:18 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:18 managed-node1 postgres[23022]: 2026-09-08 12:18:18.617 EDT [23022] LOG: redirecting log output to logging collector process Sep 08 12:18:18 managed-node1 postgres[23022]: 2026-09-08 12:18:18.617 EDT [23022] HINT: Future log output will appear in directory "log". Sep 08 12:18:18 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:18:38 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:18:38 managed-node1 systemd[1]: postgresql.service: Killing process 23023 (postgres) with signal SIGKILL. Sep 08 12:18:38 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:18:38 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:54 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:54 managed-node1 postgres[29093]: 2026-09-08 12:18:54.730 EDT [29093] LOG: redirecting log output to logging collector process Sep 08 12:18:54 managed-node1 postgres[29093]: 2026-09-08 12:18:54.730 EDT [29093] HINT: Future log output will appear in directory "log". Sep 08 12:18:54 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:00 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:00 managed-node1 systemd[1]: postgresql.service: Killing process 29094 (postgres) with signal SIGKILL. Sep 08 12:19:00 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:00 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:00 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:00 managed-node1 postgres[30778]: 2026-09-08 12:19:00.363 EDT [30778] LOG: redirecting log output to logging collector process Sep 08 12:19:00 managed-node1 postgres[30778]: 2026-09-08 12:19:00.363 EDT [30778] HINT: Future log output will appear in directory "log". Sep 08 12:19:00 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:02 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:02 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:02 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:18 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:18 managed-node1 postgres[35603]: 2026-09-08 12:19:18.663 EDT [35603] LOG: redirecting log output to logging collector process Sep 08 12:19:18 managed-node1 postgres[35603]: 2026-09-08 12:19:18.663 EDT [35603] HINT: Future log output will appear in directory "log". Sep 08 12:19:18 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:22 managed-node1 systemd[1]: postgresql.service: Killing process 35604 (postgres) with signal SIGKILL. Sep 08 12:19:22 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:22 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:22 managed-node1 postgres[36565]: 2026-09-08 12:19:22.388 EDT [36565] LOG: redirecting log output to logging collector process Sep 08 12:19:22 managed-node1 postgres[36565]: 2026-09-08 12:19:22.388 EDT [36565] HINT: Future log output will appear in directory "log". Sep 08 12:19:22 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:42 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:42 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:42 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Tuesday 08 September 2026 12:19:44 -0400 (0:00:00.355) 0:00:38.878 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Tuesday 08 September 2026 12:19:44 -0400 (0:00:00.011) 0:00:38.890 ***** ok: [managed-node1] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Tuesday 08 September 2026 12:19:44 -0400 (0:00:00.019) 0:00:38.909 ***** skipping: [managed-node1] => (item=13) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item != __default_version", "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 => (item=15) included: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 => (item=16) included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Tuesday 08 September 2026 12:19:44 -0400 (0:00:00.078) 0:00:38.988 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Tuesday 08 September 2026 12:19:45 -0400 (0:00:00.027) 0:00:39.016 ***** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Tuesday 08 September 2026 12:19:45 -0400 (0:00:00.000) 0:00:39.017 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Tuesday 08 September 2026 12:19:45 -0400 (0:00:00.014) 0:00:39.032 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Tuesday 08 September 2026 12:19:45 -0400 (0:00:00.041) 0:00:39.073 ***** ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "postgresql", "path": "/tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Tuesday 08 September 2026 12:19:45 -0400 (0:00:00.015) 0:00:39.089 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Tuesday 08 September 2026 12:19:45 -0400 (0:00:00.025) 0:00:39.114 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Tuesday 08 September 2026 12:19:45 -0400 (0:00:00.783) 0:00:39.897 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning_default": true, "__postgresql_version_default": "13" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set postgresql effective values from user input or defaults] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Tuesday 08 September 2026 12:19:45 -0400 (0:00:00.019) 0:00:39.916 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning": true, "__postgresql_version": "15" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Tuesday 08 September 2026 12:19:45 -0400 (0:00:00.021) 0:00:39.937 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T12:19:46-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Tuesday 08 September 2026 12:19:46 -0400 (0:00:00.349) 0:00:40.287 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Tuesday 08 September 2026 12:19:46 -0400 (0:00:00.016) 0:00:40.303 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Tuesday 08 September 2026 12:19:46 -0400 (0:00:00.015) 0:00:40.319 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Tuesday 08 September 2026 12:19:46 -0400 (0:00:00.015) 0:00:40.334 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Tuesday 08 September 2026 12:19:46 -0400 (0:00:00.015) 0:00:40.349 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Tuesday 08 September 2026 12:19:46 -0400 (0:00:00.014) 0:00:40.364 ***** [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_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + (__postgresql_version | string) +\n '/server'] if (__postgresql_version | string) != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node1] => (item=CentOS_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + (__postgresql_version | string) +\n '/server'] if (__postgresql_version | string) != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Tuesday 08 September 2026 12:19:46 -0400 (0:00:00.035) 0:00:40.400 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Tuesday 08 September 2026 12:19:46 -0400 (0:00:00.346) 0:00:40.746 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.345) 0:00:41.092 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.348) 0:00:41.441 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.033) 0:00:41.474 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.028) 0:00:41.503 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.022) 0:00:41.525 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.022) 0:00:41.548 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.023) 0:00:41.571 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.011) 0:00:41.582 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.011) 0:00:41.594 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.011) 0:00:41.606 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.011) 0:00:41.617 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Tuesday 08 September 2026 12:19:47 -0400 (0:00:00.012) 0:00:41.630 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Tuesday 08 September 2026 12:19:48 -0400 (0:00:00.840) 0:00:42.470 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Tuesday 08 September 2026 12:19:48 -0400 (0:00:00.024) 0:00:42.494 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_version | string not in __postgresql_versions_el9", "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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Tuesday 08 September 2026 12:19:48 -0400 (0:00:00.025) 0:00:42.520 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Tuesday 08 September 2026 12:19:48 -0400 (0:00:00.025) 0:00:42.546 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Tuesday 08 September 2026 12:19:48 -0400 (0:00:00.019) 0:00:42.566 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server installed.", "Installed: postgresql-private-libs-15.12-1.module_el9+1199+0a6782cc.x86_64", "Installed: postgresql-15.12-1.module_el9+1199+0a6782cc.x86_64", "Installed: postgresql-server-15.12-1.module_el9+1199+0a6782cc.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Tuesday 08 September 2026 12:19:52 -0400 (0:00:04.248) 0:00:46.814 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.806768", "end": "2026-09-08 12:19:53.966305", "rc": 0, "start": "2026-09-08 12:19:53.159537" } 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Tuesday 08 September 2026 12:19:54 -0400 (0:00:01.204) 0:00:48.019 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Tuesday 08 September 2026 12:19:54 -0400 (0:00:00.020) 0:00:48.039 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Tuesday 08 September 2026 12:19:54 -0400 (0:00:00.017) 0:00:48.056 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Tuesday 08 September 2026 12:19:54 -0400 (0:00:00.016) 0:00:48.073 ***** 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 system.slice sysinit.target network-online.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "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", "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", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "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/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -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", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "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": "13485", "LimitNPROCSoft": "13485", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13485", "LimitSIGPENDINGSoft": "13485", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "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", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "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", "RestartMode": "normal", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21576", "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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Tuesday 08 September 2026 12:19:55 -0400 (0:00:01.138) 0:00:49.212 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.022) 0:00:49.234 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.020) 0:00:49.254 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.019) 0:00:49.274 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.016) 0:00:49.290 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.021) 0:00:49.311 ***** included: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.028) 0:00:49.340 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.017) 0:00:49.357 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.017) 0:00:49.375 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.016) 0:00:49.392 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.016) 0:00:49.409 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.016) 0:00:49.426 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.018) 0:00:49.444 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.017) 0:00:49.462 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.015) 0:00:49.477 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.015) 0:00:49.493 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.020) 0:00:49.514 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Tuesday 08 September 2026 12:19:55 -0400 (0:00:00.359) 0:00:49.874 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Tuesday 08 September 2026 12:19:56 -0400 (0:00:00.362) 0:00:50.236 ***** changed: [managed-node1] => { "changed": true, "checksum": "56c7cdc8c614abd9b0d03e84141e710aaa9e7e78", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "7e7fa9e0cb2e76c1e0f9024388e24297", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788884396.2866478-15137-206442749530246/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Tuesday 08 September 2026 12:19:56 -0400 (0:00:00.706) 0:00:50.943 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Tuesday 08 September 2026 12:19:56 -0400 (0:00:00.022) 0:00:50.965 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Tuesday 08 September 2026 12:19:56 -0400 (0:00:00.019) 0:00:50.985 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T12:19:57-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Tuesday 08 September 2026 12:19:57 -0400 (0:00:00.365) 0:00:51.351 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Tuesday 08 September 2026 12:19:57 -0400 (0:00:00.019) 0:00:51.371 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Tuesday 08 September 2026 12:19:57 -0400 (0:00:00.004) 0:00:51.376 ***** 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 12:19:55 EDT", "ActiveEnterTimestampMonotonic": "701709386", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket network-online.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-09-08 12:19:55 EDT", "AssertTimestampMonotonic": "701656915", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "35369000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2026-09-08 12:19:55 EDT", "ConditionTimestampMonotonic": "701656913", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7644", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "41872", "ExecMainStartTimestamp": "Tue 2026-09-08 12:19:55 EDT", "ExecMainStartTimestampMonotonic": "701667884", "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/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Tue 2026-09-08 12:19:55 EDT] ; stop_time=[n/a] ; pid=41872 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Tue 2026-09-08 12:19:55 EDT] ; stop_time=[n/a] ; pid=41872 ; 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 12:19:55 EDT] ; stop_time=[Tue 2026-09-08 12:19:55 EDT] ; pid=41870 ; 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 12:19:55 EDT] ; stop_time=[Tue 2026-09-08 12:19:55 EDT] ; pid=41870 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "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 12:19:55 EDT", "InactiveExitTimestampMonotonic": "701662289", "InvocationID": "281b920661d44d90902dad1eea37b4fa", "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": "13485", "LimitNPROCSoft": "13485", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13485", "LimitSIGPENDINGSoft": "13485", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41872", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18472960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18837504", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "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", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "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", "RestartMode": "normal", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "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]", "StateChangeTimestamp": "Tue 2026-09-08 12:19:55 EDT", "StateChangeTimestampMonotonic": "701709386", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "21576", "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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Tuesday 08 September 2026 12:19:58 -0400 (0:00:00.951) 0:00:52.327 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.009093", "end": "2026-09-08 12:19:58.638698", "rc": 0, "start": "2026-09-08 12:19:58.629605" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Tuesday 08 September 2026 12:19:58 -0400 (0:00:00.358) 0:00:52.686 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009768", "end": "2026-09-08 12:19:58.995075", "rc": 0, "start": "2026-09-08 12:19:58.985307" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Tuesday 08 September 2026 12:19:59 -0400 (0:00:00.358) 0:00:53.044 ***** ASYNC OK on managed-node1: jid=j701467720558.43315 ok: [managed-node1] => { "ansible_job_id": "j701467720558.43315", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014057", "end": "2026-09-08 12:19:59.580112", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j701467720558.43315", "start": "2026-09-08 12:19:59.566055", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Tuesday 08 September 2026 12:20:15 -0400 (0:00:16.082) 0:01:09.126 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010933", "end": "2026-09-08 12:20:15.458868", "rc": 0, "start": "2026-09-08 12:20:15.447935" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Tuesday 08 September 2026 12:20:15 -0400 (0:00:00.383) 0:01:09.510 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Tuesday 08 September 2026 12:20:15 -0400 (0:00:00.032) 0:01:09.542 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011536", "end": "2026-09-08 12:20:15.879286", "rc": 0, "start": "2026-09-08 12:20:15.867750" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Tuesday 08 September 2026 12:20:15 -0400 (0:00:00.389) 0:01:09.932 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Tuesday 08 September 2026 12:20:16 -0400 (0:00:00.107) 0:01:10.040 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010639", "end": "2026-09-08 12:20:16.362038", "failed_when_result": false, "rc": 0, "start": "2026-09-08 12:20:16.351399" } STDOUT: postgres (PostgreSQL) 15.12 TASK [Clean up] **************************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Tuesday 08 September 2026 12:20:16 -0400 (0:00:00.374) 0:01:10.415 ***** included: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 TASK [Run handlers] ************************************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Tuesday 08 September 2026 12:20:16 -0400 (0:00:00.031) 0:01:10.446 ***** META: triggered running handlers for managed-node1 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Tuesday 08 September 2026 12:20:16 -0400 (0:00:00.005) 0:01:10.452 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server removed.", "Removed: postgresql-private-libs-15.12-1.module_el9+1199+0a6782cc.x86_64", "Removed: postgresql-server-15.12-1.module_el9+1199+0a6782cc.x86_64", "Removed: postgresql-15.12-1.module_el9+1199+0a6782cc.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Tuesday 08 September 2026 12:20:18 -0400 (0:00:02.049) 0:01:12.501 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Tuesday 08 September 2026 12:20:18 -0400 (0:00:00.018) 0:01:12.519 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Tuesday 08 September 2026 12:20:18 -0400 (0:00:00.401) 0:01:12.921 ***** [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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Tuesday 08 September 2026 12:20:20 -0400 (0:00:01.362) 0:01:14.283 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008183", "end": "2026-09-08 12:20:20.589248", "rc": 0, "start": "2026-09-08 12:20:20.581065" } STDOUT: Sep 08 12:17:37 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:17:37 managed-node1 postgres[12572]: 2026-09-08 12:17:37.716 EDT [12572] LOG: redirecting log output to logging collector process Sep 08 12:17:37 managed-node1 postgres[12572]: 2026-09-08 12:17:37.716 EDT [12572] HINT: Future log output will appear in directory "log". Sep 08 12:17:37 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:17:55 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:17:55 managed-node1 systemd[1]: postgresql.service: Killing process 12573 (postgres) with signal SIGKILL. Sep 08 12:17:55 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:17:55 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:17:55 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:17:55 managed-node1 postgres[16592]: 2026-09-08 12:17:55.536 EDT [16592] LOG: redirecting log output to logging collector process Sep 08 12:17:55 managed-node1 postgres[16592]: 2026-09-08 12:17:55.536 EDT [16592] HINT: Future log output will appear in directory "log". Sep 08 12:17:55 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:17:59 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:17:59 managed-node1 systemd[1]: postgresql.service: Killing process 16593 (postgres) with signal SIGKILL. Sep 08 12:17:59 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:17:59 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:15 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:15 managed-node1 postgres[22060]: 2026-09-08 12:18:15.149 EDT [22060] LOG: redirecting log output to logging collector process Sep 08 12:18:15 managed-node1 postgres[22060]: 2026-09-08 12:18:15.149 EDT [22060] HINT: Future log output will appear in directory "log". Sep 08 12:18:15 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:18:18 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:18:18 managed-node1 systemd[1]: postgresql.service: Killing process 22061 (postgres) with signal SIGKILL. Sep 08 12:18:18 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:18:18 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:18 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:18 managed-node1 postgres[23022]: 2026-09-08 12:18:18.617 EDT [23022] LOG: redirecting log output to logging collector process Sep 08 12:18:18 managed-node1 postgres[23022]: 2026-09-08 12:18:18.617 EDT [23022] HINT: Future log output will appear in directory "log". Sep 08 12:18:18 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:18:38 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:18:38 managed-node1 systemd[1]: postgresql.service: Killing process 23023 (postgres) with signal SIGKILL. Sep 08 12:18:38 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:18:38 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:54 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:54 managed-node1 postgres[29093]: 2026-09-08 12:18:54.730 EDT [29093] LOG: redirecting log output to logging collector process Sep 08 12:18:54 managed-node1 postgres[29093]: 2026-09-08 12:18:54.730 EDT [29093] HINT: Future log output will appear in directory "log". Sep 08 12:18:54 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:00 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:00 managed-node1 systemd[1]: postgresql.service: Killing process 29094 (postgres) with signal SIGKILL. Sep 08 12:19:00 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:00 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:00 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:00 managed-node1 postgres[30778]: 2026-09-08 12:19:00.363 EDT [30778] LOG: redirecting log output to logging collector process Sep 08 12:19:00 managed-node1 postgres[30778]: 2026-09-08 12:19:00.363 EDT [30778] HINT: Future log output will appear in directory "log". Sep 08 12:19:00 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:02 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:02 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:02 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:18 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:18 managed-node1 postgres[35603]: 2026-09-08 12:19:18.663 EDT [35603] LOG: redirecting log output to logging collector process Sep 08 12:19:18 managed-node1 postgres[35603]: 2026-09-08 12:19:18.663 EDT [35603] HINT: Future log output will appear in directory "log". Sep 08 12:19:18 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:22 managed-node1 systemd[1]: postgresql.service: Killing process 35604 (postgres) with signal SIGKILL. Sep 08 12:19:22 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:22 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:22 managed-node1 postgres[36565]: 2026-09-08 12:19:22.388 EDT [36565] LOG: redirecting log output to logging collector process Sep 08 12:19:22 managed-node1 postgres[36565]: 2026-09-08 12:19:22.388 EDT [36565] HINT: Future log output will appear in directory "log". Sep 08 12:19:22 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:42 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:42 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:42 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:55 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:55 managed-node1 postmaster[41872]: 2026-09-08 12:19:55.132 EDT [41872] LOG: redirecting log output to logging collector process Sep 08 12:19:55 managed-node1 postmaster[41872]: 2026-09-08 12:19:55.132 EDT [41872] HINT: Future log output will appear in directory "log". Sep 08 12:19:55 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:58 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:58 managed-node1 systemd[1]: postgresql.service: Killing process 41873 (postmaster) with signal SIGKILL. Sep 08 12:19:58 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:58 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:58 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:58 managed-node1 postmaster[42833]: 2026-09-08 12:19:58.251 EDT [42833] LOG: redirecting log output to logging collector process Sep 08 12:19:58 managed-node1 postmaster[42833]: 2026-09-08 12:19:58.251 EDT [42833] HINT: Future log output will appear in directory "log". Sep 08 12:19:58 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:20:17 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:20:17 managed-node1 systemd[1]: postgresql.service: Killing process 42834 (postmaster) with signal SIGKILL. Sep 08 12:20:17 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:20:17 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Tuesday 08 September 2026 12:20:20 -0400 (0:00:00.354) 0:01:14.638 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Tuesday 08 September 2026 12:20:20 -0400 (0:00:00.029) 0:01:14.668 ***** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Tuesday 08 September 2026 12:20:20 -0400 (0:00:00.000) 0:01:14.669 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Tuesday 08 September 2026 12:20:20 -0400 (0:00:00.015) 0:01:14.684 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Tuesday 08 September 2026 12:20:20 -0400 (0:00:00.042) 0:01:14.726 ***** ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "postgresql", "path": "/tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Tuesday 08 September 2026 12:20:20 -0400 (0:00:00.015) 0:01:14.742 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Tuesday 08 September 2026 12:20:20 -0400 (0:00:00.025) 0:01:14.768 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Tuesday 08 September 2026 12:20:21 -0400 (0:00:00.785) 0:01:15.553 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning_default": true, "__postgresql_version_default": "13" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set postgresql effective values from user input or defaults] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Tuesday 08 September 2026 12:20:21 -0400 (0:00:00.018) 0:01:15.572 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Tuesday 08 September 2026 12:20:21 -0400 (0:00:00.020) 0:01:15.592 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T12:20:21-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Tuesday 08 September 2026 12:20:21 -0400 (0:00:00.347) 0:01:15.939 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Tuesday 08 September 2026 12:20:21 -0400 (0:00:00.018) 0:01:15.958 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Tuesday 08 September 2026 12:20:21 -0400 (0:00:00.015) 0:01:15.973 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Tuesday 08 September 2026 12:20:21 -0400 (0:00:00.016) 0:01:15.990 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Tuesday 08 September 2026 12:20:22 -0400 (0:00:00.016) 0:01:16.006 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Tuesday 08 September 2026 12:20:22 -0400 (0:00:00.014) 0:01:16.021 ***** 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_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + (__postgresql_version | string) +\n '/server'] if (__postgresql_version | string) != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node1] => (item=CentOS_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + (__postgresql_version | string) +\n '/server'] if (__postgresql_version | string) != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Tuesday 08 September 2026 12:20:22 -0400 (0:00:00.036) 0:01:16.057 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Tuesday 08 September 2026 12:20:22 -0400 (0:00:00.346) 0:01:16.404 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Tuesday 08 September 2026 12:20:22 -0400 (0:00:00.342) 0:01:16.747 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Tuesday 08 September 2026 12:20:23 -0400 (0:00:00.349) 0:01:17.097 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Tuesday 08 September 2026 12:20:23 -0400 (0:00:00.032) 0:01:17.129 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Tuesday 08 September 2026 12:20:23 -0400 (0:00:00.025) 0:01:17.154 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Tuesday 08 September 2026 12:20:23 -0400 (0:00:00.020) 0:01:17.174 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Tuesday 08 September 2026 12:20:23 -0400 (0:00:00.019) 0:01:17.194 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Tuesday 08 September 2026 12:20:23 -0400 (0:00:00.020) 0:01:17.214 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Tuesday 08 September 2026 12:20:23 -0400 (0:00:00.009) 0:01:17.224 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Tuesday 08 September 2026 12:20:23 -0400 (0:00:00.009) 0:01:17.233 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Tuesday 08 September 2026 12:20:23 -0400 (0:00:00.010) 0:01:17.243 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Tuesday 08 September 2026 12:20:23 -0400 (0:00:00.013) 0:01:17.257 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Tuesday 08 September 2026 12:20:23 -0400 (0:00:00.009) 0:01:17.267 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Tuesday 08 September 2026 12:20:24 -0400 (0:00:00.787) 0:01:18.054 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Tuesday 08 September 2026 12:20:24 -0400 (0:00:00.023) 0:01:18.078 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_version | string not in __postgresql_versions_el9", "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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Tuesday 08 September 2026 12:20:24 -0400 (0:00:00.025) 0:01:18.103 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Tuesday 08 September 2026 12:20:24 -0400 (0:00:00.022) 0:01:18.126 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Tuesday 08 September 2026 12:20:24 -0400 (0:00:00.021) 0:01:18.148 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server installed.", "Installed: postgresql-16.8-1.module_el9+1265+61707298.x86_64", "Installed: postgresql-server-16.8-1.module_el9+1265+61707298.x86_64", "Installed: postgresql-private-libs-16.8-1.module_el9+1265+61707298.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Tuesday 08 September 2026 12:20:27 -0400 (0:00:03.535) 0:01:21.683 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.773428", "end": "2026-09-08 12:20:28.788866", "rc": 0, "start": "2026-09-08 12:20:28.015438" } 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Tuesday 08 September 2026 12:20:28 -0400 (0:00:01.155) 0:01:22.838 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Tuesday 08 September 2026 12:20:28 -0400 (0:00:00.019) 0:01:22.857 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Tuesday 08 September 2026 12:20:28 -0400 (0:00:00.018) 0:01:22.876 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Tuesday 08 September 2026 12:20:28 -0400 (0:00:00.016) 0:01:22.892 ***** 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 systemd-journald.socket basic.target system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "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", "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", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "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", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "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": "13485", "LimitNPROCSoft": "13485", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13485", "LimitSIGPENDINGSoft": "13485", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "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", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "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", "RestartMode": "normal", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21576", "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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Tuesday 08 September 2026 12:20:30 -0400 (0:00:01.118) 0:01:24.011 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.020) 0:01:24.031 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.021) 0:01:24.052 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.019) 0:01:24.072 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.015) 0:01:24.088 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.019) 0:01:24.108 ***** included: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.029) 0:01:24.137 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.017) 0:01:24.155 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.017) 0:01:24.173 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.043) 0:01:24.216 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.018) 0:01:24.235 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.018) 0:01:24.253 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.017) 0:01:24.271 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.019) 0:01:24.290 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.022) 0:01:24.313 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.016) 0:01:24.329 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.020) 0:01:24.350 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Tuesday 08 September 2026 12:20:30 -0400 (0:00:00.362) 0:01:24.713 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Tuesday 08 September 2026 12:20:31 -0400 (0:00:00.364) 0:01:25.077 ***** changed: [managed-node1] => { "changed": true, "checksum": "56c7cdc8c614abd9b0d03e84141e710aaa9e7e78", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "7e7fa9e0cb2e76c1e0f9024388e24297", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788884431.1278665-15544-239050901483717/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Tuesday 08 September 2026 12:20:31 -0400 (0:00:00.707) 0:01:25.785 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Tuesday 08 September 2026 12:20:31 -0400 (0:00:00.021) 0:01:25.806 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Tuesday 08 September 2026 12:20:31 -0400 (0:00:00.021) 0:01:25.828 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T12:20:32-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Tuesday 08 September 2026 12:20:32 -0400 (0:00:00.364) 0:01:26.193 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Tuesday 08 September 2026 12:20:32 -0400 (0:00:00.019) 0:01:26.212 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Tuesday 08 September 2026 12:20:32 -0400 (0:00:00.006) 0:01:26.219 ***** 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 12:20:29 EDT", "ActiveEnterTimestampMonotonic": "736510098", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice sysinit.target network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-09-08 12:20:29 EDT", "AssertTimestampMonotonic": "736461586", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "35275000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2026-09-08 12:20:29 EDT", "ConditionTimestampMonotonic": "736461584", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "8282", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "48135", "ExecMainStartTimestamp": "Tue 2026-09-08 12:20:29 EDT", "ExecMainStartTimestampMonotonic": "736470773", "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 12:20:29 EDT] ; stop_time=[n/a] ; pid=48135 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Tue 2026-09-08 12:20:29 EDT] ; stop_time=[n/a] ; pid=48135 ; 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 12:20:29 EDT] ; stop_time=[Tue 2026-09-08 12:20:29 EDT] ; pid=48133 ; 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 12:20:29 EDT] ; stop_time=[Tue 2026-09-08 12:20:29 EDT] ; pid=48133 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "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 12:20:29 EDT", "InactiveExitTimestampMonotonic": "736465365", "InvocationID": "200be468d2994b7cb778481e9d9a7ad0", "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": "13485", "LimitNPROCSoft": "13485", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13485", "LimitSIGPENDINGSoft": "13485", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "48135", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18604032", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18845696", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "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", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "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", "RestartMode": "normal", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "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]", "StateChangeTimestamp": "Tue 2026-09-08 12:20:29 EDT", "StateChangeTimestampMonotonic": "736510098", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "21576", "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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Tuesday 08 September 2026 12:20:33 -0400 (0:00:00.948) 0:01:27.168 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.009023", "end": "2026-09-08 12:20:33.479620", "rc": 0, "start": "2026-09-08 12:20:33.470597" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Tuesday 08 September 2026 12:20:33 -0400 (0:00:00.360) 0:01:27.528 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009592", "end": "2026-09-08 12:20:33.837533", "rc": 0, "start": "2026-09-08 12:20:33.827941" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Tuesday 08 September 2026 12:20:33 -0400 (0:00:00.358) 0:01:27.887 ***** ASYNC OK on managed-node1: jid=j147598352236.49578 ok: [managed-node1] => { "ansible_job_id": "j147598352236.49578", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014147", "end": "2026-09-08 12:20:34.414175", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j147598352236.49578", "start": "2026-09-08 12:20:34.400028", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Tuesday 08 September 2026 12:20:49 -0400 (0:00:16.062) 0:01:43.949 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011155", "end": "2026-09-08 12:20:50.280416", "rc": 0, "start": "2026-09-08 12:20:50.269261" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Tuesday 08 September 2026 12:20:50 -0400 (0:00:00.381) 0:01:44.331 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Tuesday 08 September 2026 12:20:50 -0400 (0:00:00.033) 0:01:44.364 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011326", "end": "2026-09-08 12:20:50.694949", "rc": 0, "start": "2026-09-08 12:20:50.683623" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Tuesday 08 September 2026 12:20:50 -0400 (0:00:00.383) 0:01:44.748 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Tuesday 08 September 2026 12:20:50 -0400 (0:00:00.034) 0:01:44.782 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010729", "end": "2026-09-08 12:20:51.101625", "failed_when_result": false, "rc": 0, "start": "2026-09-08 12:20:51.090896" } STDOUT: postgres (PostgreSQL) 16.8 TASK [Clean up] **************************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Tuesday 08 September 2026 12:20:51 -0400 (0:00:00.373) 0:01:45.155 ***** included: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 TASK [Run handlers] ************************************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Tuesday 08 September 2026 12:20:51 -0400 (0:00:00.034) 0:01:45.190 ***** META: triggered running handlers for managed-node1 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Tuesday 08 September 2026 12:20:51 -0400 (0:00:00.004) 0:01:45.195 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server removed.", "Removed: postgresql-private-libs-16.8-1.module_el9+1265+61707298.x86_64", "Removed: postgresql-server-16.8-1.module_el9+1265+61707298.x86_64", "Removed: postgresql-16.8-1.module_el9+1265+61707298.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Tuesday 08 September 2026 12:20:53 -0400 (0:00:02.051) 0:01:47.246 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Tuesday 08 September 2026 12:20:53 -0400 (0:00:00.018) 0:01:47.265 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Tuesday 08 September 2026 12:20:53 -0400 (0:00:00.408) 0:01:47.673 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Tuesday 08 September 2026 12:20:55 -0400 (0:00:01.400) 0:01:49.073 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008631", "end": "2026-09-08 12:20:55.385731", "rc": 0, "start": "2026-09-08 12:20:55.377100" } STDOUT: Sep 08 12:17:37 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:17:37 managed-node1 postgres[12572]: 2026-09-08 12:17:37.716 EDT [12572] LOG: redirecting log output to logging collector process Sep 08 12:17:37 managed-node1 postgres[12572]: 2026-09-08 12:17:37.716 EDT [12572] HINT: Future log output will appear in directory "log". Sep 08 12:17:37 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:17:55 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:17:55 managed-node1 systemd[1]: postgresql.service: Killing process 12573 (postgres) with signal SIGKILL. Sep 08 12:17:55 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:17:55 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:17:55 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:17:55 managed-node1 postgres[16592]: 2026-09-08 12:17:55.536 EDT [16592] LOG: redirecting log output to logging collector process Sep 08 12:17:55 managed-node1 postgres[16592]: 2026-09-08 12:17:55.536 EDT [16592] HINT: Future log output will appear in directory "log". Sep 08 12:17:55 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:17:59 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:17:59 managed-node1 systemd[1]: postgresql.service: Killing process 16593 (postgres) with signal SIGKILL. Sep 08 12:17:59 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:17:59 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:15 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:15 managed-node1 postgres[22060]: 2026-09-08 12:18:15.149 EDT [22060] LOG: redirecting log output to logging collector process Sep 08 12:18:15 managed-node1 postgres[22060]: 2026-09-08 12:18:15.149 EDT [22060] HINT: Future log output will appear in directory "log". Sep 08 12:18:15 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:18:18 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:18:18 managed-node1 systemd[1]: postgresql.service: Killing process 22061 (postgres) with signal SIGKILL. Sep 08 12:18:18 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:18:18 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:18 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:18 managed-node1 postgres[23022]: 2026-09-08 12:18:18.617 EDT [23022] LOG: redirecting log output to logging collector process Sep 08 12:18:18 managed-node1 postgres[23022]: 2026-09-08 12:18:18.617 EDT [23022] HINT: Future log output will appear in directory "log". Sep 08 12:18:18 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:18:38 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:18:38 managed-node1 systemd[1]: postgresql.service: Killing process 23023 (postgres) with signal SIGKILL. Sep 08 12:18:38 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:18:38 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:54 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:54 managed-node1 postgres[29093]: 2026-09-08 12:18:54.730 EDT [29093] LOG: redirecting log output to logging collector process Sep 08 12:18:54 managed-node1 postgres[29093]: 2026-09-08 12:18:54.730 EDT [29093] HINT: Future log output will appear in directory "log". Sep 08 12:18:54 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:00 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:00 managed-node1 systemd[1]: postgresql.service: Killing process 29094 (postgres) with signal SIGKILL. Sep 08 12:19:00 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:00 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:00 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:00 managed-node1 postgres[30778]: 2026-09-08 12:19:00.363 EDT [30778] LOG: redirecting log output to logging collector process Sep 08 12:19:00 managed-node1 postgres[30778]: 2026-09-08 12:19:00.363 EDT [30778] HINT: Future log output will appear in directory "log". Sep 08 12:19:00 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:02 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:02 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:02 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:18 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:18 managed-node1 postgres[35603]: 2026-09-08 12:19:18.663 EDT [35603] LOG: redirecting log output to logging collector process Sep 08 12:19:18 managed-node1 postgres[35603]: 2026-09-08 12:19:18.663 EDT [35603] HINT: Future log output will appear in directory "log". Sep 08 12:19:18 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:22 managed-node1 systemd[1]: postgresql.service: Killing process 35604 (postgres) with signal SIGKILL. Sep 08 12:19:22 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:22 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:22 managed-node1 postgres[36565]: 2026-09-08 12:19:22.388 EDT [36565] LOG: redirecting log output to logging collector process Sep 08 12:19:22 managed-node1 postgres[36565]: 2026-09-08 12:19:22.388 EDT [36565] HINT: Future log output will appear in directory "log". Sep 08 12:19:22 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:42 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:42 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:42 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:55 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:55 managed-node1 postmaster[41872]: 2026-09-08 12:19:55.132 EDT [41872] LOG: redirecting log output to logging collector process Sep 08 12:19:55 managed-node1 postmaster[41872]: 2026-09-08 12:19:55.132 EDT [41872] HINT: Future log output will appear in directory "log". Sep 08 12:19:55 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:58 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:58 managed-node1 systemd[1]: postgresql.service: Killing process 41873 (postmaster) with signal SIGKILL. Sep 08 12:19:58 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:58 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:58 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:58 managed-node1 postmaster[42833]: 2026-09-08 12:19:58.251 EDT [42833] LOG: redirecting log output to logging collector process Sep 08 12:19:58 managed-node1 postmaster[42833]: 2026-09-08 12:19:58.251 EDT [42833] HINT: Future log output will appear in directory "log". Sep 08 12:19:58 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:20:17 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:20:17 managed-node1 systemd[1]: postgresql.service: Killing process 42834 (postmaster) with signal SIGKILL. Sep 08 12:20:17 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:20:17 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:20:29 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:20:29 managed-node1 postgres[48135]: 2026-09-08 12:20:29.935 EDT [48135] LOG: redirecting log output to logging collector process Sep 08 12:20:29 managed-node1 postgres[48135]: 2026-09-08 12:20:29.935 EDT [48135] HINT: Future log output will appear in directory "log". Sep 08 12:20:29 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:20:33 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:20:33 managed-node1 systemd[1]: postgresql.service: Killing process 48136 (postgres) with signal SIGKILL. Sep 08 12:20:33 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:20:33 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:20:33 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:20:33 managed-node1 postgres[49096]: 2026-09-08 12:20:33.090 EDT [49096] LOG: redirecting log output to logging collector process Sep 08 12:20:33 managed-node1 postgres[49096]: 2026-09-08 12:20:33.090 EDT [49096] HINT: Future log output will appear in directory "log". Sep 08 12:20:33 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:20:52 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:20:52 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:20:52 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Tuesday 08 September 2026 12:20:55 -0400 (0:00:00.362) 0:01:49.436 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Tuesday 08 September 2026 12:20:55 -0400 (0:00:00.029) 0:01:49.466 ***** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Tuesday 08 September 2026 12:20:55 -0400 (0:00:00.001) 0:01:49.467 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Tuesday 08 September 2026 12:20:55 -0400 (0:00:00.015) 0:01:49.482 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Tuesday 08 September 2026 12:20:55 -0400 (0:00:00.048) 0:01:49.530 ***** ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "postgresql", "path": "/tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Tuesday 08 September 2026 12:20:55 -0400 (0:00:00.016) 0:01:49.547 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Tuesday 08 September 2026 12:20:55 -0400 (0:00:00.026) 0:01:49.573 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Tuesday 08 September 2026 12:20:56 -0400 (0:00:00.786) 0:01:50.360 ***** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning_default": true, "__postgresql_version_default": "13" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set postgresql effective values from user input or defaults] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Tuesday 08 September 2026 12:20:56 -0400 (0:00:00.019) 0:01:50.379 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Tuesday 08 September 2026 12:20:56 -0400 (0:00:00.022) 0:01:50.402 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T12:20:56-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Tuesday 08 September 2026 12:20:56 -0400 (0:00:00.350) 0:01:50.753 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Tuesday 08 September 2026 12:20:56 -0400 (0:00:00.018) 0:01:50.771 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Tuesday 08 September 2026 12:20:56 -0400 (0:00:00.018) 0:01:50.789 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Tuesday 08 September 2026 12:20:56 -0400 (0:00:00.020) 0:01:50.810 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Tuesday 08 September 2026 12:20:56 -0400 (0:00:00.020) 0:01:50.830 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Tuesday 08 September 2026 12:20:56 -0400 (0:00:00.017) 0:01:50.848 ***** 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_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + (__postgresql_version | string) +\n '/server'] if (__postgresql_version | string) != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node1] => (item=CentOS_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + (__postgresql_version | string) +\n '/server'] if (__postgresql_version | string) != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Tuesday 08 September 2026 12:20:56 -0400 (0:00:00.040) 0:01:50.889 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Tuesday 08 September 2026 12:20:57 -0400 (0:00:00.349) 0:01:51.238 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Tuesday 08 September 2026 12:20:57 -0400 (0:00:00.345) 0:01:51.584 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Tuesday 08 September 2026 12:20:57 -0400 (0:00:00.343) 0:01:51.927 ***** included: /tmp/collections-669/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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Tuesday 08 September 2026 12:20:57 -0400 (0:00:00.031) 0:01:51.959 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Tuesday 08 September 2026 12:20:57 -0400 (0:00:00.025) 0:01:51.984 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Tuesday 08 September 2026 12:20:58 -0400 (0:00:00.020) 0:01:52.004 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Tuesday 08 September 2026 12:20:58 -0400 (0:00:00.019) 0:01:52.024 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Tuesday 08 September 2026 12:20:58 -0400 (0:00:00.020) 0:01:52.045 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Tuesday 08 September 2026 12:20:58 -0400 (0:00:00.010) 0:01:52.055 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Tuesday 08 September 2026 12:20:58 -0400 (0:00:00.009) 0:01:52.064 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Tuesday 08 September 2026 12:20:58 -0400 (0:00:00.009) 0:01:52.074 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Tuesday 08 September 2026 12:20:58 -0400 (0:00:00.009) 0:01:52.083 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Tuesday 08 September 2026 12:20:58 -0400 (0:00:00.010) 0:01:52.093 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Tuesday 08 September 2026 12:20:58 -0400 (0:00:00.831) 0:01:52.925 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Tuesday 08 September 2026 12:20:58 -0400 (0:00:00.025) 0:01:52.950 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_version | string not in __postgresql_versions_el9", "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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Tuesday 08 September 2026 12:20:58 -0400 (0:00:00.026) 0:01:52.977 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Tuesday 08 September 2026 12:20:59 -0400 (0:00:00.023) 0:01:53.000 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Tuesday 08 September 2026 12:20:59 -0400 (0:00:00.020) 0:01:53.021 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:18/server installed.", "Installed: postgresql-private-libs-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Installed: postgresql-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Installed: postgresql-server-18.1-1.module_el9+1300+1c4aa8df.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Tuesday 08 September 2026 12:21:03 -0400 (0:00:04.207) 0:01:57.228 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.827475", "end": "2026-09-08 12:21:04.391733", "rc": 0, "start": "2026-09-08 12:21:03.564258" } 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Tuesday 08 September 2026 12:21:04 -0400 (0:00:01.213) 0:01:58.441 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Tuesday 08 September 2026 12:21:04 -0400 (0:00:00.019) 0:01:58.461 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Tuesday 08 September 2026 12:21:04 -0400 (0:00:00.019) 0:01:58.481 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Tuesday 08 September 2026 12:21:04 -0400 (0:00:00.018) 0:01:58.499 ***** 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 systemd-journald.socket basic.target system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "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", "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", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "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", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "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": "13485", "LimitNPROCSoft": "13485", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13485", "LimitSIGPENDINGSoft": "13485", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "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", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "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", "RestartMode": "normal", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21576", "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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Tuesday 08 September 2026 12:21:05 -0400 (0:00:01.138) 0:01:59.637 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.021) 0:01:59.659 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.022) 0:01:59.682 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.021) 0:01:59.703 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.017) 0:01:59.720 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.021) 0:01:59.741 ***** included: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.031) 0:01:59.773 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.018) 0:01:59.792 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.018) 0:01:59.810 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.019) 0:01:59.830 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.018) 0:01:59.849 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.018) 0:01:59.867 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.018) 0:01:59.885 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.019) 0:01:59.905 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.016) 0:01:59.922 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.016) 0:01:59.939 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Tuesday 08 September 2026 12:21:05 -0400 (0:00:00.020) 0:01:59.960 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Tuesday 08 September 2026 12:21:06 -0400 (0:00:00.361) 0:02:00.321 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Tuesday 08 September 2026 12:21:06 -0400 (0:00:00.370) 0:02:00.691 ***** changed: [managed-node1] => { "changed": true, "checksum": "56c7cdc8c614abd9b0d03e84141e710aaa9e7e78", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "7e7fa9e0cb2e76c1e0f9024388e24297", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788884466.74349-15958-257764070151852/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Tuesday 08 September 2026 12:21:07 -0400 (0:00:00.722) 0:02:01.414 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Tuesday 08 September 2026 12:21:07 -0400 (0:00:00.021) 0:02:01.435 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Tuesday 08 September 2026 12:21:07 -0400 (0:00:00.022) 0:02:01.458 ***** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-09-08T12:21:07-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Tuesday 08 September 2026 12:21:07 -0400 (0:00:00.370) 0:02:01.829 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Tuesday 08 September 2026 12:21:07 -0400 (0:00:00.019) 0:02:01.848 ***** 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-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Tuesday 08 September 2026 12:21:07 -0400 (0:00:00.006) 0:02:01.854 ***** 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 12:21:05 EDT", "ActiveEnterTimestampMonotonic": "772131552", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice network-online.target sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-09-08 12:21:05 EDT", "AssertTimestampMonotonic": "772073285", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "40528000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2026-09-08 12:21:05 EDT", "ConditionTimestampMonotonic": "772073283", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "8920", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "54412", "ExecMainStartTimestamp": "Tue 2026-09-08 12:21:05 EDT", "ExecMainStartTimestampMonotonic": "772087022", "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 12:21:05 EDT] ; stop_time=[n/a] ; pid=54412 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Tue 2026-09-08 12:21:05 EDT] ; stop_time=[n/a] ; pid=54412 ; 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 12:21:05 EDT] ; stop_time=[Tue 2026-09-08 12:21:05 EDT] ; pid=54410 ; 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 12:21:05 EDT] ; stop_time=[Tue 2026-09-08 12:21:05 EDT] ; pid=54410 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "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 12:21:05 EDT", "InactiveExitTimestampMonotonic": "772081305", "InvocationID": "4813c8d9a2e54c44979a8f451bc49943", "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": "13485", "LimitNPROCSoft": "13485", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13485", "LimitSIGPENDINGSoft": "13485", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "54412", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "23281664", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "23445504", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "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", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "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", "RestartMode": "normal", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "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]", "StateChangeTimestamp": "Tue 2026-09-08 12:21:05 EDT", "StateChangeTimestampMonotonic": "772131552", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "10", "TasksMax": "21576", "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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Tuesday 08 September 2026 12:21:08 -0400 (0:00:00.975) 0:02:02.830 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.009396", "end": "2026-09-08 12:21:09.146161", "rc": 0, "start": "2026-09-08 12:21:09.136765" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Tuesday 08 September 2026 12:21:09 -0400 (0:00:00.365) 0:02:03.195 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009668", "end": "2026-09-08 12:21:09.509256", "rc": 0, "start": "2026-09-08 12:21:09.499588" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Tuesday 08 September 2026 12:21:09 -0400 (0:00:00.362) 0:02:03.558 ***** ASYNC OK on managed-node1: jid=j90023863149.55861 ok: [managed-node1] => { "ansible_job_id": "j90023863149.55861", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014960", "end": "2026-09-08 12:21:10.088332", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j90023863149.55861", "start": "2026-09-08 12:21:10.073372", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Tuesday 08 September 2026 12:21:25 -0400 (0:00:16.072) 0:02:19.630 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011682", "end": "2026-09-08 12:21:25.961627", "rc": 0, "start": "2026-09-08 12:21:25.949945" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Tuesday 08 September 2026 12:21:26 -0400 (0:00:00.408) 0:02:20.038 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Tuesday 08 September 2026 12:21:26 -0400 (0:00:00.031) 0:02:20.070 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011112", "end": "2026-09-08 12:21:26.397724", "rc": 0, "start": "2026-09-08 12:21:26.386612" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Tuesday 08 September 2026 12:21:26 -0400 (0:00:00.377) 0:02:20.447 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Tuesday 08 September 2026 12:21:26 -0400 (0:00:00.031) 0:02:20.479 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010706", "end": "2026-09-08 12:21:26.790533", "failed_when_result": false, "rc": 0, "start": "2026-09-08 12:21:26.779827" } STDOUT: postgres (PostgreSQL) 18.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Tuesday 08 September 2026 12:21:26 -0400 (0:00:00.367) 0:02:20.846 ***** included: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 TASK [Run handlers] ************************************************************ task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Tuesday 08 September 2026 12:21:26 -0400 (0:00:00.032) 0:02:20.878 ***** META: triggered running handlers for managed-node1 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Tuesday 08 September 2026 12:21:26 -0400 (0:00:00.004) 0:02:20.883 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:18/server removed.", "Removed: postgresql-private-libs-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Removed: postgresql-server-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Removed: postgresql-18.1-1.module_el9+1300+1c4aa8df.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Tuesday 08 September 2026 12:21:28 -0400 (0:00:02.029) 0:02:22.913 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Tuesday 08 September 2026 12:21:28 -0400 (0:00:00.018) 0:02:22.931 ***** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Tuesday 08 September 2026 12:21:29 -0400 (0:00:00.395) 0:02:23.327 ***** 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-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Tuesday 08 September 2026 12:21:30 -0400 (0:00:01.368) 0:02:24.696 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008819", "end": "2026-09-08 12:21:31.003608", "rc": 0, "start": "2026-09-08 12:21:30.994789" } STDOUT: Sep 08 12:17:37 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:17:37 managed-node1 postgres[12572]: 2026-09-08 12:17:37.716 EDT [12572] LOG: redirecting log output to logging collector process Sep 08 12:17:37 managed-node1 postgres[12572]: 2026-09-08 12:17:37.716 EDT [12572] HINT: Future log output will appear in directory "log". Sep 08 12:17:37 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:17:55 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:17:55 managed-node1 systemd[1]: postgresql.service: Killing process 12573 (postgres) with signal SIGKILL. Sep 08 12:17:55 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:17:55 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:17:55 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:17:55 managed-node1 postgres[16592]: 2026-09-08 12:17:55.536 EDT [16592] LOG: redirecting log output to logging collector process Sep 08 12:17:55 managed-node1 postgres[16592]: 2026-09-08 12:17:55.536 EDT [16592] HINT: Future log output will appear in directory "log". Sep 08 12:17:55 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:17:59 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:17:59 managed-node1 systemd[1]: postgresql.service: Killing process 16593 (postgres) with signal SIGKILL. Sep 08 12:17:59 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:17:59 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:15 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:15 managed-node1 postgres[22060]: 2026-09-08 12:18:15.149 EDT [22060] LOG: redirecting log output to logging collector process Sep 08 12:18:15 managed-node1 postgres[22060]: 2026-09-08 12:18:15.149 EDT [22060] HINT: Future log output will appear in directory "log". Sep 08 12:18:15 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:18:18 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:18:18 managed-node1 systemd[1]: postgresql.service: Killing process 22061 (postgres) with signal SIGKILL. Sep 08 12:18:18 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:18:18 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:18 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:18 managed-node1 postgres[23022]: 2026-09-08 12:18:18.617 EDT [23022] LOG: redirecting log output to logging collector process Sep 08 12:18:18 managed-node1 postgres[23022]: 2026-09-08 12:18:18.617 EDT [23022] HINT: Future log output will appear in directory "log". Sep 08 12:18:18 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:18:38 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:18:38 managed-node1 systemd[1]: postgresql.service: Killing process 23023 (postgres) with signal SIGKILL. Sep 08 12:18:38 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:18:38 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:18:54 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:18:54 managed-node1 postgres[29093]: 2026-09-08 12:18:54.730 EDT [29093] LOG: redirecting log output to logging collector process Sep 08 12:18:54 managed-node1 postgres[29093]: 2026-09-08 12:18:54.730 EDT [29093] HINT: Future log output will appear in directory "log". Sep 08 12:18:54 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:00 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:00 managed-node1 systemd[1]: postgresql.service: Killing process 29094 (postgres) with signal SIGKILL. Sep 08 12:19:00 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:00 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:00 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:00 managed-node1 postgres[30778]: 2026-09-08 12:19:00.363 EDT [30778] LOG: redirecting log output to logging collector process Sep 08 12:19:00 managed-node1 postgres[30778]: 2026-09-08 12:19:00.363 EDT [30778] HINT: Future log output will appear in directory "log". Sep 08 12:19:00 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:02 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:02 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:02 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:18 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:18 managed-node1 postgres[35603]: 2026-09-08 12:19:18.663 EDT [35603] LOG: redirecting log output to logging collector process Sep 08 12:19:18 managed-node1 postgres[35603]: 2026-09-08 12:19:18.663 EDT [35603] HINT: Future log output will appear in directory "log". Sep 08 12:19:18 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:22 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:22 managed-node1 systemd[1]: postgresql.service: Killing process 35604 (postgres) with signal SIGKILL. Sep 08 12:19:22 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:22 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:22 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:22 managed-node1 postgres[36565]: 2026-09-08 12:19:22.388 EDT [36565] LOG: redirecting log output to logging collector process Sep 08 12:19:22 managed-node1 postgres[36565]: 2026-09-08 12:19:22.388 EDT [36565] HINT: Future log output will appear in directory "log". Sep 08 12:19:22 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:42 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:42 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:42 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:55 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:55 managed-node1 postmaster[41872]: 2026-09-08 12:19:55.132 EDT [41872] LOG: redirecting log output to logging collector process Sep 08 12:19:55 managed-node1 postmaster[41872]: 2026-09-08 12:19:55.132 EDT [41872] HINT: Future log output will appear in directory "log". Sep 08 12:19:55 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:19:58 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:19:58 managed-node1 systemd[1]: postgresql.service: Killing process 41873 (postmaster) with signal SIGKILL. Sep 08 12:19:58 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:19:58 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:19:58 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:19:58 managed-node1 postmaster[42833]: 2026-09-08 12:19:58.251 EDT [42833] LOG: redirecting log output to logging collector process Sep 08 12:19:58 managed-node1 postmaster[42833]: 2026-09-08 12:19:58.251 EDT [42833] HINT: Future log output will appear in directory "log". Sep 08 12:19:58 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:20:17 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:20:17 managed-node1 systemd[1]: postgresql.service: Killing process 42834 (postmaster) with signal SIGKILL. Sep 08 12:20:17 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:20:17 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:20:29 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:20:29 managed-node1 postgres[48135]: 2026-09-08 12:20:29.935 EDT [48135] LOG: redirecting log output to logging collector process Sep 08 12:20:29 managed-node1 postgres[48135]: 2026-09-08 12:20:29.935 EDT [48135] HINT: Future log output will appear in directory "log". Sep 08 12:20:29 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:20:33 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:20:33 managed-node1 systemd[1]: postgresql.service: Killing process 48136 (postgres) with signal SIGKILL. Sep 08 12:20:33 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:20:33 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:20:33 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:20:33 managed-node1 postgres[49096]: 2026-09-08 12:20:33.090 EDT [49096] LOG: redirecting log output to logging collector process Sep 08 12:20:33 managed-node1 postgres[49096]: 2026-09-08 12:20:33.090 EDT [49096] HINT: Future log output will appear in directory "log". Sep 08 12:20:33 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:20:52 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:20:52 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:20:52 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:21:05 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:21:05 managed-node1 postgres[54412]: 2026-09-08 12:21:05.554 EDT [54412] LOG: redirecting log output to logging collector process Sep 08 12:21:05 managed-node1 postgres[54412]: 2026-09-08 12:21:05.554 EDT [54412] HINT: Future log output will appear in directory "log". Sep 08 12:21:05 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:21:08 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:21:08 managed-node1 systemd[1]: postgresql.service: Killing process 54413 (postgres) with signal SIGKILL. Sep 08 12:21:08 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:21:08 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 08 12:21:08 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 08 12:21:08 managed-node1 postgres[55376]: 2026-09-08 12:21:08.751 EDT [55376] LOG: redirecting log output to logging collector process Sep 08 12:21:08 managed-node1 postgres[55376]: 2026-09-08 12:21:08.751 EDT [55376] HINT: Future log output will appear in directory "log". Sep 08 12:21:08 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 08 12:21:28 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 08 12:21:28 managed-node1 systemd[1]: postgresql.service: Deactivated successfully. Sep 08 12:21:28 managed-node1 systemd[1]: Stopped PostgreSQL database server. PLAY RECAP ********************************************************************* managed-node1 : ok=169 changed=36 unreachable=0 failed=0 skipped=145 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 08 September 2026 12:21:31 -0400 (0:00:00.351) 0:02:25.047 ***** =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.35s /tmp/collections-669/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.08s /tmp/collections-669/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.07s /tmp/collections-669/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.06s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.25s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.21s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.64s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.54s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Uninstall postgresql ---------------------------------------------------- 2.05s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 2.05s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 2.03s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.95s /tmp/collections-669/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.46s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Remove config files ----------------------------------------------------- 1.40s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.37s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.37s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.36s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 1.21s /tmp/collections-669/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.20s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Gathering Facts --------------------------------------------------------- 1.18s /tmp/collections-669/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3