Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 701-100 Topic 4 Question 38 Discussion

Actual exam question for LPI's 701-100 exam
Question #: 38
Topic #: 4
[All 701-100 Questions]

Which Ansible keyword is used in a playbook to store the result (i.e. return code) of a task in a variable?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Cordell
2 days ago
Hmm, I'm leaning towards D) result. Seems like a logical choice, but I could be wrong.
upvoted 0 times
...
Carla
4 days ago
I'm pretty sure it's E) set_fact. That's the keyword we use in Ansible to create and assign values to variables.
upvoted 0 times
...
Ligia
6 days ago
I think the answer is A) register. It's a well-known Ansible keyword for storing task results in variables.
upvoted 0 times
...
Darci
6 days ago
I agree with Cyril, A) register is the correct keyword to store task results in Ansible playbooks.
upvoted 0 times
...
Cyril
7 days ago
I think it's A) register because that's how you store task results in Ansible playbooks.
upvoted 0 times
...
Cathrine
9 days ago
A) register
upvoted 0 times
...

Save Cancel