Re: [ansible-project] playbook conditional include another playbook not wokring

2014-11-05 Thread Michael DeHaan
Please upgrade to the recent 1.7.2 and see if you have any problems. We cannot support older versions on this list. On Tue, Nov 4, 2014 at 5:37 PM, jack jackma1...@gmail.com wrote: ansible 1.5.5 on Mac. -- You received this message because you are subscribed to the Google Groups

[ansible-project] playbook conditional include another playbook not wokring

2014-11-04 Thread jack
I have problem at conditional include playbook: For example, I am following three simple playbooks: playbook0.yml: --- - hosts: test-servers tasks: - debug: msg=incude playbook0.yml playboo1.yml: --- - hosts: test-servers tasks: - debug: msg=incude playbook1.yml playbook.yml: --- -

Re: [ansible-project] playbook conditional include another playbook not wokring

2014-11-04 Thread Brian Coca
Conditions on include don't apply to the include itself, it is applied to the tasks included On Nov 4, 2014 1:00 PM, jack jackma1...@gmail.com wrote: I have problem at conditional include playbook: For example, I am following three simple playbooks: playbook0.yml: --- - hosts: test-servers

Re: [ansible-project] playbook conditional include another playbook not wokring

2014-11-04 Thread jack
Thanks Brian. if condition is apply to the tasks level, the we will expect the task - debug: msg=incude playbook0.yml at playbook0.yml should be skipped, but actually it is not. Here is result: $ ansible-playbook -i hosts playbook.yml --extra-vars=run1=true run0=false PLAY [test-servers]

Re: [ansible-project] playbook conditional include another playbook not wokring

2014-11-04 Thread jack
ansible 1.5.5 on Mac. -- 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 to