[ansible-project] How should brackets around braces be escaped?

2016-08-18 Thread Stig Døssing
Hi. I'm having some trouble getting a fragment of a group_vars/all file to pass syntax checking. I'm on the latest github code at the time of writing (daf6eb97d3b0d059e0856015b2eb62d32281b9ad). Here's a minimal example similar to what I need in the group_vars file: my_env: dev

[ansible-project] Having trouble using with_items, delegate_to and run_once to fake having serial: 1 on an include in a role

2016-10-14 Thread Stig Døssing
I'm trying to use the approach described here https://github.com/ansible/ansible/issues/12170 to get part of a role to run serially. I am on 2.1.2.0, but have also tried 2.1.1.0 and 2.0.2.0. - include: do_deploy.yml with_items: "{{ play_hosts }}" delegate_to: "{{ item }}" run_once: true

[ansible-project] Re: Having trouble using with_items, delegate_to and run_once to fake having serial: 1 on an include in a role

2016-10-14 Thread Stig Døssing
r problem. I'm wondering if that's a bug or me doing something wrong. I tried replacing the role code with just a debug delegated to 127.0.0.1, and it's still showing host1 -> None. On Friday, October 14, 2016 at 10:20:21 PM UTC+2, Stig Døssing wrote: > > I'm trying to use the appro