|
18 | 18 | ANSIBLE_ANY_ERRORS_FATAL=false |
19 | 19 | ANSIBLE_STRATEGY=mitogen_linear |
20 | 20 | ANSIBLE_SSH_ARGS="" |
21 | | - ansible -m shell -a whoami -i "{{MITOGEN_INVENTORY_FILE}}" test-targets |
| 21 | + ansible -m shell -a whoami |
| 22 | + {% for inv in ansible_inventory_sources %} |
| 23 | + -i "{{ inv }}" |
| 24 | + {% endfor %} |
| 25 | + test-targets |
22 | 26 | -e ansible_ssh_user=mitogen__has_sudo |
23 | 27 | -e ansible_ssh_pass=has_sudo_password |
24 | 28 | args: |
|
31 | 35 | ANSIBLE_ANY_ERRORS_FATAL=false |
32 | 36 | ANSIBLE_STRATEGY=mitogen_linear |
33 | 37 | ANSIBLE_SSH_ARGS="" |
34 | | - ansible -m shell -a whoami -i "{{MITOGEN_INVENTORY_FILE}}" test-targets |
| 38 | + ansible -m shell -a whoami |
| 39 | + {% for inv in ansible_inventory_sources %} |
| 40 | + -i "{{ inv }}" |
| 41 | + {% endfor %} |
| 42 | + test-targets |
35 | 43 | -e ansible_ssh_user=mitogen__has_sudo |
36 | 44 | -e ansible_ssh_pass=wrong_password |
37 | 45 | args: |
|
52 | 60 | ANSIBLE_ANY_ERRORS_FATAL=false |
53 | 61 | ANSIBLE_STRATEGY=mitogen_linear |
54 | 62 | ANSIBLE_SSH_ARGS="" |
55 | | - ansible -m shell -a whoami -i "{{MITOGEN_INVENTORY_FILE}}" test-targets |
| 63 | + ansible -m shell -a whoami |
| 64 | + {% for inv in ansible_inventory_sources %} |
| 65 | + -i "{{ inv }}" |
| 66 | + {% endfor %} |
| 67 | + test-targets |
56 | 68 | -e ansible_user=mitogen__has_sudo |
57 | 69 | -e ansible_ssh_pass=has_sudo_password |
58 | 70 | args: |
|
65 | 77 | ANSIBLE_ANY_ERRORS_FATAL=false |
66 | 78 | ANSIBLE_STRATEGY=mitogen_linear |
67 | 79 | ANSIBLE_SSH_ARGS="" |
68 | | - ansible -m shell -a whoami -i "{{MITOGEN_INVENTORY_FILE}}" test-targets |
| 80 | + ansible -m shell -a whoami |
| 81 | + {% for inv in ansible_inventory_sources %} |
| 82 | + -i "{{ inv }}" |
| 83 | + {% endfor %} |
| 84 | + test-targets |
69 | 85 | -e ansible_user=mitogen__has_sudo |
70 | 86 | -e ansible_ssh_pass=wrong_password |
71 | 87 | args: |
|
86 | 102 | ANSIBLE_ANY_ERRORS_FATAL=false |
87 | 103 | ANSIBLE_STRATEGY=mitogen_linear |
88 | 104 | ANSIBLE_SSH_ARGS="" |
89 | | - ansible -m shell -a whoami -i "{{MITOGEN_INVENTORY_FILE}}" test-targets |
| 105 | + ansible -m shell -a whoami |
| 106 | + {% for inv in ansible_inventory_sources %} |
| 107 | + -i "{{ inv }}" |
| 108 | + {% endfor %} |
| 109 | + test-targets |
90 | 110 | -e ansible_user=mitogen__has_sudo |
91 | 111 | -e ansible_password=has_sudo_password |
92 | 112 | args: |
|
99 | 119 | ANSIBLE_ANY_ERRORS_FATAL=false |
100 | 120 | ANSIBLE_STRATEGY=mitogen_linear |
101 | 121 | ANSIBLE_SSH_ARGS="" |
102 | | - ansible -m shell -a whoami -i "{{MITOGEN_INVENTORY_FILE}}" test-targets |
| 122 | + ansible -m shell -a whoami |
| 123 | + {% for inv in ansible_inventory_sources %} |
| 124 | + -i "{{ inv }}" |
| 125 | + {% endfor %} |
| 126 | + test-targets |
103 | 127 | -e ansible_user=mitogen__has_sudo |
104 | 128 | -e ansible_password=wrong_password |
105 | 129 | args: |
|
125 | 149 | ANSIBLE_ANY_ERRORS_FATAL=false |
126 | 150 | ANSIBLE_STRATEGY=mitogen_linear |
127 | 151 | ANSIBLE_SSH_ARGS="" |
128 | | - ansible -m shell -a whoami -i "{{MITOGEN_INVENTORY_FILE}}" test-targets |
| 152 | + ansible -m shell -a whoami |
| 153 | + {% for inv in ansible_inventory_sources %} |
| 154 | + -i "{{ inv }}" |
| 155 | + {% endfor %} |
| 156 | + test-targets |
129 | 157 | -e ansible_user=mitogen__has_sudo_pubkey |
130 | 158 | -e ansible_ssh_private_key_file=../data/docker/mitogen__has_sudo_pubkey.key |
131 | 159 | args: |
|
138 | 166 | ANSIBLE_ANY_ERRORS_FATAL=false |
139 | 167 | ANSIBLE_STRATEGY=mitogen_linear |
140 | 168 | ANSIBLE_SSH_ARGS="" |
141 | | - ansible -m shell -a whoami -i "{{MITOGEN_INVENTORY_FILE}}" test-targets |
| 169 | + ansible -m shell -a whoami |
| 170 | + {% for inv in ansible_inventory_sources %} |
| 171 | + -i "{{ inv }}" |
| 172 | + {% endfor %} |
| 173 | + test-targets |
142 | 174 | -e ansible_user=mitogen__has_sudo |
143 | 175 | -e ansible_ssh_private_key_file=/dev/null |
144 | 176 | args: |
|
0 commit comments