Integration test fix and adapt files to pass ansible-lint warning and errors
SUMMARY
Fixed an issue in which integration test was failing on conditional check and it can’t be evaluated.
Fixed errors and warning that ansible-lint was showing.
ISSUE TYPE
Bugfix Pull Request
ADDITIONAL INFORMATION
Before My change the following error occured during the integration test run for win_group_membership integration test:
fatal: [windows_server]: FAILED! => {
"msg": "The conditional check 'add_another_user_to_group_again.members == [\"{{ ansible_hostname }}\\\\{{ admin_account_name }}\", \"{{ ansible_hostname }}\\\\{{ win_local_user }}\", \"NT AUTHORITY\\\\SYSTEM\", \"NT AUTHORITY\\\\NETWORK SERVICE\"]' failed. The error was: Conditional is marked as unsafe, and cannot be evaluated."
}
Integration test fix and adapt files to pass ansible-lint warning and errors
SUMMARY
ISSUE TYPE
ADDITIONAL INFORMATION