j
jordan chris

Posted on 5th March 2024|16 views

0
votes

Ansible Loops

How to register variables with Loops

Answers
P
James ROBERT

Posted on 5th March 2024

The output of the loop can be registered as a variable through the following code:

shell: “echo {{item}}”

loop:

  • “three”
  • “four”

 Register: echo

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos