Re: [ansible-project] Newbie needs help re-using a tasklist

2017-01-30 Thread rene via Ansible Project
Am Freitag, 27. Januar 2017 08:50:52 UTC+1 schrieb Johannes Kastl: > Add a when condition to only execute the task, if e.g. your variable > aptpackages is defined > when: 'aptpackages is defined' > (indentation equal to the name or apt lines) > > Johannes > > As mentioned before, your answer

Re: [ansible-project] Newbie needs help re-using a tasklist

2017-01-29 Thread rene via Ansible Project
Thanks, that helped a lot. :) -- 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-project+unsubscr...@googlegroups.com. To post to this group, send email

Re: [ansible-project] Newbie needs help re-using a tasklist

2017-01-29 Thread rene via Ansible Project
Thanks, that helped a lot. :) -- 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-project+unsubscr...@googlegroups.com. To post to this group, send email

Re: [ansible-project] Newbie needs help re-using a tasklist

2017-01-26 Thread Johannes Kastl
On 26.01.17 08:28 rene via Ansible Project wrote: > As of now, I have a playbook wich is split up into smaller .yml > files. The reason for that is, that we want to "re-use" some of > .yml files in other playbooks so we don't have to rewrite > everything from scratch as we progress. I would try

[ansible-project] Newbie needs help re-using a tasklist

2017-01-26 Thread rene via Ansible Project
Dear community, first of all I want to apologize for my lack of knowledge but I'm relatively new to Ansible and have a weak background regarding scripting/programming. I'm more the operating type and not the dev guy. ;) But still, my boss asked tasked me to get familiar with Ansible (because