ansible-playbook [core 2.17.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-mbV executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/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_2022_upgrade.yml *********************************************** 2 plays in /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_2022_upgrade.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_2022_upgrade.yml:5 Friday 10 October 2025 21:15:33 -0400 (0:00:00.018) 0:00:00.018 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/tmp/mssql-u3N/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Ensure that the role installs version 2017 and upgrades to 2019] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_2022_upgrade.yml:9 Friday 10 October 2025 21:15:33 -0400 (0:00:00.016) 0:00:00.034 ******** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Assert fail on EL 7 with version=2022 and EL 9 with version!=2022] ******* task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_2022_upgrade.yml:17 Friday 10 October 2025 21:15:36 -0400 (0:00:02.353) 0:00:02.387 ******** included: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed-node2 TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 10 October 2025 21:15:36 -0400 (0:00:00.071) 0:00:02.459 ******** ok: [managed-node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:16 Friday 10 October 2025 21:15:36 -0400 (0:00:00.518) 0:00:02.978 ******** included: fedora.linux_system_roles.mssql for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 10 October 2025 21:15:37 -0400 (0:00:00.313) 0:00:03.291 ******** included: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 10 October 2025 21:15:37 -0400 (0:00:00.063) 0:00:03.354 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 10 October 2025 21:15:37 -0400 (0:00:00.050) 0:00:03.405 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Run systemctl] ************************* task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:22 Friday 10 October 2025 21:15:37 -0400 (0:00:00.069) 0:00:03.474 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008024", "end": "2025-10-10 21:15:37.864240", "failed_when_result": false, "rc": 0, "start": "2025-10-10 21:15:37.856216" } STDOUT: running TASK [fedora.linux_system_roles.mssql : Require installed systemd] ************* task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:29 Friday 10 October 2025 21:15:37 -0400 (0:00:00.521) 0:00:03.996 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:34 Friday 10 October 2025 21:15:38 -0400 (0:00:00.127) 0:00:04.124 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Unset internal role facts] ************* task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 10 October 2025 21:15:38 -0400 (0:00:00.081) 0:00:04.205 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_active": null, "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Friday 10 October 2025 21:15:38 -0400 (0:00:00.086) 0:00:04.291 ******** skipping: [managed-node2] => { "false_condition": "mssql_input_sql_file is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:24 Friday 10 October 2025 21:15:38 -0400 (0:00:00.097) 0:00:04.389 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_input_sql_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:31 Friday 10 October 2025 21:15:38 -0400 (0:00:00.120) 0:00:04.509 ******** skipping: [managed-node2] => { "false_condition": "mssql_ha_listener_port is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:38 Friday 10 October 2025 21:15:38 -0400 (0:00:00.112) 0:00:04.622 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_ha_listener_port is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:45 Friday 10 October 2025 21:15:38 -0400 (0:00:00.104) 0:00:04.727 ******** skipping: [managed-node2] => { "false_condition": "mssql_ad_sql_user_name is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:52 Friday 10 October 2025 21:15:38 -0400 (0:00:00.059) 0:00:04.786 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_ad_sql_user_name is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:59 Friday 10 October 2025 21:15:38 -0400 (0:00:00.081) 0:00:04.867 ******** skipping: [managed-node2] => { "false_condition": "mssql_ha_cluster_run_role is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:66 Friday 10 October 2025 21:15:38 -0400 (0:00:00.099) 0:00:04.967 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_ha_cluster_run_role is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:75 Friday 10 October 2025 21:15:38 -0400 (0:00:00.061) 0:00:05.028 ******** skipping: [managed-node2] => { "false_condition": "mssql_accept_microsoft_odbc_driver_17_for_sql_server_eula is defined" } TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Friday 10 October 2025 21:15:39 -0400 (0:00:00.065) 0:00:05.093 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_accept_microsoft_odbc_driver_17_for_sql_server_eula is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 10 October 2025 21:15:39 -0400 (0:00:00.063) 0:00:05.157 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version is version('10', '=')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:95 Friday 10 October 2025 21:15:39 -0400 (0:00:00.062) 0:00:05.220 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:107 Friday 10 October 2025 21:15:39 -0400 (0:00:00.068) 0:00:05.289 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:115 Friday 10 October 2025 21:15:39 -0400 (0:00:00.059) 0:00:05.348 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 10 October 2025 21:15:39 -0400 (0:00:00.085) 0:00:05.434 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_ha_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 10 October 2025 21:15:39 -0400 (0:00:00.102) 0:00:05.537 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_ha_ag_cluster_type | lower == 'none'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:143 Friday 10 October 2025 21:15:39 -0400 (0:00:00.081) 0:00:05.618 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "not __mssql_confined_supported", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Friday 10 October 2025 21:15:39 -0400 (0:00:00.105) 0:00:05.723 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_ag_is_contained is not provided with version 2017] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 10 October 2025 21:15:39 -0400 (0:00:00.079) 0:00:05.803 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_ha_ag_is_contained | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify fail reuse_system_db=true is not provided without ag_is_contained] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 10 October 2025 21:15:39 -0400 (0:00:00.071) 0:00:05.874 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_ha_ag_reuse_system_db | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:185 Friday 10 October 2025 21:15:39 -0400 (0:00:00.061) 0:00:05.936 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:189 Friday 10 October 2025 21:15:41 -0400 (0:00:01.488) 0:00:07.424 ******** skipping: [managed-node2] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"] is defined", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not bigger then the existing SQL Server version] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:197 Friday 10 October 2025 21:15:41 -0400 (0:00:00.283) 0:00:07.707 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:210 Friday 10 October 2025 21:15:41 -0400 (0:00:00.190) 0:00:07.897 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "mssql_version is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:217 Friday 10 October 2025 21:15:42 -0400 (0:00:00.209) 0:00:08.107 ******** fatal: [managed-node2]: FAILED! => { "assertion": "mssql_version | int in __mssql_supported_versions", "changed": false, "evaluated_to": false } MSG: You must set the mssql_version variable to one of 2022 TASK [Assert that the role failed with mssql_version not supported] ************ task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:27 Friday 10 October 2025 21:15:42 -0400 (0:00:00.184) 0:00:08.291 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:36 Friday 10 October 2025 21:15:42 -0400 (0:00:00.289) 0:00:08.580 ******** included: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:3 Friday 10 October 2025 21:15:42 -0400 (0:00:00.420) 0:00:09.001 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Set role variables needed for cleanup] *********************************** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:7 Friday 10 October 2025 21:15:44 -0400 (0:00:01.232) 0:00:10.234 ******** included: fedora.linux_system_roles.mssql for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 10 October 2025 21:15:44 -0400 (0:00:00.208) 0:00:10.443 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__mssql_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 10 October 2025 21:15:44 -0400 (0:00:00.164) 0:00:10.607 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__mssql_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Run systemctl] ************************* task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:22 Friday 10 October 2025 21:15:44 -0400 (0:00:00.155) 0:00:10.763 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__mssql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Require installed systemd] ************* task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:29 Friday 10 October 2025 21:15:44 -0400 (0:00:00.127) 0:00:10.890 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__mssql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:34 Friday 10 October 2025 21:15:44 -0400 (0:00:00.161) 0:00:11.051 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__mssql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [Purge cluster configuration] ********************************************* task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:13 Friday 10 October 2025 21:15:45 -0400 (0:00:00.192) 0:00:11.244 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts.packages.pcs is defined", "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:21 Friday 10 October 2025 21:15:45 -0400 (0:00:00.146) 0:00:11.391 ******** ok: [managed-node2] => { "ansible_python_version": "3.9.23" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:25 Friday 10 October 2025 21:15:45 -0400 (0:00:00.131) 0:00:11.522 ******** included: fedora.linux_system_roles.firewall for managed-node2 TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 10 October 2025 21:15:45 -0400 (0:00:00.398) 0:00:11.920 ******** included: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 10 October 2025 21:15:46 -0400 (0:00:00.178) 0:00:12.099 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "__firewall_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 10 October 2025 21:15:46 -0400 (0:00:00.112) 0:00:12.212 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 10 October 2025 21:15:47 -0400 (0:00:00.901) 0:00:13.114 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 10 October 2025 21:15:47 -0400 (0:00:00.100) 0:00:13.214 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 10 October 2025 21:15:47 -0400 (0:00:00.494) 0:00:13.709 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Friday 10 October 2025 21:15:47 -0400 (0:00:00.095) 0:00:13.805 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007375", "end": "2025-10-10 21:15:48.093127", "failed_when_result": false, "rc": 0, "start": "2025-10-10 21:15:48.085752" } STDOUT: running TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Friday 10 October 2025 21:15:48 -0400 (0:00:00.408) 0:00:14.213 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Friday 10 October 2025 21:15:48 -0400 (0:00:00.057) 0:00:14.271 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Friday 10 October 2025 21:15:48 -0400 (0:00:00.061) 0:00:14.332 ******** fatal: [managed-node2]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried PLAY RECAP ********************************************************************* managed-node2 : ok=26 changed=0 unreachable=0 failed=1 skipped=31 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.14", "end_time": "2025-10-11T01:15:42.168397+00:00Z", "host": "managed-node2", "message": "You must set the mssql_version variable to one of 2022", "start_time": "2025-10-11T01:15:42.052150+00:00Z", "task_name": "Verify if the mssql_version variable is provided correctly", "task_path": "/tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:217" }, { "ansible_version": "2.17.14", "end_time": "2025-10-11T01:16:01.126161+00:00Z", "host": "managed-node2", "message": "Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "start_time": "2025-10-11T01:15:48.276532+00:00Z", "task_name": "Install firewalld", "task_path": "/tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Friday 10 October 2025 21:16:01 -0400 (0:00:12.851) 0:00:27.184 ******** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 12.85s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Gathering Facts --------------------------------------------------------- 2.35s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_2022_upgrade.yml:9 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.49s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:185 Gather package facts ---------------------------------------------------- 1.23s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:3 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.90s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.mssql : Run systemctl ------------------------- 0.52s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:22 Ensure ansible_facts to get ansible_distribution ------------------------ 0.52s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.49s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Clean up after the role invocation -------------------------------------- 0.42s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:36 fedora.linux_system_roles.firewall : Run systemctl ---------------------- 0.41s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Purge firewall configuration -------------------------------------------- 0.40s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:25 Run the role ------------------------------------------------------------ 0.31s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:16 Assert that the role failed with mssql_version not supported ------------ 0.29s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:27 fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any --- 0.28s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:189 fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it --- 0.21s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:210 Set role variables needed for cleanup ----------------------------------- 0.21s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:7 fedora.linux_system_roles.mssql : Set flag to indicate that systemd runtime operations are available --- 0.19s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:34 fedora.linux_system_roles.mssql : Verify if mssql_version is not bigger then the existing SQL Server version --- 0.19s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:197 fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly --- 0.18s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:217 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.18s /tmp/collections-mbV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Oct 10 21:15:34 managed-node2 sshd-session[7704]: Accepted publickey for root from 10.31.40.226 port 44186 ssh2: ECDSA SHA256:7puKYwS8l6hHUjDhraC6FFc/WMENwX0usgPpSwhWO9E Oct 10 21:15:34 managed-node2 systemd-logind[630]: New session 7 of user root. ░░ Subject: A new session 7 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 7 has been created for the user root. ░░ ░░ The leading process of the session is 7704. Oct 10 21:15:34 managed-node2 systemd[1]: Started Session 7 of User root. ░░ Subject: A start job for unit session-7.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-7.scope has finished successfully. ░░ ░░ The job identifier is 1038. Oct 10 21:15:34 managed-node2 sshd-session[7704]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 10 21:15:35 managed-node2 python3.9[7881]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Oct 10 21:15:36 managed-node2 python3.9[8058]: ansible-setup Invoked with gather_subset=['min'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Oct 10 21:15:37 managed-node2 python3.9[8211]: ansible-ansible.legacy.command Invoked with _raw_params=systemctl is-system-running _uses_shell=False expand_argument_vars=True stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Oct 10 21:15:46 managed-node2 python3.9[8659]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Oct 10 21:15:47 managed-node2 python3.9[8808]: ansible-stat Invoked with path=/sbin/transactional-update follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Oct 10 21:15:48 managed-node2 python3.9[8957]: ansible-ansible.legacy.command Invoked with _raw_params=systemctl is-system-running _uses_shell=False expand_argument_vars=True stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Oct 10 21:15:48 managed-node2 python3.9[9107]: ansible-ansible.legacy.dnf Invoked with name=['firewalld'] state=present allow_downgrade=False allowerasing=False autoremove=False bugfix=False cacheonly=False disable_gpg_check=False disable_plugin=[] disablerepo=[] download_only=False enable_plugin=[] enablerepo=[] exclude=[] installroot=/ install_repoquery=True install_weak_deps=True security=False skip_broken=False update_cache=False update_only=False validate_certs=True sslverify=True lock_timeout=30 use_backend=auto best=None conf_file=None disable_excludes=None download_dir=None list=None nobest=None releasever=None Oct 10 21:16:01 managed-node2 sshd-session[9187]: Accepted publickey for root from 10.31.40.226 port 34408 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 10 21:16:01 managed-node2 systemd-logind[630]: New session 8 of user root. ░░ Subject: A new session 8 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 8 has been created for the user root. ░░ ░░ The leading process of the session is 9187. Oct 10 21:16:01 managed-node2 systemd[1]: Started Session 8 of User root. ░░ Subject: A start job for unit session-8.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-8.scope has finished successfully. ░░ ░░ The job identifier is 1108. Oct 10 21:16:01 managed-node2 sshd-session[9187]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 10 21:16:01 managed-node2 sshd-session[9190]: Received disconnect from 10.31.40.226 port 34408:11: disconnected by user Oct 10 21:16:01 managed-node2 sshd-session[9190]: Disconnected from user root 10.31.40.226 port 34408 Oct 10 21:16:01 managed-node2 sshd-session[9187]: pam_unix(sshd:session): session closed for user root Oct 10 21:16:01 managed-node2 systemd[1]: session-8.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-8.scope has successfully entered the 'dead' state. Oct 10 21:16:01 managed-node2 systemd-logind[630]: Session 8 logged out. Waiting for processes to exit. Oct 10 21:16:01 managed-node2 systemd-logind[630]: Removed session 8. ░░ Subject: Session 8 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 8 has been terminated. Oct 10 21:16:01 managed-node2 sshd-session[9215]: Accepted publickey for root from 10.31.40.226 port 34412 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 10 21:16:01 managed-node2 systemd-logind[630]: New session 9 of user root. ░░ Subject: A new session 9 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 9 has been created for the user root. ░░ ░░ The leading process of the session is 9215. Oct 10 21:16:01 managed-node2 systemd[1]: Started Session 9 of User root. ░░ Subject: A start job for unit session-9.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-9.scope has finished successfully. ░░ ░░ The job identifier is 1177. Oct 10 21:16:01 managed-node2 sshd-session[9215]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)