When specifying more than one conditional requirements for a task, what is the proper method?
A) - when: foo == "hello" and bar == "world"
B) - when: foo == "hello" - when: bar == "world"
C) - when: foo == "hello" && bar == "world"
D) - when: foo is "hello" and bar is "world"
Correct Answer:
Verified
Q443: When specifying multiple variable names and values
Q444: What is the proper (best practice) way
Q445: Ansible provides some methods for controlling how
Q446: Which difference between core modules and extra
Q447: When Ansible's connection state is set to
Q449: The Ansible Inventory system allows many attributes
Q450: Which tool will Ansible not use, even
Q451: What is the purpose of a Docker
Q452: Which resource cannot be defined in an
Q453: When deploying to a Docker swarm, which
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents