- What goal you are trying to achieve.
- How you are doing this.
- What problems you encounter.
- Which command did you run, and what actual output did you get from
that (copied as plain text - not as images, attachments, or
screenshots)
- What the relevant tasks/playbooks/code/variables look like.
Hi. We need to know specifically what you are trying to do. Not generally.
Create a minimal playbook that implements (or at least tries to implement) your goal. When you’ve got as far as you can, run it and postthe playbook and the output in full here.
In FULL.
Anything else is wasting your time and ours.
Right now this looks to me as if you are a student trying to get someone else to do your homework.
Hi. We need to know *specifically* what you are trying to do. Not generally.
Create a minimal playbook that implements (or at least tries to implement) your goal. When you've got as far as you can,
run it and postthe playbook and the output in full here.
In FULL.
Anything else is wasting your time and ours.
Right now this looks to me as if you are a student trying to get someone else to do your homework.
Registered variable "out2" keeps in the list "results" both the keys(items)
and values(stdout). Let's create two lists of keys and values, respectively.
Then use the filters "dict" and "zip" to combine them. For example