# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_accept_eula.yml ************************************************ 2 plays in /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_accept_eula.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_accept_eula.yml:4 Friday 05 January 2024 15:14:16 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that the role runs when EULA are accepted] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_accept_eula.yml:9 Friday 05 January 2024 15:14:16 +0000 (0:00:00.009) 0:00:00.022 ******** ok: [sut] META: ran handlers TASK [Run the role with default parameters] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_accept_eula.yml:29 Friday 05 January 2024 15:14:17 +0000 (0:00:00.607) 0:00:00.630 ******** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Friday 05 January 2024 15:14:17 +0000 (0:00:00.170) 0:00:00.800 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for sut TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Friday 05 January 2024 15:14:17 +0000 (0:00:00.010) 0:00:00.811 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:9 Friday 05 January 2024 15:14:17 +0000 (0:00:00.018) 0:00:00.829 ******** ok: [sut] => (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 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (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 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Friday 05 January 2024 15:14:17 +0000 (0:00:00.033) 0:00:00.863 ******** ok: [sut] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:15 Friday 05 January 2024 15:14:17 +0000 (0:00:00.007) 0:00:00.871 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:23 Friday 05 January 2024 15:14:17 +0000 (0:00:00.018) 0:00:00.890 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the variable is deprecated] ******** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:30 Friday 05 January 2024 15:14:17 +0000 (0:00:00.018) 0:00:00.908 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:37 Friday 05 January 2024 15:14:17 +0000 (0:00:00.019) 0:00:00.927 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Friday 05 January 2024 15:14:17 +0000 (0:00:00.029) 0:00:00.956 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:51 Friday 05 January 2024 15:14:17 +0000 (0:00:00.024) 0:00:00.981 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:58 Friday 05 January 2024 15:14:17 +0000 (0:00:00.017) 0:00:00.999 ******** skipping: [sut] => {} TASK [linux-system-roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:65 Friday 05 January 2024 15:14:17 +0000 (0:00:00.017) 0:00:01.016 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:69 Friday 05 January 2024 15:14:17 +0000 (0:00:00.020) 0:00:01.037 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:81 Friday 05 January 2024 15:14:17 +0000 (0:00:00.020) 0:00:01.057 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:89 Friday 05 January 2024 15:14:17 +0000 (0:00:00.017) 0:00:01.075 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:98 Friday 05 January 2024 15:14:18 +0000 (0:00:00.017) 0:00:01.093 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:111 Friday 05 January 2024 15:14:18 +0000 (0:00:00.017) 0:00:01.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:122 Friday 05 January 2024 15:14:18 +0000 (0:00:00.017) 0:00:01.128 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 Friday 05 January 2024 15:14:18 +0000 (0:00:00.019) 0:00:01.147 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:135 Friday 05 January 2024 15:14:18 +0000 (0:00:00.806) 0:00:01.954 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set mssql_version variable if user does not define it] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:144 Friday 05 January 2024 15:14:18 +0000 (0:00:00.045) 0:00:01.999 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:151 Friday 05 January 2024 15:14:18 +0000 (0:00:00.032) 0:00:02.032 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:158 Friday 05 January 2024 15:14:18 +0000 (0:00:00.029) 0:00:02.061 ******** skipping: [sut] => (item={'key': 2017, 'value': 14}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2019, 'value': 15}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 2022, 'value': 16}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Friday 05 January 2024 15:14:19 +0000 (0:00:00.045) 0:00:02.107 ******** changed: [sut] => { "attempts": 1, "changed": true } TASK [linux-system-roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:186 Friday 05 January 2024 15:14:25 +0000 (0:00:06.030) 0:00:08.138 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get yum repositories] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:196 Friday 05 January 2024 15:14:25 +0000 (0:00:00.027) 0:00:08.165 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:207 Friday 05 January 2024 15:14:25 +0000 (0:00:00.039) 0:00:08.205 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 Friday 05 January 2024 15:14:25 +0000 (0:00:00.031) 0:00:08.237 ******** changed: [sut] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [Ensure that the system is in SELinux enforcing state] ******************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:228 Friday 05 January 2024 15:14:25 +0000 (0:00:00.240) 0:00:08.477 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get the current mode of SELinux] ************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:236 Friday 05 January 2024 15:14:25 +0000 (0:00:00.065) 0:00:08.543 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is in enforcing mode] ***** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Friday 05 January 2024 15:14:25 +0000 (0:00:00.050) 0:00:08.593 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that SELinux is not in enforcing mode] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:250 Friday 05 January 2024 15:14:25 +0000 (0:00:00.037) 0:00:08.631 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server-selinux] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:259 Friday 05 January 2024 15:14:25 +0000 (0:00:00.019) 0:00:08.650 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the package mssql-server] ************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 Friday 05 January 2024 15:14:25 +0000 (0:00:00.028) 0:00:08.678 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 rhel-Server 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 rhel-Server 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 rhel-Server 41 k\n gdb x86_64 7.6.1-120.el7 rhel-Server 2.4 M\n libatomic x86_64 4.8.5-44.el7 rhel-Server 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 rhel-Server 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal download size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 44 MB/s | 203 MB 00:04 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libatomic-4.8.5-44.el7.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:272 Friday 05 January 2024 15:15:03 +0000 (0:00:37.577) 0:00:46.256 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Friday 05 January 2024 15:15:03 +0000 (0:00:00.018) 0:00:46.275 ******** ok: [sut] => { "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.005578", "end": "2024-01-05 15:15:03.383575", "rc": 0, "start": "2024-01-05 15:15:03.377997" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 Friday 05 January 2024 15:15:03 +0000 (0:00:00.214) 0:00:46.489 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Set the __mssql_is_setup variable] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:299 Friday 05 January 2024 15:15:04 +0000 (0:00:00.833) 0:00:47.322 ******** ok: [sut] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:308 Friday 05 January 2024 15:15:04 +0000 (0:00:00.025) 0:00:47.347 ******** fatal: [sut]: FAILED! => { "assertion": "mssql_edition is not none", "changed": false, "evaluated_to": false } MSG: ['You must define the following variables to set up MSSQL:', 'mssql_password', 'mssql_edition'] TASK [Assert that the role failed with variables undefined] ******************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_accept_eula.yml:38 Friday 05 January 2024 15:15:04 +0000 (0:00:00.021) 0:00:47.369 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up after the role invocation] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_accept_eula.yml:44 Friday 05 January 2024 15:15:04 +0000 (0:00:00.018) 0:00:47.387 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml for sut TASK [Gather package facts] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:2 Friday 05 January 2024 15:15:04 +0000 (0:00:00.029) 0:00:47.417 ******** ok: [sut] => { "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: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:6 Friday 05 January 2024 15:15:04 +0000 (0:00:00.632) 0:00:48.050 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:14 Friday 05 January 2024 15:15:04 +0000 (0:00:00.022) 0:00:48.073 ******** ok: [sut] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:18 Friday 05 January 2024 15:15:05 +0000 (0:00:00.019) 0:00:48.092 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 15:15:05 +0000 (0:00:00.079) 0:00:48.172 ******** included: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 05 January 2024 15:15:05 +0000 (0:00:00.033) 0:00:48.206 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 05 January 2024 15:15:05 +0000 (0:00:00.024) 0:00:48.230 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 05 January 2024 15:15:05 +0000 (0:00:00.181) 0:00:48.412 ******** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Friday 05 January 2024 15:15:05 +0000 (0:00:00.021) 0:00:48.433 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 15:15:05 +0000 (0:00:00.325) 0:00:48.759 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 15:15:05 +0000 (0:00:00.020) 0:00:48.779 ******** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 15:15:05 +0000 (0:00:00.027) 0:00:48.807 ******** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service system.slice dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "iptables.service ipset.service ip6tables.service ebtables.service shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 15:15:06 +0000 (0:00:00.330) 0:00:49.137 ******** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service system.slice dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "ipset.service ip6tables.service shutdown.target iptables.service ebtables.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 15:15:06 +0000 (0:00:00.699) 0:00:49.837 ******** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 15:15:06 +0000 (0:00:00.023) 0:00:49.861 ******** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 8697e89439a0fde2df034ef3bfeb3a9558529194c459826162be809a2f08e773 /etc/firewalld/lockdown-whitelist.xml STDERR: Shared connection to 10.31.13.9 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 15:15:08 +0000 (0:00:01.677) 0:00:51.538 ******** ok: [sut] => { "ansible_facts": { "__firewall_report_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 15:15:08 +0000 (0:00:00.022) 0:00:51.561 ******** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 15:15:08 +0000 (0:00:00.019) 0:00:51.580 ******** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 15:15:08 +0000 (0:00:00.019) 0:00:51.599 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 15:15:08 +0000 (0:00:00.021) 0:00:51.621 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 15:15:08 +0000 (0:00:00.019) 0:00:51.640 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 15:15:08 +0000 (0:00:00.019) 0:00:51.659 ******** ok: [sut] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.13.9 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 15:15:08 +0000 (0:00:00.250) 0:00:51.910 ******** changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 15:15:08 +0000 (0:00:00.024) 0:00:51.934 ******** skipping: [sut] => {} TASK [Leave realm] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:27 Friday 05 January 2024 15:15:08 +0000 (0:00:00.044) 0:00:51.978 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:35 Friday 05 January 2024 15:15:08 +0000 (0:00:00.025) 0:00:52.003 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:39 Friday 05 January 2024 15:15:08 +0000 (0:00:00.024) 0:00:52.028 ******** changed: [sut] => { "backup": "", "changed": true } MSG: line replaced TASK [Remove related packages] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:45 Friday 05 January 2024 15:15:09 +0000 (0:00:00.186) 0:00:52.214 ******** changed: [sut] => { "changed": true, "changes": { "removed": [ "mssql-server" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-tools is not installed", "unixODBC-devel is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\nFound and removing 6 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @rhel-Server 86 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @rhel-Server 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @rhel-Server 36 k\n gdb x86_64 7.6.1-120.el7 @rhel-Server 7.0 M\n libatomic x86_64 4.8.5-44.el7 @rhel-Server 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.15 @rhel-Server 82 k\n\nTransaction Summary\n================================================================================\nRemove 1 Package (+6 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/7 \n Erasing : libatomic-4.8.5-44.el7.x86_64 2/7 \n Erasing : bzip2-1.0.6-13.el7.x86_64 3/7 \n Erasing : gdb-7.6.1-120.el7.x86_64 4/7 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 5/7 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 7/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.15.x86_64 7/7 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.15 \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:58 Friday 05 January 2024 15:15:11 +0000 (0:00:02.009) 0:00:54.224 ******** changed: [sut] => { "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.005301", "end": "2024-01-05 15:15:11.251941", "rc": 0, "start": "2024-01-05 15:15:11.246640" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo’ TASK [Stop the mssql-server service] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:72 Friday 05 January 2024 15:15:11 +0000 (0:00:00.139) 0:00:54.364 ******** ok: [sut] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.010278", "end": "2024-01-05 15:15:11.396818", "rc": 0, "start": "2024-01-05 15:15:11.386540" } STDERR: Failed to stop mssql-server.service: Unit mssql-server.service not loaded. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=33 changed=8 unreachable=0 failed=0 skipped=38 rescued=1 ignored=0 Friday 05 January 2024 15:15:11 +0000 (0:00:00.129) 0:00:54.493 ******** =============================================================================== linux-system-roles.mssql : Ensure the package mssql-server ------------- 37.58s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:264 linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories --- 6.03s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:173 Remove related packages ------------------------------------------------- 2.01s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:45 -------- fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.68s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 linux-system-roles.mssql : Gather system services facts ----------------- 0.83s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:295 linux-system-roles.mssql : Gather package facts ------------------------- 0.81s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:131 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.70s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Gather package facts ---------------------------------------------------- 0.63s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:2 --------- Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_accept_eula.yml:9 ----- fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.33s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.33s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.25s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 linux-system-roles.mssql : Configure the Microsoft SQL Server repo version 2017 --- 0.24s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:215 linux-system-roles.mssql : Check if the errorlog file exists and its location --- 0.21s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/roles/linux-system-roles.mssql/tasks/main.yml:280 Ensure that yum and dnf caching is enabled ------------------------------ 0.19s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:39 -------- fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.18s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Run the role with default parameters ------------------------------------ 0.17s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tests_accept_eula.yml:29 ---- Remove related files ---------------------------------------------------- 0.14s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:58 -------- Stop the mssql-server service ------------------------------------------- 0.13s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:72 -------- Purge firewall configuration -------------------------------------------- 0.08s /WORKDIR/git-ansible-lint-test-2.165ogb2j33/tests/tasks/cleanup.yml:18 -------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---