Thank you very much.
Am Donnerstag, 19. Oktober 2017 11:29:24 UTC+2 schrieb Tom Bartsch:
>
> Hi there,
>
> could someone translate me the following playbook into python language?
>
> ---
> - hosts: "{{ host }}"
>
> vars:
> static_jobs:
> - templatename: "template1"
> templateextension: "zip"
> templateversion: "1.0.0"
> - templatename: "template2"
> templateextension: "zip"
> templateversion: "2.0.0"
> - templatename: "template3"
> templateextension: "war"
> templateversion: "4.5.0"
>
> tasks:
> - name: will not start message
> debug: "msg='{{ item.templatename }} und dann {{ item.templateextension
> }} und am Ende {{ item.templateversion }} ...'"
> with_items: "{{ static_jobs }}"
> when: item.templateversion == "2.0.0"
>
>
>
> Regards,
> Tom
>
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/11af341b-ab46-4532-ad9a-c0383d396d21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.