[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.9] 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/tmp.KCnNkheNYy 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.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_configure_ha_cluster_external.yml ****************************** 2 plays in /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:5 Tuesday 06 August 2024 04:43:02 -0400 (0:00:00.009) 0:00:00.009 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-generalaracc2og/plans/general/tree/mssql/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Verify HA functionality with external clusters and templates] ************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:9 Tuesday 06 August 2024 04:43:02 -0400 (0:00:00.025) 0:00:00.035 ******** ok: [managed_node1] TASK [Run the role] ************************************************************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:108 Tuesday 06 August 2024 04:43:03 -0400 (0:00:01.044) 0:00:01.079 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_version is version('8', '<')", "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:114 Tuesday 06 August 2024 04:43:03 -0400 (0:00:00.018) 0:00:01.098 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_version is version('8', '<')", "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:124 Tuesday 06 August 2024 04:43:03 -0400 (0:00:00.017) 0:00:01.115 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_version is version('8', '<')", "skip_reason": "Conditional result was False" } TASK [End EL 7 host] *********************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:129 Tuesday 06 August 2024 04:43:03 -0400 (0:00:00.016) 0:00:01.132 ******** 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 [Run role with mssql_replica_type=primary not defined] ******************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:135 Tuesday 06 August 2024 04:43:03 -0400 (0:00:00.010) 0:00:01.143 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.184) 0:00:01.328 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.043) 0:00:01.371 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.040) 0:00:01.412 ******** ok: [managed_node1] => (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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (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" } ok: [managed_node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.070) 0:00:01.483 ******** ok: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.039) 0:00:01.522 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.037) 0:00:01.560 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.037) 0:00:01.598 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.036) 0:00:01.634 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.036) 0:00:01.671 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.036) 0:00:01.707 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.038) 0:00:01.746 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.039) 0:00:01.786 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_cluster_run_role 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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.039) 0:00:01.825 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.039) 0:00:01.865 ******** ok: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.042) 0:00:01.907 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_version is version('8', '<')", "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.040) 0:00:01.948 ******** fatal: [managed_node1]: FAILED! => { "assertion": "mssql_ha_replica_type in __mssql_ha_replica_types_all", "changed": false, "evaluated_to": false } MSG: You must set the mssql_ha_replica_type variable to one of primary, synchronous, asynchronous, witness, absent TASK [Assert that the role failed with EL < 8 not supported] ******************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:143 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.042) 0:00:01.991 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set the mssql_ha_replica_type fact to appear in hostvars] **************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:150 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.039) 0:00:02.030 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_ha_replica_type": "primary" }, "changed": false } TASK [Set facts to create test DBs on primary as a pre task] ******************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:157 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.039) 0:00:02.070 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_pre_input_sql_file": [ "create_ExampleDB1.sql", "create_ExampleDB2.sql" ] }, "changed": false } TASK [Run on all hosts to configure read-scale cluster] ************************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:165 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.017) 0:00:02.087 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 04:43:04 -0400 (0:00:00.203) 0:00:02.291 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.018) 0:00:02.309 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.036) 0:00:02.346 ******** ok: [managed_node1] => (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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (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" } ok: [managed_node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.041) 0:00:02.387 ******** ok: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.014) 0:00:02.402 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.014) 0:00:02.416 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.014) 0:00:02.430 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.014) 0:00:02.444 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.013) 0:00:02.458 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.013) 0:00:02.472 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.013) 0:00:02.485 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.014) 0:00:02.499 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_cluster_run_role 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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.014) 0:00:02.514 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.014) 0:00:02.528 ******** ok: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.037) 0:00:02.566 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_version is version('8', '<')", "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.034) 0:00:02.601 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.038) 0:00:02.639 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.046) 0:00:02.685 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(mssql_ha_prep_for_pacemaker | bool) or (mssql_manage_ha_cluster | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.040) 0:00:02.726 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.035) 0:00:02.761 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 04:43:05 -0400 (0:00:00.033) 0:00:02.795 ******** 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.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 04:43:07 -0400 (0:00:01.660) 0:00:04.455 ******** skipping: [managed_node1] => (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_node1] => (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_node1] => (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_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 04:43:07 -0400 (0:00:00.098) 0:00:04.554 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 04:43:07 -0400 (0:00:00.029) 0:00:04.584 ******** ok: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 04:43:07 -0400 (0:00:00.056) 0:00:04.640 ******** skipping: [managed_node1] => (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_node1] => (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_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 04:43:07 -0400 (0:00:00.072) 0:00:04.713 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 04:43:08 -0400 (0:00:00.679) 0:00:05.392 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 04:43:08 -0400 (0:00:00.032) 0:00:05.425 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 04:43:08 -0400 (0:00:00.031) 0:00:05.456 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 04:43:08 -0400 (0:00:00.030) 0:00:05.487 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 04:43:08 -0400 (0:00:00.028) 0:00:05.515 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 04:43:08 -0400 (0:00:00.030) 0:00:05.545 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 04:43:08 -0400 (0:00:00.029) 0:00:05.575 ******** changed: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 04:43:08 -0400 (0:00:00.467) 0:00:06.042 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 04:43:08 -0400 (0:00:00.027) 0:00:06.070 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 04:43:11 -0400 (0:00:03.095) 0:00:09.165 ******** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: guile-5:2.0.14-7.el8.x86_64", "Installed: libatomic-8.5.0-22.el8.x86_64", "Installed: gcc-gdb-plugin-8.5.0-22.el8.x86_64", "Installed: mssql-server-16.0.4135.4-3.x86_64", "Installed: gdb-headless-8.2-20.el8.x86_64", "Installed: libatomic_ops-7.6.2-3.el8.x86_64", "Installed: libbabeltrace-1.5.4-4.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: gc-7.6.4-3.el8.x86_64", "Installed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Installed: gdb-8.2-20.el8.x86_64", "Installed: libipt-1.6.1-8.el8.x86_64", "Installed: libtool-ltdl-2.4.6-25.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 04:43:48 -0400 (0:00:37.135) 0:00:46.300 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 04:43:49 -0400 (0:00:00.027) 0:00:46.328 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005670", "end": "2024-08-06 04:43:49.398644", "rc": 0, "start": "2024-08-06 04:43:49.392974" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 04:43:49 -0400 (0:00:00.434) 0:00:46.762 ******** 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.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 04:43:55 -0400 (0:00:05.646) 0:00:52.409 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 04:43:55 -0400 (0:00:00.062) 0:00:52.471 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 04:43:55 -0400 (0:00:00.068) 0:00:52.539 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 04:44:02 -0400 (0:00:07.370) 0:00:59.910 ******** skipping: [managed_node1] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 04:44:02 -0400 (0:00:00.041) 0:00:59.951 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 04:44:02 -0400 (0:00:00.054) 0:01:00.006 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 04:44:02 -0400 (0:00:00.052) 0:01:00.059 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 04:44:08 -0400 (0:00:06.070) 0:01:06.129 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:25:11 EDT", "ActiveEnterTimestampMonotonic": "48080519", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target sysinit.target dbus.socket dbus.service systemd-journald.socket systemd-sysctl.service polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:25:09 EDT", "AssertTimestampMonotonic": "46400977", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "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": "no", "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": "Tue 2024-08-06 04:25:09 EDT", "ConditionTimestampMonotonic": "46400976", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service cpupower.service shutdown.target tlp.service auto-cpufreq.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "663", "ExecMainStartTimestamp": "Tue 2024-08-06 04:25:09 EDT", "ExecMainStartTimestampMonotonic": "46401783", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; 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/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:25:09 EDT", "InactiveExitTimestampMonotonic": "46401829", "InvocationID": "d522b1128d41445e8ae2dfbd8d054793", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "663", "MemoryAccounting": "yes", "MemoryCurrent": "18657280", "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": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "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": "dbus.service system.slice dbus.socket 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": "Tue 2024-08-06 04:25:11 EDT", "StateChangeTimestampMonotonic": "48080519", "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": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:25:11 EDT", "WatchdogTimestampMonotonic": "48080515", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 04:44:09 -0400 (0:00:00.828) 0:01:06.957 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.111831", "end": "2024-08-06 04:44:10.054001", "rc": 0, "start": "2024-08-06 04:44:09.942170" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 04:44:10 -0400 (0:00:00.463) 0:01:07.421 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 04:44:10 -0400 (0:00:00.051) 0:01:07.472 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 04:44:10 -0400 (0:00:00.054) 0:01:07.527 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 04:44:10 -0400 (0:00:00.052) 0:01:07.580 ******** changed: [managed_node1] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 04:44:10 -0400 (0:00:00.343) 0:01:07.924 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_pkg_mgr == \"zypper\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 04:44:10 -0400 (0:00:00.031) 0:01:07.955 ******** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.6.1-1.x86_64", "Installed: unixODBC-2.3.11-1.rh.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: unixODBC-devel-2.3.11-1.rh.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 04:44:14 -0400 (0:00:03.931) 0:01:11.886 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 04:44:14 -0400 (0:00:00.031) 0:01:11.918 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 04:44:14 -0400 (0:00:00.030) 0:01:11.948 ******** 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.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 04:44:14 -0400 (0:00:00.029) 0:01:11.978 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 04:44:14 -0400 (0:00:00.061) 0:01:12.039 ******** 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.mssql : Change the password of sa user] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 04:44:14 -0400 (0:00:00.054) 0:01:12.094 ******** 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.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 04:44:14 -0400 (0:00:00.031) 0:01:12.125 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:44:14 -0400 (0:00:00.055) 0:01:12.181 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:44:14 -0400 (0:00:00.032) 0:01:12.214 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:44:14 -0400 (0:00:00.036) 0:01:12.250 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:44:02 EDT", "ActiveEnterTimestampMonotonic": "1178161608", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target -.mount system.slice sysinit.target systemd-journald.socket auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:44:02 EDT", "AssertTimestampMonotonic": "1178153845", "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": "no", "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": "Tue 2024-08-06 04:44:02 EDT", "ConditionTimestampMonotonic": "1178153844", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "42480", "ExecMainStartTimestamp": "Tue 2024-08-06 04:44:02 EDT", "ExecMainStartTimestampMonotonic": "1178161564", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; 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/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:44:02 EDT", "InactiveExitTimestampMonotonic": "1178161608", "InvocationID": "e930eb1bdcd34d88b55f179be68714ef", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "42480", "MemoryAccounting": "yes", "MemoryCurrent": "696233984", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:44:02 EDT", "StateChangeTimestampMonotonic": "1178161608", "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": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:44:02 EDT", "WatchdogTimestampMonotonic": "1178161606", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:44:15 -0400 (0:00:00.484) 0:01:12.735 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 17913, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:44:16 -0400 (0:00:01.445) 0:01:14.180 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 04:44:16 -0400 (0:00:00.060) 0:01:14.241 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:44:02 EDT", "ActiveEnterTimestampMonotonic": "1178161608", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target -.mount system.slice sysinit.target systemd-journald.socket auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:44:02 EDT", "AssertTimestampMonotonic": "1178153845", "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": "no", "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": "Tue 2024-08-06 04:44:02 EDT", "ConditionTimestampMonotonic": "1178153844", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "42480", "ExecMainStartTimestamp": "Tue 2024-08-06 04:44:02 EDT", "ExecMainStartTimestampMonotonic": "1178161564", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; 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/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:44:02 EDT", "InactiveExitTimestampMonotonic": "1178161608", "InvocationID": "e930eb1bdcd34d88b55f179be68714ef", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "42480", "MemoryAccounting": "yes", "MemoryCurrent": "698310656", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:44:02 EDT", "StateChangeTimestampMonotonic": "1178161608", "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": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:44:02 EDT", "WatchdogTimestampMonotonic": "1178161606", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 04:44:17 -0400 (0:00:00.477) 0:01:14.718 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002931", "end": "2024-08-06 04:44:17.689994", "failed_when_result": false, "rc": 1, "start": "2024-08-06 04:44:17.687063" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 04:44:17 -0400 (0:00:00.338) 0:01:15.056 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002827", "end": "2024-08-06 04:44:18.033366", "failed_when_result": false, "rc": 1, "start": "2024-08-06 04:44:18.030539" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 04:44:18 -0400 (0:00:00.343) 0:01:15.400 ******** 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.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:44:18 -0400 (0:00:00.084) 0:01:15.484 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_ExampleDB1.sql) included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_ExampleDB2.sql) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:44:18 -0400 (0:00:00.136) 0:01:15.621 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB1.sql_gpaj2ysf.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:44:18 -0400 (0:00:00.459) 0:01:16.080 ******** ok: [managed_node1] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_ExampleDB1.sql_gpaj2ysf.sql", "gid": 0, "group": "root", "md5sum": "7c0c7d727a2dd24b642249e3f26f11cb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 891, "src": "/root/.ansible/tmp/ansible-tmp-1722933858.819111-11689-216964111627423/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:44:19 -0400 (0:00:00.856) 0:01:16.937 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:44:19 -0400 (0:00:00.035) 0:01:16.972 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:44:20 -0400 (0:00:00.704) 0:01:17.677 ******** ok: [managed_node1] => (item=/tmp/create_ExampleDB1.sql_gpaj2ysf.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB1.sql_gpaj2ysf.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Creating the ExampleDB1 database', 'The ExampleDB1 database created successfully', "Changed database context to 'ExampleDB1'.", 'Adding the Inventory table to the ExampleDB1 database', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', 'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleDB1 database", "The ExampleDB1 database created successfully", "Changed database context to 'ExampleDB1'.", "Adding the Inventory table to the ExampleDB1 database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:44:20 -0400 (0:00:00.080) 0:01:17.758 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:44:20 -0400 (0:00:00.033) 0:01:17.792 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB2.sql_tqwigy_0.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:44:20 -0400 (0:00:00.352) 0:01:18.144 ******** ok: [managed_node1] => { "changed": false, "checksum": "5624bc46f989692960b2c67c7923fbbe7db78185", "dest": "/tmp/create_ExampleDB2.sql_tqwigy_0.sql", "gid": 0, "group": "root", "md5sum": "de127d6c531edb5cab22ff2b9da3a57c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 901, "src": "/root/.ansible/tmp/ansible-tmp-1722933860.882816-11723-39677247044886/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:44:21 -0400 (0:00:00.635) 0:01:18.780 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:44:21 -0400 (0:00:00.033) 0:01:18.813 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:44:22 -0400 (0:00:00.687) 0:01:19.501 ******** ok: [managed_node1] => (item=/tmp/create_ExampleDB2.sql_tqwigy_0.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB2.sql_tqwigy_0.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Creating the ExampleDB2 database', 'The ExampleDB2 database created successfully', "Changed database context to 'ExampleDB2'.", 'Adding the Inventory table to the ExampleDB2 database', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', '', '(1 rows affected)', 'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleDB2 database", "The ExampleDB2 database created successfully", "Changed database context to 'ExampleDB2'.", "Adding the Inventory table to the ExampleDB2 database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:44:22 -0400 (0:00:00.081) 0:01:19.582 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:44:22 -0400 (0:00:00.033) 0:01:19.615 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 04:44:22 -0400 (0:00:00.033) 0:01:19.648 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 04:44:22 -0400 (0:00:00.030) 0:01:19.679 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 04:44:22 -0400 (0:00:00.031) 0:01:19.711 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_conf_setup is skipped", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 04:44:22 -0400 (0:00:00.030) 0:01:19.742 ******** 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.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 04:44:22 -0400 (0:00:00.130) 0:01:19.872 ******** 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.mssql : Configure the IP address setting] ****** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 04:44:22 -0400 (0:00:00.033) 0:01:19.906 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 04:44:22 -0400 (0:00:00.032) 0:01:19.939 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003004", "end": "2024-08-06 04:44:22.935593", "failed_when_result": false, "rc": 1, "start": "2024-08-06 04:44:22.932589" } MSG: non-zero return code TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 04:44:23 -0400 (0:00:00.365) 0:01:20.304 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 06 August 2024 04:44:23 -0400 (0:00:00.098) 0:01:20.403 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed_node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 06 August 2024 04:44:23 -0400 (0:00:00.059) 0:01:20.463 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 06 August 2024 04:44:23 -0400 (0:00:00.060) 0:01:20.524 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 06 August 2024 04:44:23 -0400 (0:00:00.359) 0:01:20.883 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 06 August 2024 04:44:23 -0400 (0:00:00.038) 0:01:20.922 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 06 August 2024 04:44:23 -0400 (0:00:00.339) 0:01:21.261 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 06 August 2024 04:44:23 -0400 (0:00:00.038) 0:01:21.299 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 06 August 2024 04:44:26 -0400 (0:00:02.798) 0:01:24.097 ******** skipping: [managed_node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 06 August 2024 04:44:26 -0400 (0:00:00.055) 0:01:24.153 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 06 August 2024 04:44:26 -0400 (0:00:00.053) 0:01:24.206 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 06 August 2024 04:44:27 -0400 (0:00:00.129) 0:01:24.335 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 06 August 2024 04:44:27 -0400 (0:00:00.053) 0:01:24.389 ******** skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 06 August 2024 04:44:27 -0400 (0:00:00.061) 0:01:24.450 ******** ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ActiveEnterTimestampMonotonic": "737738377", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service basic.target dbus.socket polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:36:41 EDT", "AssertTimestampMonotonic": "737021450", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "Tue 2024-08-06 04:36:41 EDT", "ConditionTimestampMonotonic": "737021449", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service nftables.service ebtables.service ipset.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "19125", "ExecMainStartTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ExecMainStartTimestampMonotonic": "737023360", "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/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:36:41 EDT", "InactiveExitTimestampMonotonic": "737023403", "InvocationID": "0a7baf39611441d192208ba21156b270", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19125", "MemoryAccounting": "yes", "MemoryCurrent": "43679744", "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": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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": "dbus.socket 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:36:41 EDT", "StateChangeTimestampMonotonic": "737738377", "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": "3", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 04:36:41 EDT", "WatchdogTimestampMonotonic": "737738374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 06 August 2024 04:44:27 -0400 (0:00:00.491) 0:01:24.942 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ActiveEnterTimestampMonotonic": "737738377", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service basic.target dbus.socket polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:36:41 EDT", "AssertTimestampMonotonic": "737021450", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "Tue 2024-08-06 04:36:41 EDT", "ConditionTimestampMonotonic": "737021449", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service nftables.service ebtables.service ipset.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "19125", "ExecMainStartTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ExecMainStartTimestampMonotonic": "737023360", "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/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:36:41 EDT", "InactiveExitTimestampMonotonic": "737023403", "InvocationID": "0a7baf39611441d192208ba21156b270", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19125", "MemoryAccounting": "yes", "MemoryCurrent": "43679744", "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": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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": "dbus.socket 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:36:41 EDT", "StateChangeTimestampMonotonic": "737738377", "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": "3", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 04:36:41 EDT", "WatchdogTimestampMonotonic": "737738374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 06 August 2024 04:44:28 -0400 (0:00:00.488) 0:01:25.431 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 06 August 2024 04:44:28 -0400 (0:00:00.063) 0:01:25.494 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 06 August 2024 04:44:28 -0400 (0:00:00.054) 0:01:25.548 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 06 August 2024 04:44:28 -0400 (0:00:00.052) 0:01:25.601 ******** changed: [managed_node1] => (item={'port': '1433/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "port": "1433/tcp", "runtime": true, "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 06 August 2024 04:44:28 -0400 (0:00:00.685) 0:01:26.287 ******** skipping: [managed_node1] => (item={'port': '1433/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "'detailed' in fw[0]", "item": { "permanent": true, "port": "1433/tcp", "runtime": true, "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 06 August 2024 04:44:29 -0400 (0:00:00.071) 0:01:26.358 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "'detailed' in fw[0]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 06 August 2024 04:44:29 -0400 (0:00:00.061) 0:01:26.420 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 06 August 2024 04:44:29 -0400 (0:00:00.055) 0:01:26.475 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 06 August 2024 04:44:29 -0400 (0:00:00.057) 0:01:26.532 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 06 August 2024 04:44:29 -0400 (0:00:00.052) 0:01:26.585 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 06 August 2024 04:44:29 -0400 (0:00:00.052) 0:01:26.638 ******** skipping: [managed_node1] => { "false_condition": "__firewall_previous_replaced | bool" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 04:44:29 -0400 (0:00:00.109) 0:01:26.747 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 04:44:29 -0400 (0:00:00.065) 0:01:26.813 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002841", "end": "2024-08-06 04:44:29.805956", "failed_when_result": false, "rc": 1, "start": "2024-08-06 04:44:29.803115" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 04:44:29 -0400 (0:00:00.361) 0:01:27.174 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.117007", "end": "2024-08-06 04:44:30.288556", "failed_when_result": false, "rc": 0, "start": "2024-08-06 04:44:30.171549" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.487) 0:01:27.661 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.033) 0:01:27.695 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__tcpport | int != mssql_tcp_port | int", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.058) 0:01:27.753 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.035) 0:01:27.788 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.035) 0:01:27.824 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.035) 0:01:27.860 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.033) 0:01:27.894 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.034) 0:01:27.928 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.034) 0:01:27.962 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.033) 0:01:27.996 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.034) 0:01:28.031 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.034) 0:01:28.066 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.033) 0:01:28.100 ******** skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.075) 0:01:28.176 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.035) 0:01:28.211 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.034) 0:01:28.246 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 04:44:30 -0400 (0:00:00.034) 0:01:28.280 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.033) 0:01:28.314 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.052) 0:01:28.366 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.054) 0:01:28.421 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.052) 0:01:28.474 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.074) 0:01:28.548 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.036) 0:01:28.585 ******** 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.mssql : Check if AD user exists] *************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.033) 0:01:28.618 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.033) 0:01:28.651 ******** 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.mssql : Get SPNs for the principal] ************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.031) 0:01:28.683 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.032) 0:01:28.716 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.032) 0:01:28.748 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.030) 0:01:28.779 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.068) 0:01:28.848 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.033) 0:01:28.882 ******** 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.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.032) 0:01:28.914 ******** 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.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.033) 0:01:28.947 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.032) 0:01:28.980 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.031) 0:01:29.011 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.032) 0:01:29.043 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.031) 0:01:29.074 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.066) 0:01:29.141 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.073) 0:01:29.215 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed_node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 06 August 2024 04:44:31 -0400 (0:00:00.062) 0:01:29.277 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 06 August 2024 04:44:32 -0400 (0:00:00.042) 0:01:29.319 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 06 August 2024 04:44:32 -0400 (0:00:00.033) 0:01:29.353 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 06 August 2024 04:44:32 -0400 (0:00:00.034) 0:01:29.387 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 06 August 2024 04:44:32 -0400 (0:00:00.069) 0:01:29.457 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 06 August 2024 04:44:32 -0400 (0:00:00.035) 0:01:29.492 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 06 August 2024 04:44:34 -0400 (0:00:02.769) 0:01:32.261 ******** skipping: [managed_node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 06 August 2024 04:44:34 -0400 (0:00:00.035) 0:01:32.297 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 06 August 2024 04:44:35 -0400 (0:00:00.035) 0:01:32.332 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 06 August 2024 04:44:35 -0400 (0:00:00.035) 0:01:32.368 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 06 August 2024 04:44:35 -0400 (0:00:00.034) 0:01:32.402 ******** skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 06 August 2024 04:44:35 -0400 (0:00:00.042) 0:01:32.445 ******** ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ActiveEnterTimestampMonotonic": "737738377", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service basic.target dbus.socket polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:36:41 EDT", "AssertTimestampMonotonic": "737021450", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "Tue 2024-08-06 04:36:41 EDT", "ConditionTimestampMonotonic": "737021449", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service nftables.service ebtables.service ipset.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "19125", "ExecMainStartTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ExecMainStartTimestampMonotonic": "737023360", "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/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:36:41 EDT", "InactiveExitTimestampMonotonic": "737023403", "InvocationID": "0a7baf39611441d192208ba21156b270", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19125", "MemoryAccounting": "yes", "MemoryCurrent": "44466176", "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": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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": "dbus.socket 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:36:41 EDT", "StateChangeTimestampMonotonic": "737738377", "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": "3", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 04:36:41 EDT", "WatchdogTimestampMonotonic": "737738374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 06 August 2024 04:44:35 -0400 (0:00:00.484) 0:01:32.930 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ActiveEnterTimestampMonotonic": "737738377", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service basic.target dbus.socket polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:36:41 EDT", "AssertTimestampMonotonic": "737021450", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "Tue 2024-08-06 04:36:41 EDT", "ConditionTimestampMonotonic": "737021449", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service nftables.service ebtables.service ipset.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "19125", "ExecMainStartTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ExecMainStartTimestampMonotonic": "737023360", "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/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:36:41 EDT", "InactiveExitTimestampMonotonic": "737023403", "InvocationID": "0a7baf39611441d192208ba21156b270", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19125", "MemoryAccounting": "yes", "MemoryCurrent": "44466176", "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": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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": "dbus.socket 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:36:41 EDT", "StateChangeTimestampMonotonic": "737738377", "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": "3", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 04:36:41 EDT", "WatchdogTimestampMonotonic": "737738374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 06 August 2024 04:44:36 -0400 (0:00:00.482) 0:01:33.413 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 06 August 2024 04:44:36 -0400 (0:00:00.044) 0:01:33.457 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 06 August 2024 04:44:36 -0400 (0:00:00.032) 0:01:33.490 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 06 August 2024 04:44:36 -0400 (0:00:00.032) 0:01:33.523 ******** changed: [managed_node1] => (item={'port': '5022/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "port": "5022/tcp", "runtime": true, "state": "enabled" } } changed: [managed_node1] => (item={'service': 'high-availability', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "runtime": true, "service": "high-availability", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 06 August 2024 04:44:37 -0400 (0:00:01.064) 0:01:34.588 ******** skipping: [managed_node1] => (item={'port': '5022/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "permanent": true, "port": "5022/tcp", "runtime": true, "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'service': 'high-availability', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "permanent": true, "runtime": true, "service": "high-availability", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 06 August 2024 04:44:37 -0400 (0:00:00.055) 0:01:34.644 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall | length == 1", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 06 August 2024 04:44:37 -0400 (0:00:00.036) 0:01:34.680 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 06 August 2024 04:44:37 -0400 (0:00:00.034) 0:01:34.714 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 06 August 2024 04:44:37 -0400 (0:00:00.069) 0:01:34.783 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 06 August 2024 04:44:37 -0400 (0:00:00.034) 0:01:34.818 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 06 August 2024 04:44:37 -0400 (0:00:00.032) 0:01:34.850 ******** skipping: [managed_node1] => { "false_condition": "__firewall_previous_replaced | bool" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 04:44:37 -0400 (0:00:00.052) 0:01:34.903 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_ha_availability_mode": "ASYNCHRONOUS_COMMIT", "__mssql_ha_failover_mode": "MANUAL", "__mssql_ha_seeding_mode": "AUTOMATIC" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 04:44:37 -0400 (0:00:00.043) 0:01:34.946 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_prep_for_pacemaker | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 04:44:37 -0400 (0:00:00.036) 0:01:34.983 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting hadr hadrenabled] ****** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 04:44:37 -0400 (0:00:00.058) 0:01:35.041 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002903", "end": "2024-08-06 04:44:38.015732", "failed_when_result": false, "rc": 1, "start": "2024-08-06 04:44:38.012829" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting hadr hadrenabled] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 04:44:38 -0400 (0:00:00.341) 0:01:35.383 ******** Notification for handler Restart the mssql-server service has been saved. changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "hadr.hadrenabled", "1" ], "delta": "0:00:00.110460", "end": "2024-08-06 04:44:38.472343", "failed_when_result": false, "rc": 0, "start": "2024-08-06 04:44:38.361883" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting hadr hadrenabled] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 04:44:38 -0400 (0:00:00.463) 0:01:35.846 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 04:44:38 -0400 (0:00:00.033) 0:01:35.880 ******** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:44:02 EDT", "ActiveEnterTimestampMonotonic": "1178161608", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target -.mount system.slice sysinit.target systemd-journald.socket auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:44:02 EDT", "AssertTimestampMonotonic": "1178153845", "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": "no", "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": "Tue 2024-08-06 04:44:02 EDT", "ConditionTimestampMonotonic": "1178153844", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "42480", "ExecMainStartTimestamp": "Tue 2024-08-06 04:44:02 EDT", "ExecMainStartTimestampMonotonic": "1178161564", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; 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/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:44:02 EDT", "InactiveExitTimestampMonotonic": "1178161608", "InvocationID": "e930eb1bdcd34d88b55f179be68714ef", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "42480", "MemoryAccounting": "yes", "MemoryCurrent": "727203840", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:44:02 EDT", "StateChangeTimestampMonotonic": "1178161608", "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": "153", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:44:02 EDT", "WatchdogTimestampMonotonic": "1178161606", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 04:44:39 -0400 (0:00:00.704) 0:01:36.584 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_reset_cert | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 04:44:39 -0400 (0:00:00.034) 0:01:36.618 ******** skipping: [managed_node1] => (item=/var/opt/mssql/data/ExampleCert.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_reset_cert | bool", "item": "/var/opt/mssql/data/ExampleCert.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/ExampleCert.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_reset_cert | bool", "item": "/var/opt/mssql/data/ExampleCert.pvk", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 04:44:39 -0400 (0:00:00.040) 0:01:36.659 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:44:39 -0400 (0:00:00.095) 0:01:36.754 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:44:39 -0400 (0:00:00.037) 0:01:36.792 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:44:39 -0400 (0:00:00.039) 0:01:36.831 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:44:39 EDT", "ActiveEnterTimestampMonotonic": "1215071642", "ActiveExitTimestamp": "Tue 2024-08-06 04:44:38 EDT", "ActiveExitTimestampMonotonic": "1214876840", "ActiveState": "active", "After": "network.target -.mount system.slice sysinit.target systemd-journald.socket auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:44:39 EDT", "AssertTimestampMonotonic": "1215070497", "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": "no", "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": "Tue 2024-08-06 04:44:39 EDT", "ConditionTimestampMonotonic": "1215070496", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "47388", "ExecMainStartTimestamp": "Tue 2024-08-06 04:44:39 EDT", "ExecMainStartTimestampMonotonic": "1215071580", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:44:39 EDT] ; stop_time=[n/a] ; pid=47388 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:44:39 EDT", "InactiveEnterTimestampMonotonic": "1215069538", "InactiveExitTimestamp": "Tue 2024-08-06 04:44:39 EDT", "InactiveExitTimestampMonotonic": "1215071642", "InvocationID": "97ed1ae96bb74b8ab65d9d33f04e9492", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47388", "MemoryAccounting": "yes", "MemoryCurrent": "179503104", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:44:39 EDT", "StateChangeTimestampMonotonic": "1215071642", "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": "50", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:44:39 EDT", "WatchdogTimestampMonotonic": "1215071640", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:44:40 -0400 (0:00:00.676) 0:01:37.507 ******** ok: [managed_node1] => { "changed": false, "elapsed": 3, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 12795, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:44:43 -0400 (0:00:03.567) 0:01:41.074 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:44:43 -0400 (0:00:00.036) 0:01:41.111 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_master_key_encryption.j2) included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_and_back_up_cert.j2) included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=enable_alwayson.j2) included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_endpoint.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:44:43 -0400 (0:00:00.106) 0:01:41.217 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_jdx8_wkf.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:44:44 -0400 (0:00:00.610) 0:01:41.828 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:44:44 -0400 (0:00:00.036) 0:01:41.865 ******** ok: [managed_node1] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2_jdx8_wkf.sql", "gid": 0, "group": "root", "md5sum": "65fb1fff4dc60651b5ec7369d1ebaa76", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 667, "src": "/root/.ansible/tmp/ansible-tmp-1722933884.6046195-12007-198754295754186/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:44:45 -0400 (0:00:00.636) 0:01:42.501 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:44:45 -0400 (0:00:00.383) 0:01:42.884 ******** ok: [managed_node1] => (item=/tmp/create_master_key_encryption.j2_jdx8_wkf.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_jdx8_wkf.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Master key does not exist, creating', 'Master key created successfully']) => { "__mssql_sqlcmd_loop": [ "Master key does not exist, creating", "Master key created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:44:45 -0400 (0:00:00.069) 0:01:42.954 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:44:45 -0400 (0:00:00.036) 0:01:42.990 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_90d0h26_.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:44:46 -0400 (0:00:00.332) 0:01:43.323 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:44:46 -0400 (0:00:00.036) 0:01:43.360 ******** ok: [managed_node1] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_90d0h26_.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1722933886.1011007-12041-145479901523989/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:44:46 -0400 (0:00:00.650) 0:01:44.010 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:44:47 -0400 (0:00:01.188) 0:01:45.199 ******** ok: [managed_node1] => (item=/tmp/create_and_back_up_cert.j2_90d0h26_.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_90d0h26_.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate ExampleCert does not exist, creating', 'Certificate ExampleCert created successfully', 'Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk', 'Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert does not exist, creating", "Certificate ExampleCert created successfully", "Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk", "Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:44:47 -0400 (0:00:00.072) 0:01:45.272 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:44:48 -0400 (0:00:00.038) 0:01:45.310 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2_b_khysq3.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:44:48 -0400 (0:00:00.338) 0:01:45.649 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:44:48 -0400 (0:00:00.036) 0:01:45.686 ******** ok: [managed_node1] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2_b_khysq3.sql", "gid": 0, "group": "root", "md5sum": "ad8bcae6278918460562bd8f6269b51f", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 410, "src": "/root/.ansible/tmp/ansible-tmp-1722933888.4270186-12075-171697659647610/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:44:49 -0400 (0:00:00.641) 0:01:46.327 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:44:49 -0400 (0:00:00.384) 0:01:46.712 ******** ok: [managed_node1] => (item=/tmp/enable_alwayson.j2_b_khysq3.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2_b_khysq3.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['AlwaysOn Health events are not enabled, enabling', 'AlwaysOn Health events enabled successfully']) => { "__mssql_sqlcmd_loop": [ "AlwaysOn Health events are not enabled, enabling", "AlwaysOn Health events enabled successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:44:49 -0400 (0:00:00.070) 0:01:46.782 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:44:49 -0400 (0:00:00.035) 0:01:46.817 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_a6k0cdxq.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:44:49 -0400 (0:00:00.333) 0:01:47.151 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:44:49 -0400 (0:00:00.036) 0:01:47.187 ******** ok: [managed_node1] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_a6k0cdxq.sql", "gid": 0, "group": "root", "md5sum": "efa1eaf69cd98e51d145221d3699a214", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3106, "src": "/root/.ansible/tmp/ansible-tmp-1722933889.9270804-12109-21940500542613/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:44:50 -0400 (0:00:00.644) 0:01:47.832 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:44:52 -0400 (0:00:02.419) 0:01:50.251 ******** ok: [managed_node1] => (item=/tmp/configure_endpoint.j2_a6k0cdxq.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_a6k0cdxq.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Endpoint Example_Endpoint does not exist, creating', 'Endpoint Example_Endpoint created successfully']) => { "__mssql_sqlcmd_loop": [ "Endpoint Example_Endpoint does not exist, creating", "Endpoint Example_Endpoint created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:44:53 -0400 (0:00:00.069) 0:01:50.321 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:44:53 -0400 (0:00:00.034) 0:01:50.356 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 04:44:53 -0400 (0:00:00.036) 0:01:50.392 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_prep_for_pacemaker | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 04:44:53 -0400 (0:00:00.076) 0:01:50.468 ******** ok: [managed_node1] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/ExampleCert.cer'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "9a2e4b848313fdab12819f8a39945cd56aeb0c2b", "dest": "/tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/cert", "item": { "key": "cert", "value": "/var/opt/mssql/data/ExampleCert.cer" }, "md5sum": "0e9d6feae92d9b776d12208d7b9898ab", "remote_checksum": "9a2e4b848313fdab12819f8a39945cd56aeb0c2b", "remote_md5sum": null } ok: [managed_node1] => (item={'key': 'key', 'value': '/var/opt/mssql/data/ExampleCert.pvk'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "a07888917eca9884791aff079724e22c9d9fa994", "dest": "/tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/key", "item": { "key": "key", "value": "/var/opt/mssql/data/ExampleCert.pvk" }, "md5sum": "da4a1dbd6d0cf667fa4d72681225df59", "remote_checksum": "a07888917eca9884791aff079724e22c9d9fa994", "remote_md5sum": null } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 04:44:53 -0400 (0:00:00.723) 0:01:51.191 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:44:53 -0400 (0:00:00.060) 0:01:51.252 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:44:53 -0400 (0:00:00.037) 0:01:51.289 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:44:54 -0400 (0:00:00.041) 0:01:51.331 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:44:39 EDT", "ActiveEnterTimestampMonotonic": "1215071642", "ActiveExitTimestamp": "Tue 2024-08-06 04:44:38 EDT", "ActiveExitTimestampMonotonic": "1214876840", "ActiveState": "active", "After": "network.target -.mount system.slice sysinit.target systemd-journald.socket auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:44:39 EDT", "AssertTimestampMonotonic": "1215070497", "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": "no", "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": "Tue 2024-08-06 04:44:39 EDT", "ConditionTimestampMonotonic": "1215070496", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "47388", "ExecMainStartTimestamp": "Tue 2024-08-06 04:44:39 EDT", "ExecMainStartTimestampMonotonic": "1215071580", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:44:39 EDT] ; stop_time=[n/a] ; pid=47388 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:44:39 EDT", "InactiveEnterTimestampMonotonic": "1215069538", "InactiveExitTimestamp": "Tue 2024-08-06 04:44:39 EDT", "InactiveExitTimestampMonotonic": "1215071642", "InvocationID": "97ed1ae96bb74b8ab65d9d33f04e9492", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47388", "MemoryAccounting": "yes", "MemoryCurrent": "705126400", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:44:39 EDT", "StateChangeTimestampMonotonic": "1215071642", "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": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:44:39 EDT", "WatchdogTimestampMonotonic": "1215071640", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:44:54 -0400 (0:00:00.477) 0:01:51.808 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 19067, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:44:55 -0400 (0:00:01.338) 0:01:53.147 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:44:55 -0400 (0:00:00.036) 0:01:53.183 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=ha_is_primary.sql) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:44:55 -0400 (0:00:00.065) 0:01:53.248 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ha_is_primary.sql_4j1ys3rz.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:44:56 -0400 (0:00:00.332) 0:01:53.581 ******** ok: [managed_node1] => { "changed": false, "checksum": "23665eada2d9e2de69ca8f560afa21cba1da5eb4", "dest": "/tmp/ha_is_primary.sql_4j1ys3rz.sql", "gid": 0, "group": "root", "md5sum": "49a2dd5235418003e591ca627cd70e57", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 264, "src": "/root/.ansible/tmp/ansible-tmp-1722933896.3198466-12184-255199359020921/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:44:56 -0400 (0:00:00.624) 0:01:54.205 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:44:56 -0400 (0:00:00.035) 0:01:54.240 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:44:57 -0400 (0:00:00.397) 0:01:54.637 ******** ok: [managed_node1] => (item=/tmp/ha_is_primary.sql_4j1ys3rz.sql) => { "__mssql_sqlcmd_loop": "/tmp/ha_is_primary.sql_4j1ys3rz.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['0']) => { "__mssql_sqlcmd_loop": [ "0" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:44:57 -0400 (0:00:00.060) 0:01:54.698 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:44:57 -0400 (0:00:00.033) 0:01:54.732 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 04:44:57 -0400 (0:00:00.068) 0:01:54.801 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_ha_is_primary": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 04:44:57 -0400 (0:00:00.064) 0:01:54.865 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:44:57 -0400 (0:00:00.067) 0:01:54.932 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:44:57 -0400 (0:00:00.035) 0:01:54.968 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:44:57 -0400 (0:00:00.038) 0:01:55.007 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:44:39 EDT", "ActiveEnterTimestampMonotonic": "1215071642", "ActiveExitTimestamp": "Tue 2024-08-06 04:44:38 EDT", "ActiveExitTimestampMonotonic": "1214876840", "ActiveState": "active", "After": "network.target -.mount system.slice sysinit.target systemd-journald.socket auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:44:39 EDT", "AssertTimestampMonotonic": "1215070497", "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": "no", "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": "Tue 2024-08-06 04:44:39 EDT", "ConditionTimestampMonotonic": "1215070496", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "47388", "ExecMainStartTimestamp": "Tue 2024-08-06 04:44:39 EDT", "ExecMainStartTimestampMonotonic": "1215071580", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:44:39 EDT] ; stop_time=[n/a] ; pid=47388 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:44:39 EDT", "InactiveEnterTimestampMonotonic": "1215069538", "InactiveExitTimestamp": "Tue 2024-08-06 04:44:39 EDT", "InactiveExitTimestampMonotonic": "1215071642", "InvocationID": "97ed1ae96bb74b8ab65d9d33f04e9492", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47388", "MemoryAccounting": "yes", "MemoryCurrent": "715706368", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:44:39 EDT", "StateChangeTimestampMonotonic": "1215071642", "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": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:44:39 EDT", "WatchdogTimestampMonotonic": "1215071640", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:44:58 -0400 (0:00:00.471) 0:01:55.478 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 19067, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:44:59 -0400 (0:00:01.338) 0:01:56.817 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:44:59 -0400 (0:00:00.036) 0:01:56.853 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_ag.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:44:59 -0400 (0:00:00.064) 0:01:56.917 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_7xgzor8o.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:44:59 -0400 (0:00:00.330) 0:01:57.248 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:44:59 -0400 (0:00:00.034) 0:01:57.283 ******** ok: [managed_node1] => { "changed": false, "checksum": "b05e8d0e1fb6e8ac9be8de39e3a75cc453f33e6a", "dest": "/tmp/configure_ag.j2_7xgzor8o.sql", "gid": 0, "group": "root", "md5sum": "d3a9c5660a31d7f05401f2eda8afd11f", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 10931, "src": "/root/.ansible/tmp/ansible-tmp-1722933900.0229528-12242-184159977200203/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:45:02 -0400 (0:00:02.506) 0:01:59.790 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:45:03 -0400 (0:00:00.540) 0:02:00.330 ******** ok: [managed_node1] => (item=/tmp/configure_ag.j2_7xgzor8o.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_7xgzor8o.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Creating the ExampleAG availability group', 'The ExampleAG availability group created successfully', 'Granted the CREATE ANY DATABASE permission to the ExampleAG availability group']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleAG availability group", "The ExampleAG availability group created successfully", "Granted the CREATE ANY DATABASE permission to the ExampleAG availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:45:03 -0400 (0:00:00.062) 0:02:00.392 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:45:03 -0400 (0:00:00.032) 0:02:00.425 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 04:45:03 -0400 (0:00:00.069) 0:02:00.494 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_prep_for_pacemaker | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 04:45:03 -0400 (0:00:00.041) 0:02:00.536 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:45:03 -0400 (0:00:00.068) 0:02:00.604 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:45:03 -0400 (0:00:00.036) 0:02:00.641 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:45:03 -0400 (0:00:00.038) 0:02:00.679 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:44:39 EDT", "ActiveEnterTimestampMonotonic": "1215071642", "ActiveExitTimestamp": "Tue 2024-08-06 04:44:38 EDT", "ActiveExitTimestampMonotonic": "1214876840", "ActiveState": "active", "After": "network.target -.mount system.slice sysinit.target systemd-journald.socket auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:44:39 EDT", "AssertTimestampMonotonic": "1215070497", "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": "no", "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": "Tue 2024-08-06 04:44:39 EDT", "ConditionTimestampMonotonic": "1215070496", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "47388", "ExecMainStartTimestamp": "Tue 2024-08-06 04:44:39 EDT", "ExecMainStartTimestampMonotonic": "1215071580", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:44:39 EDT] ; stop_time=[n/a] ; pid=47388 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:44:39 EDT", "InactiveEnterTimestampMonotonic": "1215069538", "InactiveExitTimestamp": "Tue 2024-08-06 04:44:39 EDT", "InactiveExitTimestampMonotonic": "1215071642", "InvocationID": "97ed1ae96bb74b8ab65d9d33f04e9492", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47388", "MemoryAccounting": "yes", "MemoryCurrent": "721223680", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:44:39 EDT", "StateChangeTimestampMonotonic": "1215071642", "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": "152", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:44:39 EDT", "WatchdogTimestampMonotonic": "1215071640", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:45:03 -0400 (0:00:00.472) 0:02:01.152 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 20657, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:45:05 -0400 (0:00:01.352) 0:02:02.504 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:45:05 -0400 (0:00:00.035) 0:02:02.540 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=replicate_db.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:45:05 -0400 (0:00:00.064) 0:02:02.604 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/replicate_db.j2_w9i6qial.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:45:05 -0400 (0:00:00.330) 0:02:02.934 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:45:05 -0400 (0:00:00.034) 0:02:02.968 ******** ok: [managed_node1] => { "changed": false, "checksum": "31f3afd712f14ebd9937c978467b374db210c0f8", "dest": "/tmp/replicate_db.j2_w9i6qial.sql", "gid": 0, "group": "root", "md5sum": "3b3910ed4e8e48eee5b879dfaa2b1877", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4750, "src": "/root/.ansible/tmp/ansible-tmp-1722933905.706793-12299-49284735261761/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:45:06 -0400 (0:00:00.630) 0:02:03.599 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.855) 0:02:04.454 ******** ok: [managed_node1] => (item=/tmp/replicate_db.j2_w9i6qial.sql) => { "__mssql_sqlcmd_loop": "/tmp/replicate_db.j2_w9i6qial.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['RECOVERY FULL on the ExampleDB1 database is set, skipping', 'Backing up the ExampleDB1 database to /var/opt/mssql/data/ExampleDB1', "Processed 392 pages for database 'ExampleDB1', file 'ExampleDB1' on file 1.", "Processed 1 pages for database 'ExampleDB1', file 'ExampleDB1_log' on file 1.", 'BACKUP DATABASE successfully processed 393 pages in 0.095 seconds (32.252 MB/sec).', 'The ExampleDB1 database backed up successfully', 'Adding the ExampleDB1 database to the ExampleAG availability group', 'The ExampleDB1 database added to the ExampleAG availability group successfully', 'RECOVERY FULL on the ExampleDB2 database is set, skipping', 'Backing up the ExampleDB2 database to /var/opt/mssql/data/ExampleDB2', "Processed 392 pages for database 'ExampleDB2', file 'ExampleDB2' on file 1.", "Processed 1 pages for database 'ExampleDB2', file 'ExampleDB2_log' on file 1.", 'BACKUP DATABASE successfully processed 393 pages in 0.103 seconds (29.747 MB/sec).', 'The ExampleDB2 database backed up successfully', 'Adding the ExampleDB2 database to the ExampleAG availability group', 'The ExampleDB2 database added to the ExampleAG availability group successfully']) => { "__mssql_sqlcmd_loop": [ "RECOVERY FULL on the ExampleDB1 database is set, skipping", "Backing up the ExampleDB1 database to /var/opt/mssql/data/ExampleDB1", "Processed 392 pages for database 'ExampleDB1', file 'ExampleDB1' on file 1.", "Processed 1 pages for database 'ExampleDB1', file 'ExampleDB1_log' on file 1.", "BACKUP DATABASE successfully processed 393 pages in 0.095 seconds (32.252 MB/sec).", "The ExampleDB1 database backed up successfully", "Adding the ExampleDB1 database to the ExampleAG availability group", "The ExampleDB1 database added to the ExampleAG availability group successfully", "RECOVERY FULL on the ExampleDB2 database is set, skipping", "Backing up the ExampleDB2 database to /var/opt/mssql/data/ExampleDB2", "Processed 392 pages for database 'ExampleDB2', file 'ExampleDB2' on file 1.", "Processed 1 pages for database 'ExampleDB2', file 'ExampleDB2_log' on file 1.", "BACKUP DATABASE successfully processed 393 pages in 0.103 seconds (29.747 MB/sec).", "The ExampleDB2 database backed up successfully", "Adding the ExampleDB2 database to the ExampleAG availability group", "The ExampleDB2 database added to the ExampleAG availability group successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.061) 0:02:04.516 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.069) 0:02:04.586 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.035) 0:02:04.621 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __mssql_ha_is_primary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.032) 0:02:04.654 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.033) 0:02:04.688 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.031) 0:02:04.719 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.032) 0:02:04.752 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.032) 0:02:04.785 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.031) 0:02:04.817 ******** skipping: [managed_node1] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/ExampleCert.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "item": { "key": "cert", "value": "/var/opt/mssql/data/ExampleCert.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'key', 'value': '/var/opt/mssql/data/ExampleCert.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "item": { "key": "key", "value": "/var/opt/mssql/data/ExampleCert.pvk" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.042) 0:02:04.859 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.032) 0:02:04.892 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.032) 0:02:04.925 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.032) 0:02:04.958 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.032) 0:02:04.991 ******** skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "item": "key", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.039) 0:02:05.030 ******** 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 [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.035) 0:02:05.066 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_prep_for_pacemaker | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.035) 0:02:05.101 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_prep_for_pacemaker | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group ExampleAG] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.034) 0:02:05.136 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_prep_for_pacemaker | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 04:45:07 -0400 (0:00:00.072) 0:02:05.208 ******** changed: [managed_node1] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Tuesday 06 August 2024 04:45:08 -0400 (0:00:00.513) 0:02:05.721 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 06 August 2024 04:45:08 -0400 (0:00:00.036) 0:02:05.758 ******** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:44:39 EDT", "ActiveEnterTimestampMonotonic": "1215071642", "ActiveExitTimestamp": "Tue 2024-08-06 04:44:38 EDT", "ActiveExitTimestampMonotonic": "1214876840", "ActiveState": "active", "After": "network.target -.mount system.slice sysinit.target systemd-journald.socket auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:44:39 EDT", "AssertTimestampMonotonic": "1215070497", "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": "no", "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": "Tue 2024-08-06 04:44:39 EDT", "ConditionTimestampMonotonic": "1215070496", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "47388", "ExecMainStartTimestamp": "Tue 2024-08-06 04:44:39 EDT", "ExecMainStartTimestampMonotonic": "1215071580", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:44:39 EDT] ; stop_time=[n/a] ; pid=47388 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:44:39 EDT", "InactiveEnterTimestampMonotonic": "1215069538", "InactiveExitTimestamp": "Tue 2024-08-06 04:44:39 EDT", "InactiveExitTimestampMonotonic": "1215071642", "InvocationID": "97ed1ae96bb74b8ab65d9d33f04e9492", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47388", "MemoryAccounting": "yes", "MemoryCurrent": "733372416", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:44:39 EDT", "StateChangeTimestampMonotonic": "1215071642", "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": "154", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:44:39 EDT", "WatchdogTimestampMonotonic": "1215071640", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 04:45:09 -0400 (0:00:00.691) 0:02:06.450 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 04:45:09 -0400 (0:00:00.031) 0:02:06.481 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Set up test environment for the ha_cluster role] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:175 Tuesday 06 August 2024 04:45:09 -0400 (0:00:00.050) 0:02:06.532 ******** TASK [fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Tuesday 06 August 2024 04:45:09 -0400 (0:00:00.182) 0:02:06.714 ******** ok: [managed_node1] => { "ansible_facts": { "inventory_hostname": "localhost" }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Ensure facts used by tests] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Tuesday 06 August 2024 04:45:09 -0400 (0:00:00.036) 0:02:06.751 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "'distribution' not in ansible_facts", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Check if system is ostree] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Tuesday 06 August 2024 04:45:09 -0400 (0:00:00.034) 0:02:06.786 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Tuesday 06 August 2024 04:45:09 -0400 (0:00:00.462) 0:02:07.249 ******** ok: [managed_node1] => { "ansible_facts": { "__ha_cluster_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 Tuesday 06 August 2024 04:45:09 -0400 (0:00:00.037) 0:02:07.286 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Copy nss-altfiles ha_cluster users to /etc/passwd] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.030) 0:02:07.316 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__ha_cluster_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Run on all hosts to configure HA cluster] ******************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:180 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.087) 0:02:07.404 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.308) 0:02:07.713 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.051) 0:02:07.765 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.040) 0:02:07.805 ******** ok: [managed_node1] => (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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (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" } ok: [managed_node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019, 2022 ] }, "ansible_included_var_files": [ "/tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.059) 0:02:07.864 ******** ok: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.033) 0:02:07.898 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.033) 0:02:07.932 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.032) 0:02:07.964 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.032) 0:02:07.997 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.031) 0:02:08.028 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.072) 0:02:08.101 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.035) 0:02:08.136 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.032) 0:02:08.168 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_cluster_run_role 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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.033) 0:02:08.202 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.033) 0:02:08.235 ******** ok: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 04:45:10 -0400 (0:00:00.037) 0:02:08.273 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_version is version('8', '<')", "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 04:45:11 -0400 (0:00:00.034) 0:02:08.308 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 04:45:11 -0400 (0:00:00.039) 0:02:08.347 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 04:45:11 -0400 (0:00:00.062) 0:02:08.409 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 04:45:11 -0400 (0:00:00.034) 0:02:08.444 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(mssql_manage_selinux | bool) or (mssql_run_selinux_confined | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 04:45:11 -0400 (0:00:00.032) 0:02:08.476 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 04:45:11 -0400 (0:00:00.031) 0:02:08.507 ******** 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.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 04:45:14 -0400 (0:00:03.720) 0:02:12.228 ******** skipping: [managed_node1] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int == item.value", "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={'key': 2022, 'value': 16}) => { "ansible_facts": { "__mssql_current_version": "2022" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 } } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 04:45:15 -0400 (0:00:00.087) 0:02:12.315 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 04:45:15 -0400 (0:00:00.081) 0:02:12.397 ******** ok: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 04:45:15 -0400 (0:00:00.042) 0:02:12.439 ******** skipping: [managed_node1] => (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_node1] => (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_node1] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ansible_facts.packages[\"mssql-server\"][0][\"version\"].split(\".\") | first | int > item.value", "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 04:45:15 -0400 (0:00:00.062) 0:02:12.502 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 04:45:15 -0400 (0:00:00.556) 0:02:13.059 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 04:45:15 -0400 (0:00:00.035) 0:02:13.095 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_upgrade | bool", "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 04:45:15 -0400 (0:00:00.035) 0:02:13.131 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2022] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 04:45:15 -0400 (0:00:00.037) 0:02:13.168 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 04:45:15 -0400 (0:00:00.036) 0:02:13.204 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_upgrade | bool", "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 04:45:15 -0400 (0:00:00.036) 0:02:13.241 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_upgrade | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 04:45:15 -0400 (0:00:00.037) 0:02:13.278 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_server_packages not in ansible_facts.packages) or (mssql_upgrade | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2022] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 04:45:16 -0400 (0:00:00.042) 0:02:13.320 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 04:45:16 -0400 (0:00:00.032) 0:02:13.353 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 04:45:18 -0400 (0:00:02.745) 0:02:16.098 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 04:45:21 -0400 (0:00:02.742) 0:02:18.840 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 04:45:21 -0400 (0:00:00.032) 0:02:18.873 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005095", "end": "2024-08-06 04:45:21.845368", "rc": 0, "start": "2024-08-06 04:45:21.840273" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 04:45:21 -0400 (0:00:00.339) 0:02:19.213 ******** 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.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 04:45:23 -0400 (0:00:01.489) 0:02:20.703 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 04:45:23 -0400 (0:00:00.047) 0:02:20.750 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __mssql_is_setup", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 04:45:23 -0400 (0:00:00.032) 0:02:20.782 ******** 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.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 04:45:23 -0400 (0:00:00.033) 0:02:20.816 ******** skipping: [managed_node1] => (item={'path': None, 'mode': '755', 'setting': 'defaultdatadir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'path': None, 'mode': '755', 'setting': 'defaultlogdir'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is not none", "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 04:45:23 -0400 (0:00:00.041) 0:02:20.857 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 04:45:23 -0400 (0:00:00.032) 0:02:20.890 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 04:45:23 -0400 (0:00:00.033) 0:02:20.924 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 04:45:26 -0400 (0:00:02.744) 0:02:23.668 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:25:11 EDT", "ActiveEnterTimestampMonotonic": "48080519", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target sysinit.target dbus.socket dbus.service systemd-journald.socket systemd-sysctl.service polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:25:09 EDT", "AssertTimestampMonotonic": "46400977", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "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": "no", "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": "Tue 2024-08-06 04:25:09 EDT", "ConditionTimestampMonotonic": "46400976", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service cpupower.service shutdown.target tlp.service auto-cpufreq.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "663", "ExecMainStartTimestamp": "Tue 2024-08-06 04:25:09 EDT", "ExecMainStartTimestampMonotonic": "46401783", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; 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/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:25:09 EDT", "InactiveExitTimestampMonotonic": "46401829", "InvocationID": "d522b1128d41445e8ae2dfbd8d054793", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "663", "MemoryAccounting": "yes", "MemoryCurrent": "18571264", "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": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "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": "dbus.service system.slice dbus.socket 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": "Tue 2024-08-06 04:25:11 EDT", "StateChangeTimestampMonotonic": "48080519", "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": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:25:11 EDT", "WatchdogTimestampMonotonic": "48080515", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 04:45:26 -0400 (0:00:00.476) 0:02:24.144 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.101846", "end": "2024-08-06 04:45:27.209728", "rc": 0, "start": "2024-08-06 04:45:27.107882" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 04:45:27 -0400 (0:00:00.433) 0:02:24.577 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 04:45:27 -0400 (0:00:00.035) 0:02:24.613 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 04:45:27 -0400 (0:00:00.033) 0:02:24.646 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "\"mssql\" not in __mssql_tuned_active_profiles.stdout", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 04:45:27 -0400 (0:00:00.034) 0:02:24.680 ******** ok: [managed_node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 04:45:27 -0400 (0:00:00.340) 0:02:25.021 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_pkg_mgr == \"zypper\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 04:45:27 -0400 (0:00:00.032) 0:02:25.053 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 04:45:30 -0400 (0:00:02.738) 0:02:27.791 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 04:45:30 -0400 (0:00:00.101) 0:02:27.893 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:45:09 EDT", "ActiveEnterTimestampMonotonic": "1244935582", "ActiveExitTimestamp": "Tue 2024-08-06 04:45:08 EDT", "ActiveExitTimestampMonotonic": "1244748292", "ActiveState": "active", "After": "network.target -.mount system.slice sysinit.target systemd-journald.socket auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:45:09 EDT", "AssertTimestampMonotonic": "1244934497", "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": "no", "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": "Tue 2024-08-06 04:45:09 EDT", "ConditionTimestampMonotonic": "1244934495", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "52463", "ExecMainStartTimestamp": "Tue 2024-08-06 04:45:09 EDT", "ExecMainStartTimestampMonotonic": "1244935529", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:45:09 EDT] ; stop_time=[n/a] ; pid=52463 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:45:09 EDT", "InactiveEnterTimestampMonotonic": "1244933350", "InactiveExitTimestamp": "Tue 2024-08-06 04:45:09 EDT", "InactiveExitTimestampMonotonic": "1244935582", "InvocationID": "d817cbc88a1e4cd4bc098a164bfb30f5", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52463", "MemoryAccounting": "yes", "MemoryCurrent": "712249344", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:45:09 EDT", "StateChangeTimestampMonotonic": "1244935582", "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": "158", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:45:09 EDT", "WatchdogTimestampMonotonic": "1244935580", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 04:45:31 -0400 (0:00:00.474) 0:02:28.368 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002707", "end": "2024-08-06 04:45:31.337584", "failed_when_result": false, "rc": 1, "start": "2024-08-06 04:45:31.334877" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 04:45:31 -0400 (0:00:00.335) 0:02:28.703 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002603", "end": "2024-08-06 04:45:31.674006", "failed_when_result": false, "rc": 1, "start": "2024-08-06 04:45:31.671403" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 04:45:31 -0400 (0:00:00.335) 0:02:29.039 ******** 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.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 04:45:31 -0400 (0:00:00.072) 0:02:29.112 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 21808, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 04:45:33 -0400 (0:00:01.339) 0:02:30.452 ******** ok: [managed_node1] => { "attempts": 1, "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 : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 04:45:33 -0400 (0:00:00.366) 0:02:30.818 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_password_query is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 04:45:33 -0400 (0:00:00.036) 0:02:30.855 ******** 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.mssql : Change the password of sa user] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 04:45:34 -0400 (0:00:01.419) 0:02:32.274 ******** 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.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 04:45:35 -0400 (0:00:00.037) 0:02:32.311 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:45:35 -0400 (0:00:00.057) 0:02:32.369 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:45:35 -0400 (0:00:00.036) 0:02:32.405 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:45:35 -0400 (0:00:00.081) 0:02:32.487 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:45:09 EDT", "ActiveEnterTimestampMonotonic": "1244935582", "ActiveExitTimestamp": "Tue 2024-08-06 04:45:08 EDT", "ActiveExitTimestampMonotonic": "1244748292", "ActiveState": "active", "After": "network.target -.mount system.slice sysinit.target systemd-journald.socket auditd.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:45:09 EDT", "AssertTimestampMonotonic": "1244934497", "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": "no", "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": "Tue 2024-08-06 04:45:09 EDT", "ConditionTimestampMonotonic": "1244934495", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "52463", "ExecMainStartTimestamp": "Tue 2024-08-06 04:45:09 EDT", "ExecMainStartTimestampMonotonic": "1244935529", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:45:09 EDT] ; stop_time=[n/a] ; pid=52463 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:45:09 EDT", "InactiveEnterTimestampMonotonic": "1244933350", "InactiveExitTimestamp": "Tue 2024-08-06 04:45:09 EDT", "InactiveExitTimestampMonotonic": "1244935582", "InvocationID": "d817cbc88a1e4cd4bc098a164bfb30f5", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52463", "MemoryAccounting": "yes", "MemoryCurrent": "715276288", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:45:09 EDT", "StateChangeTimestampMonotonic": "1244935582", "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": "158", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:45:09 EDT", "WatchdogTimestampMonotonic": "1244935580", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:45:35 -0400 (0:00:00.471) 0:02:32.958 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 21808, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:45:36 -0400 (0:00:01.334) 0:02:34.293 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:45:37 -0400 (0:00:00.036) 0:02:34.329 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_ExampleDB1.sql) included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_ExampleDB2.sql) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:45:37 -0400 (0:00:00.078) 0:02:34.408 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB1.sql_kcqnyzyn.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:45:37 -0400 (0:00:00.336) 0:02:34.745 ******** ok: [managed_node1] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_ExampleDB1.sql_kcqnyzyn.sql", "gid": 0, "group": "root", "md5sum": "7c0c7d727a2dd24b642249e3f26f11cb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 891, "src": "/root/.ansible/tmp/ansible-tmp-1722933937.4841166-12586-164315022422268/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:45:38 -0400 (0:00:00.633) 0:02:35.379 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:45:38 -0400 (0:00:00.034) 0:02:35.413 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:45:38 -0400 (0:00:00.404) 0:02:35.818 ******** ok: [managed_node1] => (item=/tmp/create_ExampleDB1.sql_kcqnyzyn.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB1.sql_kcqnyzyn.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['The ExampleDB1 database already exists, skipping', "Changed database context to 'ExampleDB1'.", 'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The ExampleDB1 database already exists, skipping", "Changed database context to 'ExampleDB1'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_ExampleDB1.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:45:38 -0400 (0:00:00.060) 0:02:35.878 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:45:38 -0400 (0:00:00.033) 0:02:35.912 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ExampleDB2.sql_q_6yl7e1.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:45:38 -0400 (0:00:00.330) 0:02:36.243 ******** ok: [managed_node1] => { "changed": false, "checksum": "5624bc46f989692960b2c67c7923fbbe7db78185", "dest": "/tmp/create_ExampleDB2.sql_q_6yl7e1.sql", "gid": 0, "group": "root", "md5sum": "de127d6c531edb5cab22ff2b9da3a57c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 901, "src": "/root/.ansible/tmp/ansible-tmp-1722933938.981518-12620-155786794810656/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:45:39 -0400 (0:00:00.623) 0:02:36.867 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:45:39 -0400 (0:00:00.033) 0:02:36.901 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:45:39 -0400 (0:00:00.390) 0:02:37.292 ******** ok: [managed_node1] => (item=/tmp/create_ExampleDB2.sql_q_6yl7e1.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ExampleDB2.sql_q_6yl7e1.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['The ExampleDB2 database already exists, skipping', "Changed database context to 'ExampleDB2'.", 'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The ExampleDB2 database already exists, skipping", "Changed database context to 'ExampleDB2'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_ExampleDB2.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:45:40 -0400 (0:00:00.102) 0:02:37.394 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:45:40 -0400 (0:00:00.034) 0:02:37.429 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 04:45:40 -0400 (0:00:00.035) 0:02:37.464 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_pre_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 04:45:40 -0400 (0:00:00.033) 0:02:37.497 ******** ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004345", "end": "2024-08-06 04:45:40.472344", "rc": 0, "start": "2024-08-06 04:45:40.467999" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 04:45:40 -0400 (0:00:00.340) 0:02:37.837 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __mssql_edition_matches.stdout | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 04:45:40 -0400 (0:00:00.037) 0:02:37.875 ******** 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.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 04:45:41 -0400 (0:00:01.407) 0:02:39.282 ******** 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.mssql : Configure the IP address setting] ****** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 04:45:42 -0400 (0:00:00.037) 0:02:39.320 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ip_address is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 04:45:42 -0400 (0:00:00.034) 0:02:39.354 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002707", "end": "2024-08-06 04:45:42.323277", "failed_when_result": false, "rc": 1, "start": "2024-08-06 04:45:42.320570" } MSG: non-zero return code TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 04:45:42 -0400 (0:00:00.334) 0:02:39.689 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 06 August 2024 04:45:42 -0400 (0:00:00.077) 0:02:39.767 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed_node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 06 August 2024 04:45:42 -0400 (0:00:00.061) 0:02:39.828 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 06 August 2024 04:45:42 -0400 (0:00:00.084) 0:02:39.912 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 06 August 2024 04:45:42 -0400 (0:00:00.035) 0:02:39.948 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 06 August 2024 04:45:42 -0400 (0:00:00.033) 0:02:39.982 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 06 August 2024 04:45:42 -0400 (0:00:00.034) 0:02:40.016 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 06 August 2024 04:45:42 -0400 (0:00:00.034) 0:02:40.051 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 06 August 2024 04:45:45 -0400 (0:00:02.752) 0:02:42.803 ******** skipping: [managed_node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 06 August 2024 04:45:45 -0400 (0:00:00.035) 0:02:42.839 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 06 August 2024 04:45:45 -0400 (0:00:00.035) 0:02:42.874 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 06 August 2024 04:45:45 -0400 (0:00:00.033) 0:02:42.908 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 06 August 2024 04:45:45 -0400 (0:00:00.033) 0:02:42.941 ******** skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 06 August 2024 04:45:45 -0400 (0:00:00.041) 0:02:42.983 ******** ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ActiveEnterTimestampMonotonic": "737738377", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service basic.target dbus.socket polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:36:41 EDT", "AssertTimestampMonotonic": "737021450", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "Tue 2024-08-06 04:36:41 EDT", "ConditionTimestampMonotonic": "737021449", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service nftables.service ebtables.service ipset.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "19125", "ExecMainStartTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ExecMainStartTimestampMonotonic": "737023360", "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/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:36:41 EDT", "InactiveExitTimestampMonotonic": "737023403", "InvocationID": "0a7baf39611441d192208ba21156b270", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19125", "MemoryAccounting": "yes", "MemoryCurrent": "44503040", "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": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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": "dbus.socket 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:36:41 EDT", "StateChangeTimestampMonotonic": "737738377", "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": "3", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 04:36:41 EDT", "WatchdogTimestampMonotonic": "737738374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 06 August 2024 04:45:46 -0400 (0:00:00.482) 0:02:43.465 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ActiveEnterTimestampMonotonic": "737738377", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service basic.target dbus.socket polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:36:41 EDT", "AssertTimestampMonotonic": "737021450", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "Tue 2024-08-06 04:36:41 EDT", "ConditionTimestampMonotonic": "737021449", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service nftables.service ebtables.service ipset.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "19125", "ExecMainStartTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ExecMainStartTimestampMonotonic": "737023360", "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/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:36:41 EDT", "InactiveExitTimestampMonotonic": "737023403", "InvocationID": "0a7baf39611441d192208ba21156b270", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19125", "MemoryAccounting": "yes", "MemoryCurrent": "44503040", "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": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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": "dbus.socket 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:36:41 EDT", "StateChangeTimestampMonotonic": "737738377", "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": "3", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 04:36:41 EDT", "WatchdogTimestampMonotonic": "737738374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 06 August 2024 04:45:46 -0400 (0:00:00.477) 0:02:43.943 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 06 August 2024 04:45:46 -0400 (0:00:00.046) 0:02:43.989 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 06 August 2024 04:45:46 -0400 (0:00:00.032) 0:02:44.021 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 06 August 2024 04:45:46 -0400 (0:00:00.032) 0:02:44.054 ******** ok: [managed_node1] => (item={'port': '1433/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "port": "1433/tcp", "runtime": true, "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 06 August 2024 04:45:47 -0400 (0:00:00.578) 0:02:44.633 ******** skipping: [managed_node1] => (item={'port': '1433/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "'detailed' in fw[0]", "item": { "permanent": true, "port": "1433/tcp", "runtime": true, "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 06 August 2024 04:45:47 -0400 (0:00:00.050) 0:02:44.683 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "'detailed' in fw[0]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 06 August 2024 04:45:47 -0400 (0:00:00.041) 0:02:44.725 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 06 August 2024 04:45:47 -0400 (0:00:00.036) 0:02:44.761 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 06 August 2024 04:45:47 -0400 (0:00:00.035) 0:02:44.797 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 06 August 2024 04:45:47 -0400 (0:00:00.033) 0:02:44.831 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 06 August 2024 04:45:47 -0400 (0:00:00.033) 0:02:44.864 ******** skipping: [managed_node1] => { "false_condition": "__firewall_previous_replaced | bool" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 04:45:47 -0400 (0:00:00.053) 0:02:44.917 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 04:45:47 -0400 (0:00:00.065) 0:02:44.983 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002734", "end": "2024-08-06 04:45:47.951674", "failed_when_result": false, "rc": 1, "start": "2024-08-06 04:45:47.948940" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.335) 0:02:45.318 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.109645", "end": "2024-08-06 04:45:48.403588", "failed_when_result": false, "rc": 0, "start": "2024-08-06 04:45:48.293943" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.457) 0:02:45.776 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.032) 0:02:45.808 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__tcpport | int != mssql_tcp_port | int", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.037) 0:02:45.845 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_enable_sql_agent is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.034) 0:02:45.880 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_install_fts is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.033) 0:02:45.913 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_install_powershell is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.075) 0:02:45.989 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.035) 0:02:46.025 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.033) 0:02:46.058 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.034) 0:02:46.093 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.035) 0:02:46.128 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tune_for_fua_storage is not none", "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.034) 0:02:46.162 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.034) 0:02:46.197 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.034) 0:02:46.231 ******** skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_tls_enable is not none", "item": null, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 04:45:48 -0400 (0:00:00.038) 0:02:46.270 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.034) 0:02:46.304 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.033) 0:02:46.338 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.033) 0:02:46.371 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_tls_enable is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.033) 0:02:46.405 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.033) 0:02:46.439 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.031) 0:02:46.471 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.032) 0:02:46.503 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.036) 0:02:46.540 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.078) 0:02:46.619 ******** 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.mssql : Check if AD user exists] *************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.035) 0:02:46.654 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.033) 0:02:46.688 ******** 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.mssql : Get SPNs for the principal] ************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.033) 0:02:46.722 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.034) 0:02:46.756 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.032) 0:02:46.788 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.033) 0:02:46.821 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.033) 0:02:46.854 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.032) 0:02:46.886 ******** 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.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.032) 0:02:46.919 ******** 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.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.032) 0:02:46.952 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.031) 0:02:46.984 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.032) 0:02:47.016 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.032) 0:02:47.049 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ad_configure | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.031) 0:02:47.080 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.066) 0:02:47.146 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 06 August 2024 04:45:49 -0400 (0:00:00.116) 0:02:47.263 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed_node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 06 August 2024 04:45:50 -0400 (0:00:00.064) 0:02:47.328 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 06 August 2024 04:45:50 -0400 (0:00:00.043) 0:02:47.371 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 06 August 2024 04:45:50 -0400 (0:00:00.034) 0:02:47.406 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 06 August 2024 04:45:50 -0400 (0:00:00.035) 0:02:47.442 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 06 August 2024 04:45:50 -0400 (0:00:00.035) 0:02:47.477 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 06 August 2024 04:45:50 -0400 (0:00:00.034) 0:02:47.512 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 06 August 2024 04:45:52 -0400 (0:00:02.750) 0:02:50.262 ******** skipping: [managed_node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 06 August 2024 04:45:52 -0400 (0:00:00.037) 0:02:50.300 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 06 August 2024 04:45:53 -0400 (0:00:00.036) 0:02:50.336 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 06 August 2024 04:45:53 -0400 (0:00:00.038) 0:02:50.374 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 06 August 2024 04:45:53 -0400 (0:00:00.038) 0:02:50.412 ******** skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 06 August 2024 04:45:53 -0400 (0:00:00.045) 0:02:50.458 ******** ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ActiveEnterTimestampMonotonic": "737738377", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service basic.target dbus.socket polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:36:41 EDT", "AssertTimestampMonotonic": "737021450", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "Tue 2024-08-06 04:36:41 EDT", "ConditionTimestampMonotonic": "737021449", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service nftables.service ebtables.service ipset.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "19125", "ExecMainStartTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ExecMainStartTimestampMonotonic": "737023360", "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/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:36:41 EDT", "InactiveExitTimestampMonotonic": "737023403", "InvocationID": "0a7baf39611441d192208ba21156b270", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19125", "MemoryAccounting": "yes", "MemoryCurrent": "44515328", "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": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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": "dbus.socket 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:36:41 EDT", "StateChangeTimestampMonotonic": "737738377", "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": "3", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 04:36:41 EDT", "WatchdogTimestampMonotonic": "737738374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 06 August 2024 04:45:53 -0400 (0:00:00.483) 0:02:50.942 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ActiveEnterTimestampMonotonic": "737738377", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service basic.target dbus.socket polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:36:41 EDT", "AssertTimestampMonotonic": "737021450", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "Tue 2024-08-06 04:36:41 EDT", "ConditionTimestampMonotonic": "737021449", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service nftables.service ebtables.service ipset.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "19125", "ExecMainStartTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ExecMainStartTimestampMonotonic": "737023360", "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/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:36:41 EDT", "InactiveExitTimestampMonotonic": "737023403", "InvocationID": "0a7baf39611441d192208ba21156b270", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19125", "MemoryAccounting": "yes", "MemoryCurrent": "44515328", "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": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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": "dbus.socket 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:36:41 EDT", "StateChangeTimestampMonotonic": "737738377", "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": "3", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 04:36:41 EDT", "WatchdogTimestampMonotonic": "737738374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 06 August 2024 04:45:54 -0400 (0:00:00.526) 0:02:51.468 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 06 August 2024 04:45:54 -0400 (0:00:00.046) 0:02:51.515 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 06 August 2024 04:45:54 -0400 (0:00:00.035) 0:02:51.550 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 06 August 2024 04:45:54 -0400 (0:00:00.034) 0:02:51.585 ******** ok: [managed_node1] => (item={'port': '5022/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "port": "5022/tcp", "runtime": true, "state": "enabled" } } ok: [managed_node1] => (item={'service': 'high-availability', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "runtime": true, "service": "high-availability", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 06 August 2024 04:45:55 -0400 (0:00:01.046) 0:02:52.632 ******** skipping: [managed_node1] => (item={'port': '5022/tcp', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "permanent": true, "port": "5022/tcp", "runtime": true, "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'service': 'high-availability', 'state': 'enabled', 'permanent': True, 'runtime': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall | length == 1", "item": { "permanent": true, "runtime": true, "service": "high-availability", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 06 August 2024 04:45:55 -0400 (0:00:00.058) 0:02:52.691 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall | length == 1", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 06 August 2024 04:45:55 -0400 (0:00:00.038) 0:02:52.729 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 06 August 2024 04:45:55 -0400 (0:00:00.036) 0:02:52.766 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 06 August 2024 04:45:55 -0400 (0:00:00.037) 0:02:52.804 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 06 August 2024 04:45:55 -0400 (0:00:00.036) 0:02:52.840 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 06 August 2024 04:45:55 -0400 (0:00:00.034) 0:02:52.875 ******** skipping: [managed_node1] => { "false_condition": "__firewall_previous_replaced | bool" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 04:45:55 -0400 (0:00:00.055) 0:02:52.930 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_ha_availability_mode": "SYNCHRONOUS_COMMIT", "__mssql_ha_failover_mode": "EXTERNAL", "__mssql_ha_seeding_mode": "AUTOMATIC" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 04:45:55 -0400 (0:00:00.046) 0:02:52.977 ******** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: device-mapper-event-8:1.02.181-14.el8.x86_64", "Installed: cifs-utils-7.0-1.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-14.el8.x86_64", "Installed: resource-agents-4.9.0-54.el8.1.x86_64", "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-14.el8.x86_64", "Installed: samba-common-libs-4.19.4-4.el8.x86_64", "Installed: libwbclient-4.19.4-4.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: mssql-server-ha-16.0.4135.4-3.x86_64", "Installed: net-tools-2.0-0.52.20160912git.el8.x86_64", "Installed: lvm2-8:2.03.14-14.el8.x86_64", "Installed: samba-client-libs-4.19.4-4.el8.x86_64", "Installed: samba-common-4.19.4-4.el8.noarch" ] } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 04:46:05 -0400 (0:00:10.128) 0:03:03.106 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting hadr hadrenabled] ****** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 04:46:05 -0400 (0:00:00.061) 0:03:03.167 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^hadrenabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003312", "end": "2024-08-06 04:46:06.188165", "failed_when_result": false, "rc": 0, "start": "2024-08-06 04:46:06.184853" } STDOUT: hadrenabled = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting hadr hadrenabled] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 04:46:06 -0400 (0:00:00.437) 0:03:03.604 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_conf_setting_value != 'unset') and ((\"No setting for the given\" in __mssql_conf_get_setting.stdout) or ((__mssql_conf_setting_value | type_debug != \"bool\") and (__mssql_conf_setting_value | string | lower not in __mssql_conf_get_value | lower)) or ((__mssql_conf_setting_value | type_debug == \"bool\") and (__mssql_conf_setting_value != __mssql_conf_get_value | bool)))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting hadr hadrenabled] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 04:46:06 -0400 (0:00:00.046) 0:03:03.651 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_conf_setting_value == \"unset\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 04:46:06 -0400 (0:00:00.036) 0:03:03.687 ******** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:45:09 EDT", "ActiveEnterTimestampMonotonic": "1244935582", "ActiveExitTimestamp": "Tue 2024-08-06 04:45:08 EDT", "ActiveExitTimestampMonotonic": "1244748292", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:45:09 EDT", "AssertTimestampMonotonic": "1244934497", "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": "no", "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": "Tue 2024-08-06 04:45:09 EDT", "ConditionTimestampMonotonic": "1244934495", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "52463", "ExecMainStartTimestamp": "Tue 2024-08-06 04:45:09 EDT", "ExecMainStartTimestampMonotonic": "1244935529", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; 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/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:45:09 EDT", "InactiveEnterTimestampMonotonic": "1244933350", "InactiveExitTimestamp": "Tue 2024-08-06 04:45:09 EDT", "InactiveExitTimestampMonotonic": "1244935582", "InvocationID": "d817cbc88a1e4cd4bc098a164bfb30f5", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52463", "MemoryAccounting": "yes", "MemoryCurrent": "737648640", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:45:09 EDT", "StateChangeTimestampMonotonic": "1244935582", "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": "160", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:45:09 EDT", "WatchdogTimestampMonotonic": "1244935580", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 04:46:07 -0400 (0:00:00.792) 0:03:04.480 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_reset_cert | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 04:46:07 -0400 (0:00:00.037) 0:03:04.517 ******** skipping: [managed_node1] => (item=/var/opt/mssql/data/ExampleCert.cer) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_reset_cert | bool", "item": "/var/opt/mssql/data/ExampleCert.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/ExampleCert.pvk) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_reset_cert | bool", "item": "/var/opt/mssql/data/ExampleCert.pvk", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 04:46:07 -0400 (0:00:00.045) 0:03:04.562 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:46:07 -0400 (0:00:00.064) 0:03:04.627 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:46:07 -0400 (0:00:00.040) 0:03:04.667 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:46:07 -0400 (0:00:00.040) 0:03:04.708 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "154263552", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "44", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:46:08 -0400 (0:00:00.692) 0:03:05.400 ******** ok: [managed_node1] => { "changed": false, "elapsed": 5, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 21652, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:46:13 -0400 (0:00:05.514) 0:03:10.914 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:46:13 -0400 (0:00:00.038) 0:03:10.953 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_master_key_encryption.j2) included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_and_back_up_cert.j2) included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=enable_alwayson.j2) included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_endpoint.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:13 -0400 (0:00:00.108) 0:03:11.061 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_mznwn6gg.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:14 -0400 (0:00:00.333) 0:03:11.394 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:14 -0400 (0:00:00.081) 0:03:11.475 ******** ok: [managed_node1] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2_mznwn6gg.sql", "gid": 0, "group": "root", "md5sum": "65fb1fff4dc60651b5ec7369d1ebaa76", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 667, "src": "/root/.ansible/tmp/ansible-tmp-1722933974.2166064-12904-80237170927275/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:14 -0400 (0:00:00.635) 0:03:12.110 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:15 -0400 (0:00:00.390) 0:03:12.501 ******** ok: [managed_node1] => (item=/tmp/create_master_key_encryption.j2_mznwn6gg.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_mznwn6gg.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Master key already exists, verifying the provided password against the existing master key', 'The provided master key password is correct']) => { "__mssql_sqlcmd_loop": [ "Master key already exists, verifying the provided password against the existing master key", "The provided master key password is correct" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:15 -0400 (0:00:00.072) 0:03:12.574 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:15 -0400 (0:00:00.038) 0:03:12.612 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_xadh4p97.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:15 -0400 (0:00:00.333) 0:03:12.946 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:15 -0400 (0:00:00.038) 0:03:12.984 ******** ok: [managed_node1] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_xadh4p97.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1722933975.725893-12938-4714811208454/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:16 -0400 (0:00:00.638) 0:03:13.623 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:16 -0400 (0:00:00.400) 0:03:14.023 ******** ok: [managed_node1] => (item=/tmp/create_and_back_up_cert.j2_xadh4p97.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_xadh4p97.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate ExampleCert already exists, skipping', '/var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk already exist, skipping']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, skipping", "/var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk already exist, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:16 -0400 (0:00:00.072) 0:03:14.095 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:16 -0400 (0:00:00.038) 0:03:14.134 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2__3x212o8.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:17 -0400 (0:00:00.340) 0:03:14.474 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:17 -0400 (0:00:00.036) 0:03:14.511 ******** ok: [managed_node1] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2__3x212o8.sql", "gid": 0, "group": "root", "md5sum": "ad8bcae6278918460562bd8f6269b51f", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 410, "src": "/root/.ansible/tmp/ansible-tmp-1722933977.2509248-12972-129798108187893/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:17 -0400 (0:00:00.635) 0:03:15.147 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:18 -0400 (0:00:00.375) 0:03:15.522 ******** ok: [managed_node1] => (item=/tmp/enable_alwayson.j2__3x212o8.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2__3x212o8.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['AlwaysOn Health events already enabled, skipping']) => { "__mssql_sqlcmd_loop": [ "AlwaysOn Health events already enabled, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:18 -0400 (0:00:00.071) 0:03:15.593 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:18 -0400 (0:00:00.083) 0:03:15.677 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_crb58jvk.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:18 -0400 (0:00:00.333) 0:03:16.010 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:18 -0400 (0:00:00.038) 0:03:16.048 ******** ok: [managed_node1] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_crb58jvk.sql", "gid": 0, "group": "root", "md5sum": "efa1eaf69cd98e51d145221d3699a214", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3106, "src": "/root/.ansible/tmp/ansible-tmp-1722933978.7892172-13006-42770341487381/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:19 -0400 (0:00:00.638) 0:03:16.687 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:19 -0400 (0:00:00.400) 0:03:17.088 ******** ok: [managed_node1] => (item=/tmp/configure_endpoint.j2_crb58jvk.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_crb58jvk.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Verifying the existing endpoint Example_Endpoint', 'The LISTENER_PORT setting for the Example_Endpoint endpoint is already set to 5022, skipping', 'The ROLE setting for the Example_Endpoint endpoint is already set to ALL, skipping', 'The certificate for the Example_Endpoint endpoint is already set to ExampleCert, skipping', 'The ENCRYPTION setting for the Example_Endpoint endpoint is already set to AES, skipping', 'Endpoint Example_Endpoint is already started, skipping']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing endpoint Example_Endpoint", "The LISTENER_PORT setting for the Example_Endpoint endpoint is already set to 5022, skipping", "The ROLE setting for the Example_Endpoint endpoint is already set to ALL, skipping", "The certificate for the Example_Endpoint endpoint is already set to ExampleCert, skipping", "The ENCRYPTION setting for the Example_Endpoint endpoint is already set to AES, skipping", "Endpoint Example_Endpoint is already started, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:19 -0400 (0:00:00.072) 0:03:17.160 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:46:19 -0400 (0:00:00.037) 0:03:17.197 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 04:46:19 -0400 (0:00:00.036) 0:03:17.234 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:46:20 -0400 (0:00:00.070) 0:03:17.305 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:46:20 -0400 (0:00:00.038) 0:03:17.344 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:46:20 -0400 (0:00:00.041) 0:03:17.386 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "719478784", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "158", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:46:20 -0400 (0:00:00.476) 0:03:17.863 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 22163, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:46:21 -0400 (0:00:01.341) 0:03:19.205 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:46:21 -0400 (0:00:00.038) 0:03:19.243 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_ha_login.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:22 -0400 (0:00:00.070) 0:03:19.314 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ha_login.j2_8ydbpl22.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:22 -0400 (0:00:00.384) 0:03:19.699 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:22 -0400 (0:00:00.038) 0:03:19.738 ******** ok: [managed_node1] => { "changed": false, "checksum": "60abdf14dd202c9c8125f431a288b3d2e580542b", "dest": "/tmp/create_ha_login.j2_8ydbpl22.sql", "gid": 0, "group": "root", "md5sum": "2eb72acf6fedf6638e3a683504995557", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 681, "src": "/root/.ansible/tmp/ansible-tmp-1722933982.4793115-13062-230680847439347/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:23 -0400 (0:00:00.642) 0:03:20.380 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:23 -0400 (0:00:00.382) 0:03:20.762 ******** ok: [managed_node1] => (item=/tmp/create_ha_login.j2_8ydbpl22.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ha_login.j2_8ydbpl22.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=["Changed database context to 'master'.", 'A ExampleLogin login does not exist, creating', 'The ExampleLogin login created successfully', 'Adding ExampleLogin to the sysadmin server role', 'ExampleLogin added to the sysadmin server role successfully']) => { "__mssql_sqlcmd_loop": [ "Changed database context to 'master'.", "A ExampleLogin login does not exist, creating", "The ExampleLogin login created successfully", "Adding ExampleLogin to the sysadmin server role", "ExampleLogin added to the sysadmin server role successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:23 -0400 (0:00:00.072) 0:03:20.835 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:46:23 -0400 (0:00:00.035) 0:03:20.870 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 04:46:23 -0400 (0:00:00.037) 0:03:20.908 ******** ok: [managed_node1] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/ExampleCert.cer'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "9a2e4b848313fdab12819f8a39945cd56aeb0c2b", "dest": "/tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/cert", "file": "/var/opt/mssql/data/ExampleCert.cer", "item": { "key": "cert", "value": "/var/opt/mssql/data/ExampleCert.cer" }, "md5sum": "0e9d6feae92d9b776d12208d7b9898ab" } ok: [managed_node1] => (item={'key': 'key', 'value': '/var/opt/mssql/data/ExampleCert.pvk'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "a07888917eca9884791aff079724e22c9d9fa994", "dest": "/tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/key", "file": "/var/opt/mssql/data/ExampleCert.pvk", "item": { "key": "key", "value": "/var/opt/mssql/data/ExampleCert.pvk" }, "md5sum": "da4a1dbd6d0cf667fa4d72681225df59" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 04:46:24 -0400 (0:00:00.658) 0:03:21.566 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:46:24 -0400 (0:00:00.060) 0:03:21.627 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:46:24 -0400 (0:00:00.039) 0:03:21.667 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:46:24 -0400 (0:00:00.041) 0:03:21.708 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "721199104", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "158", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:46:24 -0400 (0:00:00.482) 0:03:22.190 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 22163, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:46:26 -0400 (0:00:01.341) 0:03:23.532 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:46:26 -0400 (0:00:00.036) 0:03:23.569 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=ha_is_primary.sql) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:26 -0400 (0:00:00.111) 0:03:23.680 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ha_is_primary.sql_c_p8cml8.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:26 -0400 (0:00:00.336) 0:03:24.016 ******** ok: [managed_node1] => { "changed": false, "checksum": "23665eada2d9e2de69ca8f560afa21cba1da5eb4", "dest": "/tmp/ha_is_primary.sql_c_p8cml8.sql", "gid": 0, "group": "root", "md5sum": "49a2dd5235418003e591ca627cd70e57", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 264, "src": "/root/.ansible/tmp/ansible-tmp-1722933986.7564614-13132-134931430979125/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:27 -0400 (0:00:00.630) 0:03:24.647 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:27 -0400 (0:00:00.037) 0:03:24.684 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:27 -0400 (0:00:00.396) 0:03:25.080 ******** ok: [managed_node1] => (item=/tmp/ha_is_primary.sql_c_p8cml8.sql) => { "__mssql_sqlcmd_loop": "/tmp/ha_is_primary.sql_c_p8cml8.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['1']) => { "__mssql_sqlcmd_loop": [ "1" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile ha_is_primary.sql] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:27 -0400 (0:00:00.064) 0:03:25.145 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:46:27 -0400 (0:00:00.037) 0:03:25.182 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 04:46:27 -0400 (0:00:00.035) 0:03:25.218 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_ha_is_primary": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 04:46:27 -0400 (0:00:00.069) 0:03:25.287 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:46:28 -0400 (0:00:00.068) 0:03:25.356 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:46:28 -0400 (0:00:00.038) 0:03:25.394 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:46:28 -0400 (0:00:00.040) 0:03:25.434 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "726736896", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "160", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:46:28 -0400 (0:00:00.473) 0:03:25.908 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 22163, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:46:29 -0400 (0:00:01.340) 0:03:27.249 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:46:29 -0400 (0:00:00.037) 0:03:27.286 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_ag.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:30 -0400 (0:00:00.112) 0:03:27.399 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_pc808wvt.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:30 -0400 (0:00:00.335) 0:03:27.735 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:30 -0400 (0:00:00.037) 0:03:27.772 ******** ok: [managed_node1] => { "changed": false, "checksum": "340985e141dc90e6d83f72491f17c05b077e0a62", "dest": "/tmp/configure_ag.j2_pc808wvt.sql", "gid": 0, "group": "root", "md5sum": "11660718a2c8a34b08f2dbf31055a847", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 10944, "src": "/root/.ansible/tmp/ansible-tmp-1722933990.5124643-13190-842698736711/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:33 -0400 (0:00:02.562) 0:03:30.334 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:33 -0400 (0:00:00.580) 0:03:30.915 ******** ok: [managed_node1] => (item=/tmp/configure_ag.j2_pc808wvt.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_pc808wvt.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['The existing ExampleAG availability group has incorrect cluster type set, dropping the group to re-create it', 'The ExampleAG availability group dropped successfully', 'Creating the ExampleAG availability group', 'The ExampleAG availability group created successfully', 'Granted the CREATE ANY DATABASE permission to the ExampleAG availability group']) => { "__mssql_sqlcmd_loop": [ "The existing ExampleAG availability group has incorrect cluster type set, dropping the group to re-create it", "The ExampleAG availability group dropped successfully", "Creating the ExampleAG availability group", "The ExampleAG availability group created successfully", "Granted the CREATE ANY DATABASE permission to the ExampleAG availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:33 -0400 (0:00:00.065) 0:03:30.980 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:46:33 -0400 (0:00:00.035) 0:03:31.016 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 04:46:33 -0400 (0:00:00.036) 0:03:31.052 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:46:33 -0400 (0:00:00.075) 0:03:31.127 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:46:33 -0400 (0:00:00.038) 0:03:31.166 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:46:33 -0400 (0:00:00.040) 0:03:31.206 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "732352512", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "158", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:46:34 -0400 (0:00:00.475) 0:03:31.682 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 25619, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:46:35 -0400 (0:00:01.343) 0:03:33.025 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:46:35 -0400 (0:00:00.037) 0:03:33.063 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=grant_permissions_to_ha_login.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:35 -0400 (0:00:00.116) 0:03:33.180 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/grant_permissions_to_ha_login.j2_3tfgsfek.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:36 -0400 (0:00:00.337) 0:03:33.517 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:36 -0400 (0:00:00.035) 0:03:33.553 ******** ok: [managed_node1] => { "changed": false, "checksum": "2cb9b9d454a2a6bc54631cb0f4aa1adedb6d56ab", "dest": "/tmp/grant_permissions_to_ha_login.j2_3tfgsfek.sql", "gid": 0, "group": "root", "md5sum": "9dbbe91ad6c726865217dfd132ebffdc", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 302, "src": "/root/.ansible/tmp/ansible-tmp-1722933996.2934322-13246-165658127533066/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:36 -0400 (0:00:00.640) 0:03:34.193 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:37 -0400 (0:00:00.380) 0:03:34.573 ******** ok: [managed_node1] => (item=/tmp/grant_permissions_to_ha_login.j2_3tfgsfek.sql) => { "__mssql_sqlcmd_loop": "/tmp/grant_permissions_to_ha_login.j2_3tfgsfek.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Granting the required permissions to ExampleLogin', 'Required permissions granted to ExampleLogin']) => { "__mssql_sqlcmd_loop": [ "Granting the required permissions to ExampleLogin", "Required permissions granted to ExampleLogin" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:37 -0400 (0:00:00.063) 0:03:34.637 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:46:37 -0400 (0:00:00.036) 0:03:34.674 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 04:46:37 -0400 (0:00:00.036) 0:03:34.711 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:46:37 -0400 (0:00:00.074) 0:03:34.785 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:46:37 -0400 (0:00:00.038) 0:03:34.824 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:46:37 -0400 (0:00:00.039) 0:03:34.864 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "732471296", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "158", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:46:38 -0400 (0:00:00.481) 0:03:35.345 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 25619, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:46:39 -0400 (0:00:01.343) 0:03:36.689 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:46:39 -0400 (0:00:00.036) 0:03:36.726 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=replicate_db.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:39 -0400 (0:00:00.111) 0:03:36.837 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/replicate_db.j2_ywx5_pkx.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:39 -0400 (0:00:00.335) 0:03:37.173 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:39 -0400 (0:00:00.037) 0:03:37.210 ******** ok: [managed_node1] => { "changed": false, "checksum": "31f3afd712f14ebd9937c978467b374db210c0f8", "dest": "/tmp/replicate_db.j2_ywx5_pkx.sql", "gid": 0, "group": "root", "md5sum": "3b3910ed4e8e48eee5b879dfaa2b1877", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4750, "src": "/root/.ansible/tmp/ansible-tmp-1722933999.950405-13302-190374776889181/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:40 -0400 (0:00:00.638) 0:03:37.849 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:41 -0400 (0:00:00.489) 0:03:38.339 ******** ok: [managed_node1] => (item=/tmp/replicate_db.j2_ywx5_pkx.sql) => { "__mssql_sqlcmd_loop": "/tmp/replicate_db.j2_ywx5_pkx.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['RECOVERY FULL on the ExampleDB1 database is set, skipping', 'The ExampleDB1 database is already backed up, skipping', 'Adding the ExampleDB1 database to the ExampleAG availability group', 'The ExampleDB1 database added to the ExampleAG availability group successfully', 'RECOVERY FULL on the ExampleDB2 database is set, skipping', 'The ExampleDB2 database is already backed up, skipping', 'Adding the ExampleDB2 database to the ExampleAG availability group', 'The ExampleDB2 database added to the ExampleAG availability group successfully']) => { "__mssql_sqlcmd_loop": [ "RECOVERY FULL on the ExampleDB1 database is set, skipping", "The ExampleDB1 database is already backed up, skipping", "Adding the ExampleDB1 database to the ExampleAG availability group", "The ExampleDB1 database added to the ExampleAG availability group successfully", "RECOVERY FULL on the ExampleDB2 database is set, skipping", "The ExampleDB2 database is already backed up, skipping", "Adding the ExampleDB2 database to the ExampleAG availability group", "The ExampleDB2 database added to the ExampleAG availability group successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:41 -0400 (0:00:00.064) 0:03:38.404 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:46:41 -0400 (0:00:00.036) 0:03:38.440 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 04:46:41 -0400 (0:00:00.035) 0:03:38.475 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:46:41 -0400 (0:00:00.074) 0:03:38.550 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:46:41 -0400 (0:00:00.036) 0:03:38.586 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:46:41 -0400 (0:00:00.039) 0:03:38.625 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "739946496", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "158", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:46:41 -0400 (0:00:00.474) 0:03:39.100 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 25935, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:46:43 -0400 (0:00:01.343) 0:03:40.444 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:46:43 -0400 (0:00:00.036) 0:03:40.481 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=grant_permissions_to_ha_login.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:43 -0400 (0:00:00.067) 0:03:40.548 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/grant_permissions_to_ha_login.j2_5kq4soc0.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:43 -0400 (0:00:00.378) 0:03:40.927 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:43 -0400 (0:00:00.037) 0:03:40.964 ******** ok: [managed_node1] => { "changed": false, "checksum": "2cb9b9d454a2a6bc54631cb0f4aa1adedb6d56ab", "dest": "/tmp/grant_permissions_to_ha_login.j2_5kq4soc0.sql", "gid": 0, "group": "root", "md5sum": "9dbbe91ad6c726865217dfd132ebffdc", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 302, "src": "/root/.ansible/tmp/ansible-tmp-1722934003.704691-13358-200848937928121/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:44 -0400 (0:00:00.634) 0:03:41.599 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:44 -0400 (0:00:00.373) 0:03:41.972 ******** ok: [managed_node1] => (item=/tmp/grant_permissions_to_ha_login.j2_5kq4soc0.sql) => { "__mssql_sqlcmd_loop": "/tmp/grant_permissions_to_ha_login.j2_5kq4soc0.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Granting the required permissions to ExampleLogin', 'Required permissions granted to ExampleLogin']) => { "__mssql_sqlcmd_loop": [ "Granting the required permissions to ExampleLogin", "Required permissions granted to ExampleLogin" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile grant_permissions_to_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:44 -0400 (0:00:00.064) 0:03:42.036 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:46:44 -0400 (0:00:00.034) 0:03:42.071 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 04:46:44 -0400 (0:00:00.035) 0:03:42.107 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 04:46:44 -0400 (0:00:00.035) 0:03:42.142 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 04:46:44 -0400 (0:00:00.033) 0:03:42.175 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 04:46:44 -0400 (0:00:00.034) 0:03:42.209 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 04:46:44 -0400 (0:00:00.034) 0:03:42.244 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 04:46:44 -0400 (0:00:00.033) 0:03:42.277 ******** skipping: [managed_node1] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/ExampleCert.cer'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "item": { "key": "cert", "value": "/var/opt/mssql/data/ExampleCert.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'key', 'value': '/var/opt/mssql/data/ExampleCert.pvk'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "item": { "key": "key", "value": "/var/opt/mssql/data/ExampleCert.pvk" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 04:46:45 -0400 (0:00:00.043) 0:03:42.320 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 04:46:45 -0400 (0:00:00.034) 0:03:42.354 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 04:46:45 -0400 (0:00:00.032) 0:03:42.387 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 04:46:45 -0400 (0:00:00.033) 0:03:42.420 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 04:46:45 -0400 (0:00:00.078) 0:03:42.498 ******** skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "false_condition": "mssql_ha_replica_type in __mssql_ha_replica_types_secondary", "item": "key", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login ExampleLogin] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 04:46:45 -0400 (0:00:00.042) 0:03:42.541 ******** changed: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 04:46:45 -0400 (0:00:00.619) 0:03:43.161 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_manage_ha_cluster | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 04:46:45 -0400 (0:00:00.040) 0:03:43.202 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_manage_ha_cluster | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group ExampleAG] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 04:46:45 -0400 (0:00:00.040) 0:03:43.242 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_ha_is_primary | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 04:46:45 -0400 (0:00:00.035) 0:03:43.277 ******** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Flush handlers prior to inputting post SQL scripts] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.414) 0:03:43.692 ******** META: triggered running handlers for managed_node1 TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.037) 0:03:43.729 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_post_input_sql_file != []", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.033) 0:03:43.762 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_post_input_sql_content != []", "skip_reason": "Conditional result was False" } TASK [Wait for the cluster to finish configuration] **************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:187 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.051) 0:03:43.814 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length >= 3", "skip_reason": "Conditional result was False" } TASK [Get global pcs status] *************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:192 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.034) 0:03:43.848 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length >= 3", "skip_reason": "Conditional result was False" } TASK [Print global psc status] ************************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:197 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.033) 0:03:43.881 ******** skipping: [managed_node1] => { "false_condition": "ansible_play_hosts_all | length >= 3" } TASK [Get pcs status for the virtualip resource] ******************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:202 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.033) 0:03:43.915 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length >= 3", "skip_reason": "Conditional result was False" } TASK [Print pcs status for the virtualip resource] ***************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:207 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.034) 0:03:43.950 ******** skipping: [managed_node1] => { "false_condition": "ansible_play_hosts_all | length >= 3" } TASK [Assert that virtualip is successfully started] *************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:212 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.033) 0:03:43.983 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length >= 3", "skip_reason": "Conditional result was False" } TASK [Move the virtualip resource] ********************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:216 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.079) 0:03:44.062 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length >= 3", "skip_reason": "Conditional result was False" } TASK [Wait for the cluster to finish configuration] **************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:230 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.035) 0:03:44.098 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length >= 3", "skip_reason": "Conditional result was False" } TASK [Get global pcs status] *************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:235 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.033) 0:03:44.132 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length >= 3", "skip_reason": "Conditional result was False" } TASK [Print global psc status] ************************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:240 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.035) 0:03:44.167 ******** skipping: [managed_node1] => { "false_condition": "ansible_play_hosts_all | length >= 3" } TASK [Get pcs status for the virtualip resource] ******************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:245 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.035) 0:03:44.203 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length >= 3", "skip_reason": "Conditional result was False" } TASK [Print pcs status for the virtualip resource] ***************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:250 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.034) 0:03:44.238 ******** skipping: [managed_node1] => { "false_condition": "ansible_play_hosts_all | length >= 3" } TASK [Assert that virtualip is successfully started] *************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:255 Tuesday 06 August 2024 04:46:46 -0400 (0:00:00.035) 0:03:44.273 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length >= 3", "skip_reason": "Conditional result was False" } TASK [Clear constraints for the virtualip resource] **************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:259 Tuesday 06 August 2024 04:46:47 -0400 (0:00:00.035) 0:03:44.309 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_play_hosts_all | length >= 3", "skip_reason": "Conditional result was False" } TASK [Don't test templates when testing against multiple hosts. Testing templates only supported for primary replicas] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:268 Tuesday 06 August 2024 04:46:47 -0400 (0:00:00.034) 0:03:44.343 ******** META: end_play conditional evaluated to False, continuing play skipping: [managed_node1] => { "skip_reason": "end_play conditional evaluated to False, continuing play" } MSG: end_play TASK [Set the mssql_ha_replica_type fact to appear in hostvars] **************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:277 Tuesday 06 August 2024 04:46:47 -0400 (0:00:00.042) 0:03:44.386 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "mssql_ha_replica_type is not defined", "skip_reason": "Conditional result was False" } TASK [Enable AlwaysOn event session when it's enabled] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:285 Tuesday 06 August 2024 04:46:47 -0400 (0:00:00.036) 0:03:44.423 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:46:47 -0400 (0:00:00.285) 0:03:44.708 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:46:47 -0400 (0:00:00.083) 0:03:44.792 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:46:47 -0400 (0:00:00.040) 0:03:44.832 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "740601856", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "160", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:46:48 -0400 (0:00:00.477) 0:03:45.310 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 25935, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:46:49 -0400 (0:00:01.340) 0:03:46.650 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:46:49 -0400 (0:00:00.036) 0:03:46.687 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=enable_alwayson.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:49 -0400 (0:00:00.064) 0:03:46.752 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2_ecc70w46.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:49 -0400 (0:00:00.334) 0:03:47.087 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:49 -0400 (0:00:00.034) 0:03:47.122 ******** ok: [managed_node1] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2_ecc70w46.sql", "gid": 0, "group": "root", "md5sum": "ad8bcae6278918460562bd8f6269b51f", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 410, "src": "/root/.ansible/tmp/ansible-tmp-1722934009.8598342-13468-257391403590026/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:50 -0400 (0:00:00.632) 0:03:47.754 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:50 -0400 (0:00:00.380) 0:03:48.135 ******** ok: [managed_node1] => (item=/tmp/enable_alwayson.j2_ecc70w46.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2_ecc70w46.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['AlwaysOn Health events already enabled, skipping']) => { "__mssql_sqlcmd_loop": [ "AlwaysOn Health events already enabled, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:50 -0400 (0:00:00.060) 0:03:48.195 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:46:50 -0400 (0:00:00.035) 0:03:48.230 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert that enabling is skipped] ***************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:295 Tuesday 06 August 2024 04:46:50 -0400 (0:00:00.054) 0:03:48.285 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Disable AlwaysOn event session] ****************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:301 Tuesday 06 August 2024 04:46:51 -0400 (0:00:00.037) 0:03:48.322 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:46:51 -0400 (0:00:00.337) 0:03:48.659 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:46:51 -0400 (0:00:00.036) 0:03:48.696 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:46:51 -0400 (0:00:00.038) 0:03:48.734 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "746512384", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "160", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:46:51 -0400 (0:00:00.479) 0:03:49.214 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 25935, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:46:53 -0400 (0:00:01.343) 0:03:50.557 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:46:53 -0400 (0:00:00.035) 0:03:50.593 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=disable_alwayson.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for disable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:53 -0400 (0:00:00.064) 0:03:50.657 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/disable_alwayson.j2_3_nzfg8l.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host disable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:53 -0400 (0:00:00.333) 0:03:50.990 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for disable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:53 -0400 (0:00:00.035) 0:03:51.026 ******** ok: [managed_node1] => { "changed": false, "checksum": "07a16f2d7bd8c6f2568826378894269a824f505d", "dest": "/tmp/disable_alwayson.j2_3_nzfg8l.sql", "gid": 0, "group": "root", "md5sum": "6352ad7225cd7bb4eb1916eddfab1f40", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 72, "src": "/root/.ansible/tmp/ansible-tmp-1722934013.7638483-13526-98779709293152/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command disable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:54 -0400 (0:00:00.632) 0:03:51.658 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting disable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:54 -0400 (0:00:00.372) 0:03:52.031 ******** ok: [managed_node1] => (item=/tmp/disable_alwayson.j2_3_nzfg8l.sql) => { "__mssql_sqlcmd_loop": "/tmp/disable_alwayson.j2_3_nzfg8l.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile disable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:54 -0400 (0:00:00.060) 0:03:52.091 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:46:54 -0400 (0:00:00.083) 0:03:52.175 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Enable AlwaysOn event session] ******************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:310 Tuesday 06 August 2024 04:46:54 -0400 (0:00:00.055) 0:03:52.231 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:46:55 -0400 (0:00:00.293) 0:03:52.524 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:46:55 -0400 (0:00:00.035) 0:03:52.560 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:46:55 -0400 (0:00:00.037) 0:03:52.597 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "746950656", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "160", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:46:55 -0400 (0:00:00.477) 0:03:53.075 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 25935, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:46:57 -0400 (0:00:01.340) 0:03:54.415 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:46:57 -0400 (0:00:00.036) 0:03:54.451 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=enable_alwayson.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:46:57 -0400 (0:00:00.064) 0:03:54.516 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/enable_alwayson.j2_5y4d4ndc.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:46:57 -0400 (0:00:00.335) 0:03:54.851 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:46:57 -0400 (0:00:00.034) 0:03:54.886 ******** ok: [managed_node1] => { "changed": false, "checksum": "03ec6bf3183af4d6b2edb5c98049edf7e3bdfdf1", "dest": "/tmp/enable_alwayson.j2_5y4d4ndc.sql", "gid": 0, "group": "root", "md5sum": "ad8bcae6278918460562bd8f6269b51f", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 410, "src": "/root/.ansible/tmp/ansible-tmp-1722934017.6242127-13582-116562851975815/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:46:58 -0400 (0:00:00.695) 0:03:55.581 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:46:58 -0400 (0:00:00.382) 0:03:55.963 ******** ok: [managed_node1] => (item=/tmp/enable_alwayson.j2_5y4d4ndc.sql) => { "__mssql_sqlcmd_loop": "/tmp/enable_alwayson.j2_5y4d4ndc.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['AlwaysOn Health events are not enabled, enabling', 'AlwaysOn Health events enabled successfully']) => { "__mssql_sqlcmd_loop": [ "AlwaysOn Health events are not enabled, enabling", "AlwaysOn Health events enabled successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile enable_alwayson.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:46:58 -0400 (0:00:00.065) 0:03:56.028 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:46:58 -0400 (0:00:00.035) 0:03:56.064 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert that the template reported changed state] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:319 Tuesday 06 August 2024 04:46:58 -0400 (0:00:00.054) 0:03:56.119 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Create endpoint when it exists] ****************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:326 Tuesday 06 August 2024 04:46:58 -0400 (0:00:00.039) 0:03:56.158 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:46:59 -0400 (0:00:00.299) 0:03:56.457 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:46:59 -0400 (0:00:00.035) 0:03:56.493 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:46:59 -0400 (0:00:00.037) 0:03:56.530 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "747896832", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "160", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:46:59 -0400 (0:00:00.474) 0:03:57.005 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 25935, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:01 -0400 (0:00:01.341) 0:03:58.346 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:01 -0400 (0:00:00.035) 0:03:58.382 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_endpoint.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:01 -0400 (0:00:00.122) 0:03:58.504 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_od99e741.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:01 -0400 (0:00:00.337) 0:03:58.842 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:01 -0400 (0:00:00.036) 0:03:58.878 ******** ok: [managed_node1] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_od99e741.sql", "gid": 0, "group": "root", "md5sum": "efa1eaf69cd98e51d145221d3699a214", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3106, "src": "/root/.ansible/tmp/ansible-tmp-1722934021.6168337-13639-217577475352361/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:02 -0400 (0:00:00.643) 0:03:59.522 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:02 -0400 (0:00:00.377) 0:03:59.899 ******** ok: [managed_node1] => (item=/tmp/configure_endpoint.j2_od99e741.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_od99e741.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Verifying the existing endpoint Example_Endpoint', 'The LISTENER_PORT setting for the Example_Endpoint endpoint is already set to 5022, skipping', 'The ROLE setting for the Example_Endpoint endpoint is already set to ALL, skipping', 'The certificate for the Example_Endpoint endpoint is already set to ExampleCert, skipping', 'The ENCRYPTION setting for the Example_Endpoint endpoint is already set to AES, skipping', 'Endpoint Example_Endpoint is already started, skipping']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing endpoint Example_Endpoint", "The LISTENER_PORT setting for the Example_Endpoint endpoint is already set to 5022, skipping", "The ROLE setting for the Example_Endpoint endpoint is already set to ALL, skipping", "The certificate for the Example_Endpoint endpoint is already set to ExampleCert, skipping", "The ENCRYPTION setting for the Example_Endpoint endpoint is already set to AES, skipping", "Endpoint Example_Endpoint is already started, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:02 -0400 (0:00:00.063) 0:03:59.962 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:47:02 -0400 (0:00:00.035) 0:03:59.998 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:335 Tuesday 06 August 2024 04:47:02 -0400 (0:00:00.054) 0:04:00.053 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "Verifying the existing endpoint {{ mssql_ha_endpoint_name }}" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The LISTENER_PORT setting for the {{ mssql_ha_endpoint_name }} endpoint is already set to {{ mssql_ha_endpoint_port }}, skipping" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The ROLE setting for the {{ mssql_ha_endpoint_name }} endpoint is already set to {{ __mssql_ha_endpoint_role }}, skipping" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The certificate for the {{ mssql_ha_endpoint_name }} endpoint is already set to {{ mssql_ha_cert_name }}, skipping" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The ENCRYPTION setting for the {{ mssql_ha_endpoint_name }} endpoint is already set to AES, skipping" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "Endpoint {{ mssql_ha_endpoint_name }} is already started, skipping" in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Alter endpoint to test how template handles incorrect endpoint] ********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:363 Tuesday 06 August 2024 04:47:02 -0400 (0:00:00.055) 0:04:00.108 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:03 -0400 (0:00:00.300) 0:04:00.409 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:03 -0400 (0:00:00.034) 0:04:00.444 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:03 -0400 (0:00:00.099) 0:04:00.543 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "757727232", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "160", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:03 -0400 (0:00:00.474) 0:04:01.018 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 25935, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:05 -0400 (0:00:01.342) 0:04:02.360 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:05 -0400 (0:00:00.036) 0:04:02.396 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=alter_endpoint.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for alter_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:05 -0400 (0:00:00.065) 0:04:02.462 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/alter_endpoint.j2_pndovu06.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host alter_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:05 -0400 (0:00:00.334) 0:04:02.797 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for alter_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:05 -0400 (0:00:00.037) 0:04:02.834 ******** ok: [managed_node1] => { "changed": false, "checksum": "2d50112b0a97c263dad0f1bdd2bf2f0329fbcb82", "dest": "/tmp/alter_endpoint.j2_pndovu06.sql", "gid": 0, "group": "root", "md5sum": "7ea9f7f1bb649416c6f8cdb0169d00d2", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 574, "src": "/root/.ansible/tmp/ansible-tmp-1722934025.5724545-13696-245860421027778/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command alter_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:06 -0400 (0:00:00.634) 0:04:03.468 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting alter_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:08 -0400 (0:00:02.447) 0:04:05.916 ******** ok: [managed_node1] => (item=/tmp/alter_endpoint.j2_pndovu06.sql) => { "__mssql_sqlcmd_loop": "/tmp/alter_endpoint.j2_pndovu06.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate test_cert does not exist, creating', 'Certificate test_cert created successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate test_cert does not exist, creating", "Certificate test_cert created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile alter_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:08 -0400 (0:00:00.062) 0:04:05.978 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:47:08 -0400 (0:00:00.034) 0:04:06.013 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Configure endpoint correctly] ******************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:372 Tuesday 06 August 2024 04:47:08 -0400 (0:00:00.053) 0:04:06.066 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:09 -0400 (0:00:00.365) 0:04:06.432 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:09 -0400 (0:00:00.036) 0:04:06.468 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:09 -0400 (0:00:00.037) 0:04:06.506 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "757858304", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "160", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:09 -0400 (0:00:00.472) 0:04:06.979 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 26143, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:11 -0400 (0:00:01.338) 0:04:08.317 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:11 -0400 (0:00:00.037) 0:04:08.354 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_endpoint.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:11 -0400 (0:00:00.064) 0:04:08.418 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_ysqoq5hn.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:11 -0400 (0:00:00.331) 0:04:08.750 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:11 -0400 (0:00:00.034) 0:04:08.785 ******** ok: [managed_node1] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_ysqoq5hn.sql", "gid": 0, "group": "root", "md5sum": "efa1eaf69cd98e51d145221d3699a214", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3106, "src": "/root/.ansible/tmp/ansible-tmp-1722934031.523543-13752-185850506803993/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:12 -0400 (0:00:00.637) 0:04:09.422 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:22 -0400 (0:00:10.398) 0:04:19.821 ******** ok: [managed_node1] => (item=/tmp/configure_endpoint.j2_ysqoq5hn.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_ysqoq5hn.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Verifying the existing endpoint Example_Endpoint', 'The LISTENER_PORT setting for the Example_Endpoint endpoint updated to 5022 successfully', 'The ROLE setting for the Example_Endpoint endpoint updated to ALL successfully', 'The certificate for the Example_Endpoint endpoint updated to ExampleCert successfully', 'The ENCRYPTION setting for the Example_Endpoint endpoint updated to AES successfully', 'Endpoint Example_Endpoint is not started, starting', 'Endpoint Example_Endpoint started successfully']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing endpoint Example_Endpoint", "The LISTENER_PORT setting for the Example_Endpoint endpoint updated to 5022 successfully", "The ROLE setting for the Example_Endpoint endpoint updated to ALL successfully", "The certificate for the Example_Endpoint endpoint updated to ExampleCert successfully", "The ENCRYPTION setting for the Example_Endpoint endpoint updated to AES successfully", "Endpoint Example_Endpoint is not started, starting", "Endpoint Example_Endpoint started successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:22 -0400 (0:00:00.061) 0:04:19.882 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:47:22 -0400 (0:00:00.035) 0:04:19.917 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:381 Tuesday 06 August 2024 04:47:22 -0400 (0:00:00.117) 0:04:20.035 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The LISTENER_PORT setting for the {{ mssql_ha_endpoint_name }} endpoint updated to {{ mssql_ha_endpoint_port }} successfully" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The ROLE setting for the {{ mssql_ha_endpoint_name }} endpoint updated to {{ __mssql_ha_endpoint_role }} successfully" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The certificate for the {{ mssql_ha_endpoint_name }} endpoint updated to {{ mssql_ha_cert_name }} successfully" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The ENCRYPTION setting for the {{ mssql_ha_endpoint_name }} endpoint updated to AES successfully" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "Endpoint {{ mssql_ha_endpoint_name }} started successfully" in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Drop the test_cert certificate] ****************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:407 Tuesday 06 August 2024 04:47:22 -0400 (0:00:00.055) 0:04:20.091 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:23 -0400 (0:00:00.314) 0:04:20.405 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:23 -0400 (0:00:00.037) 0:04:20.442 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:23 -0400 (0:00:00.038) 0:04:20.481 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "756121600", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "154", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:23 -0400 (0:00:00.474) 0:04:20.955 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 26845, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:24 -0400 (0:00:01.338) 0:04:22.293 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:25 -0400 (0:00:00.036) 0:04:22.330 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=drop_cert.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:25 -0400 (0:00:00.066) 0:04:22.396 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/drop_cert.j2_bcnzc4oq.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:25 -0400 (0:00:00.335) 0:04:22.731 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:25 -0400 (0:00:00.035) 0:04:22.767 ******** ok: [managed_node1] => { "changed": false, "checksum": "239991f31ac11c71bf4846a5b2ddb35a4bf4a9ca", "dest": "/tmp/drop_cert.j2_bcnzc4oq.sql", "gid": 0, "group": "root", "md5sum": "402af4123aca199ce6e0eb277f5c7708", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 939, "src": "/root/.ansible/tmp/ansible-tmp-1722934045.5051184-13809-208514879699586/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:26 -0400 (0:00:00.696) 0:04:23.464 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:26 -0400 (0:00:00.388) 0:04:23.852 ******** ok: [managed_node1] => (item=/tmp/drop_cert.j2_bcnzc4oq.sql) => { "__mssql_sqlcmd_loop": "/tmp/drop_cert.j2_bcnzc4oq.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate test_cert already exists, checking if there is an endopint associated with this certificate', 'There is no endpoint associated with this certificate, skipping', 'Removing the test_cert certificate to re-create it', 'The test_cert certificate removed successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate test_cert already exists, checking if there is an endopint associated with this certificate", "There is no endpoint associated with this certificate, skipping", "Removing the test_cert certificate to re-create it", "The test_cert certificate removed successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile drop_cert.j2] ****** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:26 -0400 (0:00:00.062) 0:04:23.915 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:47:26 -0400 (0:00:00.035) 0:04:23.951 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Remove a listener for test purposes] ************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:418 Tuesday 06 August 2024 04:47:26 -0400 (0:00:00.054) 0:04:24.006 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:27 -0400 (0:00:00.319) 0:04:24.325 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:27 -0400 (0:00:00.036) 0:04:24.362 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:27 -0400 (0:00:00.038) 0:04:24.400 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "758714368", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "154", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:27 -0400 (0:00:00.472) 0:04:24.873 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 26845, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:28 -0400 (0:00:01.340) 0:04:26.214 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:28 -0400 (0:00:00.036) 0:04:26.251 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=remove_listener.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:29 -0400 (0:00:00.132) 0:04:26.384 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/remove_listener.j2_rr5uopvs.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:29 -0400 (0:00:00.336) 0:04:26.720 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:29 -0400 (0:00:00.035) 0:04:26.756 ******** ok: [managed_node1] => { "changed": false, "checksum": "5eb1f1db79a245ddb87b701bc0a9edcbb6fa45e3", "dest": "/tmp/remove_listener.j2_rr5uopvs.sql", "gid": 0, "group": "root", "md5sum": "7f66038bda282fe31b98d72518492b19", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 493, "src": "/root/.ansible/tmp/ansible-tmp-1722934049.4949214-13865-271001245143027/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:30 -0400 (0:00:00.638) 0:04:27.394 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:30 -0400 (0:00:00.374) 0:04:27.769 ******** ok: [managed_node1] => (item=/tmp/remove_listener.j2_rr5uopvs.sql) => { "__mssql_sqlcmd_loop": "/tmp/remove_listener.j2_rr5uopvs.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Listeners do not exist, skipping']) => { "__mssql_sqlcmd_loop": [ "Listeners do not exist, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:30 -0400 (0:00:00.061) 0:04:27.830 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:47:30 -0400 (0:00:00.035) 0:04:27.866 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Add a listener with a different name] ************************************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:427 Tuesday 06 August 2024 04:47:30 -0400 (0:00:00.055) 0:04:27.922 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:30 -0400 (0:00:00.322) 0:04:28.244 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:30 -0400 (0:00:00.034) 0:04:28.279 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:31 -0400 (0:00:00.037) 0:04:28.317 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "759808000", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "154", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:31 -0400 (0:00:00.547) 0:04:28.865 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 26845, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:32 -0400 (0:00:01.343) 0:04:30.209 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:32 -0400 (0:00:00.037) 0:04:30.246 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=add_test_listener.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for add_test_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:33 -0400 (0:00:00.065) 0:04:30.312 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/add_test_listener.j2_u5ya_955.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host add_test_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:33 -0400 (0:00:00.334) 0:04:30.647 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for add_test_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:33 -0400 (0:00:00.036) 0:04:30.684 ******** ok: [managed_node1] => { "changed": false, "checksum": "4ececef64c7f3d27aaf6cc4fd396180e9cc51cd3", "dest": "/tmp/add_test_listener.j2_u5ya_955.sql", "gid": 0, "group": "root", "md5sum": "546d136b2c7b36e55a7e74bb3f021001", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 215, "src": "/root/.ansible/tmp/ansible-tmp-1722934053.4225621-13921-48516709820661/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command add_test_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:34 -0400 (0:00:00.635) 0:04:31.320 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting add_test_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:34 -0400 (0:00:00.378) 0:04:31.699 ******** ok: [managed_node1] => (item=/tmp/add_test_listener.j2_u5ya_955.sql) => { "__mssql_sqlcmd_loop": "/tmp/add_test_listener.j2_u5ya_955.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Adding the TEST-listener listener to the ExampleAG availability group']) => { "__mssql_sqlcmd_loop": [ "Adding the TEST-listener listener to the ExampleAG availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile add_test_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:34 -0400 (0:00:00.062) 0:04:31.761 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:47:34 -0400 (0:00:00.034) 0:04:31.796 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Modify a listener] ******************************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:436 Tuesday 06 August 2024 04:47:34 -0400 (0:00:00.055) 0:04:31.851 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:34 -0400 (0:00:00.404) 0:04:32.256 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:34 -0400 (0:00:00.037) 0:04:32.293 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:35 -0400 (0:00:00.038) 0:04:32.332 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "759836672", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "154", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:35 -0400 (0:00:00.476) 0:04:32.809 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 27065, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:36 -0400 (0:00:01.341) 0:04:34.150 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:36 -0400 (0:00:00.036) 0:04:34.187 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_listener.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:36 -0400 (0:00:00.066) 0:04:34.253 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_listener.j2_v8ki1uk9.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:37 -0400 (0:00:00.338) 0:04:34.592 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:37 -0400 (0:00:00.037) 0:04:34.629 ******** ok: [managed_node1] => { "changed": false, "checksum": "470a764c755ba57bd25c8bc91e74fc83fbdd0057", "dest": "/tmp/configure_listener.j2_v8ki1uk9.sql", "gid": 0, "group": "root", "md5sum": "bc84b9d1e1d794179308b29e28244bbb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1617, "src": "/root/.ansible/tmp/ansible-tmp-1722934057.3686874-13977-241856648146297/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:37 -0400 (0:00:00.642) 0:04:35.272 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:38 -0400 (0:00:00.422) 0:04:35.694 ******** ok: [managed_node1] => (item=/tmp/configure_listener.j2_v8ki1uk9.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_listener.j2_v8ki1uk9.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Verifying the existing listener TEST-listener', 'Modifying the listener port setting', 'Set listener port to 1435 successfully', 'Modifying the listener ip address setting', 'Added listener ip address 192.168.122.149,255.255.255.0 successfully']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing listener TEST-listener", "Modifying the listener port setting", "Set listener port to 1435 successfully", "Modifying the listener ip address setting", "Added listener ip address 192.168.122.149,255.255.255.0 successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:38 -0400 (0:00:00.063) 0:04:35.758 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:47:38 -0400 (0:00:00.036) 0:04:35.794 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:447 Tuesday 06 August 2024 04:47:38 -0400 (0:00:00.054) 0:04:35.848 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove a listener to re-create with default values] ********************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:467 Tuesday 06 August 2024 04:47:38 -0400 (0:00:00.118) 0:04:35.967 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:38 -0400 (0:00:00.334) 0:04:36.302 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:39 -0400 (0:00:00.037) 0:04:36.339 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:39 -0400 (0:00:00.038) 0:04:36.378 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "759959552", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "154", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:39 -0400 (0:00:00.482) 0:04:36.860 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30043, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:40 -0400 (0:00:01.342) 0:04:38.203 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:40 -0400 (0:00:00.036) 0:04:38.240 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=remove_listener.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:41 -0400 (0:00:00.066) 0:04:38.306 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/remove_listener.j2_kwv3nsrj.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:41 -0400 (0:00:00.333) 0:04:38.640 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:41 -0400 (0:00:00.036) 0:04:38.676 ******** ok: [managed_node1] => { "changed": false, "checksum": "5eb1f1db79a245ddb87b701bc0a9edcbb6fa45e3", "dest": "/tmp/remove_listener.j2_kwv3nsrj.sql", "gid": 0, "group": "root", "md5sum": "7f66038bda282fe31b98d72518492b19", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 493, "src": "/root/.ansible/tmp/ansible-tmp-1722934061.4150095-14034-264603011679454/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:42 -0400 (0:00:00.634) 0:04:39.311 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:42 -0400 (0:00:00.372) 0:04:39.683 ******** ok: [managed_node1] => (item=/tmp/remove_listener.j2_kwv3nsrj.sql) => { "__mssql_sqlcmd_loop": "/tmp/remove_listener.j2_kwv3nsrj.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Removing the listener TEST-listener', 'Removed the listener TEST-listener successfully']) => { "__mssql_sqlcmd_loop": [ "Removing the listener TEST-listener", "Removed the listener TEST-listener successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile remove_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:42 -0400 (0:00:00.137) 0:04:39.820 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:47:42 -0400 (0:00:00.037) 0:04:39.858 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Add a listener with previous settings] *********************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:477 Tuesday 06 August 2024 04:47:42 -0400 (0:00:00.055) 0:04:39.913 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:42 -0400 (0:00:00.339) 0:04:40.253 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:42 -0400 (0:00:00.036) 0:04:40.289 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:43 -0400 (0:00:00.038) 0:04:40.328 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "760823808", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "153", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:43 -0400 (0:00:00.473) 0:04:40.802 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30043, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:44 -0400 (0:00:01.337) 0:04:42.140 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:44 -0400 (0:00:00.036) 0:04:42.176 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_listener.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:44 -0400 (0:00:00.064) 0:04:42.240 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_listener.j2_wyrr3n3z.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:45 -0400 (0:00:00.417) 0:04:42.658 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:45 -0400 (0:00:00.036) 0:04:42.694 ******** ok: [managed_node1] => { "changed": false, "checksum": "d5facebc03ae56186ef5e5eb3aeb2ecabfde7f4a", "dest": "/tmp/configure_listener.j2_wyrr3n3z.sql", "gid": 0, "group": "root", "md5sum": "e5c11fd15034f7bb6958a78eaabdc286", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1617, "src": "/root/.ansible/tmp/ansible-tmp-1722934065.4335938-14090-233351831672602/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:46 -0400 (0:00:00.636) 0:04:43.331 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:46 -0400 (0:00:00.380) 0:04:43.712 ******** ok: [managed_node1] => (item=/tmp/configure_listener.j2_wyrr3n3z.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_listener.j2_wyrr3n3z.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Adding the ExampleAG-listener listener to the ExampleAG availability group', 'Added the ExampleAG-listener listener successfully']) => { "__mssql_sqlcmd_loop": [ "Adding the ExampleAG-listener listener to the ExampleAG availability group", "Added the ExampleAG-listener listener successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:46 -0400 (0:00:00.061) 0:04:43.773 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:47:46 -0400 (0:00:00.036) 0:04:43.810 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:486 Tuesday 06 August 2024 04:47:46 -0400 (0:00:00.055) 0:04:43.865 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "Adding the {{ mssql_ha_ag_name }}-listener listener to the {{ mssql_ha_ag_name }} availability group" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "Added the {{ mssql_ha_ag_name }}-listener listener successfully" in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Add a listener when it exists] ******************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:498 Tuesday 06 August 2024 04:47:46 -0400 (0:00:00.042) 0:04:43.908 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:46 -0400 (0:00:00.343) 0:04:44.252 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:46 -0400 (0:00:00.036) 0:04:44.288 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:47 -0400 (0:00:00.038) 0:04:44.326 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "761503744", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:47 -0400 (0:00:00.472) 0:04:44.799 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30268, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:48 -0400 (0:00:01.424) 0:04:46.223 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:48 -0400 (0:00:00.038) 0:04:46.262 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_listener.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:49 -0400 (0:00:00.066) 0:04:46.328 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_listener.j2_x6p5j2eq.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:49 -0400 (0:00:00.333) 0:04:46.662 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:49 -0400 (0:00:00.036) 0:04:46.698 ******** ok: [managed_node1] => { "changed": false, "checksum": "d5facebc03ae56186ef5e5eb3aeb2ecabfde7f4a", "dest": "/tmp/configure_listener.j2_x6p5j2eq.sql", "gid": 0, "group": "root", "md5sum": "e5c11fd15034f7bb6958a78eaabdc286", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1617, "src": "/root/.ansible/tmp/ansible-tmp-1722934069.4359913-14147-186669103765264/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:50 -0400 (0:00:00.635) 0:04:47.333 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:50 -0400 (0:00:00.371) 0:04:47.705 ******** ok: [managed_node1] => (item=/tmp/configure_listener.j2_x6p5j2eq.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_listener.j2_x6p5j2eq.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Verifying the existing listener ExampleAG-listener', 'The port setting is already set correctly, skipping', 'The listener ip address setting is already set correctly, skipping']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing listener ExampleAG-listener", "The port setting is already set correctly, skipping", "The listener ip address setting is already set correctly, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_listener.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:50 -0400 (0:00:00.061) 0:04:47.766 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:47:50 -0400 (0:00:00.035) 0:04:47.802 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:507 Tuesday 06 August 2024 04:47:50 -0400 (0:00:00.054) 0:04:47.856 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "Verifying the existing listener {{ mssql_ha_ag_name }}-listener" in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Create a master key when it exists] ************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:523 Tuesday 06 August 2024 04:47:50 -0400 (0:00:00.040) 0:04:47.897 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:51 -0400 (0:00:00.435) 0:04:48.333 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:51 -0400 (0:00:00.036) 0:04:48.369 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:51 -0400 (0:00:00.039) 0:04:48.408 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "761507840", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:51 -0400 (0:00:00.474) 0:04:48.883 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30268, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:52 -0400 (0:00:01.341) 0:04:50.225 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:52 -0400 (0:00:00.038) 0:04:50.263 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_master_key_encryption.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:53 -0400 (0:00:00.066) 0:04:50.330 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_9cesaiz5.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:53 -0400 (0:00:00.337) 0:04:50.668 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:53 -0400 (0:00:00.037) 0:04:50.705 ******** ok: [managed_node1] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2_9cesaiz5.sql", "gid": 0, "group": "root", "md5sum": "65fb1fff4dc60651b5ec7369d1ebaa76", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 667, "src": "/root/.ansible/tmp/ansible-tmp-1722934073.4438846-14204-209003452660223/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:54 -0400 (0:00:00.629) 0:04:51.334 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:54 -0400 (0:00:00.378) 0:04:51.712 ******** ok: [managed_node1] => (item=/tmp/create_master_key_encryption.j2_9cesaiz5.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_9cesaiz5.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Master key already exists, verifying the provided password against the existing master key', 'The provided master key password is correct']) => { "__mssql_sqlcmd_loop": [ "Master key already exists, verifying the provided password against the existing master key", "The provided master key password is correct" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:54 -0400 (0:00:00.063) 0:04:51.776 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:47:54 -0400 (0:00:00.034) 0:04:51.810 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert that creating is skipped] ***************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:532 Tuesday 06 August 2024 04:47:54 -0400 (0:00:00.144) 0:04:51.954 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Try creating master key with incorrect password] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:540 Tuesday 06 August 2024 04:47:54 -0400 (0:00:00.039) 0:04:51.994 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:54 -0400 (0:00:00.064) 0:04:52.058 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:54 -0400 (0:00:00.035) 0:04:52.093 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:54 -0400 (0:00:00.040) 0:04:52.134 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "761303040", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:55 -0400 (0:00:00.474) 0:04:52.608 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30268, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:47:56 -0400 (0:00:01.338) 0:04:53.947 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:47:56 -0400 (0:00:00.036) 0:04:53.983 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_master_key_encryption.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:47:56 -0400 (0:00:00.066) 0:04:54.050 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_p550n251.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:47:57 -0400 (0:00:00.334) 0:04:54.385 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:47:57 -0400 (0:00:00.036) 0:04:54.422 ******** ok: [managed_node1] => { "changed": false, "checksum": "187143db1ea14053bb779a1aaa7c4abab303457d", "dest": "/tmp/create_master_key_encryption.j2_p550n251.sql", "gid": 0, "group": "root", "md5sum": "7cdab1c29471531108d63428dc990a21", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 669, "src": "/root/.ansible/tmp/ansible-tmp-1722934077.1605864-14261-173387725123096/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:47:57 -0400 (0:00:00.632) 0:04:55.054 ******** fatal: [managed_node1]: FAILED! => { "attempts": 1, "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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:47:58 -0400 (0:00:00.378) 0:04:55.433 ******** ok: [managed_node1] => (item=/tmp/create_master_key_encryption.j2_p550n251.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_p550n251.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Master key already exists, verifying the provided password against the existing master key', 'You provided an incorrect master key password with the mssql_ha_master_key_password variable', 'Msg 15313, Level 16, State 1, Server ip-10-31-44-152, Line 17', 'The key is not encrypted using the specified decryptor.']) => { "__mssql_sqlcmd_loop": [ "Master key already exists, verifying the provided password against the existing master key", "You provided an incorrect master key password with the mssql_ha_master_key_password variable", "Msg 15313, Level 16, State 1, Server ip-10-31-44-152, Line 17", "The key is not encrypted using the specified decryptor." ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:47:58 -0400 (0:00:00.063) 0:04:55.496 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sqlcmd_input is succeeded", "skip_reason": "Conditional result was False" } TASK [Assert the incorrect password error message] ***************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:553 Tuesday 06 August 2024 04:47:58 -0400 (0:00:00.034) 0:04:55.531 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Drop endpoint] *********************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:559 Tuesday 06 August 2024 04:47:58 -0400 (0:00:00.121) 0:04:55.652 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:47:58 -0400 (0:00:00.354) 0:04:56.007 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:47:58 -0400 (0:00:00.036) 0:04:56.043 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:47:58 -0400 (0:00:00.040) 0:04:56.083 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "761610240", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:47:59 -0400 (0:00:00.476) 0:04:56.559 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30268, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:00 -0400 (0:00:01.338) 0:04:57.898 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:00 -0400 (0:00:00.037) 0:04:57.936 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_master_key_encryption.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:00 -0400 (0:00:00.066) 0:04:58.002 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_8ip9qz0a.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:01 -0400 (0:00:00.333) 0:04:58.336 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:01 -0400 (0:00:00.036) 0:04:58.372 ******** ok: [managed_node1] => { "changed": false, "checksum": "05c862c74a8be17fed5c679d32e847c0e5dc8b65", "dest": "/tmp/create_master_key_encryption.j2_8ip9qz0a.sql", "gid": 0, "group": "root", "md5sum": "65fb1fff4dc60651b5ec7369d1ebaa76", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 667, "src": "/root/.ansible/tmp/ansible-tmp-1722934081.1103945-14317-170151288744071/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:01 -0400 (0:00:00.634) 0:04:59.006 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:02 -0400 (0:00:00.494) 0:04:59.501 ******** ok: [managed_node1] => (item=/tmp/create_master_key_encryption.j2_8ip9qz0a.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_8ip9qz0a.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Master key already exists, verifying the provided password against the existing master key', 'The provided master key password is correct']) => { "__mssql_sqlcmd_loop": [ "Master key already exists, verifying the provided password against the existing master key", "The provided master key password is correct" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:02 -0400 (0:00:00.064) 0:04:59.565 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:02 -0400 (0:00:00.036) 0:04:59.602 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Remove certs from SQL Server to verify re-creating master key] *********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:568 Tuesday 06 August 2024 04:48:02 -0400 (0:00:00.056) 0:04:59.658 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:02 -0400 (0:00:00.357) 0:05:00.016 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:02 -0400 (0:00:00.035) 0:05:00.052 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:02 -0400 (0:00:00.038) 0:05:00.091 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "761495552", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "152", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:03 -0400 (0:00:00.472) 0:05:00.563 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30268, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:04 -0400 (0:00:01.340) 0:05:01.904 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:04 -0400 (0:00:00.036) 0:05:01.941 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=drop_cert.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:04 -0400 (0:00:00.162) 0:05:02.103 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/drop_cert.j2_hflpir_h.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:05 -0400 (0:00:00.337) 0:05:02.441 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:05 -0400 (0:00:00.036) 0:05:02.477 ******** ok: [managed_node1] => { "changed": false, "checksum": "9440c74b2dd62be2dd7727cd430b4652c9f18ec8", "dest": "/tmp/drop_cert.j2_hflpir_h.sql", "gid": 0, "group": "root", "md5sum": "47c6972d824e475026450598c336856a", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 951, "src": "/root/.ansible/tmp/ansible-tmp-1722934085.2159467-14373-114188118176192/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:05 -0400 (0:00:00.639) 0:05:03.116 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:08 -0400 (0:00:02.399) 0:05:05.516 ******** ok: [managed_node1] => (item=/tmp/drop_cert.j2_hflpir_h.sql) => { "__mssql_sqlcmd_loop": "/tmp/drop_cert.j2_hflpir_h.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate ExampleCert already exists, checking if there is an endopint associated with this certificate', 'Removing the endpoint Example_Endpoint to re-create it', 'The Example_Endpoint endpoint removed successfully', 'Removing the ExampleCert certificate to re-create it', 'The ExampleCert certificate removed successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, checking if there is an endopint associated with this certificate", "Removing the endpoint Example_Endpoint to re-create it", "The Example_Endpoint endpoint removed successfully", "Removing the ExampleCert certificate to re-create it", "The ExampleCert certificate removed successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile drop_cert.j2] ****** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:08 -0400 (0:00:00.062) 0:05:05.578 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:08 -0400 (0:00:00.036) 0:05:05.614 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Remove certificate and private key] ************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:577 Tuesday 06 August 2024 04:48:08 -0400 (0:00:00.056) 0:05:05.671 ******** changed: [managed_node1] => (item=/var/opt/mssql/data/ExampleCert.cer) => { "ansible_loop_var": "item", "changed": true, "item": "/var/opt/mssql/data/ExampleCert.cer", "path": "/var/opt/mssql/data/ExampleCert.cer", "state": "absent" } changed: [managed_node1] => (item=/var/opt/mssql/data/ExampleCert.pvk) => { "ansible_loop_var": "item", "changed": true, "item": "/var/opt/mssql/data/ExampleCert.pvk", "path": "/var/opt/mssql/data/ExampleCert.pvk", "state": "absent" } TASK [Verify creating master key with incorrect password and mssql_ha_reset_cert set to true] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:585 Tuesday 06 August 2024 04:48:09 -0400 (0:00:00.757) 0:05:06.429 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:09 -0400 (0:00:00.361) 0:05:06.791 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:09 -0400 (0:00:00.036) 0:05:06.827 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:09 -0400 (0:00:00.140) 0:05:06.967 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "762204160", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "152", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:10 -0400 (0:00:00.479) 0:05:07.447 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30476, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:11 -0400 (0:00:01.340) 0:05:08.788 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:11 -0400 (0:00:00.038) 0:05:08.826 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_master_key_encryption.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:11 -0400 (0:00:00.066) 0:05:08.892 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_master_key_encryption.j2_udup4xju.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:11 -0400 (0:00:00.337) 0:05:09.230 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:11 -0400 (0:00:00.037) 0:05:09.267 ******** ok: [managed_node1] => { "changed": false, "checksum": "6c527401c1b35c00597e32f17d1ee708704f0878", "dest": "/tmp/create_master_key_encryption.j2_udup4xju.sql", "gid": 0, "group": "root", "md5sum": "a9073ecb140b780f605f4332a55c8061", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 895, "src": "/root/.ansible/tmp/ansible-tmp-1722934092.0074914-14444-128806702461793/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:12 -0400 (0:00:00.635) 0:05:09.903 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:12 -0400 (0:00:00.381) 0:05:10.285 ******** ok: [managed_node1] => (item=/tmp/create_master_key_encryption.j2_udup4xju.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_master_key_encryption.j2_udup4xju.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Master key already exists, verifying the provided password against the existing master key', 'Master key password provided with the mssql_ha_master_key_password variable does not match the existing password, dropping master key to re-create it', 'Master key dropped successfully', 'Master key created successfully']) => { "__mssql_sqlcmd_loop": [ "Master key already exists, verifying the provided password against the existing master key", "Master key password provided with the mssql_ha_master_key_password variable does not match the existing password, dropping master key to re-create it", "Master key dropped successfully", "Master key created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_master_key_encryption.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:13 -0400 (0:00:00.063) 0:05:10.349 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:13 -0400 (0:00:00.035) 0:05:10.384 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert the expected error message] *************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:598 Tuesday 06 August 2024 04:48:13 -0400 (0:00:00.056) 0:05:10.440 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Input create_and_back_up_cert.j2 to create cert] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:634 Tuesday 06 August 2024 04:48:13 -0400 (0:00:00.039) 0:05:10.480 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:13 -0400 (0:00:00.174) 0:05:10.655 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:13 -0400 (0:00:00.039) 0:05:10.695 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:13 -0400 (0:00:00.042) 0:05:10.737 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "762912768", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "154", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:13 -0400 (0:00:00.475) 0:05:11.213 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30476, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:15 -0400 (0:00:01.341) 0:05:12.554 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:15 -0400 (0:00:00.039) 0:05:12.593 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_and_back_up_cert.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:15 -0400 (0:00:00.068) 0:05:12.662 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_y1n_ofdn.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:15 -0400 (0:00:00.338) 0:05:13.001 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:15 -0400 (0:00:00.038) 0:05:13.039 ******** ok: [managed_node1] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_y1n_ofdn.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1722934095.7797346-14501-114729236150611/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:16 -0400 (0:00:00.643) 0:05:13.683 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:17 -0400 (0:00:00.693) 0:05:14.377 ******** ok: [managed_node1] => (item=/tmp/create_and_back_up_cert.j2_y1n_ofdn.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_y1n_ofdn.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate ExampleCert does not exist, creating', 'Certificate ExampleCert created successfully', 'Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk', 'Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert does not exist, creating", "Certificate ExampleCert created successfully", "Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk", "Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:17 -0400 (0:00:00.066) 0:05:14.443 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:17 -0400 (0:00:00.036) 0:05:14.479 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert created successfully messages] ************************************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:643 Tuesday 06 August 2024 04:48:17 -0400 (0:00:00.056) 0:05:14.536 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "Certificate {{ mssql_ha_cert_name }} created successfully" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "{{ __mssql_ha_cert_dest }} and {{ __mssql_ha_private_key_dest }} exported successfully" in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Input create_and_back_up_cert.j2 when cert exists] *********************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:654 Tuesday 06 August 2024 04:48:17 -0400 (0:00:00.044) 0:05:14.580 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:17 -0400 (0:00:00.175) 0:05:14.756 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:17 -0400 (0:00:00.040) 0:05:14.796 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:17 -0400 (0:00:00.040) 0:05:14.837 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "763015168", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "153", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:18 -0400 (0:00:00.479) 0:05:15.316 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30476, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:19 -0400 (0:00:01.343) 0:05:16.660 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:19 -0400 (0:00:00.038) 0:05:16.698 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_and_back_up_cert.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:19 -0400 (0:00:00.068) 0:05:16.766 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_nvpabxg3.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:19 -0400 (0:00:00.334) 0:05:17.101 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:19 -0400 (0:00:00.038) 0:05:17.140 ******** ok: [managed_node1] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_nvpabxg3.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1722934099.8807037-14558-234121956255382/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:20 -0400 (0:00:00.640) 0:05:17.780 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:20 -0400 (0:00:00.386) 0:05:18.167 ******** ok: [managed_node1] => (item=/tmp/create_and_back_up_cert.j2_nvpabxg3.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_nvpabxg3.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate ExampleCert already exists, skipping', '/var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk already exist, skipping']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, skipping", "/var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk already exist, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:20 -0400 (0:00:00.067) 0:05:18.235 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:20 -0400 (0:00:00.038) 0:05:18.273 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:663 Tuesday 06 August 2024 04:48:21 -0400 (0:00:00.160) 0:05:18.434 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "Certificate {{ mssql_ha_cert_name }} already exists, skipping" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "{{ __mssql_ha_cert_dest }} and {{ __mssql_ha_private_key_dest }} already exist, skipping" in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Back up certificate and private key] ************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:675 Tuesday 06 August 2024 04:48:21 -0400 (0:00:00.047) 0:05:18.481 ******** changed: [managed_node1] => (item=/var/opt/mssql/data/ExampleCert.cer) => { "ansible_loop_var": "item", "changed": true, "checksum": "8ce9b00b9e9a3344aa674a3ee18bc509aa100cdf", "dest": "/tmp/ExampleCert.cer", "gid": 0, "group": "root", "item": "/var/opt/mssql/data/ExampleCert.cer", "md5sum": "b2c5191a07dae203550279b16cf9771d", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:var_t:s0", "size": 979, "src": "/var/opt/mssql/data/ExampleCert.cer", "state": "file", "uid": 0 } changed: [managed_node1] => (item=/var/opt/mssql/data/ExampleCert.pvk) => { "ansible_loop_var": "item", "changed": true, "checksum": "45f1a0ed2e2ab43ab26c9d8fb74c3440a7de6455", "dest": "/tmp/ExampleCert.pvk", "gid": 0, "group": "root", "item": "/var/opt/mssql/data/ExampleCert.pvk", "md5sum": "318c33b2cd0aa56fbb759d554f094c3a", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:var_t:s0", "size": 1788, "src": "/var/opt/mssql/data/ExampleCert.pvk", "state": "file", "uid": 0 } TASK [Remove private key] ****************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:685 Tuesday 06 August 2024 04:48:21 -0400 (0:00:00.667) 0:05:19.149 ******** changed: [managed_node1] => { "changed": true, "path": "/var/opt/mssql/data/ExampleCert.pvk", "state": "absent" } TASK [Input create_and_back_up_cert.j2] **************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:690 Tuesday 06 August 2024 04:48:22 -0400 (0:00:00.351) 0:05:19.501 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:22 -0400 (0:00:00.086) 0:05:19.587 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:22 -0400 (0:00:00.039) 0:05:19.627 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:22 -0400 (0:00:00.043) 0:05:19.670 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "764940288", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "153", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:22 -0400 (0:00:00.484) 0:05:20.155 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30476, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:24 -0400 (0:00:01.345) 0:05:21.500 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:24 -0400 (0:00:00.040) 0:05:21.540 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_and_back_up_cert.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:24 -0400 (0:00:00.068) 0:05:21.609 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_1q0e5lpi.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:24 -0400 (0:00:00.335) 0:05:21.945 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:24 -0400 (0:00:00.037) 0:05:21.983 ******** ok: [managed_node1] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_1q0e5lpi.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1722934104.7235308-14638-222111703799646/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:25 -0400 (0:00:00.641) 0:05:22.624 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:25 -0400 (0:00:00.483) 0:05:23.108 ******** ok: [managed_node1] => (item=/tmp/create_and_back_up_cert.j2_1q0e5lpi.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_1q0e5lpi.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate ExampleCert already exists, skipping', '/var/opt/mssql/data/ExampleCert.pvk does not exist while /var/opt/mssql/data/ExampleCert.cer exists. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates.']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, skipping", "/var/opt/mssql/data/ExampleCert.pvk does not exist while /var/opt/mssql/data/ExampleCert.cer exists. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates." ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:25 -0400 (0:00:00.067) 0:05:23.175 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:25 -0400 (0:00:00.036) 0:05:23.212 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert expected error messages] ****************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:699 Tuesday 06 August 2024 04:48:25 -0400 (0:00:00.058) 0:05:23.270 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "{{ __mssql_ha_private_key_dest }} does not exist while {{ __mssql_ha_cert_dest }} exists." in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove certificate] ****************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:711 Tuesday 06 August 2024 04:48:26 -0400 (0:00:00.045) 0:05:23.316 ******** changed: [managed_node1] => { "changed": true, "path": "/var/opt/mssql/data/ExampleCert.cer", "state": "absent" } TASK [Return private key] ****************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:716 Tuesday 06 August 2024 04:48:26 -0400 (0:00:00.342) 0:05:23.659 ******** changed: [managed_node1] => { "changed": true, "checksum": "45f1a0ed2e2ab43ab26c9d8fb74c3440a7de6455", "dest": "/var/opt/mssql/data/ExampleCert.pvk", "gid": 0, "group": "root", "md5sum": "318c33b2cd0aa56fbb759d554f094c3a", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:var_t:s0", "size": 1788, "src": "/tmp/ExampleCert.pvk", "state": "file", "uid": 0 } TASK [Input create_and_back_up_cert.j2] **************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:723 Tuesday 06 August 2024 04:48:26 -0400 (0:00:00.354) 0:05:24.014 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:26 -0400 (0:00:00.089) 0:05:24.103 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:26 -0400 (0:00:00.038) 0:05:24.142 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:26 -0400 (0:00:00.039) 0:05:24.181 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "765009920", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "153", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:27 -0400 (0:00:00.475) 0:05:24.657 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30476, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:28 -0400 (0:00:01.342) 0:05:25.999 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:28 -0400 (0:00:00.038) 0:05:26.038 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_and_back_up_cert.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:28 -0400 (0:00:00.169) 0:05:26.207 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_le7azl9q.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:29 -0400 (0:00:00.343) 0:05:26.551 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:29 -0400 (0:00:00.038) 0:05:26.590 ******** ok: [managed_node1] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_le7azl9q.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1722934109.3297846-14711-121414093624298/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:29 -0400 (0:00:00.639) 0:05:27.229 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:30 -0400 (0:00:00.384) 0:05:27.614 ******** ok: [managed_node1] => (item=/tmp/create_and_back_up_cert.j2_le7azl9q.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_le7azl9q.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate ExampleCert already exists, skipping', '/var/opt/mssql/data/ExampleCert.cer does not exist while /var/opt/mssql/data/ExampleCert.pvk exists. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates.']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, skipping", "/var/opt/mssql/data/ExampleCert.cer does not exist while /var/opt/mssql/data/ExampleCert.pvk exists. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates." ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:30 -0400 (0:00:00.071) 0:05:27.685 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:30 -0400 (0:00:00.039) 0:05:27.725 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert expected error messages] ****************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:732 Tuesday 06 August 2024 04:48:30 -0400 (0:00:00.058) 0:05:27.784 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "{{ __mssql_ha_cert_dest }} does not exist while {{ __mssql_ha_private_key_dest }} exists." in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Return certificate] ****************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:744 Tuesday 06 August 2024 04:48:30 -0400 (0:00:00.049) 0:05:27.833 ******** changed: [managed_node1] => { "changed": true, "checksum": "8ce9b00b9e9a3344aa674a3ee18bc509aa100cdf", "dest": "/var/opt/mssql/data/ExampleCert.cer", "gid": 0, "group": "root", "md5sum": "b2c5191a07dae203550279b16cf9771d", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:var_t:s0", "size": 979, "src": "/tmp/ExampleCert.cer", "state": "file", "uid": 0 } TASK [Drop certificate from SQL Server] **************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:751 Tuesday 06 August 2024 04:48:30 -0400 (0:00:00.353) 0:05:28.187 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:30 -0400 (0:00:00.099) 0:05:28.286 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:31 -0400 (0:00:00.040) 0:05:28.327 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:31 -0400 (0:00:00.040) 0:05:28.368 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "765566976", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "153", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:31 -0400 (0:00:00.477) 0:05:28.845 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30476, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:32 -0400 (0:00:01.345) 0:05:30.190 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:32 -0400 (0:00:00.038) 0:05:30.228 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=drop_cert.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:33 -0400 (0:00:00.182) 0:05:30.410 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/drop_cert.j2_tf_2oe2g.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:33 -0400 (0:00:00.338) 0:05:30.748 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:33 -0400 (0:00:00.039) 0:05:30.788 ******** ok: [managed_node1] => { "changed": false, "checksum": "9440c74b2dd62be2dd7727cd430b4652c9f18ec8", "dest": "/tmp/drop_cert.j2_tf_2oe2g.sql", "gid": 0, "group": "root", "md5sum": "47c6972d824e475026450598c336856a", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 951, "src": "/root/.ansible/tmp/ansible-tmp-1722934113.5299354-14776-205172152682089/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:34 -0400 (0:00:00.638) 0:05:31.427 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting drop_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:34 -0400 (0:00:00.374) 0:05:31.802 ******** ok: [managed_node1] => (item=/tmp/drop_cert.j2_tf_2oe2g.sql) => { "__mssql_sqlcmd_loop": "/tmp/drop_cert.j2_tf_2oe2g.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate ExampleCert already exists, checking if there is an endopint associated with this certificate', 'There is no endpoint associated with this certificate, skipping', 'Removing the ExampleCert certificate to re-create it', 'The ExampleCert certificate removed successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert already exists, checking if there is an endopint associated with this certificate", "There is no endpoint associated with this certificate, skipping", "Removing the ExampleCert certificate to re-create it", "The ExampleCert certificate removed successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile drop_cert.j2] ****** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:34 -0400 (0:00:00.069) 0:05:31.872 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:34 -0400 (0:00:00.038) 0:05:31.910 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Input create_and_back_up_cert.j2] **************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:762 Tuesday 06 August 2024 04:48:34 -0400 (0:00:00.057) 0:05:31.968 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:34 -0400 (0:00:00.068) 0:05:32.036 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:34 -0400 (0:00:00.038) 0:05:32.074 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:34 -0400 (0:00:00.041) 0:05:32.116 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "765485056", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "153", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:35 -0400 (0:00:00.478) 0:05:32.595 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30476, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:36 -0400 (0:00:01.343) 0:05:33.939 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:36 -0400 (0:00:00.143) 0:05:34.083 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_and_back_up_cert.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:36 -0400 (0:00:00.070) 0:05:34.154 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_5uyb83y_.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:37 -0400 (0:00:00.339) 0:05:34.493 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:37 -0400 (0:00:00.038) 0:05:34.532 ******** ok: [managed_node1] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_5uyb83y_.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1722934117.2739196-14832-176175763440723/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:37 -0400 (0:00:00.646) 0:05:35.179 ******** fatal: [managed_node1]: FAILED! => { "attempts": 1, "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 : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:38 -0400 (0:00:00.388) 0:05:35.567 ******** ok: [managed_node1] => (item=/tmp/create_and_back_up_cert.j2_5uyb83y_.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_5uyb83y_.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate ExampleCert does not exist, creating', 'Msg 51000, Level 16, State 1, Server ip-10-31-44-152, Line 20', 'Certificate ExampleCert does not exist in SQL Server, however, /var/opt/mssql/data/ExampleCert.cer and/or /var/opt/mssql/data/ExampleCert.pvk files do exist. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates. Ensure to read carefully what `mssql_ha_reset_cert: true` does in the README.md file of the role beforehand']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert does not exist, creating", "Msg 51000, Level 16, State 1, Server ip-10-31-44-152, Line 20", "Certificate ExampleCert does not exist in SQL Server, however, /var/opt/mssql/data/ExampleCert.cer and/or /var/opt/mssql/data/ExampleCert.pvk files do exist. You must either remove the files, or run the role with `mssql_ha_reset_cert: true` to regenerate certificates. Ensure to read carefully what `mssql_ha_reset_cert: true` does in the README.md file of the role beforehand" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:38 -0400 (0:00:00.067) 0:05:35.635 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sqlcmd_input is succeeded", "skip_reason": "Conditional result was False" } TASK [Assert expected error messages] ****************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:775 Tuesday 06 August 2024 04:48:38 -0400 (0:00:00.035) 0:05:35.670 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "Certificate {{ mssql_ha_cert_name }} does not exist in SQL Server, however, {{ __mssql_ha_cert_dest }} and/or {{ __mssql_ha_private_key_dest }} files do exist." in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove certificate and private key] ************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:784 Tuesday 06 August 2024 04:48:38 -0400 (0:00:00.046) 0:05:35.716 ******** changed: [managed_node1] => (item=/var/opt/mssql/data/ExampleCert.cer) => { "ansible_loop_var": "item", "changed": true, "item": "/var/opt/mssql/data/ExampleCert.cer", "path": "/var/opt/mssql/data/ExampleCert.cer", "state": "absent" } changed: [managed_node1] => (item=/var/opt/mssql/data/ExampleCert.pvk) => { "ansible_loop_var": "item", "changed": true, "item": "/var/opt/mssql/data/ExampleCert.pvk", "path": "/var/opt/mssql/data/ExampleCert.pvk", "state": "absent" } TASK [Ensure that certificates exist] ****************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:792 Tuesday 06 August 2024 04:48:39 -0400 (0:00:00.646) 0:05:36.363 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:39 -0400 (0:00:00.104) 0:05:36.467 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:39 -0400 (0:00:00.041) 0:05:36.508 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:39 -0400 (0:00:00.042) 0:05:36.551 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "765370368", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "152", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:39 -0400 (0:00:00.479) 0:05:37.030 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30476, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:41 -0400 (0:00:01.453) 0:05:38.483 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:41 -0400 (0:00:00.041) 0:05:38.525 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_and_back_up_cert.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:41 -0400 (0:00:00.070) 0:05:38.595 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_and_back_up_cert.j2_kw8s_qd1.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:41 -0400 (0:00:00.340) 0:05:38.935 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:41 -0400 (0:00:00.037) 0:05:38.973 ******** ok: [managed_node1] => { "changed": false, "checksum": "695699700d6a3cfc18d94441e6f3a63f4f749aee", "dest": "/tmp/create_and_back_up_cert.j2_kw8s_qd1.sql", "gid": 0, "group": "root", "md5sum": "1a14f5a31ade2ed9bd6854414376d638", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 2497, "src": "/root/.ansible/tmp/ansible-tmp-1722934121.7138119-14903-259155536147421/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:42 -0400 (0:00:00.646) 0:05:39.619 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:43 -0400 (0:00:00.757) 0:05:40.376 ******** ok: [managed_node1] => (item=/tmp/create_and_back_up_cert.j2_kw8s_qd1.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_and_back_up_cert.j2_kw8s_qd1.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Certificate ExampleCert does not exist, creating', 'Certificate ExampleCert created successfully', 'Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk', 'Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully']) => { "__mssql_sqlcmd_loop": [ "Certificate ExampleCert does not exist, creating", "Certificate ExampleCert created successfully", "Exporting a certificate and private key to /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk", "Certificate and private key files /var/opt/mssql/data/ExampleCert.cer and /var/opt/mssql/data/ExampleCert.pvk exported successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_and_back_up_cert.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:43 -0400 (0:00:00.065) 0:05:40.442 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:43 -0400 (0:00:00.037) 0:05:40.480 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert expected messages] ************************************************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:801 Tuesday 06 August 2024 04:48:43 -0400 (0:00:00.056) 0:05:40.536 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Create a login when it already exists ExampleLogin] ********************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:808 Tuesday 06 August 2024 04:48:43 -0400 (0:00:00.042) 0:05:40.578 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:43 -0400 (0:00:00.475) 0:05:41.054 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:43 -0400 (0:00:00.038) 0:05:41.092 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:43 -0400 (0:00:00.040) 0:05:41.133 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "765427712", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "152", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:44 -0400 (0:00:00.476) 0:05:41.610 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30476, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:45 -0400 (0:00:01.340) 0:05:42.950 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:45 -0400 (0:00:00.038) 0:05:42.989 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=create_ha_login.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:45 -0400 (0:00:00.067) 0:05:43.056 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_ha_login.j2_uvbveaoe.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:46 -0400 (0:00:00.338) 0:05:43.394 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:46 -0400 (0:00:00.037) 0:05:43.432 ******** ok: [managed_node1] => { "changed": false, "checksum": "60abdf14dd202c9c8125f431a288b3d2e580542b", "dest": "/tmp/create_ha_login.j2_uvbveaoe.sql", "gid": 0, "group": "root", "md5sum": "2eb72acf6fedf6638e3a683504995557", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 681, "src": "/root/.ansible/tmp/ansible-tmp-1722934126.1713595-14960-103363277136152/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:46 -0400 (0:00:00.632) 0:05:44.064 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:47 -0400 (0:00:00.378) 0:05:44.443 ******** ok: [managed_node1] => (item=/tmp/create_ha_login.j2_uvbveaoe.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_ha_login.j2_uvbveaoe.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=["Changed database context to 'master'.", 'A ExampleLogin login already exists, skipping', 'ExampleLogin is a member of sysadmin role, skipping']) => { "__mssql_sqlcmd_loop": [ "Changed database context to 'master'.", "A ExampleLogin login already exists, skipping", "ExampleLogin is a member of sysadmin role, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_ha_login.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:47 -0400 (0:00:00.063) 0:05:44.506 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:47 -0400 (0:00:00.035) 0:05:44.542 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:817 Tuesday 06 August 2024 04:48:47 -0400 (0:00:00.183) 0:05:44.726 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "A {{ mssql_ha_login }} login already exists, skipping" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "{{ mssql_ha_login }} is a member of sysadmin role, skipping" in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Input replicate_db.j2] *************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:831 Tuesday 06 August 2024 04:48:47 -0400 (0:00:00.043) 0:05:44.770 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:47 -0400 (0:00:00.069) 0:05:44.839 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:47 -0400 (0:00:00.039) 0:05:44.879 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:47 -0400 (0:00:00.042) 0:05:44.922 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "765591552", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "152", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:48 -0400 (0:00:00.479) 0:05:45.401 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30476, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:49 -0400 (0:00:01.343) 0:05:46.745 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:49 -0400 (0:00:00.039) 0:05:46.785 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=replicate_db.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:49 -0400 (0:00:00.069) 0:05:46.854 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/replicate_db.j2_v2yu0oi5.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:49 -0400 (0:00:00.334) 0:05:47.188 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:49 -0400 (0:00:00.038) 0:05:47.226 ******** ok: [managed_node1] => { "changed": false, "checksum": "31f3afd712f14ebd9937c978467b374db210c0f8", "dest": "/tmp/replicate_db.j2_v2yu0oi5.sql", "gid": 0, "group": "root", "md5sum": "3b3910ed4e8e48eee5b879dfaa2b1877", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4750, "src": "/root/.ansible/tmp/ansible-tmp-1722934129.9661622-15017-206207557207152/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:50 -0400 (0:00:00.636) 0:05:47.863 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:51 -0400 (0:00:00.440) 0:05:48.303 ******** ok: [managed_node1] => (item=/tmp/replicate_db.j2_v2yu0oi5.sql) => { "__mssql_sqlcmd_loop": "/tmp/replicate_db.j2_v2yu0oi5.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['RECOVERY FULL on the ExampleDB1 database is set, skipping', 'The ExampleDB1 database is already backed up, skipping', 'The ExampleDB1 database is already added to the ExampleAG availability group, skipping', 'RECOVERY FULL on the ExampleDB2 database is set, skipping', 'The ExampleDB2 database is already backed up, skipping', 'The ExampleDB2 database is already added to the ExampleAG availability group, skipping']) => { "__mssql_sqlcmd_loop": [ "RECOVERY FULL on the ExampleDB1 database is set, skipping", "The ExampleDB1 database is already backed up, skipping", "The ExampleDB1 database is already added to the ExampleAG availability group, skipping", "RECOVERY FULL on the ExampleDB2 database is set, skipping", "The ExampleDB2 database is already backed up, skipping", "The ExampleDB2 database is already added to the ExampleAG availability group, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile replicate_db.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:51 -0400 (0:00:00.067) 0:05:48.370 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:51 -0400 (0:00:00.036) 0:05:48.407 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:840 Tuesday 06 August 2024 04:48:51 -0400 (0:00:00.177) 0:05:48.585 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure endpoint exists] ************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:865 Tuesday 06 August 2024 04:48:51 -0400 (0:00:00.045) 0:05:48.631 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:51 -0400 (0:00:00.377) 0:05:49.008 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:51 -0400 (0:00:00.038) 0:05:49.047 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:51 -0400 (0:00:00.040) 0:05:49.087 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "770752512", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "152", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:52 -0400 (0:00:00.484) 0:05:49.571 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30476, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:53 -0400 (0:00:01.342) 0:05:50.913 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:53 -0400 (0:00:00.037) 0:05:50.951 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_endpoint.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:53 -0400 (0:00:00.067) 0:05:51.018 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_endpoint.j2_7p6hyumx.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:54 -0400 (0:00:00.335) 0:05:51.354 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:54 -0400 (0:00:00.038) 0:05:51.392 ******** ok: [managed_node1] => { "changed": false, "checksum": "bb736eb4adb5d35d772b76e1c3bb19c6b040a59c", "dest": "/tmp/configure_endpoint.j2_7p6hyumx.sql", "gid": 0, "group": "root", "md5sum": "efa1eaf69cd98e51d145221d3699a214", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3106, "src": "/root/.ansible/tmp/ansible-tmp-1722934134.1320996-15074-186117385395311/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:48:54 -0400 (0:00:00.642) 0:05:52.035 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:48:57 -0400 (0:00:02.381) 0:05:54.416 ******** ok: [managed_node1] => (item=/tmp/configure_endpoint.j2_7p6hyumx.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_endpoint.j2_7p6hyumx.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Endpoint Example_Endpoint does not exist, creating', 'Endpoint Example_Endpoint created successfully']) => { "__mssql_sqlcmd_loop": [ "Endpoint Example_Endpoint does not exist, creating", "Endpoint Example_Endpoint created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_endpoint.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:48:57 -0400 (0:00:00.065) 0:05:54.481 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:48:57 -0400 (0:00:00.154) 0:05:54.635 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Input configure_ag.yml when AG exists] *********************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:877 Tuesday 06 August 2024 04:48:57 -0400 (0:00:00.056) 0:05:54.692 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:48:57 -0400 (0:00:00.070) 0:05:54.763 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:48:57 -0400 (0:00:00.038) 0:05:54.801 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:48:57 -0400 (0:00:00.041) 0:05:54.843 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "770764800", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "152", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:48:58 -0400 (0:00:00.476) 0:05:55.319 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30774, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:48:59 -0400 (0:00:01.343) 0:05:56.663 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:48:59 -0400 (0:00:00.040) 0:05:56.704 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_ag.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:48:59 -0400 (0:00:00.068) 0:05:56.772 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_wqk4qmae.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:48:59 -0400 (0:00:00.335) 0:05:57.108 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:48:59 -0400 (0:00:00.038) 0:05:57.147 ******** ok: [managed_node1] => { "changed": false, "checksum": "340985e141dc90e6d83f72491f17c05b077e0a62", "dest": "/tmp/configure_ag.j2_wqk4qmae.sql", "gid": 0, "group": "root", "md5sum": "11660718a2c8a34b08f2dbf31055a847", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 10944, "src": "/root/.ansible/tmp/ansible-tmp-1722934139.8880205-15130-85622617522639/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:49:02 -0400 (0:00:02.907) 0:06:00.055 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:49:03 -0400 (0:00:00.386) 0:06:00.442 ******** ok: [managed_node1] => (item=/tmp/configure_ag.j2_wqk4qmae.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_wqk4qmae.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Verifying the existing availability group ExampleAG', 'DB_FAILOVER = ON is already set, skipping', 'Verifying replicas', 'Verifying the existing replica ip-10-31-44-152', 'ip-10-31-44-152: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping', 'ip-10-31-44-152: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', 'ip-10-31-44-152: The SEEDING_MODE setting on this primary replica is already set correctly, skipping', 'ip-10-31-44-152: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping', 'Verifying the existing replica ip-10-31-44-152', 'ip-10-31-44-152: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping', 'ip-10-31-44-152: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', 'ip-10-31-44-152: The SEEDING_MODE setting on this primary replica is already set correctly, skipping', 'ip-10-31-44-152: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping', 'Granted the CREATE ANY DATABASE permission to the ExampleAG availability group']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing availability group ExampleAG", "DB_FAILOVER = ON is already set, skipping", "Verifying replicas", "Verifying the existing replica ip-10-31-44-152", "ip-10-31-44-152: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping", "ip-10-31-44-152: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "ip-10-31-44-152: The SEEDING_MODE setting on this primary replica is already set correctly, skipping", "ip-10-31-44-152: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping", "Verifying the existing replica ip-10-31-44-152", "ip-10-31-44-152: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping", "ip-10-31-44-152: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "ip-10-31-44-152: The SEEDING_MODE setting on this primary replica is already set correctly, skipping", "ip-10-31-44-152: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping", "Granted the CREATE ANY DATABASE permission to the ExampleAG availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:49:03 -0400 (0:00:00.186) 0:06:00.629 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:49:03 -0400 (0:00:00.037) 0:06:00.667 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:886 Tuesday 06 August 2024 04:49:03 -0400 (0:00:00.057) 0:06:00.724 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The ENDPOINT_URL setting on this {{ mssql_ha_replica_type }} replica is already set correctly, skipping" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The FAILOVER_MODE setting on this {{ mssql_ha_replica_type }} replica is already set correctly, skipping" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The SEEDING_MODE setting on this {{ mssql_ha_replica_type }} replica is already set correctly, skipping" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this {{ mssql_ha_replica_type }} replica is already set correctly" in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Configure AG with CLUSTER_TYPE = NONE] *********************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:922 Tuesday 06 August 2024 04:49:03 -0400 (0:00:00.048) 0:06:00.773 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:49:03 -0400 (0:00:00.068) 0:06:00.841 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:49:03 -0400 (0:00:00.037) 0:06:00.879 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:49:03 -0400 (0:00:00.041) 0:06:00.921 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "770981888", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "152", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:49:04 -0400 (0:00:00.474) 0:06:01.395 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 30774, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:49:05 -0400 (0:00:01.343) 0:06:02.738 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:49:05 -0400 (0:00:00.039) 0:06:02.777 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_ag_cluster_type_none.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_ag_cluster_type_none.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:49:05 -0400 (0:00:00.067) 0:06:02.845 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag_cluster_type_none.j2_obop0w2y.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_ag_cluster_type_none.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:49:05 -0400 (0:00:00.336) 0:06:03.182 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_ag_cluster_type_none.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:49:05 -0400 (0:00:00.037) 0:06:03.219 ******** ok: [managed_node1] => { "changed": false, "checksum": "287690dc7e3ffd9142f5a6f71506195677facc88", "dest": "/tmp/configure_ag_cluster_type_none.j2_obop0w2y.sql", "gid": 0, "group": "root", "md5sum": "37b187b0c1a2d0aba6a5c661690a3d3a", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 345, "src": "/root/.ansible/tmp/ansible-tmp-1722934145.9587471-15187-202309096833127/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_ag_cluster_type_none.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:49:06 -0400 (0:00:00.630) 0:06:03.850 ******** ok: [managed_node1] => { "attempts": 1, "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 : Print file location and output from inputting configure_ag_cluster_type_none.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:49:06 -0400 (0:00:00.410) 0:06:04.261 ******** ok: [managed_node1] => (item=/tmp/configure_ag_cluster_type_none.j2_obop0w2y.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag_cluster_type_none.j2_obop0w2y.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_ag_cluster_type_none.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:49:07 -0400 (0:00:00.185) 0:06:04.446 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:49:07 -0400 (0:00:00.038) 0:06:04.484 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Input configure_ag.yml with CLUSTER_TYPE = NONE] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:927 Tuesday 06 August 2024 04:49:07 -0400 (0:00:00.057) 0:06:04.542 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:49:07 -0400 (0:00:00.074) 0:06:04.616 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:49:07 -0400 (0:00:00.039) 0:06:04.655 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:49:07 -0400 (0:00:00.041) 0:06:04.697 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "771276800", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "151", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:49:07 -0400 (0:00:00.480) 0:06:05.178 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 32631, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:49:09 -0400 (0:00:01.343) 0:06:06.521 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:49:09 -0400 (0:00:00.039) 0:06:06.560 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_ag.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:49:09 -0400 (0:00:00.067) 0:06:06.628 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_b7v9adq7.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:49:09 -0400 (0:00:00.334) 0:06:06.962 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:49:09 -0400 (0:00:00.036) 0:06:06.999 ******** ok: [managed_node1] => { "changed": false, "checksum": "734831e6962b218b59c3470c85f6df651adaac19", "dest": "/tmp/configure_ag.j2_b7v9adq7.sql", "gid": 0, "group": "root", "md5sum": "c6d1f72da652eae7174fbb31680b5ba3", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 10728, "src": "/root/.ansible/tmp/ansible-tmp-1722934149.7391403-15243-59261761346085/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:49:12 -0400 (0:00:02.764) 0:06:09.763 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:49:13 -0400 (0:00:00.559) 0:06:10.323 ******** ok: [managed_node1] => (item=/tmp/configure_ag.j2_b7v9adq7.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_b7v9adq7.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['The existing ag2 availability group has incorrect cluster type set, dropping the group to re-create it', 'The ag2 availability group dropped successfully', 'Creating the ag2 availability group', 'The ag2 availability group created successfully', 'Granted the CREATE ANY DATABASE permission to the ag2 availability group']) => { "__mssql_sqlcmd_loop": [ "The existing ag2 availability group has incorrect cluster type set, dropping the group to re-create it", "The ag2 availability group dropped successfully", "Creating the ag2 availability group", "The ag2 availability group created successfully", "Granted the CREATE ANY DATABASE permission to the ag2 availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:49:13 -0400 (0:00:00.064) 0:06:10.388 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:49:13 -0400 (0:00:00.157) 0:06:10.546 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:936 Tuesday 06 August 2024 04:49:13 -0400 (0:00:00.058) 0:06:10.605 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The existing {{ mssql_ha_ag_name }} availability group has incorrect cluster type set, dropping the group to re- create it" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The {{ mssql_ha_ag_name }} availability group dropped successfully" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The {{ mssql_ha_ag_name }} availability group created successfully" in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Alter AG] **************************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:953 Tuesday 06 August 2024 04:49:13 -0400 (0:00:00.048) 0:06:10.653 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:49:13 -0400 (0:00:00.082) 0:06:10.735 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:49:13 -0400 (0:00:00.040) 0:06:10.776 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:49:13 -0400 (0:00:00.041) 0:06:10.817 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "776032256", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "152", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:49:13 -0400 (0:00:00.475) 0:06:11.292 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 36421, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:49:15 -0400 (0:00:01.340) 0:06:12.633 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:49:15 -0400 (0:00:00.038) 0:06:12.672 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=alter_ag.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for alter_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:49:15 -0400 (0:00:00.067) 0:06:12.739 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/alter_ag.j2_ukmwpjc7.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host alter_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:49:15 -0400 (0:00:00.335) 0:06:13.075 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for alter_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:49:15 -0400 (0:00:00.037) 0:06:13.112 ******** ok: [managed_node1] => { "changed": false, "checksum": "fd8c3f2d7ff38c74436bb1acfa904869604116d9", "dest": "/tmp/alter_ag.j2_ukmwpjc7.sql", "gid": 0, "group": "root", "md5sum": "874117310fdfed213f5167a0e0adbf0c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 3428, "src": "/root/.ansible/tmp/ansible-tmp-1722934155.8515666-15300-110833288880993/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command alter_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:49:17 -0400 (0:00:01.403) 0:06:14.515 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting alter_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:49:17 -0400 (0:00:00.566) 0:06:15.081 ******** ok: [managed_node1] => (item=/tmp/alter_ag.j2_ukmwpjc7.sql) => { "__mssql_sqlcmd_loop": "/tmp/alter_ag.j2_ukmwpjc7.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Altering the existing availability group ag2', 'Set DB_FAILOVER to ON succesfully', 'Altering replicas', 'Verifying the existing replica managed_node1', 'ip-10-31-44-152: The ENDPOINT_URL setting on this primary replica configured successfully', 'ip-10-31-44-152: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', 'ip-10-31-44-152: The SEEDING_MODE setting on this primary replica configured successfully', 'ip-10-31-44-152: The SECONDARY_ROLE (ALLOW_CONNECTIONS = NO) setting on this primary replica configured successfully']) => { "__mssql_sqlcmd_loop": [ "Altering the existing availability group ag2", "Set DB_FAILOVER to ON succesfully", "Altering replicas", "Verifying the existing replica managed_node1", "ip-10-31-44-152: The ENDPOINT_URL setting on this primary replica configured successfully", "ip-10-31-44-152: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "ip-10-31-44-152: The SEEDING_MODE setting on this primary replica configured successfully", "ip-10-31-44-152: The SECONDARY_ROLE (ALLOW_CONNECTIONS = NO) setting on this primary replica configured successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile alter_ag.j2] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:49:17 -0400 (0:00:00.066) 0:06:15.148 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:49:17 -0400 (0:00:00.037) 0:06:15.185 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Input configure_ag.yml to configure ag properly] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:962 Tuesday 06 August 2024 04:49:17 -0400 (0:00:00.057) 0:06:15.243 ******** TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 04:49:18 -0400 (0:00:00.088) 0:06:15.331 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 04:49:18 -0400 (0:00:00.039) 0:06:15.371 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 04:49:18 -0400 (0:00:00.040) 0:06:15.411 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ActiveEnterTimestampMonotonic": "1302964807", "ActiveExitTimestamp": "Tue 2024-08-06 04:46:06 EDT", "ActiveExitTimestampMonotonic": "1302705384", "ActiveState": "active", "After": "auditd.service basic.target system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:46:07 EDT", "AssertTimestampMonotonic": "1302963705", "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": "no", "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": "Tue 2024-08-06 04:46:07 EDT", "ConditionTimestampMonotonic": "1302963703", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "59572", "ExecMainStartTimestamp": "Tue 2024-08-06 04:46:07 EDT", "ExecMainStartTimestampMonotonic": "1302964760", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 04:46:07 EDT] ; stop_time=[n/a] ; pid=59572 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveEnterTimestampMonotonic": "1302962553", "InactiveExitTimestamp": "Tue 2024-08-06 04:46:07 EDT", "InactiveExitTimestampMonotonic": "1302964807", "InvocationID": "358a4f0f16e84c50877084e3e76bc702", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "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": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "59572", "MemoryAccounting": "yes", "MemoryCurrent": "776200192", "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": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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 -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:46:07 EDT", "StateChangeTimestampMonotonic": "1302964807", "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": "152", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "993", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 04:46:07 EDT", "WatchdogTimestampMonotonic": "1302964805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 04:49:18 -0400 (0:00:00.480) 0:06:15.892 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 36421, "state": "file", "uid": 993 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 04:49:19 -0400 (0:00:01.340) 0:06:17.232 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__mssql_sqlcmd_login_cmd is none) or (__mssql_sqlcmd_login_cmd is not defined)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 04:49:19 -0400 (0:00:00.038) 0:06:17.270 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 => (item=configure_ag.j2) TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 04:49:20 -0400 (0:00:00.068) 0:06:17.339 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/configure_ag.j2_btk8y0bv.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 04:49:20 -0400 (0:00:00.332) 0:06:17.671 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "item is not search(\".*\\.j2$\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 04:49:20 -0400 (0:00:00.037) 0:06:17.709 ******** ok: [managed_node1] => { "changed": false, "checksum": "734831e6962b218b59c3470c85f6df651adaac19", "dest": "/tmp/configure_ag.j2_btk8y0bv.sql", "gid": 0, "group": "root", "md5sum": "c6d1f72da652eae7174fbb31680b5ba3", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 10728, "src": "/root/.ansible/tmp/ansible-tmp-1722934160.4491017-15356-62630823027747/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 04:49:23 -0400 (0:00:02.753) 0:06:20.463 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Print file location and output from inputting configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 04:49:23 -0400 (0:00:00.393) 0:06:20.856 ******** ok: [managed_node1] => (item=/tmp/configure_ag.j2_btk8y0bv.sql) => { "__mssql_sqlcmd_loop": "/tmp/configure_ag.j2_btk8y0bv.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=['Verifying the existing availability group ag2', 'DB_FAILOVER = ON is already set, skipping', 'Verifying replicas', 'Verifying the existing replica ip-10-31-44-152', 'ip-10-31-44-152: The ENDPOINT_URL setting on this primary replica configured successfully', 'ip-10-31-44-152: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', 'ip-10-31-44-152: The SEEDING_MODE setting on this primary replica configured successfully', 'ip-10-31-44-152: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica configured successfully', 'Verifying the existing replica ip-10-31-44-152', 'ip-10-31-44-152: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping', 'ip-10-31-44-152: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping', 'ip-10-31-44-152: The SEEDING_MODE setting on this primary replica is already set correctly, skipping', 'ip-10-31-44-152: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping', 'Granted the CREATE ANY DATABASE permission to the ag2 availability group']) => { "__mssql_sqlcmd_loop": [ "Verifying the existing availability group ag2", "DB_FAILOVER = ON is already set, skipping", "Verifying replicas", "Verifying the existing replica ip-10-31-44-152", "ip-10-31-44-152: The ENDPOINT_URL setting on this primary replica configured successfully", "ip-10-31-44-152: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "ip-10-31-44-152: The SEEDING_MODE setting on this primary replica configured successfully", "ip-10-31-44-152: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica configured successfully", "Verifying the existing replica ip-10-31-44-152", "ip-10-31-44-152: The ENDPOINT_URL setting on this primary replica is already set correctly, skipping", "ip-10-31-44-152: The FAILOVER_MODE setting on this primary replica is already set correctly, skipping", "ip-10-31-44-152: The SEEDING_MODE setting on this primary replica is already set correctly, skipping", "ip-10-31-44-152: The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this primary replica is already set correctly, skipping", "Granted the CREATE ANY DATABASE permission to the ag2 availability group" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop", "false_condition": "__mssql_sqlcmd_loop | length > 0" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile configure_ag.j2] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 04:49:23 -0400 (0:00:00.068) 0:06:20.925 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not mssql_debug", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 04:49:23 -0400 (0:00:00.037) 0:06:20.962 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__mssql_sql_content_to_input is defined", "skip_reason": "Conditional result was False" } TASK [Assert task skipping messages] ******************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:971 Tuesday 06 August 2024 04:49:23 -0400 (0:00:00.179) 0:06:21.141 ******** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "Verifying the existing availability group {{ mssql_ha_ag_name }}" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The ENDPOINT_URL setting on this {{ mssql_ha_replica_type }} replica configured successfully" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The SEEDING_MODE setting on this {{ mssql_ha_replica_type }} replica configured successfully" in __mssql_sqlcmd_input.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "The SECONDARY_ROLE (ALLOW_CONNECTIONS = ALL) setting on this {{ mssql_ha_replica_type }} replica configured successfully" in __mssql_sqlcmd_input.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up after the role invocation] ************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_configure_ha_cluster_external.yml:999 Tuesday 06 August 2024 04:49:23 -0400 (0:00:00.052) 0:06:21.194 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed_node1 TASK [Gather package facts] **************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Tuesday 06 August 2024 04:49:24 -0400 (0:00:00.218) 0:06:21.413 ******** 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 [Purge cluster configuration] ********************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Tuesday 06 August 2024 04:49:25 -0400 (0:00:01.427) 0:06:22.840 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts.packages.pcs is defined", "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Tuesday 06 August 2024 04:49:25 -0400 (0:00:00.042) 0:06:22.882 ******** ok: [managed_node1] => { "ansible_python_version": "3.6.8" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Tuesday 06 August 2024 04:49:25 -0400 (0:00:00.039) 0:06:22.921 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 06 August 2024 04:49:25 -0400 (0:00:00.088) 0:06:23.010 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed_node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 06 August 2024 04:49:25 -0400 (0:00:00.062) 0:06:23.073 ******** skipping: [managed_node1] => { "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/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 06 August 2024 04:49:25 -0400 (0:00:00.044) 0:06:23.117 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 06 August 2024 04:49:25 -0400 (0:00:00.035) 0:06:23.152 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 06 August 2024 04:49:26 -0400 (0:00:00.159) 0:06:23.311 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 06 August 2024 04:49:26 -0400 (0:00:00.038) 0:06:23.349 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __firewall_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 06 August 2024 04:49:26 -0400 (0:00:00.035) 0:06:23.385 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 06 August 2024 04:49:28 -0400 (0:00:02.755) 0:06:26.141 ******** skipping: [managed_node1] => { "false_condition": "__firewall_is_transactional | d(false)" } TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 06 August 2024 04:49:28 -0400 (0:00:00.038) 0:06:26.179 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 06 August 2024 04:49:28 -0400 (0:00:00.037) 0:06:26.216 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__firewall_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 06 August 2024 04:49:28 -0400 (0:00:00.038) 0:06:26.255 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 06 August 2024 04:49:28 -0400 (0:00:00.036) 0:06:26.291 ******** skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 06 August 2024 04:49:29 -0400 (0:00:00.043) 0:06:26.335 ******** ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ActiveEnterTimestampMonotonic": "737738377", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice polkit.service basic.target dbus.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:36:41 EDT", "AssertTimestampMonotonic": "737021450", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "Tue 2024-08-06 04:36:41 EDT", "ConditionTimestampMonotonic": "737021449", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "19125", "ExecMainStartTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ExecMainStartTimestampMonotonic": "737023360", "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/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:36:41 EDT", "InactiveExitTimestampMonotonic": "737023403", "InvocationID": "0a7baf39611441d192208ba21156b270", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19125", "MemoryAccounting": "yes", "MemoryCurrent": "44281856", "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": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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": "dbus.socket 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:36:41 EDT", "StateChangeTimestampMonotonic": "737738377", "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": "3", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 04:36:41 EDT", "WatchdogTimestampMonotonic": "737738374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 06 August 2024 04:49:29 -0400 (0:00:00.492) 0:06:26.828 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ActiveEnterTimestampMonotonic": "737738377", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice polkit.service basic.target dbus.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 04:36:41 EDT", "AssertTimestampMonotonic": "737021450", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "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": "Tue 2024-08-06 04:36:41 EDT", "ConditionTimestampMonotonic": "737021449", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service nftables.service shutdown.target ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "19125", "ExecMainStartTimestamp": "Tue 2024-08-06 04:36:41 EDT", "ExecMainStartTimestampMonotonic": "737023360", "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/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 04:36:41 EDT", "InactiveExitTimestampMonotonic": "737023403", "InvocationID": "0a7baf39611441d192208ba21156b270", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19125", "MemoryAccounting": "yes", "MemoryCurrent": "44281856", "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": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "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": "dbus.socket 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": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-08-06 04:36:41 EDT", "StateChangeTimestampMonotonic": "737738377", "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": "3", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 04:36:41 EDT", "WatchdogTimestampMonotonic": "737738374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 06 August 2024 04:49:30 -0400 (0:00:00.484) 0:06:27.312 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 06 August 2024 04:49:30 -0400 (0:00:00.047) 0:06:27.359 ******** ok: [managed_node1] => { "changed": false, "rc": 0 } STDOUT: b6dbe4794a612c5eaac6e7117c670912798eb63bf8e6d9f1c3d2a7a38ab197fa /etc/firewalld/zones/public.xml STDERR: Shared connection to 10.31.44.152 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 06 August 2024 04:49:30 -0400 (0:00:00.890) 0:06:28.250 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 06 August 2024 04:49:30 -0400 (0:00:00.040) 0:06:28.290 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.039) 0:06:28.330 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.040) 0:06:28.370 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "'detailed' in fw[0]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.169) 0:06:28.540 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.038) 0:06:28.578 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "firewall == None or firewall | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.037) 0:06:28.616 ******** ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.44.152 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.259) 0:06:28.875 ******** changed: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.044) 0:06:28.920 ******** skipping: [managed_node1] => { "false_condition": "__firewall_debug | d(false)" } TASK [Purge selinux configuration] ********************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.059) 0:06:28.979 ******** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.111) 0:06:29.091 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.062) 0:06:29.153 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__selinux_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.043) 0:06:29.196 ******** included: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Tuesday 06 August 2024 04:49:31 -0400 (0:00:00.067) 0:06:29.264 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Tuesday 06 August 2024 04:49:32 -0400 (0:00:00.335) 0:06:29.599 ******** ok: [managed_node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Tuesday 06 August 2024 04:49:32 -0400 (0:00:00.042) 0:06:29.642 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Tuesday 06 August 2024 04:49:32 -0400 (0:00:00.333) 0:06:29.976 ******** ok: [managed_node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Tuesday 06 August 2024 04:49:32 -0400 (0:00:00.041) 0:06:30.017 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_python_version is version('3', '<')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Tuesday 06 August 2024 04:49:32 -0400 (0:00:00.161) 0:06:30.178 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Tuesday 06 August 2024 04:49:35 -0400 (0:00:02.766) 0:06:32.944 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_os_family == \"Suse\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Tuesday 06 August 2024 04:49:35 -0400 (0:00:00.036) 0:06:32.981 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Tuesday 06 August 2024 04:49:38 -0400 (0:00:02.755) 0:06:35.736 ******** skipping: [managed_node1] => { "false_condition": "__selinux_is_transactional | d(false)" } TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Tuesday 06 August 2024 04:49:38 -0400 (0:00:00.037) 0:06:35.774 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__selinux_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Tuesday 06 August 2024 04:49:38 -0400 (0:00:00.036) 0:06:35.810 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__selinux_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Tuesday 06 August 2024 04:49:38 -0400 (0:00:00.037) 0:06:35.847 ******** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Tuesday 06 August 2024 04:49:39 -0400 (0:00:00.815) 0:06:36.663 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_selinux.status == \"enabled\" and (selinux_state or selinux_policy)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Tuesday 06 August 2024 04:49:39 -0400 (0:00:00.034) 0:06:36.698 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_selinux.status == \"disabled\" and selinux_state", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Tuesday 06 August 2024 04:49:39 -0400 (0:00:00.034) 0:06:36.732 ******** ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Tuesday 06 August 2024 04:49:39 -0400 (0:00:00.042) 0:06:36.775 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "selinux_reboot_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Tuesday 06 August 2024 04:49:39 -0400 (0:00:00.033) 0:06:36.808 ******** skipping: [managed_node1] => { "false_condition": "ansible_selinux.status == \"disabled\"" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Tuesday 06 August 2024 04:49:39 -0400 (0:00:00.034) 0:06:36.843 ******** Notification for handler __selinux_reload_policy has been saved. changed: [managed_node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:01.081029", "end": "2024-08-06 04:49:40.892444", "rc": 0, "start": "2024-08-06 04:49:39.811415" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Tuesday 06 August 2024 04:49:40 -0400 (0:00:01.421) 0:06:38.265 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "selinux_booleans_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Tuesday 06 August 2024 04:49:40 -0400 (0:00:00.034) 0:06:38.299 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "selinux_fcontexts_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Tuesday 06 August 2024 04:49:41 -0400 (0:00:00.034) 0:06:38.334 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "selinux_ports_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Tuesday 06 August 2024 04:49:41 -0400 (0:00:00.164) 0:06:38.498 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "selinux_logins_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Tuesday 06 August 2024 04:49:41 -0400 (0:00:00.035) 0:06:38.533 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Tuesday 06 August 2024 04:49:41 -0400 (0:00:00.034) 0:06:38.568 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Tuesday 06 August 2024 04:49:41 -0400 (0:00:00.034) 0:06:38.602 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Tuesday 06 August 2024 04:49:41 -0400 (0:00:00.033) 0:06:38.636 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Tuesday 06 August 2024 04:49:41 -0400 (0:00:00.034) 0:06:38.670 ******** ok: [managed_node1] => { "ansible_facts": { "selinux_checksums": true, "selinux_installed_modules": { "abrt": { "100": { "checksum": "sha256:13dad22da122be9f7d5df4dbedae6a515323542fdc1a7e466d7a1a3d36d29731", "enabled": 1 } }, "accountsd": { "100": { "checksum": "sha256:8bd25829d921be0b5adf92ddaca7ab94cedca1d57796749cfa63571b6550e3da", "enabled": 1 } }, "acct": { "100": { "checksum": "sha256:2699d826efd46176017695c768804c505a54b277b05f1feb9c43a613bab4e6aa", "enabled": 1 } }, "afs": { "100": { "checksum": "sha256:99920dd4e0855870f7e6f9666928d13fe18ddccca9d38b92ea70a6ce3c8c7539", "enabled": 1 } }, "aiccu": { "100": { "checksum": "sha256:a7aedc8354b4335412871adfd2ab5b0c6da1ea63c8dd797718e4214a5d511bb5", "enabled": 1 } }, "aide": { "100": { "checksum": "sha256:8adb5c3a5ed74695e975eecbf290640b179eb6345a7740745ecfe3164efe209f", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "sha256:d3a03c2837d5dde7145e27902ff8578e00734ab34e8ea1a45aee58b83e9ad6d1", "enabled": 1 } }, "alsa": { "100": { "checksum": "sha256:202f94345fba8f4bc942dc9b75bbb6eea3b4cb02411cf6ed79858d72aa883c89", "enabled": 1 } }, "amanda": { "100": { "checksum": "sha256:f9a99d97370017307349a154ce479969395bbbfe434e4829573269f770efdd0d", "enabled": 1 } }, "amtu": { "100": { "checksum": "sha256:bc9934a2ae61fa117614f201479966d788484f3a7382de4ebad99790a465e2b7", "enabled": 1 } }, "anaconda": { "100": { "checksum": "sha256:b8aabc624243533d483c3dd5574a490a43e7ec0f2f7940798c12b4089bbd0642", "enabled": 1 } }, "antivirus": { "100": { "checksum": "sha256:1de6460ccaea5a5749eba17489b9765035c8202eb9492485ff39157564001a2c", "enabled": 1 } }, "apache": { "100": { "checksum": "sha256:1a0c38364558bebdae3efaa1fcf8be232184dcddcaab345bba1c40bf239dd0ed", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "sha256:175308edb201092c22791f419d32da3f661e7ccfb9c5d5855ad753405c10023b", "enabled": 1 } }, "apm": { "100": { "checksum": "sha256:a1410f65d6bf017caedaffaa59016877686099fb7df3c4d801136de79a61795e", "enabled": 1 } }, "application": { "100": { "checksum": "sha256:a8e9d90aa1188068ca66be55c4d8abf9982666171bbdd8d4da1f2a254c34a080", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "sha256:2cb8afd237d6bc5693e5d54be1a455b6ed632fbbe76cea406163f9c48d00e79f", "enabled": 1 } }, "asterisk": { "100": { "checksum": "sha256:0b66b387174001e926cf1454c3516bb32d96610a0f598065fe6d7a917ca897fe", "enabled": 1 } }, "auditadm": { "100": { "checksum": "sha256:dcd9e7f5e71fb9f7aace30b5755efcbf85fe88f884d4253cc9abcad1c44e5f4d", "enabled": 1 } }, "authconfig": { "100": { "checksum": "sha256:bdb8072e463c84cb01e6933093428be2b6ee5299d82e26730b12dd2b66d89355", "enabled": 1 } }, "authlogin": { "100": { "checksum": "sha256:a89b04c7a40bb373de2bbb0a2210cca454e7d4a805321fbe65462ae5551db656", "enabled": 1 } }, "automount": { "100": { "checksum": "sha256:41ec4e0c5c46118cb4dfa8c8b1834f330dce4ffdea3d534a8d5007a63b3e5262", "enabled": 1 } }, "avahi": { "100": { "checksum": "sha256:7628cb8340258102798a6e36902d0210e2051ffb9fb4f7a1e4c62a612edfe6fa", "enabled": 1 } }, "awstats": { "100": { "checksum": "sha256:9b92e64a3331076ad443862aa2ba98a2c4d9b00638bf19bb9726f572dee5eff4", "enabled": 1 } }, "bacula": { "100": { "checksum": "sha256:32cedcc57f6a973ac5adc16d8df343fc1ca4b3716f7cdcdae0d2490a6e5765ac", "enabled": 1 } }, "base": { "100": { "checksum": "sha256:d99ed290beecf2b10a557a21b06b63cabc28dab4050f2e7197d2cb9e30519fd3", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "sha256:ea510637d47b7fabc3f617f8a6f3ca3172bf9215c2d6b64ad19cd5d8819c8b6b", "enabled": 1 } }, "bind": { "100": { "checksum": "sha256:39520749f8aba46f975a87187975d8dcd014ad67d22515951f51fa3fd1b0478f", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "sha256:bf04e481614825a35c26a547b19098ff1c8acd0d915c5b4f938b9fa595459d00", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "sha256:ca870c95742bf987a2e739286cbcb998b58c091a422251fdd8de57228b28fd96", "enabled": 1 } }, "blueman": { "100": { "checksum": "sha256:7e4b2b3df3962273436b561c806c816fe4b1e5d6781efa33a7109b05f796edd7", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "sha256:da457ef2ce595c3bf9f70697029ea90e96472ae562f685a7f919a7778a778d09", "enabled": 1 } }, "boinc": { "100": { "checksum": "sha256:d74bd3b6b3850c30b5bbf77822ab82b43f36600e4f76cd68674ef361328afb05", "enabled": 1 } }, "boltd": { "100": { "checksum": "sha256:4ccf41e247c5a7066042a0ebaae492805a1d640f777e8e771701f340a76bce30", "enabled": 1 } }, "bootloader": { "100": { "checksum": "sha256:46e55021d6c4cede091a992ab33521bb1aba4ca1d44879d778973b279204933c", "enabled": 1 } }, "brctl": { "100": { "checksum": "sha256:f9645adde2441e43369a255c6a194f01c6f5800347ad710ce3e147df884b98aa", "enabled": 1 } }, "brltty": { "100": { "checksum": "sha256:603734d4772f482f282eb217c03647f705d66de27fc927c64e02787369b0f78a", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "sha256:326d2a188603c908cdae3c9dcdae6bda37b98ec4cc23f3b31878e2bbd0cd33b2", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "sha256:e8ca8d5318a68243441fdb993fbab6d566f7462fd5557b55733f8ddbfcc4b276", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "sha256:86fe9c1aa8b2d7a6bdd9bd8d0c7a41a7ae0e4e14e32eaea6cb920367c2f495d7", "enabled": 1 } }, "calamaris": { "100": { "checksum": "sha256:1069377693a5d730d57e4ddd6f73ce20b67b595aae90a16459e852d238163b48", "enabled": 1 } }, "callweaver": { "100": { "checksum": "sha256:880b626c3d04c5669d64ee617ee36a18566e91adeaac67b9527b0a795543575e", "enabled": 1 } }, "canna": { "100": { "checksum": "sha256:b9256764ca5e34142e8cffea57fafc2fa66f78dc8c05761f97fa9becd1d77311", "enabled": 1 } }, "ccs": { "100": { "checksum": "sha256:ad293ee5e252966d14fa6bf09240f143460df4b928672a33a398a5793777c4e4", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "sha256:dda8d62c3bf2503ff9762bd031c35a76cac8059d08592fe23e4d3fe11b0ac8cc", "enabled": 1 } }, "certmaster": { "100": { "checksum": "sha256:b431dd84f2c6b971bc573674fa6c4ee2fedf910b0123ba5d9acb5011c208fd72", "enabled": 1 } }, "certmonger": { "100": { "checksum": "sha256:965ec65dfc98cbabce2350bd52fa7ce92c2f4ab4704348f1555f2a3d9edfd1b8", "enabled": 1 } }, "certwatch": { "100": { "checksum": "sha256:77f0299f67e43927eacb553d1002beeebc3098b4bee64d8dc3dadb8fd23fbb5c", "enabled": 1 } }, "cfengine": { "100": { "checksum": "sha256:c78b908838f1d64ee9ebb0a51b7fa438527716936471a573e1b4b7c393bd6b8d", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "sha256:5d3633e0b77db69721e4f64167d7e5f7779c3e5fa76e095d25f8467f2a0bdfec", "enabled": 1 } }, "cgroup": { "100": { "checksum": "sha256:9368c6c54bd5ec6f20e4c3b47c86e60af07346c4e86e525b6bd7288b54b7e774", "enabled": 1 } }, "chrome": { "100": { "checksum": "sha256:d31ce9d2fe78cafcd5e3c8decf22ae1e9ea6f74026ca65b6320afe9a33cd609a", "enabled": 1 } }, "chronyd": { "100": { "checksum": "sha256:7d9624729861397cf7720c2324c65489a3d30485e6a884ab1ff9a8ca22efa678", "enabled": 1 } }, "cinder": { "100": { "checksum": "sha256:fc169721c78f5b0857ed8312e59ba4c134b685c4c322dae242b92e815e35e6fb", "enabled": 1 } }, "cipe": { "100": { "checksum": "sha256:02c20398b9eff51ed431b7ad739a6015d2451b4bf6e3e5da380606d85a77852c", "enabled": 1 } }, "clock": { "100": { "checksum": "sha256:4f90655d2243cfc32ea7436a953cccb8a34af895f83361235a3a5cda40dbc75f", "enabled": 1 } }, "clogd": { "100": { "checksum": "sha256:ba78a422a10b65591c48cb038f8a55614944163f3140275852d293fb0c548bfa", "enabled": 1 } }, "cloudform": { "100": { "checksum": "sha256:481f5fbc7810a5a81851edbe5a6b124141257f5fbbb83d8830ae0a34924ed3d9", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "sha256:8f8fb986f15b8b7c5c250d250fdbbb2f78874e13394105c9c486488a16e94c91", "enabled": 1 } }, "cobbler": { "100": { "checksum": "sha256:e0e264b9cc83962dbbb27c152a72f01c6a355467c4e845b52e65c8b88d8d75d6", "enabled": 1 } }, "cockpit": { "100": { "checksum": "sha256:cb7fccd94903a6e256a586d758085f6f59c0f8b1c5b4cb99536915526d2224ec", "enabled": 1 } }, "collectd": { "100": { "checksum": "sha256:7f08e2e248d33162dc9b237c37ed3a3dba0511bbcc71d87482e95093fb8c6456", "enabled": 1 } }, "colord": { "100": { "checksum": "sha256:86e58c9f12c519a2c3b090b64a276722374054ea900c775b2f8ab4ef2867dcf0", "enabled": 1 } }, "comsat": { "100": { "checksum": "sha256:1d57ffaad6b96e3ca8ac82c23b52d58d81e1f69f5d54a648a16da8ffa8070e53", "enabled": 1 } }, "condor": { "100": { "checksum": "sha256:dbc3f2f0c12f9aeed14056fd7e7c46a4ecab3569198f891643172cd032f3fc00", "enabled": 1 } }, "conman": { "100": { "checksum": "sha256:1270caf15af248a487cd5ce728daae2699ffd9139823c805ec49213ab1c835cb", "enabled": 1 } }, "conntrackd": { "100": { "checksum": "sha256:56fd7d7a550dbc4188b93afd0fde8c706623b3a5d26db265ee016967ba4ddfee", "enabled": 1 } }, "consolekit": { "100": { "checksum": "sha256:5bd7a7acc191766583d933b04321e64657138959bf40a4d2986b013b942c4ba8", "enabled": 1 } }, "couchdb": { "100": { "checksum": "sha256:12b2e3e7314bda4e76d3883901e6470927e85343f742fb44b174ce968f1ad8b5", "enabled": 1 } }, "courier": { "100": { "checksum": "sha256:40ae5f173004741838002644e5bff73cf16f2f3a1928c45fa17674f9a0df5148", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "sha256:1485a6d64d00619898d2789d27391f2a57a7fb1f0e8c73daf59baca8641564a3", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "sha256:687564eb09acf3e7f1475fe2a133941c36999bd037aa8a794feea2d9f2c26385", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "sha256:c16e376ff6c51da1911e68a8a7d42f5730eda45febfd0875c78cac4b9cf6e78c", "enabled": 1 } }, "cron": { "100": { "checksum": "sha256:6be0252b3c6bcbfb4c51dfd3ae1ae262f5de153234917ac4d342b18ae0292060", "enabled": 1 } }, "ctdb": { "100": { "checksum": "sha256:06dd65a4361bf8076c14b322dd30003295c0b9d75bf1ae610961b13a1f9431da", "enabled": 1 } }, "cups": { "100": { "checksum": "sha256:3d5e5bbf131d98d95f7f1431893eb137bd833dbfd8469f9c386d72bb4e8f9b9a", "enabled": 1 } }, "cvs": { "100": { "checksum": "sha256:bbc8d76cc8609849d5b078c5b2ac7364470a06d77d67b97d5f58429d7b679e33", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "sha256:b1a41211ae3cf69b819df517eccd0fda2088c27685dad68de64531b9794ec518", "enabled": 1 } }, "cyrus": { "100": { "checksum": "sha256:60defb1f6feeb1d607734c4912e52e03bf5b0c27cb6f31a37fa7e05f3497b323", "enabled": 1 } }, "daemontools": { "100": { "checksum": "sha256:1034e2442c975dd2ccf84791b1a826d02032f13762d57c3485e51e2b9a7dc03f", "enabled": 1 } }, "dbadm": { "100": { "checksum": "sha256:40306590ef444152ae18b65040d85442c14853a9cc4c31b0224c4d19517d66ea", "enabled": 1 } }, "dbskk": { "100": { "checksum": "sha256:24559eff82b251f9814ae88c36a7cbacda1ed419a80145aef545306e88cb0da8", "enabled": 1 } }, "dbus": { "100": { "checksum": "sha256:50ea4eb05a06315449092c939e2307436ac6461e47ca69f0d42cc4e321e86280", "enabled": 1 } }, "dcc": { "100": { "checksum": "sha256:06e414b0a83b49968f62018cecde48dcfe68b2e9d699915367b3e04461188a0d", "enabled": 1 } }, "ddclient": { "100": { "checksum": "sha256:73ca2525a14e3161524f6e8fc0d016430a536002f1cb3833db1334670b458436", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "sha256:1bd00b13b9bda18274a771d66f7cba8fe62e5e95ea8f51415da6b1fa1336df1b", "enabled": 1 } }, "devicekit": { "100": { "checksum": "sha256:03b01b781881cc60438bc357bd60596970b8ac019b415969bca8a08358fcbfd1", "enabled": 1 } }, "dhcp": { "100": { "checksum": "sha256:2ad95a78468f7f4ea9a8c044c79c0a4ca9924b41432390ea2863a85c806c9a00", "enabled": 1 } }, "dictd": { "100": { "checksum": "sha256:c30c819f142d3c719d0ec5741af5a65161770ff140097fe63f7559d55b897500", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "sha256:50efdc68200d27ce1a5db99a780aa7b0e84988669961d436d348c7bb8310d181", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "sha256:8d9234157484f6ae8ba22039b44fa19f4de8137be9321e5da393d72d85d89487", "enabled": 1 } }, "dmesg": { "100": { "checksum": "sha256:8b834312a2cb99ab89862f839a1315e78794dd92758785f84c9559285dfbe679", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "sha256:2c7fb8c6c52f385b819713f0444a96cfd4e65b7dcb3ca79b932cc12ad9ce903d", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "sha256:44f66c5d4f635600ee9d0ba3fdea3896218f1420b5ead89e0f22d71a447f9e97", "enabled": 1 } }, "dnssec": { "100": { "checksum": "sha256:49427a9e92b87db77706e2b81ece254c99d3cd6ba020211e2afae65fab7ad066", "enabled": 1 } }, "dovecot": { "100": { "checksum": "sha256:cc8c3a2ee0233a7f1fdf38837b72ce5fd15efef782a36ab4b9aa2ec339b46fa6", "enabled": 1 } }, "drbd": { "100": { "checksum": "sha256:b66be23c1ded4e548e5369b744c7c2a4dfd7065582517525221177ca67657525", "enabled": 1 } }, "dspam": { "100": { "checksum": "sha256:5dd7221ba40e9b912367289fed8ca116c14da4fb8bd7f28f421c4008855bb9fc", "enabled": 1 } }, "entropyd": { "100": { "checksum": "sha256:0f68aeeb1da72efb8c9b1bb7db0a4180b6938672b16f33d1abcd65f5481d85a9", "enabled": 1 } }, "exim": { "100": { "checksum": "sha256:f4c4473ee49394e0e4629023772464a046c476f92b4a727acdf9f6c92711b952", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "sha256:2383cb88b81bc5d87be9f3201a42da526532c4ea8e6d3b3f5023005c0ddf6f17", "enabled": 1 } }, "fcoe": { "100": { "checksum": "sha256:913e66ac5f5ce364e5ea556acfbf77845c25a4beb5ee64599613aa00127c1492", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "sha256:63f00993bae4285eff5e993d208ea786785c4331e6947b3a48a97d31145b2e98", "enabled": 1 } }, "finger": { "100": { "checksum": "sha256:16c506d472b007f7d36850810ca0fcfd9482d30ce9c0ba790174b78294fd1d74", "enabled": 1 } }, "firewalld": { "100": { "checksum": "sha256:bbf58446f30b93de19e5a19087ee012f8e347fef5e7e8012e64b31a0ec21ab09", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "sha256:b61ff17eee03141c9c7bd79d63331ecea733cba4b5b43b87d5141a40cdccdd69", "enabled": 1 } }, "firstboot": { "100": { "checksum": "sha256:c5540b8385c84075dd657e390d77ae886aa9d74b65444b9aa1d858f375819a8c", "enabled": 1 } }, "fprintd": { "100": { "checksum": "sha256:c1ffb7734a0359a7390830d9c6477ab61c45fc026368bfd5e2246523a6439464", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "sha256:9af2291d75a2d643f53ff7a98bcabf22effb617329178efea45372d714825de1", "enabled": 1 } }, "freqset": { "100": { "checksum": "sha256:28bf77389f3e41743b30727a891609172a891466e92c28a919f43e628cc23a4d", "enabled": 1 } }, "fstools": { "100": { "checksum": "sha256:140caf542903419ee2471fd99ab06aa45899c400402c2580b395b182f24bd225", "enabled": 1 } }, "ftp": { "100": { "checksum": "sha256:7e8456fdf7807b30e1c257e568ba10305696cf5abdebc70988c288079884d46b", "enabled": 1 } }, "fwupd": { "100": { "checksum": "sha256:1dd6a45b73c7ce77a87af1e87354ada5aa5b2841aaaa045a6b4ae3c4d09f0f8b", "enabled": 1 } }, "games": { "100": { "checksum": "sha256:950d8be99d5349a3d893ba601c518e6b2af0d56c5b55514a45dbd8a3c61c9ecc", "enabled": 1 } }, "gdomap": { "100": { "checksum": "sha256:5040cb99d007fe9368bd37a9a6bf82f891c220ef652443896a0f2f6ca6f818e1", "enabled": 1 } }, "geoclue": { "100": { "checksum": "sha256:f0155b43152b6b4b850d1c4fb7daf16fd77992313b8be314ddb4901314bf913d", "enabled": 1 } }, "getty": { "100": { "checksum": "sha256:a60d07665b0ebd25fd54a9d82dad5eb7acbc11a2842dba56d7b9524d26ce14ce", "enabled": 1 } }, "git": { "100": { "checksum": "sha256:5eaccf209092db49c9a48d84e1387c1de76cb153c774c0bd615c001afab28664", "enabled": 1 } }, "gitosis": { "100": { "checksum": "sha256:b522382b64f36cf387cd892b45e916c861bd0a09697bc983eb55b53b0efd3081", "enabled": 1 } }, "glance": { "100": { "checksum": "sha256:2c51d19fca6ee40e137245ecb425edc77666d75c42ba583bf74cf13f10ace055", "enabled": 1 } }, "gnome": { "100": { "checksum": "sha256:420b9cefa6bdb542f6da10de7b36704a91509cf64cd2497e5693a858cfca5e41", "enabled": 1 } }, "gpg": { "100": { "checksum": "sha256:f821aa6ca5837a2d2de8180e74c267f68da951960c989fb13ebde5833c93738e", "enabled": 1 } }, "gpm": { "100": { "checksum": "sha256:bf30c4945be0065672fb47f70ad251b1079ada339f61f2679293cb0226d0d57a", "enabled": 1 } }, "gpsd": { "100": { "checksum": "sha256:5373b2332959d6c41c32160018274ab61e3f1abd0f0a5cc2302c45b141a39a9b", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "sha256:7528c47be91a81ac19f2f54458309baeb0a232d83a1ccb2bd89fbc8cefb1ddc8", "enabled": 1 } }, "guest": { "100": { "checksum": "sha256:91f43e4d5ae283f0aa13c49efea93293dbdecd2b2f4f75db89371eda65b7523e", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "sha256:f170e1da6acae4fd7108d22c8cf262916e034f0d3edbdebf3265a922a5355373", "enabled": 1 } }, "hostapd": { "100": { "checksum": "sha256:8b15f72328885c08bfda38082a62feeaa2c6692223a4d2bd1a572820d454a742", "enabled": 1 } }, "hostname": { "100": { "checksum": "sha256:e9fc1c4032c0346f751e1ef8ad1b3fe3425401b70a6c4354d4485472288e0bc5", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "sha256:f70b198e5a5157722b69dc89109c4074a475e1085356cc610cc9b700567c154d", "enabled": 1 } }, "hwloc": { "100": { "checksum": "sha256:370e9eea2b927a2715018b667e9a56ad09af301a90811cd9b041da79f5384b38", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "sha256:b54ce6f4960a02d35e19d60bf8a07f7866514893e3193a5f4822c8580a46caa4", "enabled": 1 } }, "ibacm": { "100": { "checksum": "sha256:663b35f3874583ae074924bc068a8dc4c7c144adb60007da6103d1e3505ee37a", "enabled": 1 } }, "icecast": { "100": { "checksum": "sha256:dedaddef1d7447d25a1e7ff01e60e4545606e556c6770bd3fa94d9331de7a5d7", "enabled": 1 } }, "inetd": { "100": { "checksum": "sha256:ae408578a7160f2feae10269365558c43d9570b392642a92cc20f8ad47c58cce", "enabled": 1 } }, "init": { "100": { "checksum": "sha256:7ff95566a4f2bdb8ca3ec67acdade39e35fdabc57c2f00b989bab3f699f997f8", "enabled": 1 } }, "inn": { "100": { "checksum": "sha256:9ad99284192a443aa582e73b46667388b7a219dafae8dfce71a58a82bbae2f6c", "enabled": 1 } }, "insights_client": { "100": { "checksum": "sha256:0e41289d8dce065dcd41fd6cc1e1282efd4a58e7f9e3a2f1abc32f520fbbcc1e", "enabled": 1 } }, "iodine": { "100": { "checksum": "sha256:32501ab66def044fbc340cb5c656d5743c738bbd6fca5626c36c687419cd8d32", "enabled": 1 } }, "iotop": { "100": { "checksum": "sha256:d15656cd91a4e4e178a13f7cf910cfc552cc30db881a11ec88833f947edb4561", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "sha256:d34fe186922c0e5726ca361343ec3846833ec3e4ab9b019b3d7bac1337383a16", "enabled": 1 } }, "ipsec": { "100": { "checksum": "sha256:d36c66c2c79d338c61c90d4136433e1e3a73435e920eb36d70682dfd5e147e59", "enabled": 1 } }, "iptables": { "100": { "checksum": "sha256:5a674017cc648e3262757464e5413503154cc1f593da545ce2c4f946991012bc", "enabled": 1 } }, "irc": { "100": { "checksum": "sha256:d72428ccbff5521367e00699c142bba64b2bbd44fed35deb29f9530cc0448378", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "sha256:15650b2f39ccdfbcb1e4e867a35fce3c2768097e611e0c8ad9cb79ae6c66dd58", "enabled": 1 } }, "iscsi": { "100": { "checksum": "sha256:ccb27142f793095c79f531aae924baaeee5914c84228a09c09b9eca839f3524e", "enabled": 1 } }, "isns": { "100": { "checksum": "sha256:90b42f610fa328cdfb98bd0450bd052566f203e51e4a913dd6faded6da7fbe2c", "enabled": 1 } }, "jabber": { "100": { "checksum": "sha256:5ad49d140265305dc72781a6826d1de4614a33f83bd512acdc2263038ad41206", "enabled": 1 } }, "jetty": { "100": { "checksum": "sha256:d910afd1bfe836543ded50974dc24ae7bd5fd2609d6a9b2403316dffcd39832d", "enabled": 1 } }, "jockey": { "100": { "checksum": "sha256:d9a67ce1976ed2e79826d25f33dcb0b0bbde6c090600b605bbaaae45856d12f6", "enabled": 1 } }, "journalctl": { "100": { "checksum": "sha256:9ddb71271d0dbe5cede6179c0ca263e297dc6b65197bde2f7b14ce71f8dde369", "enabled": 1 } }, "kdbus": { "100": { "checksum": "sha256:5969c78be4a03cc91e426bc19b13c5188b5bf8ac11f5e2c21c098c3d68a7e3e3", "enabled": 1 } }, "kdump": { "100": { "checksum": "sha256:fdde3852d1decda649133c6345680f9353b86a6da2a98a83a8be101c9c25f103", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "sha256:66c67280c70a9b897b0f952067438e0eee05f9f48913508b38d745ef88747f32", "enabled": 1 } }, "keepalived": { "100": { "checksum": "sha256:c1177567c7bf67bb2d0de17760cecf56e0bb34f50d6fe060dec64ae97a76ecdb", "enabled": 1 } }, "kerberos": { "100": { "checksum": "sha256:826fbe83705494e009b242b88857c425eacba49aadae506ffa2012c80e60f7ae", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "sha256:f199811d9ddc8db83864a09c543567fcb2f117b3241967b092bff7c9fdbfbfb6", "enabled": 1 } }, "keystone": { "100": { "checksum": "sha256:b0a7227a870ea987035e0cd524ad956a68287d0a67dd7135de41c6d5977ff4c2", "enabled": 1 } }, "kismet": { "100": { "checksum": "sha256:488fb5fd17cf1f630f3e48a853da05f86c06fc58219dc2ae59251865734bf800", "enabled": 1 } }, "kmscon": { "100": { "checksum": "sha256:d64019b11b6a37f6cdc5579d56eb1e19b6a7231501e1cfe2a838d26a2eac6033", "enabled": 1 } }, "kpatch": { "100": { "checksum": "sha256:00070d71dfe2632491305387ffb264127dca4387425015e4cb013d6bce5f95c3", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "sha256:891f082452240ad2e726bad777ea787d0f0f8695cc2a75f7439a2badda030d24", "enabled": 1 } }, "ktalk": { "100": { "checksum": "sha256:2df6f3dbad4a513ee1c113e496e8d2f5a19f56015f4a21e7478f2f5b53f36359", "enabled": 1 } }, "l2tp": { "100": { "checksum": "sha256:8e4cb0b0e0d1293d669de0b0e50f68d6d6fbe8e8d830a236a1c0e676f2326fb2", "enabled": 1 } }, "ldap": { "100": { "checksum": "sha256:d0177bb5873d0e6f9595020a8f39ba06b19e4636ea610175a3afef4aec2719cb", "enabled": 1 } }, "libraries": { "100": { "checksum": "sha256:6d5f128f2d4fd9137a7c70d0d024703547796a71f70017b3550a31d3450e0435", "enabled": 1 } }, "likewise": { "100": { "checksum": "sha256:e7eebd050230b358b43435d37ce308c3ba15e2516f4045abf7d26f03ebfbc11c", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "sha256:4132cd51913a3044e453ed0b972db2ef511fdc7b2a1b592d1070177651066ab9", "enabled": 1 } }, "lircd": { "100": { "checksum": "sha256:cc81b79d2834e58bef7928f525c1a1eee5547e81d195444b3bc2741e396ae46b", "enabled": 1 } }, "livecd": { "100": { "checksum": "sha256:805c7bc4ded621b44ecf333d558328e115bba652fcbc91f436cefc948497688e", "enabled": 1 } }, "lldpad": { "100": { "checksum": "sha256:358c4b262655cffbf20f7484aedb22f094509f44d52a1fa3efe3edeafd99317e", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "sha256:26f9e78406ecdc968ed670b32db1d10805e66875631558f092f08a6e1f2170dc", "enabled": 1 } }, "locallogin": { "100": { "checksum": "sha256:e07d92775ed25e7a3627bf977452844c67acf473b33075475f433f8be76dd755", "enabled": 1 } }, "lockdev": { "100": { "checksum": "sha256:1f946da2054cc1693209749df12ff01ab6456247d6225733aebb3a7d70a46e20", "enabled": 1 } }, "logadm": { "100": { "checksum": "sha256:70546c4b3d01f15bc7a69747dbb12fc6bcef5d899f6301f62c0c612c7069082a", "enabled": 1 } }, "logging": { "100": { "checksum": "sha256:656067c78ff1246a1a758a213d44307f91cb79336fe74a47015af425e58266fc", "enabled": 1 } }, "logrotate": { "100": { "checksum": "sha256:76cc40f1943fe21959793499bffaf35d0fe53ffc3f6c5a8b31eb96e738a286c2", "enabled": 1 } }, "logwatch": { "100": { "checksum": "sha256:cf4450b03e28762040c29f2a28af238cd4905d1c6bd4c73d656b266c7b9a8a6c", "enabled": 1 } }, "lpd": { "100": { "checksum": "sha256:9358dc35659b9570d3e8119a088b2693d7de505ea25996dc139517a857888857", "enabled": 1 } }, "lsm": { "100": { "checksum": "sha256:1247dc4bccfbc9ee42292db4415b21ae00bdef3dc2faeb267f045413da4a1b1b", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "sha256:79e4a2224ede13cd5f2c0e6e7c61e83efabaf1d05b86f6f7a710599bfc48edaf", "enabled": 1 } }, "lvm": { "100": { "checksum": "sha256:f56137657dd61a1a8a8844d5d1db01fc03330d17e05457d03f64756b344c32ef", "enabled": 1 } }, "mailman": { "100": { "checksum": "sha256:e47811cf3bd8204eaa02c4aab92f3d426f0a3ef97161e1579845d1e03df1fc1d", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "sha256:8d447072ab5005ead27f1cb4d96dcbedf09a11182f660c6f59c6d56fd81235d8", "enabled": 1 } }, "man2html": { "100": { "checksum": "sha256:224584babd9e83c242d54fd8c5cd03379b0556005268aac22b15734b913f12e6", "enabled": 1 } }, "mandb": { "100": { "checksum": "sha256:ae44b8ec7a90ebbc45fdafe89663197b36e47120ad90eb22b475939055ea6924", "enabled": 1 } }, "mcelog": { "100": { "checksum": "sha256:c5d98ec368b145c74b4bf0ea8da3980b17af0c2d00654c5a6973241625f97b12", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "sha256:43f1c6f7cfdeaa26891824167cf637a8670785c2674b45d85ce4a7ac77190a36", "enabled": 1 } }, "memcached": { "100": { "checksum": "sha256:f0f9c7367e9bd196aa463916bd5aab02f6966dad9564a0f2fd070bb2e8410aeb", "enabled": 1 } }, "milter": { "100": { "checksum": "sha256:db190bacd2b84a29971cd1940cd15d606abbfded5c9b956894717afd91fc7a0d", "enabled": 1 } }, "minidlna": { "100": { "checksum": "sha256:0d6ac660d641c1cf707a814ed08e19b9e21547a3eaa7134cab84dbc5fee6b5b2", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "sha256:dd2ab85bcba6d204f9dbc7304e8a4940e5d1733d4b9cf4fcb0f4072982c585c3", "enabled": 1 } }, "mip6d": { "100": { "checksum": "sha256:406edf2c78ba0e692d5a78f3c5ca8d641d00131b143332adeaad9f325959683a", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "sha256:7084de59beaaaf4f630357ec53beff8d0a0ee532ac180fe58e23bfe98f1fdaee", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "sha256:7e7e87e302bf847a4c59d69e5af60729e61bada0cc5d6ec17a25a6514476cb48", "enabled": 1 } }, "mock": { "100": { "checksum": "sha256:ae352eccf2f2c9ee8f0d9635517d9ae3c9bba83c617deca8f989e2aae8dd35fa", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "sha256:84a60147d2b0121ff6ede6199583cdb5619480d015b2a675c6a0569f91c12d66", "enabled": 1 } }, "modutils": { "100": { "checksum": "sha256:67c3914aeb25e38fc6bd0793fddc41122dba1547d54e91a78065545fea3b9c87", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "sha256:6030afcea9f8d46f25dd7785737edd25eb0f1e50b76eafe4d9103196b722d47e", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "sha256:6ba3a594d01a11bc32e7cb554f7386314b5089eb4416fb776edb552a7d53c41d", "enabled": 1 } }, "mongodb": { "100": { "checksum": "sha256:1b2d30558bec7fc08d1d388ae2bb0becd2233c99c9fb173fd00809786ce5eed9", "enabled": 1 } }, "motion": { "100": { "checksum": "sha256:346e172be35df168eb0e4fbc8e176b0fda87de9bc5787f7a5ab7667cfe1e3c3b", "enabled": 1 } }, "mount": { "100": { "checksum": "sha256:f66c53d993dcd47ea1ff3d797f8fd69fb8161a4ff8a59f54f66a2de9462a55a7", "enabled": 1 } }, "mozilla": { "100": { "checksum": "sha256:7696dbb77c54531cf2574c7ede9f085cf64611dcf7a612530dce2de19f7a8b9f", "enabled": 1 } }, "mpd": { "100": { "checksum": "sha256:0f67c18c9101b53f57ef857a74d6044701e1d2c347f829a03c0579c545fdbef3", "enabled": 1 } }, "mplayer": { "100": { "checksum": "sha256:f82c0a72506f1011e47ba98e51d5edf906f58fc190d797f5d1a0b8e5cc7d0762", "enabled": 1 } }, "mrtg": { "100": { "checksum": "sha256:afcd9267261b334900420461279b8555fdb4bd783af880fa4606d8afc65e0712", "enabled": 1 } }, "mta": { "100": { "checksum": "sha256:b0f9753424c504a288f55d495105f6d475d69287b718190ae5192cf7d6ddfde6", "enabled": 1 } }, "munin": { "100": { "checksum": "sha256:29f87ec15fa19e975c83288d55e56bab64855a24c4d8826fe4138eda9a46cc97", "enabled": 1 } }, "mysql": { "100": { "checksum": "sha256:b028af8f4e726feb8c26037f7c6d6f97383977bd5ee6141ab4e8e1d096d6481f", "enabled": 1 } }, "mythtv": { "100": { "checksum": "sha256:e025b2dbf50901632da0ee2aa658105a322275eb120d782cbbf25f2895231154", "enabled": 1 } }, "naemon": { "100": { "checksum": "sha256:a19b3b0540dc52d9506ca7e5d804c2fe9115b3ea28bfd9273030e841e12eb277", "enabled": 1 } }, "nagios": { "100": { "checksum": "sha256:39ca80027ac8585f368bcd57f555ba87bf409f7b7d6c4292c09fd06cc1691c80", "enabled": 1 } }, "namespace": { "100": { "checksum": "sha256:ef73850f29b4ff4ff904d506d545bf366fd1e7c2ba82a7a7c9a4513e3eee45d9", "enabled": 1 } }, "ncftool": { "100": { "checksum": "sha256:2c9356101a9ddbec94afdd12ca669ba93a1d422c302f9e17b78b18670617d2a1", "enabled": 1 } }, "netlabel": { "100": { "checksum": "sha256:9a32ce04c1dd8e120588c15b3057f838bedce8f14c91576b667295d47800e0ad", "enabled": 1 } }, "netutils": { "100": { "checksum": "sha256:5e0a20ae09b00fac69ee30a0d55ff73fa692d8350c9c0b0343af61e4f0dd654f", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "sha256:9c67b21155929e43e4efd3fc81a85fddc9f1030b47ee4a275789014c1311b972", "enabled": 1 } }, "ninfod": { "100": { "checksum": "sha256:85cac2885d75522eb07189efcc3feeb7775fc6daf5cf3f1a28a1fd2109fe148c", "enabled": 1 } }, "nis": { "100": { "checksum": "sha256:b5b133d60b98068eb9480c54285050ae9b49d2fb309eac8994cc91c865ee02d4", "enabled": 1 } }, "nova": { "100": { "checksum": "sha256:59919a89d30a5d4b60d6971fa636fb62605d59d214ec614adc279f6cbe2c2b27", "enabled": 1 } }, "nscd": { "100": { "checksum": "sha256:578bc975477539c659f3608b1445a0c7a9bc7c3f2dcf65b3e55f3a3af89ea564", "enabled": 1 } }, "nsd": { "100": { "checksum": "sha256:d5b03cdc6c8bbc222b8e3d30680b1a7d2d1a49837e7d509aafcf6b2a3a32195b", "enabled": 1 } }, "nslcd": { "100": { "checksum": "sha256:18b003071f4c36307616f7d5de8cff6d4e376af31cb96ce1a5ad6ae3011dfd09", "enabled": 1 } }, "ntop": { "100": { "checksum": "sha256:f942c7fbe636b9d60327ef9dade1120340c16a2992a6b50db5fbaecd44ffd63d", "enabled": 1 } }, "ntp": { "100": { "checksum": "sha256:686664a71e74b0edd643ab9d556b1aab092fa707935da5ea928a66f54a3c84e0", "enabled": 1 } }, "numad": { "100": { "checksum": "sha256:dabc5ce6244d0b0939e9a07bd6bc232e8b666529a0b7b29527e586db8224862c", "enabled": 1 } }, "nut": { "100": { "checksum": "sha256:653e708dec531e483992b25944a689ec9369478d039a5ec62c98294ab73ce8c4", "enabled": 1 } }, "nx": { "100": { "checksum": "sha256:4ae55fe839abaaf0ea52b79a5c8f6a906575b83cca29532c2dd52337fb3d5790", "enabled": 1 } }, "obex": { "100": { "checksum": "sha256:7b2c87e864b6008f734e1effa48cee1399f41843b9d80d3fd95fbd19e058598f", "enabled": 1 } }, "oddjob": { "100": { "checksum": "sha256:9de0b544b2373ea0f1b7217f9179898479dbff0da36ea9857783de57d06585cf", "enabled": 1 } }, "opafm": { "100": { "checksum": "sha256:761bf911674d23053eceabbbda8da16c73af5f300929a33a64513dc6e3b2d0af", "enabled": 1 } }, "openct": { "100": { "checksum": "sha256:5674f8e8c975570649e3065460786cb4521a86370bffef5a9de18c69813fe68e", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "sha256:bdef6dbb24ae22548634759ac823a8c3e21fde6368cfdfd742480f7027e63ddd", "enabled": 1 } }, "openfortivpn": { "100": { "checksum": "sha256:1a1bff55993510cb6481383b299e1f1a6349ec76e4947bfc8c5b1347e4d30bf4", "enabled": 1 } }, "openhpid": { "100": { "checksum": "sha256:ad3f3f3ba4442930560b291c022e674e6a50e4a37fe027926299b2f6cdec14bd", "enabled": 1 } }, "openshift": { "100": { "checksum": "sha256:329e4b9d1df5012ace94cbe9cba7dfa7ee7d9f242090072c71aaacbeea78986a", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "sha256:31cbbb069354f984e4af75b387778fae1ff4dc6c3e60533357d005ffa960b51c", "enabled": 1 } }, "opensm": { "100": { "checksum": "sha256:c0e1bf0a8eb50e0b41fa69bf5b65e2a7c324e4bc7255933a5d2bac3b9ae6f4de", "enabled": 1 } }, "openvpn": { "100": { "checksum": "sha256:a4d12ae8ad77d65d0fcabb20aa4a83886e782d732123f686f88a7d7472384104", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "sha256:a54f8a8ea5abb8a33734ecef9d9ad1c0dd090a6e0c5187e80de52f522d2d5e39", "enabled": 1 } }, "openwsman": { "100": { "checksum": "sha256:d6b7bb8f7749265bdaf938abecb2f8f78c6e9e8dc06c1c26b48da227af5a8654", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "sha256:67e31eec391bac337ebacb78c096589af4b7e8be6aa05c34cf187ba922a2abde", "enabled": 1 } }, "osad": { "100": { "checksum": "sha256:6635ff0231bfc3d88c771553d495941ee0f98871edfe6c86205b087186b3a72f", "enabled": 1 } }, "pads": { "100": { "checksum": "sha256:5b4531e9231d399ebec8e6b6870a812c6a64b2daffde35fa57a009b24a01809f", "enabled": 1 } }, "passenger": { "100": { "checksum": "sha256:912a1c442559d6ab48453d87e2b997bdee3017a54a0b60aeaf7d4603fde0f34b", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "sha256:456b3520c26e5f2a913437318715712ae00f64932a27ab1bb8b8b42e0524fa05", "enabled": 1 } }, "pcp": { "100": { "checksum": "sha256:5302332fba7e6724ab7a3c32bd523b10322c20011c6e42ae4e769a49f3efabdd", "enabled": 1 } }, "pcscd": { "100": { "checksum": "sha256:2ee37df066a9ff80439b08c092809f3661e2f9a8ad02134e839627fd23a20c1f", "enabled": 1 } }, "pdns": { "100": { "checksum": "sha256:a1a10cd52eb9dd15bc1ccfed440f6b3d235edc7405a3932f81805d8d94000245", "enabled": 1 } }, "pegasus": { "100": { "checksum": "sha256:4280c40629dd111fd1c89ff867ac72d1e7ddde49dc3d286637e6a86b868e2303", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "sha256:2453bad4ace526f3cf2c60b358e95a5476692ef25da107b10f52f3af27c056d2", "enabled": 1 } }, "pesign": { "100": { "checksum": "sha256:6461acd0385c0b1a32bf646fc9e09da0c7ca513954ed8fe2a03f4ee7f6a64fcf", "enabled": 1 } }, "pingd": { "100": { "checksum": "sha256:f7536a518a046b793ea3f74a67d677b878baac44b28268c5ccecbf10715d89ab", "enabled": 1 } }, "piranha": { "100": { "checksum": "sha256:11436fb7942d28e3eca22bc078ee5475f632d8447008a6414f337d4bbc3515dc", "enabled": 1 } }, "pkcs": { "100": { "checksum": "sha256:c70e17d1a4d347b38fdfbb2a5dab292e3e0c538ea52fb6cfdef2714e130da0b1", "enabled": 1 } }, "pkcs11proxyd": { "100": { "checksum": "sha256:c9582c89cac1546fa1e5bf9802c5a322e52e2529256f9e5922d5813e40be3646", "enabled": 1 } }, "pki": { "100": { "checksum": "sha256:ec40fbe6355370fe69a8ff343744654b06d4134c1518c64269be1f3a49083968", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "sha256:7aa52d533e28a3ebf76d879c24bb4e0a58574033d5af6d4d22b716d1156c3f90", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "sha256:b32a5cc38b8edcc76b94862cee0c822a5b4d095329f53ab6f7cb014c76346e8c", "enabled": 1 } }, "policykit": { "100": { "checksum": "sha256:686d9f7652cb2b3d7ce6af2aa620c14a6cbbbdb8d26b3630cfbf6bc34d9e3e6c", "enabled": 1 } }, "polipo": { "100": { "checksum": "sha256:6098bd8a4f449c01dc7e0f4509663994259fe8848f2f21d1319bf7105bbacc4e", "enabled": 1 } }, "portmap": { "100": { "checksum": "sha256:f561aef22cda98a94a74bedda09645e50066a77a23d3bdcbb1143b0c62ffe7b2", "enabled": 1 } }, "portreserve": { "100": { "checksum": "sha256:9de99e881e9e2e7e0b78629eec721840da4aa18f78ff5a06e46b7a596c28a09a", "enabled": 1 } }, "postfix": { "100": { "checksum": "sha256:3101c4c1d54f3e175dc3fcff001c6937a9ffec7781f4095ea38fea88df7e8067", "enabled": 1 } }, "postgresql": { "100": { "checksum": "sha256:a734cc086d7d73ef2ffe7543f82dc50b57619e78e60664cb67a9513790f3335a", "enabled": 1 } }, "postgrey": { "100": { "checksum": "sha256:ef4d03336b66c1184f352f9b3fe8004d870bbf003673d4393bde24ea14b056b8", "enabled": 1 } }, "ppp": { "100": { "checksum": "sha256:83e6712ba7343dc1346e94c51b75b05839f78bd24f9324d984b7aa9631bd0377", "enabled": 1 } }, "prelink": { "100": { "checksum": "sha256:df050b0d180947788ab45862c4627ae640c92cf0f6a994a685e4cb5fe46bef76", "enabled": 1 } }, "prelude": { "100": { "checksum": "sha256:88c5fa3da64c127ed6e688f9eba5e50a8f6f98ea3243d29b8b0bc0375ef95420", "enabled": 1 } }, "privoxy": { "100": { "checksum": "sha256:e4a84567c63c892d4cdda3a9a4b15ad5188c093da679a354f00c43b6376a844d", "enabled": 1 } }, "procmail": { "100": { "checksum": "sha256:98170eed35b67b9097514bcb044a18cc3f757af5f91b5d870ea707d6048cde75", "enabled": 1 } }, "prosody": { "100": { "checksum": "sha256:07e999e033252b28ae41697ddc23b42dbcf4bdc143c9eb1c55475aabc9fc9caf", "enabled": 1 } }, "psad": { "100": { "checksum": "sha256:7fc3410de486bf89c4d35989937f424b435c9c4f5398f47f9c840b146197c6ac", "enabled": 1 } }, "ptchown": { "100": { "checksum": "sha256:129978bcb62fdcaed728fb288b321c204575246eb535354e02bfd83089cb0ded", "enabled": 1 } }, "publicfile": { "100": { "checksum": "sha256:9cc75080e25fb5602ab266f1c0d0f16843bdfc561e7af6dec32d669e31bebe98", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "sha256:a41fc5d1275d548510a2be0180741f952f0f696f443eaabf03c1abf3f80f499e", "enabled": 1 } }, "puppet": { "100": { "checksum": "sha256:81559a7d5e16e228382840986ae0e414d4a78163a9b51b5d9c05a58e07574e8d", "enabled": 1 } }, "pwauth": { "100": { "checksum": "sha256:8590f80ce91ddd4862ce2beab9ec64deb66d99c5583ff5ee3cbff2e503caaa37", "enabled": 1 } }, "qmail": { "100": { "checksum": "sha256:917a35c0ec48acfb5166c937e97269acac39541acebad9c1c410bfdbcb483da1", "enabled": 1 } }, "qpid": { "100": { "checksum": "sha256:cfdb156d23ae6c99b3dbac171ab1626202bf1ae7671fae9f6d6f7241116638dd", "enabled": 1 } }, "quantum": { "100": { "checksum": "sha256:eb4881c554de7882b4e5590a8efb35a758fc1b3d61bc1502632d6f4e571cb331", "enabled": 1 } }, "quota": { "100": { "checksum": "sha256:27d1fb8e99c6d1c75fc8efa8aeaf4303d0dcd8d03cb2992d968a3186d648f4b9", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "sha256:f0b2b81a6670b7640d49d49c364635f39272330f08bcdaa23c681bf2ac64e10f", "enabled": 1 } }, "radius": { "100": { "checksum": "sha256:791a60cff31fca43e01aa4bfe3a57c5938015db44fd1f64064778dbbcdb6e2e2", "enabled": 1 } }, "radvd": { "100": { "checksum": "sha256:1cea7f5b37f7a0e722ecbccaa09d95db2b175ec125d62e3898a99081c51c6f96", "enabled": 1 } }, "raid": { "100": { "checksum": "sha256:a94b0b917312a73eda50ea641dee49eb00f49df286133fcdb13267fd49ce5d1f", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "sha256:159d40315f3f5086a31e6f0a6a90d342783d6f0c97c5feeb9c92808c7345adcf", "enabled": 1 } }, "rdisc": { "100": { "checksum": "sha256:a61f7efd50387ebfd35b675b22a8cba86c6216c0bbd901aab5e8674b5c442777", "enabled": 1 } }, "readahead": { "100": { "checksum": "sha256:276a24e14ef12f5fadaeab2883d501cb096e01a9ce1be2178a5c50ebfa6b3fcb", "enabled": 1 } }, "realmd": { "100": { "checksum": "sha256:61561d5f14d9a6597d6e312f5429947baab045d01a729f7cc34406e859fa0015", "enabled": 1 } }, "redis": { "100": { "checksum": "sha256:f40066828d25674c525148f890d9cc84ddbb203f5a4aaad616ef2cd3a497fdc3", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "sha256:742f881c1a4838ecfc1a55a7f3b78a72267644e3a64e3ec45a191599b5bd8532", "enabled": 1 } }, "restraint": { "400": { "checksum": "sha256:5dd2b902123ef00065db6ec8d173f37baa26dbe43566bd5f06594ef1243fd5fd", "enabled": 1 } }, "rhcs": { "100": { "checksum": "sha256:67f232676ac23535867e2494f04989dbd6b9b6d4bbc67df67dc2edb4d31a8be8", "enabled": 1 } }, "rhev": { "100": { "checksum": "sha256:ee2f26beaa5c6a5d25e03ef9ab30302d6b29b283283683421fab52e29e47fe3d", "enabled": 1 } }, "rhgb": { "100": { "checksum": "sha256:39c550e1c8b149dc6f308b0f9ef238315208453ee064bb1558eff9137531840f", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "sha256:16bff56244925c7696fa2da5a4c986132488c352149cc88181bf6b4143fc80ba", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "sha256:e999510837aabb3ce118ad61225a846f687588e9a321ffe675b56511191bc323", "enabled": 1 } }, "rhts": { "400": { "checksum": "sha256:9000bd99784bc22ffda4493b4985e8c5a2e65e87aeaa1cb96ba82d367a27a8be", "enabled": 1 } }, "ricci": { "100": { "checksum": "sha256:c72c61297cf864a1abda8226de08039c8ae0212808d3f7fd8725b53b955d59f6", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "sha256:d48bd9c5789f4adc396773664402ddeab432caa99597267ccdf24220948e5b3c", "enabled": 1 } }, "rkt": { "100": { "checksum": "sha256:a9414e82cadd2876471465737bd8322eb833e296869ebcefcd9e722ff717d350", "enabled": 1 } }, "rlogin": { "100": { "checksum": "sha256:a4b2e25abc4099a0a54821518b7c824a2ddb7544fb0b5ddde9a0a9be159ac1b2", "enabled": 1 } }, "rngd": { "100": { "checksum": "sha256:5c867af2674586cc1c41aa3203e3704a0d1400d344a8e257bc61e9eebb86ad03", "enabled": 1 } }, "rolekit": { "100": { "checksum": "sha256:73382d4b8a12fa161dbb5ba36c94e7f0b1f82b1abdf0a4f07ca6c981e08f271b", "enabled": 1 } }, "roundup": { "100": { "checksum": "sha256:1a2503ebaa997c6b6efd5d2343ea731f73b2f0312f2e8d5578dad2c8a84a94fa", "enabled": 1 } }, "rpc": { "100": { "checksum": "sha256:e423284f5ed36e7b6c52f581b444a981d5d1c8af6c8dabe8c6cb6c71d3f49fb2", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "sha256:53831134210db04fe6e6b0f05e20b8b7307ae8c11e774faec9e1b3aa2b02b5dc", "enabled": 1 } }, "rpm": { "100": { "checksum": "sha256:acbd671bd661f9f2f25d4798f1646a51075f297c8b086ea9bd3133a00e356432", "enabled": 1 } }, "rrdcached": { "100": { "checksum": "sha256:c6110313310591ee2a08b504b04ebd1b98f370b6633172f06ee7c0c7db0a963d", "enabled": 1 } }, "rshd": { "100": { "checksum": "sha256:1340ab5daac926cc1354452869ab5aa78d27ceb110543624d2ffaf93773c394b", "enabled": 1 } }, "rssh": { "100": { "checksum": "sha256:9dabc52612d567e728786c007f5017c7032c02be3a9201521a530fc91ca789f8", "enabled": 1 } }, "rsync": { "100": { "checksum": "sha256:33dffe2764dc45bbc59b406a67187c39864412bac07ee089bda30ef09cb70faa", "enabled": 1 } }, "rtas": { "100": { "checksum": "sha256:9d55dfe843e44e8a93c02ea28b14856edfdb1f820bb647992daa6af11e2dbd37", "enabled": 1 } }, "rtkit": { "100": { "checksum": "sha256:ea77b9f26c8fc61b7fc281099b2f16e75c5b196660fff55a95f96e97935a7a1b", "enabled": 1 } }, "rwho": { "100": { "checksum": "sha256:4468bfdd23924a96b4cf8c6fa1a3fa606fdd8ac69b7cb17c16a6e39a95908921", "enabled": 1 } }, "samba": { "100": { "checksum": "sha256:c97b92abaf053976c89a670d82bf06bc5c7d561ccf03e3ff1ac84be6e01cfc5c", "enabled": 1 } }, "sambagui": { "100": { "checksum": "sha256:18d1a69de368fa621e8ef3234b8ddb40261ced880bb732328a310db5a62a7a0a", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "sha256:711df017c1f168e33245144d67289225439bbed701fb1146cb83e9cd63ce1f7a", "enabled": 1 } }, "sanlock": { "100": { "checksum": "sha256:093d9d9793142bb9a8c4375f5f368ca1a4d9beb0cd05329518f91bb9ea51bd06", "enabled": 1 } }, "sasl": { "100": { "checksum": "sha256:536ce94509d38b40200debf17fbddc16ec9004463fdb3fc42890dde9b3eb56f1", "enabled": 1 } }, "sbd": { "100": { "checksum": "sha256:57ecac942ea46af55728362527d70a3e135c3b4711688ddf62596b9a768d9fb0", "enabled": 1 } }, "sblim": { "100": { "checksum": "sha256:2ab2f52e6bac063f176e007b39cd8a4e43012ea075d82af20fbb3403891b6493", "enabled": 1 } }, "screen": { "100": { "checksum": "sha256:7df09c8fa09e105ecf51fee797975603a2df8d15c3a0bf00fdb1d565fe4a6b91", "enabled": 1 } }, "secadm": { "100": { "checksum": "sha256:9cf04d33aa9dec0b559c892fb20df89fbe1883544d4ac2d6bf6fc319f0a16663", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "sha256:e7f9a696e0958d6bdbd6696e67a9b4af62430456d0f278e290db0ea1ee9750b7", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "sha256:c72355dc70789deb94777acd0b47c2c3ae628e8d90bffb0e0e320941e5ddf3b7", "enabled": 1 } }, "sendmail": { "100": { "checksum": "sha256:98f68238d6ca96277390c160adeed4e3e382d5ded5a88a3909cfebe986b849be", "enabled": 1 } }, "sensord": { "100": { "checksum": "sha256:10ca96a581ef4b0fa1789160fd71fb340d8b1d13906b42fab6e9119033d4f942", "enabled": 1 } }, "setrans": { "100": { "checksum": "sha256:3a172b4972f9271250b4d228541c78b0243fd0544ac983db0f590e09674f700d", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "sha256:f78edfcb470cd9929f45b6db29ae4924a286ab30a03f80b7bdf3699bccb98314", "enabled": 1 } }, "seunshare": { "100": { "checksum": "sha256:ba2043d9665e2fd3a9e2d103671bfe647060b93d9c02eed2dca3066a0ecfb81d", "enabled": 1 } }, "sge": { "100": { "checksum": "sha256:cf843c98ff4113ded675f79df694549b4f848aecb1295f0a510101e301fbd348", "enabled": 1 } }, "shorewall": { "100": { "checksum": "sha256:c7c49d28e52aba4d168e684b9160a225fbecab373bfbb6963bbe89c93ecb867b", "enabled": 1 } }, "slocate": { "100": { "checksum": "sha256:be1825562f583305597e5ceb1298ebb60e42c4f270b4a7e3751cf9d9be1b1fac", "enabled": 1 } }, "slpd": { "100": { "checksum": "sha256:14748519962688e62b7bc7e7c03ad91c1f815c5d33c63f2d60e03340f55609a8", "enabled": 1 } }, "smartmon": { "100": { "checksum": "sha256:9f26cf1e9fa128e98c758a6325525f8547950a2440b6582202228c3c5c2c80d9", "enabled": 1 } }, "smokeping": { "100": { "checksum": "sha256:ae8cbd09d519a42bc01063c4c16f58e96cb3673acb557dcd2d09af444d742db1", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "sha256:8aa5f2749eeaef5ae871dc903dad87611e369c92e9b3fc28b4944f75db785a18", "enabled": 1 } }, "smsd": { "100": { "checksum": "sha256:d36a762c836a0e4305773e352fe0f46657784b5d9bf749f02df9c6d15f68d101", "enabled": 1 } }, "snapper": { "100": { "checksum": "sha256:62bba8f6a236bae902815188cedbb5f3090acf0829247e6808787f8c913d9981", "enabled": 1 } }, "snmp": { "100": { "checksum": "sha256:68b5e9d408704e44ebf29ba76ae18afdcf6d8aef12794e8e9026997376ce12f8", "enabled": 1 } }, "snort": { "100": { "checksum": "sha256:eef39dec8d416650af3f9eeeb518b06dd9a9e09144aa579b6bd6422ba0037d70", "enabled": 1 } }, "sosreport": { "100": { "checksum": "sha256:c19dc2ed34c3d274f8e01647dc2d869ca06d4a9a3009f57c1845fac4d33ed358", "enabled": 1 } }, "soundserver": { "100": { "checksum": "sha256:a46a9508591afb1407fd14441c9c26cd495a3789e3c6792a2eba38a6642e4b97", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "sha256:8255ad891466762e31763d6f4791a32aa1eea1147a812020724eab8eb07c1916", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "sha256:ce5ba130d5d0ae5fafe8f823b824856590f990ad7c08aa0a5930f5060c252021", "enabled": 1 } }, "squid": { "100": { "checksum": "sha256:4170a7354e69ed60e0268389f74042e02a2511a4451ca20b97a63213b8881e1e", "enabled": 1 } }, "ssh": { "100": { "checksum": "sha256:a4b4b395d2185abfd68edce0f813103ccbedd5d9748f9a41d83cc63dd1465109", "enabled": 1 } }, "sslh": { "100": { "checksum": "sha256:5b0cc219f31e88f2fa78bc31d9c6fe6c7af29b4832509635672ca9edc79409c6", "enabled": 1 } }, "sssd": { "100": { "checksum": "sha256:29cd0921e9effe356c856c3319488adf66c794cbb7d1610e5fca2b730b852939", "enabled": 1 } }, "staff": { "100": { "checksum": "sha256:943b25df416f2181aab46b3492aad9336f60a1b5b46187494f43ab516aae9c6a", "enabled": 1 } }, "stapserver": { "100": { "checksum": "sha256:788f2eb60a3d902060a6c5a08b086e2a1e96d213f86b206736da7e37eb21e51d", "enabled": 1 } }, "stratisd": { "100": { "checksum": "sha256:72c10f773d67b4209c39b4bea22e95c66d105f6f13e30f89bcd568eab6c889e3", "enabled": 1 } }, "stunnel": { "100": { "checksum": "sha256:736a46f682ff77d7c2cf54d5c264eb7b149793c12701b96e9be12bb3e6722796", "enabled": 1 } }, "su": { "100": { "checksum": "sha256:0cc5796bfe362c3b28c73f62377c029a5f2321078b6d5f90bad42764415cd038", "enabled": 1 } }, "sudo": { "100": { "checksum": "sha256:d96538a9cbb09fc38ba701cda88b2a0d199ab7826826d0043e4f07b05418bf84", "enabled": 1 } }, "svnserve": { "100": { "checksum": "sha256:a80606afbcc994e6fdc418cd83182f901d3e5b4b7b36fe262c71a25f43f10af1", "enabled": 1 } }, "swift": { "100": { "checksum": "sha256:19dfb362a8f445099eac9281522f0b13794cb9a0893a7acf0b54c15d193ef70e", "enabled": 1 } }, "sysadm": { "100": { "checksum": "sha256:f0e7b74086d47000f8335de5bade5a5a19a5e83bf581f885db92548546b7ea94", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "sha256:4614737ea0603530691e6158eb1bd07efa1992cb7ef52c201df3a637d3184cdf", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "sha256:f6a5a3b49885a9f780c5a9078cc968673809eaf89ecbe170fbb8a1ed4f521ea2", "enabled": 1 } }, "sysstat": { "100": { "checksum": "sha256:1fadc57b1e46515cbc038e96ae47ab74dd365a910f4d81ec9fb3044c4691260b", "enabled": 1 } }, "systemd": { "100": { "checksum": "sha256:a5f0e5c340eaf127a166cc50be8170bfce80ccee0c14f32e4cc264089350da1a", "enabled": 1 } }, "tangd": { "100": { "checksum": "sha256:fd538dbdeba0b4a1c244ba76b8dfef47f61da5a56f24f39fc24c137a9b3b303a", "enabled": 1 } }, "targetd": { "100": { "checksum": "sha256:bc0f37cdcdd0c9014e89e8be6758f7d9c97c67a4e42652459d6107314f059632", "enabled": 1 } }, "tcpd": { "100": { "checksum": "sha256:c78dcf2b9abf8d5ccf9f32b2debf6181a935a7078fe4a527991ab11d2999c4a9", "enabled": 1 } }, "tcsd": { "100": { "checksum": "sha256:e92fb82a2e509e3595d46dd464dac1029ce3a731f117fa67712d119d2878f195", "enabled": 1 } }, "telepathy": { "100": { "checksum": "sha256:fea41add022251126312da78373cb7fd05df1e9fd27547f1b4fc604a774827a1", "enabled": 1 } }, "telnet": { "100": { "checksum": "sha256:06d4733c0fc7358d738d4dbf53968c9d9017a72b01456be46633364f00a4207d", "enabled": 1 } }, "tftp": { "100": { "checksum": "sha256:8ba2497a28f4c2a31177811fc0a091a3bb9814f9e02cfc8d84c004718f661e5f", "enabled": 1 } }, "tgtd": { "100": { "checksum": "sha256:6ec8d4d38e58efa04572ac713c9148e7182e7d49713ed89955fabdd512b8eea4", "enabled": 1 } }, "thin": { "100": { "checksum": "sha256:c464da2b8e789d74ea2b2914217a194a3c07081b9f383acd2fee9ab77bc525b5", "enabled": 1 } }, "thumb": { "100": { "checksum": "sha256:2ce98252c7ff59539bb38204ee65898ba6cc701c3dc87417c11e2e7124f448a3", "enabled": 1 } }, "timedatex": { "100": { "checksum": "sha256:df36b9f44f28df1b14b4d6bff01de42c414b947a8e6f1e6efdaa7023250709aa", "enabled": 1 } }, "tlp": { "100": { "checksum": "sha256:7b1d2643c7470dc5b80dee41d18482bb6fd6de55371aba888708a28fe0bb0172", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "sha256:2a54cea48dfbeb1c9dad0e167f70aa17970c4f2c76c560330c467051fe3b574b", "enabled": 1 } }, "tomcat": { "100": { "checksum": "sha256:de3ed9b8d62d29e80e29a051419a648c154c12f6bb188814ca79120ff1dc263b", "enabled": 1 } }, "tor": { "100": { "checksum": "sha256:16c95ae098af2b964a7a94b5bb6cd1c84d5c7f1254d6411209e4d5cfe87677bc", "enabled": 1 } }, "tuned": { "100": { "checksum": "sha256:b90ac3a04d3f04c7284f75802ffd69d6c1c3d5c0e6d08c3d0f2d9270b99dd487", "enabled": 1 } }, "tvtime": { "100": { "checksum": "sha256:8f8a1f1b2fea7a9fb8c3853e02c830f5204f691e9223cbdfbc320ec6914725dc", "enabled": 1 } }, "udev": { "100": { "checksum": "sha256:24410f1221660b8443af29cb55e42180e268fce722ceed2c99aa202e7dd3cc21", "enabled": 1 } }, "ulogd": { "100": { "checksum": "sha256:dba41aee81015b99378cff2273a56effd1202c0c937c05c63a913243b0641cdc", "enabled": 1 } }, "uml": { "100": { "checksum": "sha256:29e7469ef2704943f23c5040531fee8657cfed8440ef44b6268d21e6a9afe309", "enabled": 1 } }, "unconfined": { "100": { "checksum": "sha256:54482715f4fb5bca5c68ff67b9d145d12ad3df1438db97bcadcc32a2fb0f6191", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "sha256:13e69d4cbec7926c0ac6fb796749b4286462add3051f1e94554f23e637b81277", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "sha256:cb370bbe8bc0d7bca49a4fd1fad652017f4f8587c7c9d3277155fba32987550e", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "sha256:bbb2700ca73d867432851e12276a932b1553b034b1cc635f5c6681d6b62dcd3a", "enabled": 1 } }, "updfstab": { "100": { "checksum": "sha256:57a37a5c07af0f7ad80f4f01173e6cd6b604659e2d1b5605c2719dff8bbaf2fb", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "sha256:683c0598bdd00543cb696f7ed8cce6b55c658e566141538fc01b3f852af5f697", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "sha256:852eb8259277c64b80c91bd1dcbbe85f629e7218ab2f51d39324dcd78a4a278e", "enabled": 1 } }, "userdomain": { "100": { "checksum": "sha256:066e429e71ebcf11014f4ff6d7647c9d6d88ff191c64eeb9793021d16f4cde97", "enabled": 1 } }, "userhelper": { "100": { "checksum": "sha256:74b817fb60fd3ed5f074ef8ff399342ddc49fb2c250b08015dc975edd48f4dfd", "enabled": 1 } }, "usermanage": { "100": { "checksum": "sha256:fa589ab303d10fadd28a3e8d27cc9bc2e55a9b28f28c3f4c7e05968cb00a7cdd", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "sha256:c5e4e24e89775d797a8988e2d5f72ec7a7dd8387289ede61af7a3ce2173cf167", "enabled": 1 } }, "uucp": { "100": { "checksum": "sha256:6a3659d3706bc3af4b60e5de7efa9532dcc0c0a6f0c7735ed1300ec2120f9d01", "enabled": 1 } }, "uuidd": { "100": { "checksum": "sha256:f85ad7d20dd77416ab246ee0837b016a648176ec9956f40ff2ac6b3c2924edc5", "enabled": 1 } }, "varnishd": { "100": { "checksum": "sha256:18dab548c81b02f1b0f3efd6e25dd529bb0565e974156d55e42e274d3ccdf704", "enabled": 1 } }, "vdagent": { "100": { "checksum": "sha256:ee8af0b085b727e060ac3c82f1e38c89545505c9b26e849eda22e571064c46e7", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "sha256:0f7c8c575b060e863fe17e7ee8c67cc5cc3ea31da734a5428dc62c15f3b15bf4", "enabled": 1 } }, "virt": { "100": { "checksum": "sha256:df433826471b1c65a3686b57b4b07872a695d900731feb88cd6dfb76ddcbc5d9", "enabled": 1 } }, "vlock": { "100": { "checksum": "sha256:4a9362fc5876897cae7062564d54d7f8ae12413c65c4c7fc6709f6407cc27160", "enabled": 1 } }, "vmtools": { "100": { "checksum": "sha256:fb9dda20b16232ac253b148063c9b267356b6f2831650f4c00fa01a6d0a8024a", "enabled": 1 } }, "vmware": { "100": { "checksum": "sha256:d0ce73ebc7d2f494b669257a9a68106245371b455566654c7062694bcbad35df", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "sha256:1df1aaf42d9c96922226b4828c38b6d315f7a9d3cda60fe54d99be5d618e140d", "enabled": 1 } }, "vpn": { "100": { "checksum": "sha256:9ea8931bf1c97618b2e99afb8c60a13d51a84db878bffa4082f6973e23b13eb1", "enabled": 1 } }, "w3c": { "100": { "checksum": "sha256:43663b66ef8275c639a8076d92fc7da6821e0523c120e2c854839f9dc9d1db66", "enabled": 1 } }, "watchdog": { "100": { "checksum": "sha256:65b78e9b48a6cfe62f6c67c443d3bc667a58d206c09df00870949b6ae7ff8c30", "enabled": 1 } }, "wdmd": { "100": { "checksum": "sha256:65560477bd0ae271799a76f75c5a3d46ef0c29f6922aa38e727c95b7e1095a99", "enabled": 1 } }, "webadm": { "100": { "checksum": "sha256:4d4d609b3be3c2dc659694cfd2076e0c0c0d6446d16a3fb054a9e5f951b29410", "enabled": 1 } }, "webalizer": { "100": { "checksum": "sha256:867139a0cc2cb236ee54575ce6a8568cdbefd6785e8b7f64e09a3041da46b095", "enabled": 1 } }, "wine": { "100": { "checksum": "sha256:419d697ac987518dee6095070e2894c4112b50256e59d2b4f6acac585fb087f8", "enabled": 1 } }, "wireshark": { "100": { "checksum": "sha256:ce85b40df4d548aa55eb54bc546943366b654a3af7f602817f1fc499c0c8039e", "enabled": 1 } }, "xen": { "100": { "checksum": "sha256:f5d46e297e4e8e0a3f76c1fc8ae96db3ebf5b99ab538a54c171e489ac94ae1f0", "enabled": 1 } }, "xguest": { "100": { "checksum": "sha256:aeb8895098531d1607e389703c783a3c1e8a8c1ad962397debe65214ff86e29e", "enabled": 1 } }, "xserver": { "100": { "checksum": "sha256:85f1f1ed778597ec568ab7b9069779c088219d1da283a09382439c6803e7863e", "enabled": 1 } }, "zabbix": { "100": { "checksum": "sha256:476521323be1b84d7ba2539aa208d857678746a76e7e079577d3f46d251637ac", "enabled": 1 } }, "zarafa": { "100": { "checksum": "sha256:7536116b2852a578cbc5d32f7752b6dd3bb1202817db05306e1a16553c1d43b6", "enabled": 1 } }, "zebra": { "100": { "checksum": "sha256:3d18bbdc44c396c7715cce348f9248712132a1c53341d3b5760016d245f86e75", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "sha256:44cf07d7e6b15709d131b8b406032d0e6395a84e1e20bc67f9320a1e97c4dfcc", "enabled": 1 } }, "zosremote": { "100": { "checksum": "sha256:1177170edbd47b6fe17fa022a247d9b75b1fb3a5a49721bcff3c7da4f480c702", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Tuesday 06 August 2024 04:49:44 -0400 (0:00:03.240) 0:06:41.911 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "selinux_modules is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Tuesday 06 August 2024 04:49:44 -0400 (0:00:00.046) 0:06:41.957 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Tuesday 06 August 2024 04:49:44 -0400 (0:00:00.042) 0:06:42.000 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Leave realm] ************************************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Tuesday 06 August 2024 04:49:44 -0400 (0:00:00.068) 0:06:42.068 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts.packages.realmd is defined", "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Tuesday 06 August 2024 04:49:44 -0400 (0:00:00.051) 0:06:42.119 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts.packages[\"krb5-workstation\"] is defined", "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Tuesday 06 August 2024 04:49:44 -0400 (0:00:00.182) 0:06:42.302 ******** ok: [managed_node1] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Tuesday 06 August 2024 04:49:45 -0400 (0:00:00.464) 0:06:42.767 ******** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Removed: resource-agents-4.9.0-54.el8.1.x86_64", "Removed: samba-client-libs-4.19.4-4.el8.x86_64", "Removed: samba-common-4.19.4-4.el8.noarch", "Removed: samba-common-libs-4.19.4-4.el8.x86_64", "Removed: guile-5:2.0.14-7.el8.x86_64", "Removed: bzip2-1.0.6-26.el8.x86_64", "Removed: cifs-utils-7.0-1.el8.x86_64", "Removed: libtool-ltdl-2.4.6-25.el8.x86_64", "Removed: libwbclient-4.19.4-4.el8.x86_64", "Removed: unixODBC-2.3.11-1.rh.x86_64", "Removed: unixODBC-devel-2.3.11-1.rh.x86_64", "Removed: cyrus-sasl-2.1.27-6.el8_5.x86_64", "Removed: cyrus-sasl-gssapi-2.1.27-6.el8_5.x86_64", "Removed: lsof-4.93.2-1.el8.x86_64", "Removed: device-mapper-event-8:1.02.181-14.el8.x86_64", "Removed: device-mapper-event-libs-8:1.02.181-14.el8.x86_64", "Removed: lvm2-8:2.03.14-14.el8.x86_64", "Removed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Removed: lvm2-libs-8:2.03.14-14.el8.x86_64", "Removed: libaio-0.3.112-1.el8.x86_64", "Removed: libatomic-8.5.0-22.el8.x86_64", "Removed: libatomic_ops-7.6.2-3.el8.x86_64", "Removed: libbabeltrace-1.5.4-4.el8.x86_64", "Removed: msodbcsql17-17.10.6.1-1.x86_64", "Removed: mssql-server-16.0.4135.4-3.x86_64", "Removed: mssql-server-ha-16.0.4135.4-3.x86_64", "Removed: mssql-tools-17.10.1.1-1.x86_64", "Removed: net-tools-2.0-0.52.20160912git.el8.x86_64", "Removed: gc-7.6.4-3.el8.x86_64", "Removed: gcc-gdb-plugin-8.5.0-22.el8.x86_64", "Removed: gdb-8.2-20.el8.x86_64", "Removed: gdb-headless-8.2-20.el8.x86_64", "Removed: libicu-60.3-2.el8_1.x86_64", "Removed: libipt-1.6.1-8.el8.x86_64" ] } TASK [Remove related files] **************************************************** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:63 Tuesday 06 August 2024 04:49:50 -0400 (0:00:05.214) 0:06:47.981 ******** changed: [managed_node1] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.009029", "end": "2024-08-06 04:49:50.960166", "rc": 0, "start": "2024-08-06 04:49:50.951137" } STDOUT: removed directory '/var/opt/mssql/.system/system/Temp' removed '/var/opt/mssql/.system/system/lsasetup.log' removed '/var/opt/mssql/.system/system/debug/PASSWD.LOG' removed directory '/var/opt/mssql/.system/system/debug' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/cd34c9bd-0dd7-4bd0-bebb-40ffc902be6e' removed '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18' removed directory '/var/opt/mssql/.system/system/system32/Microsoft/Protect' removed directory '/var/opt/mssql/.system/system/system32/Microsoft' removed directory '/var/opt/mssql/.system/system/system32/LogFiles/Scm' removed directory '/var/opt/mssql/.system/system/system32/LogFiles' removed directory '/var/opt/mssql/.system/system/system32' removed '/var/opt/mssql/.system/system/licensing.hiv' removed '/var/opt/mssql/.system/system/security.hiv' removed '/var/opt/mssql/.system/system/lsa.hiv' removed directory '/var/opt/mssql/.system/system' removed directory '/var/opt/mssql/.system/profiles/Client/Desktop' removed directory '/var/opt/mssql/.system/profiles/Client/Documents' removed directory '/var/opt/mssql/.system/profiles/Client/Temp' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache/IE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache/Content.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCache' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies/ESE' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/INetCookies' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History/History.IE5' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/History' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Local' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs' removed '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/Roaming' removed directory '/var/opt/mssql/.system/profiles/Client/AppData/LocalLow' removed directory '/var/opt/mssql/.system/profiles/Client/AppData' removed directory '/var/opt/mssql/.system/profiles/Client' removed directory '/var/opt/mssql/.system/profiles' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore' removed directory '/var/opt/mssql/.system/programdata/Microsoft/NetFramework' removed directory '/var/opt/mssql/.system/programdata/Microsoft' removed directory '/var/opt/mssql/.system/programdata' removed '/var/opt/mssql/.system/instance_id' removed directory '/var/opt/mssql/.system' removed '/var/opt/mssql/data/master.mdf' removed '/var/opt/mssql/data/mastlog.ldf' removed '/var/opt/mssql/data/model.mdf' removed '/var/opt/mssql/data/modellog.ldf' removed '/var/opt/mssql/data/msdbdata.mdf' removed '/var/opt/mssql/data/msdblog.ldf' removed '/var/opt/mssql/data/model_replicatedmaster.mdf' removed '/var/opt/mssql/data/model_replicatedmaster.ldf' removed '/var/opt/mssql/data/model_msdbdata.mdf' removed '/var/opt/mssql/data/model_msdblog.ldf' removed '/var/opt/mssql/data/Entropy.bin' removed '/var/opt/mssql/data/tempdb.mdf' removed '/var/opt/mssql/data/templog.ldf' removed '/var/opt/mssql/data/tempdb2.ndf' removed '/var/opt/mssql/data/ExampleDB1.mdf' removed '/var/opt/mssql/data/ExampleDB1_log.ldf' removed '/var/opt/mssql/data/ExampleDB2.mdf' removed '/var/opt/mssql/data/ExampleDB2_log.ldf' removed '/var/opt/mssql/data/ExampleDB1' removed '/var/opt/mssql/data/ExampleDB2' removed '/var/opt/mssql/data/ExampleCert.pvk' removed '/var/opt/mssql/data/ExampleCert.cer' removed directory '/var/opt/mssql/data' removed '/var/opt/mssql/log/mssql-conf/mssql-conf.log' removed directory '/var/opt/mssql/log/mssql-conf' removed '/var/opt/mssql/log/sqlagentstartup.log' removed '/var/opt/mssql/log/HkEngineEventFile_0_133674074396280000.xel' removed '/var/opt/mssql/log/system_health_0_133674074415960000.xel' removed '/var/opt/mssql/log/log.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133674074465300000.xel' removed '/var/opt/mssql/log/system_health_0_133674074484930000.xel' removed '/var/opt/mssql/log/log_1.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133674074822370000.xel' removed '/var/opt/mssql/log/system_health_0_133674074839450000.xel' removed '/var/opt/mssql/log/log_2.trc' removed '/var/opt/mssql/log/HkEngineEventFile_0_133674075123120000.xel' removed '/var/opt/mssql/log/system_health_0_133674075140430000.xel' removed '/var/opt/mssql/log/AlwaysOn_health_0_133674075140590000.xel' removed '/var/opt/mssql/log/log_3.trc' removed '/var/opt/mssql/log/errorlog.5' removed '/var/opt/mssql/log/errorlog.4' removed '/var/opt/mssql/log/errorlog.3' removed '/var/opt/mssql/log/errorlog.2' removed '/var/opt/mssql/log/errorlog.1' removed '/var/opt/mssql/log/errorlog' removed '/var/opt/mssql/log/HkEngineEventFile_0_133674075702230000.xel' removed '/var/opt/mssql/log/system_health_0_133674075720090000.xel' removed '/var/opt/mssql/log/AlwaysOn_health_0_133674075720380000.xel' removed '/var/opt/mssql/log/log_4.trc' removed directory '/var/opt/mssql/log' removed '/var/opt/mssql/mssql.conf' removed '/var/opt/mssql/secrets/machine-key' removed '/var/opt/mssql/secrets/passwd' removed directory '/var/opt/mssql/secrets' removed directory '/var/opt/mssql' removed directory '/opt/mssql' removed directory '/opt/mssql-tools' removed '/etc/yum.repos.d/packages-microsoft-com-mssql-server-2022.repo' removed '/etc/yum.repos.d/packages-microsoft-com-prod.repo' TASK [Stop the mssql-server service] ******************************************* task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:77 Tuesday 06 August 2024 04:49:51 -0400 (0:00:00.358) 0:06:48.340 ******** ok: [managed_node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010598", "end": "2024-08-06 04:49:51.317793", "rc": 0, "start": "2024-08-06 04:49:51.307195" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Tuesday 06 August 2024 04:49:51 -0400 (0:00:00.408) 0:06:48.748 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.112333", "end": "2024-08-06 04:49:51.832001", "rc": 0, "start": "2024-08-06 04:49:51.719668" } PLAY RECAP ********************************************************************* managed_node1 : ok=647 changed=53 unreachable=0 failed=0 skipped=541 rescued=3 ignored=0 Tuesday 06 August 2024 04:49:51 -0400 (0:00:00.492) 0:06:49.240 ******** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 37.14s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 fedora.linux_system_roles.mssql : Input with the sqlcmd command configure_endpoint.j2 -- 10.40s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha --- 10.13s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 7.37s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 6.07s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 fedora.linux_system_roles.mssql : Gather system services facts ---------- 5.65s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 5.51s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Remove related packages ------------------------------------------------- 5.21s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 3.93s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 fedora.linux_system_roles.mssql : Gather package facts ------------------ 3.72s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 3.57s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.24s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux --- 3.10s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 fedora.linux_system_roles.mssql : Generate the template on the host for configure_ag.j2 --- 2.91s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.80s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.77s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.77s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 fedora.linux_system_roles.mssql : Generate the template on the host for configure_ag.j2 --- 2.76s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 fedora.linux_system_roles.firewall : Install firewalld ------------------ 2.76s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 2.76s /tmp/tmp.KCnNkheNYy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58