--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cdcb12c4-b6f6-4dbb-be42-b781e7d576d3%40googlegroups.com.
HiKindly explain where ansible comes into play in this story?
On Tue, 3 Sep 2019 at 00:18, Pawan Kumar <pawa...@gmail.com> wrote:
--Using Python scriptĀ to access values from yaml dictionary & print some of the values as list .ĀFor Example -Ā Parse the each key and extract the āproduct_nameā, ārelease_candidateā and āversionā & Print results as listThe yaml file looks likeĀ- releases:Ā Ā - gotcha:Ā Ā Ā Ā file_name: gtp.tarĀ Ā Ā Ā md5: 11f6987275613ca3ecf832ea59c1Ā Ā Ā Ā product_name: gotchaĀ Ā Ā Ā product_number: GTP 8881Ā Ā Ā Ā release_candidate: rc19Ā Ā Ā Ā version: 19.0.0Ā Ā - tp:Ā Ā Ā Ā file_name: tpr.tarĀ Ā Ā Ā md5: ebd7742ed8fff0472733c0cd8eĀ Ā Ā Ā product_name: tpĀ Ā Ā Ā product_number: TTP 8057Ā Ā Ā Ā release_candidate: rc25Ā Ā Ā Ā version: 25.0.0
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cdcb12c4-b6f6-4dbb-be42-b781e7d576d3%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/486f2e57-bed0-4a07-a841-81d090665633%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/486f2e57-bed0-4a07-a841-81d090665633%40googlegroups.com.
"--extra-vars=@your_yaml_file.yml"
Reading I think that should work the same as running it "with_vars"