@@ -33,16 +33,16 @@ def test_plugin_help(pytester): # type: ignore[no-untyped-def] # noqa: ANN001,
33
33
# Check for the github args section header
34
34
"pytest-ansible:" ,
35
35
# Check for the specific args
36
- " --inventory=ANSIBLE_INVENTORY , --ansible-inventory=ANSIBLE_INVENTORY" ,
37
- " --host-pattern=ANSIBLE_HOST_PATTERN , --ansible-host-pattern=ANSIBLE_HOST_PATTERN" ,
38
- " --connection=ANSIBLE_CONNECTION , --ansible-connection=ANSIBLE_CONNECTION" ,
39
- " --user=ANSIBLE_USER , --ansible-user=ANSIBLE_USER" ,
36
+ " --inventory* , --ansible-inventory=ANSIBLE_INVENTORY" ,
37
+ " --host-pattern* , --ansible-host-pattern=ANSIBLE_HOST_PATTERN" ,
38
+ " --connection* , --ansible-connection=ANSIBLE_CONNECTION" ,
39
+ " --user* , --ansible-user=ANSIBLE_USER" ,
40
40
" --check, --ansible-check" ,
41
- " --module-path=ANSIBLE_MODULE_PATH , --ansible-module-path=ANSIBLE_MODULE_PATH" ,
41
+ " --module-path* , --ansible-module-path=ANSIBLE_MODULE_PATH" ,
42
42
" --become, --ansible-become" ,
43
- " --become-method=ANSIBLE_BECOME_METHOD , --ansible-become-method=ANSIBLE_BECOME_METHOD" , # noqa: E501
44
- " --become-user=ANSIBLE_BECOME_USER , --ansible-become-user=ANSIBLE_BECOME_USER" ,
45
- " --ask-become-pass=ANSIBLE_ASK_BECOME_PASS , --ansible-ask-become-pass=ANSIBLE_ASK_BECOME_PASS" , # noqa: E501
43
+ " --become-method* , --ansible-become-method=ANSIBLE_BECOME_METHOD" ,
44
+ " --become-user* , --ansible-become-user=ANSIBLE_BECOME_USER" ,
45
+ " --ask-become-pass* , --ansible-ask-become-pass=ANSIBLE_ASK_BECOME_PASS" ,
46
46
# Check for the marker in --help
47
47
" ansible (args)*Ansible integration" ,
48
48
],
0 commit comments