ansible-playbook [core 2.16.19] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-9eY executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Thursday 10 September 2026 13:36:33 -0400 (0:00:00.026) 0:00:00.026 **** ok: [managed-node1] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Thursday 10 September 2026 13:36:34 -0400 (0:00:01.078) 0:00:01.105 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Thursday 10 September 2026 13:36:34 -0400 (0:00:00.007) 0:00:01.112 **** included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Thursday 10 September 2026 13:36:34 -0400 (0:00:00.043) 0:00:01.156 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Thursday 10 September 2026 13:36:34 -0400 (0:00:00.053) 0:00:01.209 **** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Thursday 10 September 2026 13:36:34 -0400 (0:00:00.001) 0:00:01.210 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Thursday 10 September 2026 13:36:34 -0400 (0:00:00.024) 0:00:01.234 **** TASK [fedora.linux_system_roles.postgresql : Validating arguments against arg spec 'main' - The postgresql role.] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Thursday 10 September 2026 13:36:34 -0400 (0:00:00.116) 0:00:01.350 **** ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "postgresql", "path": "/tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Thursday 10 September 2026 13:36:34 -0400 (0:00:00.022) 0:00:01.373 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Thursday 10 September 2026 13:36:34 -0400 (0:00:00.029) 0:00:01.403 **** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Thursday 10 September 2026 13:36:35 -0400 (0:00:00.763) 0:00:02.166 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Thursday 10 September 2026 13:36:35 -0400 (0:00:00.028) 0:00:02.195 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Thursday 10 September 2026 13:36:35 -0400 (0:00:00.030) 0:00:02.225 **** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-09-10T13:36:36-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Thursday 10 September 2026 13:36:36 -0400 (0:00:00.485) 0:00:02.710 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Thursday 10 September 2026 13:36:36 -0400 (0:00:00.419) 0:00:03.129 **** ok: [managed-node1] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Thursday 10 September 2026 13:36:36 -0400 (0:00:00.020) 0:00:03.150 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007712", "end": "2026-09-10 13:36:36.902598", "failed_when_result": false, "rc": 0, "start": "2026-09-10 13:36:36.894886" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Thursday 10 September 2026 13:36:36 -0400 (0:00:00.409) 0:00:03.560 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Thursday 10 September 2026 13:36:36 -0400 (0:00:00.021) 0:00:03.581 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Thursday 10 September 2026 13:36:36 -0400 (0:00:00.022) 0:00:03.604 **** 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_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Thursday 10 September 2026 13:36:37 -0400 (0:00:00.038) 0:00:03.643 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Thursday 10 September 2026 13:36:37 -0400 (0:00:00.308) 0:00:03.951 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Thursday 10 September 2026 13:36:37 -0400 (0:00:00.321) 0:00:04.273 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Thursday 10 September 2026 13:36:37 -0400 (0:00:00.311) 0:00:04.584 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Thursday 10 September 2026 13:36:38 -0400 (0:00:00.039) 0:00:04.624 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Thursday 10 September 2026 13:36:38 -0400 (0:00:00.023) 0:00:04.647 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Thursday 10 September 2026 13:36:38 -0400 (0:00:00.023) 0:00:04.670 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Thursday 10 September 2026 13:36:38 -0400 (0:00:00.023) 0:00:04.694 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Thursday 10 September 2026 13:36:38 -0400 (0:00:00.021) 0:00:04.716 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Thursday 10 September 2026 13:36:38 -0400 (0:00:00.010) 0:00:04.726 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Thursday 10 September 2026 13:36:38 -0400 (0:00:00.010) 0:00:04.737 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Thursday 10 September 2026 13:36:38 -0400 (0:00:00.009) 0:00:04.747 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Thursday 10 September 2026 13:36:38 -0400 (0:00:00.009) 0:00:04.757 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Thursday 10 September 2026 13:36:38 -0400 (0:00:00.009) 0:00:04.767 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Thursday 10 September 2026 13:36:39 -0400 (0:00:01.698) 0:00:06.465 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Thursday 10 September 2026 13:36:39 -0400 (0:00:00.030) 0:00:06.496 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Thursday 10 September 2026 13:36:39 -0400 (0:00:00.029) 0:00:06.526 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Thursday 10 September 2026 13:36:39 -0400 (0:00:00.033) 0:00:06.559 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Thursday 10 September 2026 13:36:39 -0400 (0:00:00.024) 0:00:06.584 **** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server installed.", "Installed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Installed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Thursday 10 September 2026 13:36:46 -0400 (0:00:06.039) 0:00:12.624 **** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.664240", "end": "2026-09-10 13:36:46.960496", "rc": 0, "start": "2026-09-10 13:36:46.296256" } 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Thursday 10 September 2026 13:36:47 -0400 (0:00:01.005) 0:00:13.630 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Thursday 10 September 2026 13:36:47 -0400 (0:00:00.034) 0:00:13.664 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Thursday 10 September 2026 13:36:47 -0400 (0:00:00.030) 0:00:13.695 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Thursday 10 September 2026 13:36:47 -0400 (0:00:00.028) 0:00:13.723 **** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Thursday 10 September 2026 13:36:48 -0400 (0:00:01.244) 0:00:14.968 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.026) 0:00:14.994 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.025) 0:00:15.019 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.023) 0:00:15.043 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.023) 0:00:15.067 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.026) 0:00:15.093 **** included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.030) 0:00:15.124 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.020) 0:00:15.144 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.019) 0:00:15.164 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.018) 0:00:15.183 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.019) 0:00:15.202 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.020) 0:00:15.222 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.019) 0:00:15.242 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.021) 0:00:15.264 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.026) 0:00:15.290 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.030) 0:00:15.321 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Thursday 10 September 2026 13:36:48 -0400 (0:00:00.074) 0:00:15.396 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Thursday 10 September 2026 13:36:49 -0400 (0:00:00.508) 0:00:15.904 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Thursday 10 September 2026 13:36:49 -0400 (0:00:00.435) 0:00:16.340 **** changed: [managed-node1] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1789061809.7647917-13277-2341003506254/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Thursday 10 September 2026 13:36:50 -0400 (0:00:00.756) 0:00:17.096 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Thursday 10 September 2026 13:36:50 -0400 (0:00:00.026) 0:00:17.122 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Thursday 10 September 2026 13:36:50 -0400 (0:00:00.022) 0:00:17.145 **** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-09-10T13:36:50-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Thursday 10 September 2026 13:36:50 -0400 (0:00:00.325) 0:00:17.471 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Thursday 10 September 2026 13:36:50 -0400 (0:00:00.027) 0:00:17.498 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Thursday 10 September 2026 13:36:50 -0400 (0:00:00.005) 0:00:17.503 **** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2026-09-10 13:36:48 EDT", "ActiveEnterTimestampMonotonic": "653835780", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2026-09-10 13:36:48 EDT", "AssertTimestampMonotonic": "653785727", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2026-09-10 13:36:48 EDT", "ConditionTimestampMonotonic": "653785726", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "31044", "ExecMainStartTimestamp": "Thu 2026-09-10 13:36:48 EDT", "ExecMainStartTimestampMonotonic": "653795230", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Thu 2026-09-10 13:36:48 EDT] ; stop_time=[n/a] ; pid=31044 ; 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=[Thu 2026-09-10 13:36:48 EDT] ; stop_time=[Thu 2026-09-10 13:36:48 EDT] ; pid=31041 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2026-09-10 13:36:48 EDT", "InactiveExitTimestampMonotonic": "653786703", "InvocationID": "6d875c4e2e624e06a7ecfec0e606a5d1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "31044", "MemoryAccounting": "yes", "MemoryCurrent": "17760256", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2026-09-10 13:36:48 EDT", "StateChangeTimestampMonotonic": "653835780", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2026-09-10 13:36:48 EDT", "WatchdogTimestampMonotonic": "653835778", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Thursday 10 September 2026 13:36:51 -0400 (0:00:00.908) 0:00:18.412 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007820", "end": "2026-09-10 13:36:52.091408", "rc": 0, "start": "2026-09-10 13:36:52.083588" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Thursday 10 September 2026 13:36:52 -0400 (0:00:00.338) 0:00:18.750 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007913", "end": "2026-09-10 13:36:52.435382", "rc": 0, "start": "2026-09-10 13:36:52.427469" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Thursday 10 September 2026 13:36:52 -0400 (0:00:00.341) 0:00:19.092 **** ASYNC OK on managed-node1: jid=j122823445583.32251 ok: [managed-node1] => { "ansible_job_id": "j122823445583.32251", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011581", "end": "2026-09-10 13:36:53.061428", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j122823445583.32251", "start": "2026-09-10 13:36:53.049847", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Thursday 10 September 2026 13:37:08 -0400 (0:00:16.143) 0:00:35.235 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009573", "end": "2026-09-10 13:37:08.913022", "rc": 0, "start": "2026-09-10 13:37:08.903449" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Thursday 10 September 2026 13:37:08 -0400 (0:00:00.334) 0:00:35.570 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Thursday 10 September 2026 13:37:08 -0400 (0:00:00.033) 0:00:35.604 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008928", "end": "2026-09-10 13:37:09.280653", "rc": 0, "start": "2026-09-10 13:37:09.271725" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Thursday 10 September 2026 13:37:09 -0400 (0:00:00.334) 0:00:35.939 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Thursday 10 September 2026 13:37:09 -0400 (0:00:00.032) 0:00:35.971 **** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008731", "end": "2026-09-10 13:37:09.635166", "failed_when_result": false, "rc": 0, "start": "2026-09-10 13:37:09.626435" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Thursday 10 September 2026 13:37:09 -0400 (0:00:00.325) 0:00:36.297 **** included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 TASK [Run handlers] ************************************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Thursday 10 September 2026 13:37:09 -0400 (0:00:00.035) 0:00:36.332 **** META: triggered running handlers for managed-node1 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Thursday 10 September 2026 13:37:09 -0400 (0:00:00.004) 0:00:36.337 **** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server removed.", "Removed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Removed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Thursday 10 September 2026 13:37:14 -0400 (0:00:04.471) 0:00:40.808 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Thursday 10 September 2026 13:37:14 -0400 (0:00:00.020) 0:00:40.828 **** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Thursday 10 September 2026 13:37:14 -0400 (0:00:00.356) 0:00:41.185 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Thursday 10 September 2026 13:37:15 -0400 (0:00:01.221) 0:00:42.406 **** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006822", "end": "2026-09-10 13:37:16.064816", "rc": 0, "start": "2026-09-10 13:37:16.057994" } STDOUT: -- Logs begin at Thu 2026-09-10 13:25:53 EDT, end at Thu 2026-09-10 13:37:16 EDT. -- Sep 10 13:34:53 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:34:53 managed-node1 postmaster[10459]: 2026-09-10 13:34:53.469 EDT [10459] LOG: redirecting log output to logging collector process Sep 10 13:34:53 managed-node1 postmaster[10459]: 2026-09-10 13:34:53.469 EDT [10459] HINT: Future log output will appear in directory "log". Sep 10 13:34:53 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:11 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:11 managed-node1 systemd[1]: postgresql.service: Killing process 10460 (postmaster) with signal SIGKILL. Sep 10 13:35:11 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:11 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:11 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:11 managed-node1 postmaster[14020]: 2026-09-10 13:35:11.717 EDT [14020] LOG: redirecting log output to logging collector process Sep 10 13:35:11 managed-node1 postmaster[14020]: 2026-09-10 13:35:11.717 EDT [14020] HINT: Future log output will appear in directory "log". Sep 10 13:35:11 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:17 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:17 managed-node1 systemd[1]: postgresql.service: Killing process 14022 (postmaster) with signal SIGKILL. Sep 10 13:35:17 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:17 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:35 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:35 managed-node1 postmaster[18957]: 2026-09-10 13:35:35.973 EDT [18957] LOG: redirecting log output to logging collector process Sep 10 13:35:35 managed-node1 postmaster[18957]: 2026-09-10 13:35:35.973 EDT [18957] HINT: Future log output will appear in directory "log". Sep 10 13:35:35 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:39 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:39 managed-node1 systemd[1]: postgresql.service: Killing process 18959 (postmaster) with signal SIGKILL. Sep 10 13:35:39 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:39 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:39 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:39 managed-node1 postmaster[19765]: 2026-09-10 13:35:39.377 EDT [19765] LOG: redirecting log output to logging collector process Sep 10 13:35:39 managed-node1 postmaster[19765]: 2026-09-10 13:35:39.377 EDT [19765] HINT: Future log output will appear in directory "log". Sep 10 13:35:39 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:00 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:00 managed-node1 systemd[1]: postgresql.service: Killing process 19767 (postmaster) with signal SIGKILL. Sep 10 13:36:00 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:00 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:20 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:20 managed-node1 postmaster[25196]: 2026-09-10 13:36:20.396 EDT [25196] LOG: redirecting log output to logging collector process Sep 10 13:36:20 managed-node1 postmaster[25196]: 2026-09-10 13:36:20.396 EDT [25196] HINT: Future log output will appear in directory "log". Sep 10 13:36:20 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:25 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:25 managed-node1 systemd[1]: postgresql.service: Killing process 25197 (postmaster) with signal SIGKILL. Sep 10 13:36:25 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:25 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:25 managed-node1 postmaster[26603]: 2026-09-10 13:36:25.691 EDT [26603] LOG: redirecting log output to logging collector process Sep 10 13:36:25 managed-node1 postmaster[26603]: 2026-09-10 13:36:25.691 EDT [26603] HINT: Future log output will appear in directory "log". Sep 10 13:36:25 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:29 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:29 managed-node1 systemd[1]: postgresql.service: Killing process 26605 (postmaster) with signal SIGKILL. Sep 10 13:36:29 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:29 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:48 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:48 managed-node1 postmaster[31044]: 2026-09-10 13:36:48.271 EDT [31044] LOG: redirecting log output to logging collector process Sep 10 13:36:48 managed-node1 postmaster[31044]: 2026-09-10 13:36:48.271 EDT [31044] HINT: Future log output will appear in directory "log". Sep 10 13:36:48 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:51 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:51 managed-node1 systemd[1]: postgresql.service: Killing process 31045 (postmaster) with signal SIGKILL. Sep 10 13:36:51 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:51 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:51 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:51 managed-node1 postmaster[31851]: 2026-09-10 13:36:51.724 EDT [31851] LOG: redirecting log output to logging collector process Sep 10 13:36:51 managed-node1 postmaster[31851]: 2026-09-10 13:36:51.724 EDT [31851] HINT: Future log output will appear in directory "log". Sep 10 13:36:51 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:13 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:13 managed-node1 systemd[1]: postgresql.service: Killing process 31853 (postmaster) with signal SIGKILL. Sep 10 13:37:13 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:13 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Thursday 10 September 2026 13:37:16 -0400 (0:00:00.315) 0:00:42.722 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Thursday 10 September 2026 13:37:16 -0400 (0:00:00.013) 0:00:42.736 **** ok: [managed-node1] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Thursday 10 September 2026 13:37:16 -0400 (0:00:00.019) 0:00:42.755 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 => (item=12) included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 => (item=16) included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 => (item=10) included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node1 => (item=15) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Thursday 10 September 2026 13:37:16 -0400 (0:00:00.091) 0:00:42.847 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Thursday 10 September 2026 13:37:16 -0400 (0:00:00.029) 0:00:42.877 **** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Thursday 10 September 2026 13:37:16 -0400 (0:00:00.001) 0:00:42.878 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Thursday 10 September 2026 13:37:16 -0400 (0:00:00.016) 0:00:42.895 **** TASK [fedora.linux_system_roles.postgresql : Validating arguments against arg spec 'main' - The postgresql role.] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Thursday 10 September 2026 13:37:16 -0400 (0:00:00.044) 0:00:42.939 **** ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "postgresql", "path": "/tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Thursday 10 September 2026 13:37:16 -0400 (0:00:00.017) 0:00:42.956 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Thursday 10 September 2026 13:37:16 -0400 (0:00:00.026) 0:00:42.983 **** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Thursday 10 September 2026 13:37:17 -0400 (0:00:00.746) 0:00:43.729 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Thursday 10 September 2026 13:37:17 -0400 (0:00:00.018) 0:00:43.748 **** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning": true, "__postgresql_version": "12" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Thursday 10 September 2026 13:37:17 -0400 (0:00:00.021) 0:00:43.769 **** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-09-10T13:37:17-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Thursday 10 September 2026 13:37:17 -0400 (0:00:00.311) 0:00:44.081 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Thursday 10 September 2026 13:37:17 -0400 (0:00:00.017) 0:00:44.098 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Thursday 10 September 2026 13:37:17 -0400 (0:00:00.016) 0:00:44.115 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Thursday 10 September 2026 13:37:17 -0400 (0:00:00.017) 0:00:44.132 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Thursday 10 September 2026 13:37:17 -0400 (0:00:00.017) 0:00:44.150 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Thursday 10 September 2026 13:37:17 -0400 (0:00:00.017) 0:00:44.167 **** [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_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Thursday 10 September 2026 13:37:17 -0400 (0:00:00.039) 0:00:44.207 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Thursday 10 September 2026 13:37:17 -0400 (0:00:00.306) 0:00:44.514 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.306) 0:00:44.820 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.304) 0:00:45.124 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.031) 0:00:45.156 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.027) 0:00:45.183 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.021) 0:00:45.205 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.021) 0:00:45.227 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.022) 0:00:45.250 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.010) 0:00:45.260 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.010) 0:00:45.271 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.009) 0:00:45.281 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.010) 0:00:45.291 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Thursday 10 September 2026 13:37:18 -0400 (0:00:00.010) 0:00:45.302 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Thursday 10 September 2026 13:37:20 -0400 (0:00:01.383) 0:00:46.686 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Thursday 10 September 2026 13:37:20 -0400 (0:00:00.027) 0:00:46.713 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Thursday 10 September 2026 13:37:20 -0400 (0:00:00.025) 0:00:46.739 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Thursday 10 September 2026 13:37:20 -0400 (0:00:00.025) 0:00:46.764 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Thursday 10 September 2026 13:37:20 -0400 (0:00:00.023) 0:00:46.787 **** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server installed.", "Installed: postgresql-12.15-3.module_el8+514+f9db76aa.x86_64", "Installed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Thursday 10 September 2026 13:37:26 -0400 (0:00:05.871) 0:00:52.658 **** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.706806", "end": "2026-09-10 13:37:27.034938", "rc": 0, "start": "2026-09-10 13:37:26.328132" } 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Thursday 10 September 2026 13:37:27 -0400 (0:00:01.034) 0:00:53.693 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Thursday 10 September 2026 13:37:27 -0400 (0:00:00.020) 0:00:53.713 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Thursday 10 September 2026 13:37:27 -0400 (0:00:00.020) 0:00:53.734 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Thursday 10 September 2026 13:37:27 -0400 (0:00:00.019) 0:00:53.753 **** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network.target system.slice sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Thursday 10 September 2026 13:37:28 -0400 (0:00:01.003) 0:00:54.757 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.022) 0:00:54.779 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.023) 0:00:54.803 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.022) 0:00:54.825 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.018) 0:00:54.843 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.024) 0:00:54.867 **** included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.033) 0:00:54.901 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.019) 0:00:54.921 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.019) 0:00:54.941 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.020) 0:00:54.962 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.020) 0:00:54.982 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.019) 0:00:55.001 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.019) 0:00:55.021 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.020) 0:00:55.042 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.017) 0:00:55.060 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.017) 0:00:55.078 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.021) 0:00:55.099 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Thursday 10 September 2026 13:37:28 -0400 (0:00:00.326) 0:00:55.426 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Thursday 10 September 2026 13:37:29 -0400 (0:00:00.324) 0:00:55.751 **** changed: [managed-node1] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1789061849.1754985-14078-116483220518318/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Thursday 10 September 2026 13:37:29 -0400 (0:00:00.642) 0:00:56.393 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Thursday 10 September 2026 13:37:29 -0400 (0:00:00.021) 0:00:56.415 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Thursday 10 September 2026 13:37:29 -0400 (0:00:00.023) 0:00:56.439 **** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-09-10T13:37:30-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Thursday 10 September 2026 13:37:30 -0400 (0:00:00.329) 0:00:56.768 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Thursday 10 September 2026 13:37:30 -0400 (0:00:00.019) 0:00:56.788 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Thursday 10 September 2026 13:37:30 -0400 (0:00:00.006) 0:00:56.794 **** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2026-09-10 13:37:28 EDT", "ActiveEnterTimestampMonotonic": "693633992", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2026-09-10 13:37:28 EDT", "AssertTimestampMonotonic": "693585088", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2026-09-10 13:37:28 EDT", "ConditionTimestampMonotonic": "693585088", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "36691", "ExecMainStartTimestamp": "Thu 2026-09-10 13:37:28 EDT", "ExecMainStartTimestampMonotonic": "693594289", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Thu 2026-09-10 13:37:28 EDT] ; stop_time=[n/a] ; pid=36691 ; 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=[Thu 2026-09-10 13:37:28 EDT] ; stop_time=[Thu 2026-09-10 13:37:28 EDT] ; pid=36688 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2026-09-10 13:37:28 EDT", "InactiveExitTimestampMonotonic": "693585972", "InvocationID": "a68c392dc46c41a3b123f5bb45bc10c6", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "36691", "MemoryAccounting": "yes", "MemoryCurrent": "17821696", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2026-09-10 13:37:28 EDT", "StateChangeTimestampMonotonic": "693633992", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2026-09-10 13:37:28 EDT", "WatchdogTimestampMonotonic": "693633990", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Thursday 10 September 2026 13:37:31 -0400 (0:00:00.902) 0:00:57.697 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007634", "end": "2026-09-10 13:37:31.359789", "rc": 0, "start": "2026-09-10 13:37:31.352155" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Thursday 10 September 2026 13:37:31 -0400 (0:00:00.320) 0:00:58.017 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007875", "end": "2026-09-10 13:37:31.678070", "rc": 0, "start": "2026-09-10 13:37:31.670195" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Thursday 10 September 2026 13:37:31 -0400 (0:00:00.318) 0:00:58.335 **** ASYNC OK on managed-node1: jid=j907498878027.37898 ok: [managed-node1] => { "ansible_job_id": "j907498878027.37898", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011226", "end": "2026-09-10 13:37:32.213230", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j907498878027.37898", "start": "2026-09-10 13:37:32.202004", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Thursday 10 September 2026 13:37:47 -0400 (0:00:16.160) 0:01:14.496 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009196", "end": "2026-09-10 13:37:48.207073", "rc": 0, "start": "2026-09-10 13:37:48.197877" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Thursday 10 September 2026 13:37:48 -0400 (0:00:00.382) 0:01:14.879 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Thursday 10 September 2026 13:37:48 -0400 (0:00:00.032) 0:01:14.911 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011448", "end": "2026-09-10 13:37:48.705744", "rc": 0, "start": "2026-09-10 13:37:48.694296" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Thursday 10 September 2026 13:37:48 -0400 (0:00:00.464) 0:01:15.376 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Thursday 10 September 2026 13:37:48 -0400 (0:00:00.036) 0:01:15.413 **** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.012094", "end": "2026-09-10 13:37:49.186576", "failed_when_result": false, "rc": 0, "start": "2026-09-10 13:37:49.174482" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Thursday 10 September 2026 13:37:49 -0400 (0:00:00.447) 0:01:15.860 **** included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 TASK [Run handlers] ************************************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Thursday 10 September 2026 13:37:49 -0400 (0:00:00.032) 0:01:15.893 **** META: triggered running handlers for managed-node1 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Thursday 10 September 2026 13:37:49 -0400 (0:00:00.005) 0:01:15.899 **** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server removed.", "Removed: postgresql-12.15-3.module_el8+514+f9db76aa.x86_64", "Removed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Thursday 10 September 2026 13:37:54 -0400 (0:00:04.972) 0:01:20.871 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Thursday 10 September 2026 13:37:54 -0400 (0:00:00.018) 0:01:20.890 **** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Thursday 10 September 2026 13:37:54 -0400 (0:00:00.361) 0:01:21.251 **** [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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Thursday 10 September 2026 13:37:55 -0400 (0:00:01.220) 0:01:22.472 **** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007111", "end": "2026-09-10 13:37:56.131370", "rc": 0, "start": "2026-09-10 13:37:56.124259" } STDOUT: -- Logs begin at Thu 2026-09-10 13:25:53 EDT, end at Thu 2026-09-10 13:37:56 EDT. -- Sep 10 13:34:53 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:34:53 managed-node1 postmaster[10459]: 2026-09-10 13:34:53.469 EDT [10459] LOG: redirecting log output to logging collector process Sep 10 13:34:53 managed-node1 postmaster[10459]: 2026-09-10 13:34:53.469 EDT [10459] HINT: Future log output will appear in directory "log". Sep 10 13:34:53 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:11 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:11 managed-node1 systemd[1]: postgresql.service: Killing process 10460 (postmaster) with signal SIGKILL. Sep 10 13:35:11 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:11 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:11 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:11 managed-node1 postmaster[14020]: 2026-09-10 13:35:11.717 EDT [14020] LOG: redirecting log output to logging collector process Sep 10 13:35:11 managed-node1 postmaster[14020]: 2026-09-10 13:35:11.717 EDT [14020] HINT: Future log output will appear in directory "log". Sep 10 13:35:11 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:17 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:17 managed-node1 systemd[1]: postgresql.service: Killing process 14022 (postmaster) with signal SIGKILL. Sep 10 13:35:17 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:17 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:35 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:35 managed-node1 postmaster[18957]: 2026-09-10 13:35:35.973 EDT [18957] LOG: redirecting log output to logging collector process Sep 10 13:35:35 managed-node1 postmaster[18957]: 2026-09-10 13:35:35.973 EDT [18957] HINT: Future log output will appear in directory "log". Sep 10 13:35:35 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:39 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:39 managed-node1 systemd[1]: postgresql.service: Killing process 18959 (postmaster) with signal SIGKILL. Sep 10 13:35:39 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:39 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:39 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:39 managed-node1 postmaster[19765]: 2026-09-10 13:35:39.377 EDT [19765] LOG: redirecting log output to logging collector process Sep 10 13:35:39 managed-node1 postmaster[19765]: 2026-09-10 13:35:39.377 EDT [19765] HINT: Future log output will appear in directory "log". Sep 10 13:35:39 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:00 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:00 managed-node1 systemd[1]: postgresql.service: Killing process 19767 (postmaster) with signal SIGKILL. Sep 10 13:36:00 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:00 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:20 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:20 managed-node1 postmaster[25196]: 2026-09-10 13:36:20.396 EDT [25196] LOG: redirecting log output to logging collector process Sep 10 13:36:20 managed-node1 postmaster[25196]: 2026-09-10 13:36:20.396 EDT [25196] HINT: Future log output will appear in directory "log". Sep 10 13:36:20 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:25 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:25 managed-node1 systemd[1]: postgresql.service: Killing process 25197 (postmaster) with signal SIGKILL. Sep 10 13:36:25 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:25 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:25 managed-node1 postmaster[26603]: 2026-09-10 13:36:25.691 EDT [26603] LOG: redirecting log output to logging collector process Sep 10 13:36:25 managed-node1 postmaster[26603]: 2026-09-10 13:36:25.691 EDT [26603] HINT: Future log output will appear in directory "log". Sep 10 13:36:25 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:29 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:29 managed-node1 systemd[1]: postgresql.service: Killing process 26605 (postmaster) with signal SIGKILL. Sep 10 13:36:29 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:29 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:48 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:48 managed-node1 postmaster[31044]: 2026-09-10 13:36:48.271 EDT [31044] LOG: redirecting log output to logging collector process Sep 10 13:36:48 managed-node1 postmaster[31044]: 2026-09-10 13:36:48.271 EDT [31044] HINT: Future log output will appear in directory "log". Sep 10 13:36:48 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:51 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:51 managed-node1 systemd[1]: postgresql.service: Killing process 31045 (postmaster) with signal SIGKILL. Sep 10 13:36:51 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:51 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:51 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:51 managed-node1 postmaster[31851]: 2026-09-10 13:36:51.724 EDT [31851] LOG: redirecting log output to logging collector process Sep 10 13:36:51 managed-node1 postmaster[31851]: 2026-09-10 13:36:51.724 EDT [31851] HINT: Future log output will appear in directory "log". Sep 10 13:36:51 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:13 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:13 managed-node1 systemd[1]: postgresql.service: Killing process 31853 (postmaster) with signal SIGKILL. Sep 10 13:37:13 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:13 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:37:28 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.060 EDT [36691] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.061 EDT [36691] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.061 EDT [36691] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.063 EDT [36691] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.066 EDT [36691] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.076 EDT [36691] LOG: redirecting log output to logging collector process Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.076 EDT [36691] HINT: Future log output will appear in directory "log". Sep 10 13:37:28 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:30 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:30 managed-node1 systemd[1]: postgresql.service: Killing process 36692 (postmaster) with signal SIGKILL. Sep 10 13:37:30 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:30 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:37:30 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.987 EDT [37498] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.991 EDT [37498] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:37:31 managed-node1 postmaster[37498]: 2026-09-10 13:37:31.018 EDT [37498] LOG: redirecting log output to logging collector process Sep 10 13:37:31 managed-node1 postmaster[37498]: 2026-09-10 13:37:31.018 EDT [37498] HINT: Future log output will appear in directory "log". Sep 10 13:37:31 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:53 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:53 managed-node1 systemd[1]: postgresql.service: Killing process 37500 (postmaster) with signal SIGKILL. Sep 10 13:37:53 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:53 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Thursday 10 September 2026 13:37:56 -0400 (0:00:00.316) 0:01:22.789 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Thursday 10 September 2026 13:37:56 -0400 (0:00:00.030) 0:01:22.820 **** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Thursday 10 September 2026 13:37:56 -0400 (0:00:00.001) 0:01:22.821 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Thursday 10 September 2026 13:37:56 -0400 (0:00:00.016) 0:01:22.838 **** TASK [fedora.linux_system_roles.postgresql : Validating arguments against arg spec 'main' - The postgresql role.] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Thursday 10 September 2026 13:37:56 -0400 (0:00:00.044) 0:01:22.882 **** ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "postgresql", "path": "/tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Thursday 10 September 2026 13:37:56 -0400 (0:00:00.017) 0:01:22.900 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Thursday 10 September 2026 13:37:56 -0400 (0:00:00.026) 0:01:22.926 **** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Thursday 10 September 2026 13:37:57 -0400 (0:00:00.747) 0:01:23.674 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Thursday 10 September 2026 13:37:57 -0400 (0:00:00.018) 0:01:23.693 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Thursday 10 September 2026 13:37:57 -0400 (0:00:00.021) 0:01:23.714 **** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-09-10T13:37:57-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Thursday 10 September 2026 13:37:57 -0400 (0:00:00.310) 0:01:24.025 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Thursday 10 September 2026 13:37:57 -0400 (0:00:00.017) 0:01:24.043 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Thursday 10 September 2026 13:37:57 -0400 (0:00:00.017) 0:01:24.060 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Thursday 10 September 2026 13:37:57 -0400 (0:00:00.020) 0:01:24.080 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Thursday 10 September 2026 13:37:57 -0400 (0:00:00.017) 0:01:24.098 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Thursday 10 September 2026 13:37:57 -0400 (0:00:00.016) 0:01:24.115 **** 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_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Thursday 10 September 2026 13:37:57 -0400 (0:00:00.040) 0:01:24.155 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Thursday 10 September 2026 13:37:57 -0400 (0:00:00.309) 0:01:24.465 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.309) 0:01:24.774 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.307) 0:01:25.081 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.030) 0:01:25.112 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.027) 0:01:25.139 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.021) 0:01:25.161 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.021) 0:01:25.182 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.022) 0:01:25.204 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.010) 0:01:25.214 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.010) 0:01:25.225 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.010) 0:01:25.235 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.010) 0:01:25.245 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Thursday 10 September 2026 13:37:58 -0400 (0:00:00.010) 0:01:25.256 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Thursday 10 September 2026 13:37:59 -0400 (0:00:01.321) 0:01:26.578 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Thursday 10 September 2026 13:37:59 -0400 (0:00:00.028) 0:01:26.606 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Thursday 10 September 2026 13:38:00 -0400 (0:00:00.025) 0:01:26.631 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Thursday 10 September 2026 13:38:00 -0400 (0:00:00.025) 0:01:26.657 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Thursday 10 September 2026 13:38:00 -0400 (0:00:00.024) 0:01:26.681 **** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server installed.", "Installed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Thursday 10 September 2026 13:38:06 -0400 (0:00:06.155) 0:01:32.837 **** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.694246", "end": "2026-09-10 13:38:07.209107", "rc": 0, "start": "2026-09-10 13:38:06.514861" } 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Thursday 10 September 2026 13:38:07 -0400 (0:00:01.030) 0:01:33.867 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Thursday 10 September 2026 13:38:07 -0400 (0:00:00.020) 0:01:33.887 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Thursday 10 September 2026 13:38:07 -0400 (0:00:00.019) 0:01:33.907 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Thursday 10 September 2026 13:38:07 -0400 (0:00:00.019) 0:01:33.926 **** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network-online.target sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Thursday 10 September 2026 13:38:08 -0400 (0:00:01.008) 0:01:34.935 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.021) 0:01:34.957 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.022) 0:01:34.980 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.021) 0:01:35.001 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.018) 0:01:35.020 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.021) 0:01:35.041 **** included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.062) 0:01:35.104 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.019) 0:01:35.123 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.023) 0:01:35.146 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.020) 0:01:35.167 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.019) 0:01:35.186 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.018) 0:01:35.205 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.019) 0:01:35.224 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.021) 0:01:35.245 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.017) 0:01:35.263 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.017) 0:01:35.280 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Thursday 10 September 2026 13:38:08 -0400 (0:00:00.021) 0:01:35.302 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Thursday 10 September 2026 13:38:09 -0400 (0:00:00.323) 0:01:35.625 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Thursday 10 September 2026 13:38:09 -0400 (0:00:00.323) 0:01:35.949 **** changed: [managed-node1] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1789061889.3739946-14503-116217855718130/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Thursday 10 September 2026 13:38:09 -0400 (0:00:00.645) 0:01:36.594 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Thursday 10 September 2026 13:38:10 -0400 (0:00:00.022) 0:01:36.617 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Thursday 10 September 2026 13:38:10 -0400 (0:00:00.023) 0:01:36.641 **** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-09-10T13:38:10-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Thursday 10 September 2026 13:38:10 -0400 (0:00:00.326) 0:01:36.967 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Thursday 10 September 2026 13:38:10 -0400 (0:00:00.019) 0:01:36.987 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Thursday 10 September 2026 13:38:10 -0400 (0:00:00.006) 0:01:36.994 **** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2026-09-10 13:38:08 EDT", "ActiveEnterTimestampMonotonic": "733812546", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network-online.target sysinit.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2026-09-10 13:38:08 EDT", "AssertTimestampMonotonic": "733762480", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2026-09-10 13:38:08 EDT", "ConditionTimestampMonotonic": "733762480", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "42362", "ExecMainStartTimestamp": "Thu 2026-09-10 13:38:08 EDT", "ExecMainStartTimestampMonotonic": "733771911", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[Thu 2026-09-10 13:38:08 EDT] ; stop_time=[n/a] ; pid=42362 ; 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=[Thu 2026-09-10 13:38:08 EDT] ; stop_time=[Thu 2026-09-10 13:38:08 EDT] ; pid=42360 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2026-09-10 13:38:08 EDT", "InactiveExitTimestampMonotonic": "733763440", "InvocationID": "9aff3c60f6904513a56c807c1a0c1b98", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "42362", "MemoryAccounting": "yes", "MemoryCurrent": "18706432", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2026-09-10 13:38:08 EDT", "StateChangeTimestampMonotonic": "733812546", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2026-09-10 13:38:08 EDT", "WatchdogTimestampMonotonic": "733812544", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Thursday 10 September 2026 13:38:11 -0400 (0:00:00.892) 0:01:37.886 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007760", "end": "2026-09-10 13:38:11.550286", "rc": 0, "start": "2026-09-10 13:38:11.542526" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Thursday 10 September 2026 13:38:11 -0400 (0:00:00.322) 0:01:38.208 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007941", "end": "2026-09-10 13:38:11.868486", "rc": 0, "start": "2026-09-10 13:38:11.860545" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Thursday 10 September 2026 13:38:11 -0400 (0:00:00.319) 0:01:38.527 **** ASYNC OK on managed-node1: jid=j419638389046.43568 ok: [managed-node1] => { "ansible_job_id": "j419638389046.43568", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011425", "end": "2026-09-10 13:38:12.404155", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j419638389046.43568", "start": "2026-09-10 13:38:12.392730", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Thursday 10 September 2026 13:38:27 -0400 (0:00:15.958) 0:01:54.486 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009402", "end": "2026-09-10 13:38:28.169176", "rc": 0, "start": "2026-09-10 13:38:28.159774" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Thursday 10 September 2026 13:38:28 -0400 (0:00:00.343) 0:01:54.829 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Thursday 10 September 2026 13:38:28 -0400 (0:00:00.033) 0:01:54.863 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009432", "end": "2026-09-10 13:38:28.546155", "rc": 0, "start": "2026-09-10 13:38:28.536723" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Thursday 10 September 2026 13:38:28 -0400 (0:00:00.344) 0:01:55.207 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Thursday 10 September 2026 13:38:28 -0400 (0:00:00.032) 0:01:55.240 **** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008917", "end": "2026-09-10 13:38:28.911084", "failed_when_result": false, "rc": 0, "start": "2026-09-10 13:38:28.902167" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Thursday 10 September 2026 13:38:28 -0400 (0:00:00.333) 0:01:55.574 **** included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 TASK [Run handlers] ************************************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Thursday 10 September 2026 13:38:28 -0400 (0:00:00.034) 0:01:55.608 **** META: triggered running handlers for managed-node1 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Thursday 10 September 2026 13:38:29 -0400 (0:00:00.004) 0:01:55.613 **** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server removed.", "Removed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Thursday 10 September 2026 13:38:33 -0400 (0:00:04.502) 0:02:00.115 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Thursday 10 September 2026 13:38:33 -0400 (0:00:00.019) 0:02:00.135 **** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Thursday 10 September 2026 13:38:33 -0400 (0:00:00.356) 0:02:00.491 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Thursday 10 September 2026 13:38:35 -0400 (0:00:01.226) 0:02:01.718 **** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007322", "end": "2026-09-10 13:38:35.378943", "rc": 0, "start": "2026-09-10 13:38:35.371621" } STDOUT: -- Logs begin at Thu 2026-09-10 13:25:53 EDT, end at Thu 2026-09-10 13:38:35 EDT. -- Sep 10 13:34:53 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:34:53 managed-node1 postmaster[10459]: 2026-09-10 13:34:53.469 EDT [10459] LOG: redirecting log output to logging collector process Sep 10 13:34:53 managed-node1 postmaster[10459]: 2026-09-10 13:34:53.469 EDT [10459] HINT: Future log output will appear in directory "log". Sep 10 13:34:53 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:11 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:11 managed-node1 systemd[1]: postgresql.service: Killing process 10460 (postmaster) with signal SIGKILL. Sep 10 13:35:11 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:11 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:11 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:11 managed-node1 postmaster[14020]: 2026-09-10 13:35:11.717 EDT [14020] LOG: redirecting log output to logging collector process Sep 10 13:35:11 managed-node1 postmaster[14020]: 2026-09-10 13:35:11.717 EDT [14020] HINT: Future log output will appear in directory "log". Sep 10 13:35:11 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:17 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:17 managed-node1 systemd[1]: postgresql.service: Killing process 14022 (postmaster) with signal SIGKILL. Sep 10 13:35:17 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:17 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:35 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:35 managed-node1 postmaster[18957]: 2026-09-10 13:35:35.973 EDT [18957] LOG: redirecting log output to logging collector process Sep 10 13:35:35 managed-node1 postmaster[18957]: 2026-09-10 13:35:35.973 EDT [18957] HINT: Future log output will appear in directory "log". Sep 10 13:35:35 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:39 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:39 managed-node1 systemd[1]: postgresql.service: Killing process 18959 (postmaster) with signal SIGKILL. Sep 10 13:35:39 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:39 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:39 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:39 managed-node1 postmaster[19765]: 2026-09-10 13:35:39.377 EDT [19765] LOG: redirecting log output to logging collector process Sep 10 13:35:39 managed-node1 postmaster[19765]: 2026-09-10 13:35:39.377 EDT [19765] HINT: Future log output will appear in directory "log". Sep 10 13:35:39 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:00 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:00 managed-node1 systemd[1]: postgresql.service: Killing process 19767 (postmaster) with signal SIGKILL. Sep 10 13:36:00 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:00 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:20 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:20 managed-node1 postmaster[25196]: 2026-09-10 13:36:20.396 EDT [25196] LOG: redirecting log output to logging collector process Sep 10 13:36:20 managed-node1 postmaster[25196]: 2026-09-10 13:36:20.396 EDT [25196] HINT: Future log output will appear in directory "log". Sep 10 13:36:20 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:25 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:25 managed-node1 systemd[1]: postgresql.service: Killing process 25197 (postmaster) with signal SIGKILL. Sep 10 13:36:25 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:25 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:25 managed-node1 postmaster[26603]: 2026-09-10 13:36:25.691 EDT [26603] LOG: redirecting log output to logging collector process Sep 10 13:36:25 managed-node1 postmaster[26603]: 2026-09-10 13:36:25.691 EDT [26603] HINT: Future log output will appear in directory "log". Sep 10 13:36:25 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:29 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:29 managed-node1 systemd[1]: postgresql.service: Killing process 26605 (postmaster) with signal SIGKILL. Sep 10 13:36:29 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:29 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:48 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:48 managed-node1 postmaster[31044]: 2026-09-10 13:36:48.271 EDT [31044] LOG: redirecting log output to logging collector process Sep 10 13:36:48 managed-node1 postmaster[31044]: 2026-09-10 13:36:48.271 EDT [31044] HINT: Future log output will appear in directory "log". Sep 10 13:36:48 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:51 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:51 managed-node1 systemd[1]: postgresql.service: Killing process 31045 (postmaster) with signal SIGKILL. Sep 10 13:36:51 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:51 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:51 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:51 managed-node1 postmaster[31851]: 2026-09-10 13:36:51.724 EDT [31851] LOG: redirecting log output to logging collector process Sep 10 13:36:51 managed-node1 postmaster[31851]: 2026-09-10 13:36:51.724 EDT [31851] HINT: Future log output will appear in directory "log". Sep 10 13:36:51 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:13 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:13 managed-node1 systemd[1]: postgresql.service: Killing process 31853 (postmaster) with signal SIGKILL. Sep 10 13:37:13 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:13 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:37:28 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.060 EDT [36691] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.061 EDT [36691] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.061 EDT [36691] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.063 EDT [36691] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.066 EDT [36691] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.076 EDT [36691] LOG: redirecting log output to logging collector process Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.076 EDT [36691] HINT: Future log output will appear in directory "log". Sep 10 13:37:28 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:30 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:30 managed-node1 systemd[1]: postgresql.service: Killing process 36692 (postmaster) with signal SIGKILL. Sep 10 13:37:30 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:30 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:37:30 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.987 EDT [37498] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.991 EDT [37498] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:37:31 managed-node1 postmaster[37498]: 2026-09-10 13:37:31.018 EDT [37498] LOG: redirecting log output to logging collector process Sep 10 13:37:31 managed-node1 postmaster[37498]: 2026-09-10 13:37:31.018 EDT [37498] HINT: Future log output will appear in directory "log". Sep 10 13:37:31 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:53 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:53 managed-node1 systemd[1]: postgresql.service: Killing process 37500 (postmaster) with signal SIGKILL. Sep 10 13:37:53 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:53 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:38:08 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:38:08 managed-node1 postgres[42362]: 2026-09-10 13:38:08.248 EDT [42362] LOG: redirecting log output to logging collector process Sep 10 13:38:08 managed-node1 postgres[42362]: 2026-09-10 13:38:08.248 EDT [42362] HINT: Future log output will appear in directory "log". Sep 10 13:38:08 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:38:11 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:38:11 managed-node1 systemd[1]: postgresql.service: Killing process 42364 (postgres) with signal SIGKILL. Sep 10 13:38:11 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:38:11 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:38:11 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:38:11 managed-node1 postgres[43169]: 2026-09-10 13:38:11.199 EDT [43169] LOG: redirecting log output to logging collector process Sep 10 13:38:11 managed-node1 postgres[43169]: 2026-09-10 13:38:11.199 EDT [43169] HINT: Future log output will appear in directory "log". Sep 10 13:38:11 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:38:32 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:38:32 managed-node1 systemd[1]: postgresql.service: Killing process 43171 (postgres) with signal SIGKILL. Sep 10 13:38:32 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:38:32 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Thursday 10 September 2026 13:38:35 -0400 (0:00:00.320) 0:02:02.038 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Thursday 10 September 2026 13:38:35 -0400 (0:00:00.031) 0:02:02.070 **** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Thursday 10 September 2026 13:38:35 -0400 (0:00:00.001) 0:02:02.071 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Thursday 10 September 2026 13:38:35 -0400 (0:00:00.017) 0:02:02.088 **** TASK [fedora.linux_system_roles.postgresql : Validating arguments against arg spec 'main' - The postgresql role.] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Thursday 10 September 2026 13:38:35 -0400 (0:00:00.045) 0:02:02.134 **** ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "postgresql", "path": "/tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Thursday 10 September 2026 13:38:35 -0400 (0:00:00.017) 0:02:02.152 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Thursday 10 September 2026 13:38:35 -0400 (0:00:00.027) 0:02:02.179 **** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Thursday 10 September 2026 13:38:36 -0400 (0:00:00.752) 0:02:02.931 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Thursday 10 September 2026 13:38:36 -0400 (0:00:00.019) 0:02:02.951 **** ok: [managed-node1] => { "ansible_facts": { "__postgresql_server_tuning": true, "__postgresql_version": "10" }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Thursday 10 September 2026 13:38:36 -0400 (0:00:00.021) 0:02:02.973 **** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-09-10T13:38:36-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Thursday 10 September 2026 13:38:36 -0400 (0:00:00.312) 0:02:03.285 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Thursday 10 September 2026 13:38:36 -0400 (0:00:00.018) 0:02:03.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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Thursday 10 September 2026 13:38:36 -0400 (0:00:00.018) 0:02:03.322 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Thursday 10 September 2026 13:38:36 -0400 (0:00:00.021) 0:02:03.343 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Thursday 10 September 2026 13:38:36 -0400 (0:00:00.020) 0:02:03.363 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Thursday 10 September 2026 13:38:36 -0400 (0:00:00.017) 0:02:03.381 **** 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_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Thursday 10 September 2026 13:38:36 -0400 (0:00:00.081) 0:02:03.463 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Thursday 10 September 2026 13:38:37 -0400 (0:00:00.386) 0:02:03.849 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Thursday 10 September 2026 13:38:37 -0400 (0:00:00.308) 0:02:04.157 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Thursday 10 September 2026 13:38:37 -0400 (0:00:00.307) 0:02:04.464 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Thursday 10 September 2026 13:38:37 -0400 (0:00:00.032) 0:02:04.496 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Thursday 10 September 2026 13:38:37 -0400 (0:00:00.027) 0:02:04.524 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Thursday 10 September 2026 13:38:37 -0400 (0:00:00.021) 0:02:04.545 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Thursday 10 September 2026 13:38:37 -0400 (0:00:00.021) 0:02:04.567 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Thursday 10 September 2026 13:38:37 -0400 (0:00:00.022) 0:02:04.589 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Thursday 10 September 2026 13:38:37 -0400 (0:00:00.010) 0:02:04.600 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Thursday 10 September 2026 13:38:37 -0400 (0:00:00.010) 0:02:04.611 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Thursday 10 September 2026 13:38:38 -0400 (0:00:00.010) 0:02:04.621 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Thursday 10 September 2026 13:38:38 -0400 (0:00:00.010) 0:02:04.631 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Thursday 10 September 2026 13:38:38 -0400 (0:00:00.010) 0:02:04.642 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Thursday 10 September 2026 13:38:39 -0400 (0:00:01.321) 0:02:05.964 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Thursday 10 September 2026 13:38:39 -0400 (0:00:00.028) 0:02:05.992 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Thursday 10 September 2026 13:38:39 -0400 (0:00:00.025) 0:02:06.018 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Thursday 10 September 2026 13:38:39 -0400 (0:00:00.027) 0:02:06.046 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Thursday 10 September 2026 13:38:39 -0400 (0:00:00.021) 0:02:06.068 **** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server installed.", "Installed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Installed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Thursday 10 September 2026 13:38:45 -0400 (0:00:06.194) 0:02:12.262 **** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.670402", "end": "2026-09-10 13:38:46.603668", "rc": 0, "start": "2026-09-10 13:38:45.933266" } 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Thursday 10 September 2026 13:38:46 -0400 (0:00:00.998) 0:02:13.261 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Thursday 10 September 2026 13:38:46 -0400 (0:00:00.022) 0:02:13.284 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Thursday 10 September 2026 13:38:46 -0400 (0:00:00.019) 0:02:13.303 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Thursday 10 September 2026 13:38:46 -0400 (0:00:00.019) 0:02:13.322 **** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target sysinit.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.997) 0:02:14.320 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.023) 0:02:14.343 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.022) 0:02:14.366 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.022) 0:02:14.388 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.022) 0:02:14.411 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.024) 0:02:14.435 **** included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.030) 0:02:14.466 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.021) 0:02:14.487 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.019) 0:02:14.507 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.019) 0:02:14.527 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.019) 0:02:14.547 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.021) 0:02:14.568 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.020) 0:02:14.588 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Thursday 10 September 2026 13:38:47 -0400 (0:00:00.019) 0:02:14.608 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Thursday 10 September 2026 13:38:48 -0400 (0:00:00.018) 0:02:14.626 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Thursday 10 September 2026 13:38:48 -0400 (0:00:00.019) 0:02:14.646 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Thursday 10 September 2026 13:38:48 -0400 (0:00:00.022) 0:02:14.668 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Thursday 10 September 2026 13:38:48 -0400 (0:00:00.320) 0:02:14.988 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Thursday 10 September 2026 13:38:48 -0400 (0:00:00.320) 0:02:15.309 **** changed: [managed-node1] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1789061928.733447-14925-61896621472317/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Thursday 10 September 2026 13:38:49 -0400 (0:00:00.641) 0:02:15.950 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Thursday 10 September 2026 13:38:49 -0400 (0:00:00.023) 0:02:15.974 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Thursday 10 September 2026 13:38:49 -0400 (0:00:00.022) 0:02:15.997 **** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-09-10T13:38:49-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Thursday 10 September 2026 13:38:49 -0400 (0:00:00.328) 0:02:16.325 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Thursday 10 September 2026 13:38:49 -0400 (0:00:00.057) 0:02:16.383 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Thursday 10 September 2026 13:38:49 -0400 (0:00:00.005) 0:02:16.388 **** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2026-09-10 13:38:47 EDT", "ActiveEnterTimestampMonotonic": "773196965", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2026-09-10 13:38:47 EDT", "AssertTimestampMonotonic": "773150545", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2026-09-10 13:38:47 EDT", "ConditionTimestampMonotonic": "773150545", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "47979", "ExecMainStartTimestamp": "Thu 2026-09-10 13:38:47 EDT", "ExecMainStartTimestampMonotonic": "773159759", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Thu 2026-09-10 13:38:47 EDT] ; stop_time=[n/a] ; pid=47979 ; 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=[Thu 2026-09-10 13:38:47 EDT] ; stop_time=[Thu 2026-09-10 13:38:47 EDT] ; pid=47977 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2026-09-10 13:38:47 EDT", "InactiveExitTimestampMonotonic": "773151478", "InvocationID": "7d68fd92516b4a219f17ae4a250e4641", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47979", "MemoryAccounting": "yes", "MemoryCurrent": "16826368", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2026-09-10 13:38:47 EDT", "StateChangeTimestampMonotonic": "773196965", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2026-09-10 13:38:47 EDT", "WatchdogTimestampMonotonic": "773196964", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Thursday 10 September 2026 13:38:50 -0400 (0:00:00.895) 0:02:17.284 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008016", "end": "2026-09-10 13:38:50.948059", "rc": 0, "start": "2026-09-10 13:38:50.940043" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Thursday 10 September 2026 13:38:50 -0400 (0:00:00.322) 0:02:17.607 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007905", "end": "2026-09-10 13:38:51.267357", "rc": 0, "start": "2026-09-10 13:38:51.259452" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Thursday 10 September 2026 13:38:51 -0400 (0:00:00.318) 0:02:17.925 **** ASYNC OK on managed-node1: jid=j878836516500.49187 ok: [managed-node1] => { "ansible_job_id": "j878836516500.49187", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010766", "end": "2026-09-10 13:38:51.801440", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j878836516500.49187", "start": "2026-09-10 13:38:51.790674", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Thursday 10 September 2026 13:39:07 -0400 (0:00:15.951) 0:02:33.877 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008988", "end": "2026-09-10 13:39:07.556427", "rc": 0, "start": "2026-09-10 13:39:07.547439" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Thursday 10 September 2026 13:39:07 -0400 (0:00:00.338) 0:02:34.216 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Thursday 10 September 2026 13:39:07 -0400 (0:00:00.035) 0:02:34.251 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009157", "end": "2026-09-10 13:39:07.929235", "rc": 0, "start": "2026-09-10 13:39:07.920078" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Thursday 10 September 2026 13:39:07 -0400 (0:00:00.336) 0:02:34.587 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Thursday 10 September 2026 13:39:08 -0400 (0:00:00.033) 0:02:34.621 **** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006573", "end": "2026-09-10 13:39:08.285387", "failed_when_result": false, "rc": 0, "start": "2026-09-10 13:39:08.278814" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Thursday 10 September 2026 13:39:08 -0400 (0:00:00.326) 0:02:34.948 **** included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 TASK [Run handlers] ************************************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Thursday 10 September 2026 13:39:08 -0400 (0:00:00.035) 0:02:34.983 **** META: triggered running handlers for managed-node1 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Thursday 10 September 2026 13:39:08 -0400 (0:00:00.004) 0:02:34.988 **** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server removed.", "Removed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Removed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Thursday 10 September 2026 13:39:12 -0400 (0:00:04.466) 0:02:39.454 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Thursday 10 September 2026 13:39:12 -0400 (0:00:00.020) 0:02:39.475 **** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Thursday 10 September 2026 13:39:13 -0400 (0:00:00.363) 0:02:39.839 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Thursday 10 September 2026 13:39:14 -0400 (0:00:01.239) 0:02:41.078 **** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007523", "end": "2026-09-10 13:39:14.741708", "rc": 0, "start": "2026-09-10 13:39:14.734185" } STDOUT: -- Logs begin at Thu 2026-09-10 13:25:53 EDT, end at Thu 2026-09-10 13:39:14 EDT. -- Sep 10 13:34:53 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:34:53 managed-node1 postmaster[10459]: 2026-09-10 13:34:53.469 EDT [10459] LOG: redirecting log output to logging collector process Sep 10 13:34:53 managed-node1 postmaster[10459]: 2026-09-10 13:34:53.469 EDT [10459] HINT: Future log output will appear in directory "log". Sep 10 13:34:53 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:11 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:11 managed-node1 systemd[1]: postgresql.service: Killing process 10460 (postmaster) with signal SIGKILL. Sep 10 13:35:11 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:11 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:11 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:11 managed-node1 postmaster[14020]: 2026-09-10 13:35:11.717 EDT [14020] LOG: redirecting log output to logging collector process Sep 10 13:35:11 managed-node1 postmaster[14020]: 2026-09-10 13:35:11.717 EDT [14020] HINT: Future log output will appear in directory "log". Sep 10 13:35:11 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:17 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:17 managed-node1 systemd[1]: postgresql.service: Killing process 14022 (postmaster) with signal SIGKILL. Sep 10 13:35:17 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:17 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:35 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:35 managed-node1 postmaster[18957]: 2026-09-10 13:35:35.973 EDT [18957] LOG: redirecting log output to logging collector process Sep 10 13:35:35 managed-node1 postmaster[18957]: 2026-09-10 13:35:35.973 EDT [18957] HINT: Future log output will appear in directory "log". Sep 10 13:35:35 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:39 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:39 managed-node1 systemd[1]: postgresql.service: Killing process 18959 (postmaster) with signal SIGKILL. Sep 10 13:35:39 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:39 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:39 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:39 managed-node1 postmaster[19765]: 2026-09-10 13:35:39.377 EDT [19765] LOG: redirecting log output to logging collector process Sep 10 13:35:39 managed-node1 postmaster[19765]: 2026-09-10 13:35:39.377 EDT [19765] HINT: Future log output will appear in directory "log". Sep 10 13:35:39 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:00 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:00 managed-node1 systemd[1]: postgresql.service: Killing process 19767 (postmaster) with signal SIGKILL. Sep 10 13:36:00 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:00 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:20 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:20 managed-node1 postmaster[25196]: 2026-09-10 13:36:20.396 EDT [25196] LOG: redirecting log output to logging collector process Sep 10 13:36:20 managed-node1 postmaster[25196]: 2026-09-10 13:36:20.396 EDT [25196] HINT: Future log output will appear in directory "log". Sep 10 13:36:20 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:25 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:25 managed-node1 systemd[1]: postgresql.service: Killing process 25197 (postmaster) with signal SIGKILL. Sep 10 13:36:25 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:25 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:25 managed-node1 postmaster[26603]: 2026-09-10 13:36:25.691 EDT [26603] LOG: redirecting log output to logging collector process Sep 10 13:36:25 managed-node1 postmaster[26603]: 2026-09-10 13:36:25.691 EDT [26603] HINT: Future log output will appear in directory "log". Sep 10 13:36:25 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:29 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:29 managed-node1 systemd[1]: postgresql.service: Killing process 26605 (postmaster) with signal SIGKILL. Sep 10 13:36:29 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:29 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:48 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:48 managed-node1 postmaster[31044]: 2026-09-10 13:36:48.271 EDT [31044] LOG: redirecting log output to logging collector process Sep 10 13:36:48 managed-node1 postmaster[31044]: 2026-09-10 13:36:48.271 EDT [31044] HINT: Future log output will appear in directory "log". Sep 10 13:36:48 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:51 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:51 managed-node1 systemd[1]: postgresql.service: Killing process 31045 (postmaster) with signal SIGKILL. Sep 10 13:36:51 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:51 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:51 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:51 managed-node1 postmaster[31851]: 2026-09-10 13:36:51.724 EDT [31851] LOG: redirecting log output to logging collector process Sep 10 13:36:51 managed-node1 postmaster[31851]: 2026-09-10 13:36:51.724 EDT [31851] HINT: Future log output will appear in directory "log". Sep 10 13:36:51 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:13 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:13 managed-node1 systemd[1]: postgresql.service: Killing process 31853 (postmaster) with signal SIGKILL. Sep 10 13:37:13 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:13 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:37:28 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.060 EDT [36691] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.061 EDT [36691] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.061 EDT [36691] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.063 EDT [36691] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.066 EDT [36691] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.076 EDT [36691] LOG: redirecting log output to logging collector process Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.076 EDT [36691] HINT: Future log output will appear in directory "log". Sep 10 13:37:28 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:30 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:30 managed-node1 systemd[1]: postgresql.service: Killing process 36692 (postmaster) with signal SIGKILL. Sep 10 13:37:30 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:30 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:37:30 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.987 EDT [37498] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.991 EDT [37498] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:37:31 managed-node1 postmaster[37498]: 2026-09-10 13:37:31.018 EDT [37498] LOG: redirecting log output to logging collector process Sep 10 13:37:31 managed-node1 postmaster[37498]: 2026-09-10 13:37:31.018 EDT [37498] HINT: Future log output will appear in directory "log". Sep 10 13:37:31 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:53 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:53 managed-node1 systemd[1]: postgresql.service: Killing process 37500 (postmaster) with signal SIGKILL. Sep 10 13:37:53 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:53 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:38:08 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:38:08 managed-node1 postgres[42362]: 2026-09-10 13:38:08.248 EDT [42362] LOG: redirecting log output to logging collector process Sep 10 13:38:08 managed-node1 postgres[42362]: 2026-09-10 13:38:08.248 EDT [42362] HINT: Future log output will appear in directory "log". Sep 10 13:38:08 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:38:11 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:38:11 managed-node1 systemd[1]: postgresql.service: Killing process 42364 (postgres) with signal SIGKILL. Sep 10 13:38:11 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:38:11 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:38:11 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:38:11 managed-node1 postgres[43169]: 2026-09-10 13:38:11.199 EDT [43169] LOG: redirecting log output to logging collector process Sep 10 13:38:11 managed-node1 postgres[43169]: 2026-09-10 13:38:11.199 EDT [43169] HINT: Future log output will appear in directory "log". Sep 10 13:38:11 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:38:32 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:38:32 managed-node1 systemd[1]: postgresql.service: Killing process 43171 (postgres) with signal SIGKILL. Sep 10 13:38:32 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:38:32 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:38:47 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.624 EDT [47979] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.624 EDT [47979] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.626 EDT [47979] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.630 EDT [47979] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.639 EDT [47979] LOG: redirecting log output to logging collector process Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.639 EDT [47979] HINT: Future log output will appear in directory "log". Sep 10 13:38:47 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:38:50 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:38:50 managed-node1 systemd[1]: postgresql.service: Killing process 47981 (postmaster) with signal SIGKILL. Sep 10 13:38:50 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:38:50 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:38:50 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.573 EDT [48788] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.573 EDT [48788] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.575 EDT [48788] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.579 EDT [48788] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.606 EDT [48788] LOG: redirecting log output to logging collector process Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.606 EDT [48788] HINT: Future log output will appear in directory "log". Sep 10 13:38:50 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:39:11 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:39:12 managed-node1 systemd[1]: postgresql.service: Killing process 48789 (postmaster) with signal SIGKILL. Sep 10 13:39:12 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:39:12 managed-node1 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Thursday 10 September 2026 13:39:14 -0400 (0:00:00.322) 0:02:41.401 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Thursday 10 September 2026 13:39:14 -0400 (0:00:00.031) 0:02:41.432 **** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Thursday 10 September 2026 13:39:14 -0400 (0:00:00.001) 0:02:41.433 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Thursday 10 September 2026 13:39:14 -0400 (0:00:00.017) 0:02:41.451 **** TASK [fedora.linux_system_roles.postgresql : Validating arguments against arg spec 'main' - The postgresql role.] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Thursday 10 September 2026 13:39:14 -0400 (0:00:00.044) 0:02:41.495 **** ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "postgresql", "path": "/tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Thursday 10 September 2026 13:39:14 -0400 (0:00:00.017) 0:02:41.513 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Thursday 10 September 2026 13:39:14 -0400 (0:00:00.027) 0:02:41.540 **** ok: [managed-node1] TASK [fedora.linux_system_roles.postgresql : Set postgresql effective value defaults] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Thursday 10 September 2026 13:39:15 -0400 (0:00:00.753) 0:02:42.294 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:12 Thursday 10 September 2026 13:39:15 -0400 (0:00:00.018) 0:02:42.313 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:17 Thursday 10 September 2026 13:39:15 -0400 (0:00:00.021) 0:02:42.334 **** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-09-10T13:39:15-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:30 Thursday 10 September 2026 13:39:16 -0400 (0:00:00.309) 0:02:42.643 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:35 Thursday 10 September 2026 13:39:16 -0400 (0:00:00.017) 0:02:42.661 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:42 Thursday 10 September 2026 13:39:16 -0400 (0:00:00.017) 0:02:42.678 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Thursday 10 September 2026 13:39:16 -0400 (0:00:00.017) 0:02:42.695 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:55 Thursday 10 September 2026 13:39:16 -0400 (0:00:00.017) 0:02:42.713 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:60 Thursday 10 September 2026 13:39:16 -0400 (0:00:00.016) 0:02:42.729 **** 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_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ __postgresql_version | string }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Thursday 10 September 2026 13:39:16 -0400 (0:00:00.038) 0:02:42.768 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:80 Thursday 10 September 2026 13:39:16 -0400 (0:00:00.305) 0:02:43.074 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:85 Thursday 10 September 2026 13:39:16 -0400 (0:00:00.302) 0:02:43.376 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Validate role parameters] ********* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Thursday 10 September 2026 13:39:17 -0400 (0:00:00.302) 0:02:43.679 **** included: /tmp/collections-9eY/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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:3 Thursday 10 September 2026 13:39:17 -0400 (0:00:00.030) 0:02:43.709 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:16 Thursday 10 September 2026 13:39:17 -0400 (0:00:00.026) 0:02:43.736 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:26 Thursday 10 September 2026 13:39:17 -0400 (0:00:00.020) 0:02:43.757 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:36 Thursday 10 September 2026 13:39:17 -0400 (0:00:00.021) 0:02:43.778 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:47 Thursday 10 September 2026 13:39:17 -0400 (0:00:00.021) 0:02:43.800 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:63 Thursday 10 September 2026 13:39:17 -0400 (0:00:00.010) 0:02:43.811 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:79 Thursday 10 September 2026 13:39:17 -0400 (0:00:00.010) 0:02:43.821 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:95 Thursday 10 September 2026 13:39:17 -0400 (0:00:00.010) 0:02:43.831 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/assert_role_vars.yml:111 Thursday 10 September 2026 13:39:17 -0400 (0:00:00.009) 0:02:43.841 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 Thursday 10 September 2026 13:39:17 -0400 (0:00:00.010) 0:02:43.852 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:15 Thursday 10 September 2026 13:39:18 -0400 (0:00:01.312) 0:02:45.164 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:23 Thursday 10 September 2026 13:39:18 -0400 (0:00:00.027) 0:02:45.192 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:31 Thursday 10 September 2026 13:39:18 -0400 (0:00:00.025) 0:02:45.217 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:41 Thursday 10 September 2026 13:39:18 -0400 (0:00:00.025) 0:02:45.242 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Thursday 10 September 2026 13:39:18 -0400 (0:00:00.021) 0:02:45.264 **** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server installed.", "Installed: postgresql-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Installed: postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Installed: postgresql-private-libs-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64" ] } TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:61 Thursday 10 September 2026 13:39:24 -0400 (0:00:05.897) 0:02:51.161 **** changed: [managed-node1] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.694317", "end": "2026-09-10 13:39:25.525244", "rc": 0, "start": "2026-09-10 13:39:24.830927" } 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:70 Thursday 10 September 2026 13:39:25 -0400 (0:00:01.023) 0:02:52.184 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:84 Thursday 10 September 2026 13:39:25 -0400 (0:00:00.020) 0:02:52.204 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:101 Thursday 10 September 2026 13:39:25 -0400 (0:00:00.019) 0:02:52.224 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:112 Thursday 10 September 2026 13:39:25 -0400 (0:00:00.018) 0:02:52.243 **** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target systemd-journald.socket network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:121 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.996) 0:02:53.239 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:126 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.060) 0:02:53.300 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:138 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.022) 0:02:53.323 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:146 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.022) 0:02:53.345 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:153 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.018) 0:02:53.364 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.026) 0:02:53.391 **** included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.030) 0:02:53.421 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.020) 0:02:53.442 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.019) 0:02:53.462 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.019) 0:02:53.481 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.019) 0:02:53.501 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.021) 0:02:53.522 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.019) 0:02:53.542 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.020) 0:02:53.562 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.018) 0:02:53.580 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:160 Thursday 10 September 2026 13:39:26 -0400 (0:00:00.019) 0:02:53.600 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:172 Thursday 10 September 2026 13:39:27 -0400 (0:00:00.022) 0:02:53.622 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:178 Thursday 10 September 2026 13:39:27 -0400 (0:00:00.321) 0:02:53.943 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:185 Thursday 10 September 2026 13:39:27 -0400 (0:00:00.319) 0:02:54.263 **** changed: [managed-node1] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1789061967.6882837-15347-150400102663279/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:198 Thursday 10 September 2026 13:39:28 -0400 (0:00:00.646) 0:02:54.909 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:208 Thursday 10 September 2026 13:39:28 -0400 (0:00:00.021) 0:02:54.931 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:214 Thursday 10 September 2026 13:39:28 -0400 (0:00:00.021) 0:02:54.953 **** ok: [managed-node1] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.16.19", "date": "2026-09-10T13:39:28-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Thursday 10 September 2026 13:39:28 -0400 (0:00:00.329) 0:02:55.282 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Thursday 10 September 2026 13:39:28 -0400 (0:00:00.019) 0:02:55.302 **** 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-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Thursday 10 September 2026 13:39:28 -0400 (0:00:00.005) 0:02:55.307 **** changed: [managed-node1] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2026-09-10 13:39:26 EDT", "ActiveEnterTimestampMonotonic": "812115483", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target system.slice basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2026-09-10 13:39:26 EDT", "AssertTimestampMonotonic": "812066715", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2026-09-10 13:39:26 EDT", "ConditionTimestampMonotonic": "812066715", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "53637", "ExecMainStartTimestamp": "Thu 2026-09-10 13:39:26 EDT", "ExecMainStartTimestampMonotonic": "812075743", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Thu 2026-09-10 13:39:26 EDT] ; stop_time=[n/a] ; pid=53637 ; 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=[Thu 2026-09-10 13:39:26 EDT] ; stop_time=[Thu 2026-09-10 13:39:26 EDT] ; pid=53634 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2026-09-10 13:39:26 EDT", "InactiveExitTimestampMonotonic": "812067611", "InvocationID": "5b097167302e4c69ab31fa5bea54d95a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "53637", "MemoryAccounting": "yes", "MemoryCurrent": "18464768", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2026-09-10 13:39:26 EDT", "StateChangeTimestampMonotonic": "812115483", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22268", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2026-09-10 13:39:26 EDT", "WatchdogTimestampMonotonic": "812115481", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Thursday 10 September 2026 13:39:29 -0400 (0:00:00.900) 0:02:56.208 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007612", "end": "2026-09-10 13:39:29.871973", "rc": 0, "start": "2026-09-10 13:39:29.864361" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Thursday 10 September 2026 13:39:29 -0400 (0:00:00.323) 0:02:56.531 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007923", "end": "2026-09-10 13:39:30.191336", "rc": 0, "start": "2026-09-10 13:39:30.183413" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Thursday 10 September 2026 13:39:30 -0400 (0:00:00.317) 0:02:56.849 **** ASYNC OK on managed-node1: jid=j642303258547.54842 ok: [managed-node1] => { "ansible_job_id": "j642303258547.54842", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011537", "end": "2026-09-10 13:39:30.726445", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j642303258547.54842", "start": "2026-09-10 13:39:30.714908", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Thursday 10 September 2026 13:39:46 -0400 (0:00:15.952) 0:03:12.802 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009198", "end": "2026-09-10 13:39:46.478533", "rc": 0, "start": "2026-09-10 13:39:46.469335" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Thursday 10 September 2026 13:39:46 -0400 (0:00:00.335) 0:03:13.137 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Thursday 10 September 2026 13:39:46 -0400 (0:00:00.035) 0:03:13.173 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009072", "end": "2026-09-10 13:39:46.851633", "rc": 0, "start": "2026-09-10 13:39:46.842561" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Thursday 10 September 2026 13:39:46 -0400 (0:00:00.338) 0:03:13.511 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Thursday 10 September 2026 13:39:46 -0400 (0:00:00.033) 0:03:13.544 **** ok: [managed-node1] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008748", "end": "2026-09-10 13:39:47.209703", "failed_when_result": false, "rc": 0, "start": "2026-09-10 13:39:47.200955" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Thursday 10 September 2026 13:39:47 -0400 (0:00:00.327) 0:03:13.872 **** included: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 TASK [Run handlers] ************************************************************ task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Thursday 10 September 2026 13:39:47 -0400 (0:00:00.034) 0:03:13.906 **** META: triggered running handlers for managed-node1 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Thursday 10 September 2026 13:39:47 -0400 (0:00:00.004) 0:03:13.911 **** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server removed.", "Removed: postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Removed: postgresql-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Removed: postgresql-private-libs-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Thursday 10 September 2026 13:39:51 -0400 (0:00:04.474) 0:03:18.386 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Thursday 10 September 2026 13:39:51 -0400 (0:00:00.021) 0:03:18.407 **** changed: [managed-node1] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Thursday 10 September 2026 13:39:52 -0400 (0:00:00.355) 0:03:18.763 **** 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-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Thursday 10 September 2026 13:39:53 -0400 (0:00:01.215) 0:03:19.979 **** ok: [managed-node1] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007553", "end": "2026-09-10 13:39:53.639440", "rc": 0, "start": "2026-09-10 13:39:53.631887" } STDOUT: -- Logs begin at Thu 2026-09-10 13:25:53 EDT, end at Thu 2026-09-10 13:39:53 EDT. -- Sep 10 13:34:53 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:34:53 managed-node1 postmaster[10459]: 2026-09-10 13:34:53.469 EDT [10459] LOG: redirecting log output to logging collector process Sep 10 13:34:53 managed-node1 postmaster[10459]: 2026-09-10 13:34:53.469 EDT [10459] HINT: Future log output will appear in directory "log". Sep 10 13:34:53 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:11 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:11 managed-node1 systemd[1]: postgresql.service: Killing process 10460 (postmaster) with signal SIGKILL. Sep 10 13:35:11 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:11 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:11 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:11 managed-node1 postmaster[14020]: 2026-09-10 13:35:11.717 EDT [14020] LOG: redirecting log output to logging collector process Sep 10 13:35:11 managed-node1 postmaster[14020]: 2026-09-10 13:35:11.717 EDT [14020] HINT: Future log output will appear in directory "log". Sep 10 13:35:11 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:17 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:17 managed-node1 systemd[1]: postgresql.service: Killing process 14022 (postmaster) with signal SIGKILL. Sep 10 13:35:17 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:17 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:35 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:35 managed-node1 postmaster[18957]: 2026-09-10 13:35:35.973 EDT [18957] LOG: redirecting log output to logging collector process Sep 10 13:35:35 managed-node1 postmaster[18957]: 2026-09-10 13:35:35.973 EDT [18957] HINT: Future log output will appear in directory "log". Sep 10 13:35:35 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:35:39 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:35:39 managed-node1 systemd[1]: postgresql.service: Killing process 18959 (postmaster) with signal SIGKILL. Sep 10 13:35:39 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:35:39 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:35:39 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:35:39 managed-node1 postmaster[19765]: 2026-09-10 13:35:39.377 EDT [19765] LOG: redirecting log output to logging collector process Sep 10 13:35:39 managed-node1 postmaster[19765]: 2026-09-10 13:35:39.377 EDT [19765] HINT: Future log output will appear in directory "log". Sep 10 13:35:39 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:00 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:00 managed-node1 systemd[1]: postgresql.service: Killing process 19767 (postmaster) with signal SIGKILL. Sep 10 13:36:00 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:00 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:20 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:20 managed-node1 postmaster[25196]: 2026-09-10 13:36:20.396 EDT [25196] LOG: redirecting log output to logging collector process Sep 10 13:36:20 managed-node1 postmaster[25196]: 2026-09-10 13:36:20.396 EDT [25196] HINT: Future log output will appear in directory "log". Sep 10 13:36:20 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:25 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:25 managed-node1 systemd[1]: postgresql.service: Killing process 25197 (postmaster) with signal SIGKILL. Sep 10 13:36:25 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:25 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:25 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:25 managed-node1 postmaster[26603]: 2026-09-10 13:36:25.691 EDT [26603] LOG: redirecting log output to logging collector process Sep 10 13:36:25 managed-node1 postmaster[26603]: 2026-09-10 13:36:25.691 EDT [26603] HINT: Future log output will appear in directory "log". Sep 10 13:36:25 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:29 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:29 managed-node1 systemd[1]: postgresql.service: Killing process 26605 (postmaster) with signal SIGKILL. Sep 10 13:36:29 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:29 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:48 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:48 managed-node1 postmaster[31044]: 2026-09-10 13:36:48.271 EDT [31044] LOG: redirecting log output to logging collector process Sep 10 13:36:48 managed-node1 postmaster[31044]: 2026-09-10 13:36:48.271 EDT [31044] HINT: Future log output will appear in directory "log". Sep 10 13:36:48 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:36:51 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:36:51 managed-node1 systemd[1]: postgresql.service: Killing process 31045 (postmaster) with signal SIGKILL. Sep 10 13:36:51 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:36:51 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:36:51 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:36:51 managed-node1 postmaster[31851]: 2026-09-10 13:36:51.724 EDT [31851] LOG: redirecting log output to logging collector process Sep 10 13:36:51 managed-node1 postmaster[31851]: 2026-09-10 13:36:51.724 EDT [31851] HINT: Future log output will appear in directory "log". Sep 10 13:36:51 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:13 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:13 managed-node1 systemd[1]: postgresql.service: Killing process 31853 (postmaster) with signal SIGKILL. Sep 10 13:37:13 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:13 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:37:28 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.060 EDT [36691] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.061 EDT [36691] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.061 EDT [36691] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.063 EDT [36691] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.066 EDT [36691] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.076 EDT [36691] LOG: redirecting log output to logging collector process Sep 10 13:37:28 managed-node1 postmaster[36691]: 2026-09-10 13:37:28.076 EDT [36691] HINT: Future log output will appear in directory "log". Sep 10 13:37:28 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:30 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:30 managed-node1 systemd[1]: postgresql.service: Killing process 36692 (postmaster) with signal SIGKILL. Sep 10 13:37:30 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:30 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:37:30 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.985 EDT [37498] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.987 EDT [37498] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:37:30 managed-node1 postmaster[37498]: 2026-09-10 13:37:30.991 EDT [37498] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:37:31 managed-node1 postmaster[37498]: 2026-09-10 13:37:31.018 EDT [37498] LOG: redirecting log output to logging collector process Sep 10 13:37:31 managed-node1 postmaster[37498]: 2026-09-10 13:37:31.018 EDT [37498] HINT: Future log output will appear in directory "log". Sep 10 13:37:31 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:37:53 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:37:53 managed-node1 systemd[1]: postgresql.service: Killing process 37500 (postmaster) with signal SIGKILL. Sep 10 13:37:53 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:37:53 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:38:08 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:38:08 managed-node1 postgres[42362]: 2026-09-10 13:38:08.248 EDT [42362] LOG: redirecting log output to logging collector process Sep 10 13:38:08 managed-node1 postgres[42362]: 2026-09-10 13:38:08.248 EDT [42362] HINT: Future log output will appear in directory "log". Sep 10 13:38:08 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:38:11 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:38:11 managed-node1 systemd[1]: postgresql.service: Killing process 42364 (postgres) with signal SIGKILL. Sep 10 13:38:11 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:38:11 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:38:11 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:38:11 managed-node1 postgres[43169]: 2026-09-10 13:38:11.199 EDT [43169] LOG: redirecting log output to logging collector process Sep 10 13:38:11 managed-node1 postgres[43169]: 2026-09-10 13:38:11.199 EDT [43169] HINT: Future log output will appear in directory "log". Sep 10 13:38:11 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:38:32 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:38:32 managed-node1 systemd[1]: postgresql.service: Killing process 43171 (postgres) with signal SIGKILL. Sep 10 13:38:32 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:38:32 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:38:47 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.624 EDT [47979] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.624 EDT [47979] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.626 EDT [47979] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.630 EDT [47979] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.639 EDT [47979] LOG: redirecting log output to logging collector process Sep 10 13:38:47 managed-node1 postmaster[47979]: 2026-09-10 13:38:47.639 EDT [47979] HINT: Future log output will appear in directory "log". Sep 10 13:38:47 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:38:50 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:38:50 managed-node1 systemd[1]: postgresql.service: Killing process 47981 (postmaster) with signal SIGKILL. Sep 10 13:38:50 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:38:50 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:38:50 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.573 EDT [48788] LOG: listening on IPv6 address "::1", port 5432 Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.573 EDT [48788] LOG: listening on IPv4 address "127.0.0.1", port 5432 Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.575 EDT [48788] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.579 EDT [48788] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.606 EDT [48788] LOG: redirecting log output to logging collector process Sep 10 13:38:50 managed-node1 postmaster[48788]: 2026-09-10 13:38:50.606 EDT [48788] HINT: Future log output will appear in directory "log". Sep 10 13:38:50 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:39:11 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:39:12 managed-node1 systemd[1]: postgresql.service: Killing process 48789 (postmaster) with signal SIGKILL. Sep 10 13:39:12 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:39:12 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:39:26 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:39:26 managed-node1 postmaster[53637]: 2026-09-10 13:39:26.551 EDT [53637] LOG: redirecting log output to logging collector process Sep 10 13:39:26 managed-node1 postmaster[53637]: 2026-09-10 13:39:26.551 EDT [53637] HINT: Future log output will appear in directory "log". Sep 10 13:39:26 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:39:29 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:39:29 managed-node1 systemd[1]: postgresql.service: Killing process 53638 (postmaster) with signal SIGKILL. Sep 10 13:39:29 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:39:29 managed-node1 systemd[1]: Stopped PostgreSQL database server. Sep 10 13:39:29 managed-node1 systemd[1]: Starting PostgreSQL database server... Sep 10 13:39:29 managed-node1 postmaster[54444]: 2026-09-10 13:39:29.521 EDT [54444] LOG: redirecting log output to logging collector process Sep 10 13:39:29 managed-node1 postmaster[54444]: 2026-09-10 13:39:29.521 EDT [54444] HINT: Future log output will appear in directory "log". Sep 10 13:39:29 managed-node1 systemd[1]: Started PostgreSQL database server. Sep 10 13:39:50 managed-node1 systemd[1]: Stopping PostgreSQL database server... Sep 10 13:39:50 managed-node1 systemd[1]: postgresql.service: Killing process 54445 (postmaster) with signal SIGKILL. Sep 10 13:39:50 managed-node1 systemd[1]: postgresql.service: Succeeded. Sep 10 13:39:50 managed-node1 systemd[1]: Stopped PostgreSQL database server. PLAY RECAP ********************************************************************* managed-node1 : ok=205 changed=45 unreachable=0 failed=0 skipped=182 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 10 September 2026 13:39:53 -0400 (0:00:00.313) 0:03:20.293 **** =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.16s /tmp/collections-9eY/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.14s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.96s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.95s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.95s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.19s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.16s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.04s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.90s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.87s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:52 Uninstall postgresql ---------------------------------------------------- 4.97s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.50s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.47s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.47s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.47s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.70s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.38s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.32s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.32s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.31s /tmp/collections-9eY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:11