|
|
|
@ -21,6 +21,8 @@
|
|
|
|
|
ansible -m shell -a whoami -i "{{inventory_file}}" test-targets
|
|
|
|
|
-e ansible_ssh_user=mitogen__has_sudo
|
|
|
|
|
-e ansible_ssh_pass=has_sudo_password
|
|
|
|
|
args:
|
|
|
|
|
chdir: ../..
|
|
|
|
|
register: out
|
|
|
|
|
when: is_mitogen
|
|
|
|
|
|
|
|
|
@ -30,6 +32,8 @@
|
|
|
|
|
ansible -m shell -a whoami -i "{{inventory_file}}" test-targets
|
|
|
|
|
-e ansible_ssh_user=mitogen__has_sudo
|
|
|
|
|
-e ansible_ssh_pass=wrong_password
|
|
|
|
|
args:
|
|
|
|
|
chdir: ../..
|
|
|
|
|
register: out
|
|
|
|
|
ignore_errors: true
|
|
|
|
|
when: is_mitogen
|
|
|
|
@ -46,6 +50,8 @@
|
|
|
|
|
ansible -m shell -a whoami -i "{{inventory_file}}" test-targets
|
|
|
|
|
-e ansible_user=mitogen__has_sudo
|
|
|
|
|
-e ansible_ssh_pass=has_sudo_password
|
|
|
|
|
args:
|
|
|
|
|
chdir: ../..
|
|
|
|
|
register: out
|
|
|
|
|
when: is_mitogen
|
|
|
|
|
|
|
|
|
@ -55,6 +61,8 @@
|
|
|
|
|
ansible -m shell -a whoami -i "{{inventory_file}}" test-targets
|
|
|
|
|
-e ansible_user=mitogen__has_sudo
|
|
|
|
|
-e ansible_ssh_pass=wrong_password
|
|
|
|
|
args:
|
|
|
|
|
chdir: ../..
|
|
|
|
|
register: out
|
|
|
|
|
ignore_errors: true
|
|
|
|
|
when: is_mitogen
|
|
|
|
@ -71,6 +79,8 @@
|
|
|
|
|
ansible -m shell -a whoami -i "{{inventory_file}}" test-targets
|
|
|
|
|
-e ansible_user=mitogen__has_sudo
|
|
|
|
|
-e ansible_password=has_sudo_password
|
|
|
|
|
args:
|
|
|
|
|
chdir: ../..
|
|
|
|
|
register: out
|
|
|
|
|
when: is_mitogen
|
|
|
|
|
|
|
|
|
@ -80,6 +90,8 @@
|
|
|
|
|
ansible -m shell -a whoami -i "{{inventory_file}}" test-targets
|
|
|
|
|
-e ansible_user=mitogen__has_sudo
|
|
|
|
|
-e ansible_password=wrong_password
|
|
|
|
|
args:
|
|
|
|
|
chdir: ../..
|
|
|
|
|
register: out
|
|
|
|
|
ignore_errors: true
|
|
|
|
|
when: is_mitogen
|
|
|
|
@ -96,6 +108,8 @@
|
|
|
|
|
ansible -m shell -a whoami -i "{{inventory_file}}" test-targets
|
|
|
|
|
-e ansible_user=mitogen__has_sudo_pubkey
|
|
|
|
|
-e ansible_ssh_private_key_file=../data/docker/mitogen__has_sudo_pubkey.key
|
|
|
|
|
args:
|
|
|
|
|
chdir: ../..
|
|
|
|
|
register: out
|
|
|
|
|
when: is_mitogen
|
|
|
|
|
|
|
|
|
@ -105,6 +119,8 @@
|
|
|
|
|
ansible -m shell -a whoami -i "{{inventory_file}}" test-targets
|
|
|
|
|
-e ansible_user=mitogen__has_sudo
|
|
|
|
|
-e ansible_ssh_private_key_file=/dev/null
|
|
|
|
|
args:
|
|
|
|
|
chdir: ../..
|
|
|
|
|
register: out
|
|
|
|
|
ignore_errors: true
|
|
|
|
|
when: is_mitogen
|
|
|
|
|