ansible-playbook [core 2.17.12] 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-OFW executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/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_accept_eula.yml ************************************************ 2 plays in /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_accept_eula.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_accept_eula.yml:5 Friday 23 May 2025 21:21:34 -0400 (0:00:00.028) 0:00:00.028 ************ ok: [managed-node3] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/tmp/mssql-eQx/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Ensure that the role runs when EULA are accepted] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_accept_eula.yml:9 Friday 23 May 2025 21:21:34 -0400 (0:00:00.024) 0:00:00.052 ************ [WARNING]: Platform linux on host managed-node3 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-node3] TASK [Run the role with default parameters] ************************************ task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_accept_eula.yml:25 Friday 23 May 2025 21:21:37 -0400 (0:00:02.398) 0:00:02.451 ************ included: fedora.linux_system_roles.mssql for managed-node3 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 23 May 2025 21:21:37 -0400 (0:00:00.403) 0:00:02.854 ************ included: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 23 May 2025 21:21:37 -0400 (0:00:00.038) 0:00:02.893 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 23 May 2025 21:21:37 -0400 (0:00:00.063) 0:00:02.957 ************ ok: [managed-node3] => (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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node3] => (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-node3] => (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-node3] => (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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:22 Friday 23 May 2025 21:21:37 -0400 (0:00:00.064) 0:00:03.022 ************ ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008265", "end": "2025-05-23 21:21:38.048401", "failed_when_result": false, "rc": 0, "start": "2025-05-23 21:21:38.040136" } STDOUT: running TASK [fedora.linux_system_roles.mssql : Require installed systemd] ************* task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:29 Friday 23 May 2025 21:21:38 -0400 (0:00:00.527) 0:00:03.550 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:34 Friday 23 May 2025 21:21:38 -0400 (0:00:00.115) 0:00:03.665 ************ ok: [managed-node3] => { "ansible_facts": { "__mssql_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 23 May 2025 21:21:38 -0400 (0:00:00.046) 0:00:03.712 ************ ok: [managed-node3] => { "ansible_facts": { "__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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 23 May 2025 21:21:38 -0400 (0:00:00.041) 0:00:03.756 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 23 May 2025 21:21:38 -0400 (0:00:00.047) 0:00:03.804 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 23 May 2025 21:21:38 -0400 (0:00:00.047) 0:00:03.853 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 23 May 2025 21:21:38 -0400 (0:00:00.026) 0:00:03.879 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 23 May 2025 21:21:38 -0400 (0:00:00.028) 0:00:03.908 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 23 May 2025 21:21:38 -0400 (0:00:00.028) 0:00:03.936 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 23 May 2025 21:21:38 -0400 (0:00:00.035) 0:00:03.972 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 23 May 2025 21:21:38 -0400 (0:00:00.030) 0:00:04.003 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 23 May 2025 21:21:38 -0400 (0:00:00.029) 0:00:04.032 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 23 May 2025 21:21:38 -0400 (0:00:00.024) 0:00:04.057 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 23 May 2025 21:21:38 -0400 (0:00:00.026) 0:00:04.084 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 23 May 2025 21:21:38 -0400 (0:00:00.027) 0:00:04.111 ************ ok: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 23 May 2025 21:21:38 -0400 (0:00:00.057) 0:00:04.168 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 23 May 2025 21:21:38 -0400 (0:00:00.043) 0:00:04.212 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 23 May 2025 21:21:38 -0400 (0:00:00.050) 0:00:04.263 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 23 May 2025 21:21:38 -0400 (0:00:00.050) 0:00:04.313 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 23 May 2025 21:21:38 -0400 (0:00:00.052) 0:00:04.366 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 23 May 2025 21:21:38 -0400 (0:00:00.061) 0:00:04.428 ************ skipping: [managed-node3] => { "changed": false, "false_condition": "not mssql_run_selinux_confined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 23 May 2025 21:21:39 -0400 (0:00:00.059) 0:00:04.488 ************ ok: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 23 May 2025 21:21:40 -0400 (0:00:01.414) 0:00:05.902 ************ skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 23 May 2025 21:21:40 -0400 (0:00:00.057) 0:00:05.960 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 23 May 2025 21:21:40 -0400 (0:00:00.049) 0:00:06.009 ************ ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 23 May 2025 21:21:40 -0400 (0:00:00.087) 0:00:06.097 ************ skipping: [managed-node3] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_version | int == item.key", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 23 May 2025 21:21:40 -0400 (0:00:00.100) 0:00:06.198 ************ changed: [managed-node3] => { "attempts": 1, "changed": true } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 23 May 2025 21:21:41 -0400 (0:00:00.723) 0:00:06.921 ************ skipping: [managed-node3] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 23 May 2025 21:21:41 -0400 (0:00:00.054) 0:00:06.975 ************ skipping: [managed-node3] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 23 May 2025 21:21:41 -0400 (0:00:00.059) 0:00:07.035 ************ skipping: [managed-node3] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 23 May 2025 21:21:41 -0400 (0:00:00.059) 0:00:07.094 ************ skipping: [managed-node3] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 23 May 2025 21:21:41 -0400 (0:00:00.082) 0:00:07.176 ************ skipping: [managed-node3] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2022] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 23 May 2025 21:21:41 -0400 (0:00:00.165) 0:00:07.341 ************ skipping: [managed-node3] => { "changed": false, "false_condition": "__mssql_current_version is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 23 May 2025 21:21:41 -0400 (0:00:00.058) 0:00:07.400 ************ redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf changed: [managed-node3] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2022", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 23 May 2025 21:21:42 -0400 (0:00:00.689) 0:00:08.090 ************ skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_pkg_mgr == \"zypper\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 23 May 2025 21:21:42 -0400 (0:00:00.047) 0:00:08.137 ************ fatal: [managed-node3]: 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 TASK [Assert that the role failed with variables undefined] ******************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_accept_eula.yml:34 Friday 23 May 2025 21:21:48 -0400 (0:00:06.116) 0:00:14.254 ************ fatal: [managed-node3]: FAILED! => { "assertion": "'You must define the following variables to set up MSSQL' in ansible_failed_result.msg.0", "changed": false, "evaluated_to": false } MSG: Assertion failed TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_accept_eula.yml:40 Friday 23 May 2025 21:21:48 -0400 (0:00:00.051) 0:00:14.306 ************ included: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node3 TASK [Gather package facts] **************************************************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 23 May 2025 21:21:48 -0400 (0:00:00.089) 0:00:14.395 ************ ok: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 23 May 2025 21:21:49 -0400 (0:00:00.788) 0:00:15.184 ************ included: fedora.linux_system_roles.mssql for managed-node3 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 23 May 2025 21:21:49 -0400 (0:00:00.078) 0:00:15.262 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 23 May 2025 21:21:49 -0400 (0:00:00.081) 0:00:15.344 ************ ok: [managed-node3] => (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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node3] => (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-node3] => (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-node3] => (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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:22 Friday 23 May 2025 21:21:49 -0400 (0:00:00.067) 0:00:15.412 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:29 Friday 23 May 2025 21:21:49 -0400 (0:00:00.028) 0:00:15.440 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:34 Friday 23 May 2025 21:21:50 -0400 (0:00:00.028) 0:00:15.469 ************ skipping: [managed-node3] => { "changed": false, "false_condition": "__mssql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [Purge cluster configuration] ********************************************* task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:12 Friday 23 May 2025 21:21:50 -0400 (0:00:00.042) 0:00:15.511 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:20 Friday 23 May 2025 21:21:50 -0400 (0:00:00.031) 0:00:15.543 ************ ok: [managed-node3] => { "ansible_python_version": "3.9.21" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:24 Friday 23 May 2025 21:21:50 -0400 (0:00:00.084) 0:00:15.627 ************ included: fedora.linux_system_roles.firewall for managed-node3 TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 23 May 2025 21:21:50 -0400 (0:00:00.122) 0:00:15.750 ************ included: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node3 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 23 May 2025 21:21:50 -0400 (0:00:00.114) 0:00:15.864 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 23 May 2025 21:21:50 -0400 (0:00:00.104) 0:00:15.968 ************ ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 23 May 2025 21:21:51 -0400 (0:00:00.772) 0:00:16.741 ************ ok: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 23 May 2025 21:21:51 -0400 (0:00:00.097) 0:00:16.838 ************ ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 23 May 2025 21:21:51 -0400 (0:00:00.437) 0:00:17.275 ************ ok: [managed-node3] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Friday 23 May 2025 21:21:51 -0400 (0:00:00.084) 0:00:17.360 ************ ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007911", "end": "2025-05-23 21:21:52.248465", "failed_when_result": false, "rc": 0, "start": "2025-05-23 21:21:52.240554" } STDOUT: running TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Friday 23 May 2025 21:21:52 -0400 (0:00:00.412) 0:00:17.772 ************ skipping: [managed-node3] => { "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-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Friday 23 May 2025 21:21:52 -0400 (0:00:00.082) 0:00:17.855 ************ ok: [managed-node3] => { "ansible_facts": { "__firewall_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Friday 23 May 2025 21:21:52 -0400 (0:00:00.055) 0:00:17.910 ************ fatal: [managed-node3]: 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-node3 : ok=26 changed=2 unreachable=0 failed=2 skipped=36 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-05-24T01:21:48.775203+00:00Z", "host": "managed-node3", "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-05-24T01:21:42.693546+00:00Z", "task_name": "Configure to run as a confined application with SELinux", "task_path": "/tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304" }, { "ansible_version": "2.17.12", "end_time": "2025-05-24T01:21:48.829614+00:00Z", "host": "managed-node3", "message": "Assertion failed", "start_time": "2025-05-24T01:21:48.810470+00:00Z", "task_name": "Assert that the role failed with variables undefined", "task_path": "/tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_accept_eula.yml:34" }, { "ansible_version": "2.17.12", "end_time": "2025-05-24T01:21:57.188754+00:00Z", "host": "managed-node3", "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-05-24T01:21:52.466359+00:00Z", "task_name": "Install firewalld", "task_path": "/tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Friday 23 May 2025 21:21:57 -0400 (0:00:04.724) 0:00:22.635 ************ =============================================================================== fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux --- 6.12s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 fedora.linux_system_roles.firewall : Install firewalld ------------------ 4.72s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Gathering Facts --------------------------------------------------------- 2.40s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_accept_eula.yml:9 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.41s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Gather package facts ---------------------------------------------------- 0.79s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.77s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories --- 0.72s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022 --- 0.69s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 fedora.linux_system_roles.mssql : Run systemctl ------------------------- 0.53s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:22 fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.44s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 fedora.linux_system_roles.firewall : Run systemctl ---------------------- 0.41s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Run the role with default parameters ------------------------------------ 0.40s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_accept_eula.yml:25 fedora.linux_system_roles.mssql : Get zypper repositories --------------- 0.17s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Purge firewall configuration -------------------------------------------- 0.12s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:24 fedora.linux_system_roles.mssql : Require installed systemd ------------- 0.12s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:29 fedora.linux_system_roles.firewall : Setup firewalld -------------------- 0.11s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.10s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version --- 0.10s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 fedora.linux_system_roles.firewall : Set flag to indicate system is ostree --- 0.10s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Clean up after the role invocation -------------------------------------- 0.09s /tmp/collections-OFW/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_accept_eula.yml:40