EX294 • Practice Test 19
Free EX294 practice test — 15 questions with explanations. Set 19. No signup required.
Refer to the exhibit. The playbook uses serial: 1 (one host at a time). The update failed on web3.example.com. Based on the output, what is the most likely reason the play did not abort the rollout and how should the playbook be modified to stop on failure?
Refer to the exhibit.
PLAY [Update web servers] ********************************************************
TASK [Gathering Facts] *********************************************************
ok: [web1.example.com]
ok: [web2.example.com]
ok: [web3.example.com]
TASK [Update Apache config] ****************************************************
changed: [web1.example.com] => {
"changed": true,
"msg": "Config updated"
}
changed: [web2.example.com] => {
"changed": true,
"msg": "Config updated"
}
failed: [web3.example.com] => {
"changed": false,
"msg": "Permission denied"
}
TASK [Restart Apache] **********************************************************
ok: [web1.example.com] => {
"changed": true,
"msg": "Service restarted"
}
ok: [web2.example.com] => {
"changed": true,
"msg": "Service restarted"
}
skipping: [web3.example.com]
PLAY RECAP *********************************************************************
web1.example.com : ok=3 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
web2.example.com : ok=3 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
web3.example.com : ok=1 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0