Re: [ansible-project] YAML variable without using quotes?

2016-02-23 Thread RobL
ersion, it should work on 2.0 and above > > On Thu, Feb 18, 2016 at 8:54 AM, RobL <ro...@voicebox.com > > wrote: > >> ansible 1.9.0.1 >> >> >> On Thursday, February 18, 2016 at 8:32:20 AM UTC-8, Brian Coca wrote: >>> >>> what ver

Re: [ansible-project] YAML variable without using quotes?

2016-02-19 Thread RobL
Brian, can you point me to the commit that should be fixing this bug? Thanks! -- 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

Re: [ansible-project] YAML variable without using quotes?

2016-02-18 Thread RobL
I'm still seeing the same issue on Ansible 2.0.0.2. -- 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

Re: [ansible-project] YAML variable without using quotes?

2016-02-18 Thread RobL
ansible 1.9.0.1 On Thursday, February 18, 2016 at 8:32:20 AM UTC-8, Brian Coca wrote: > > what version of ansible? > > On Thu, Feb 18, 2016 at 8:17 AM, RobL <ro...@voicebox.com > > wrote: > >> No, I'm still seeing the value being quoted: >> >>

[ansible-project] YAML variable without using quotes?

2016-02-17 Thread RobL
I'm hitting this error: We could be wrong, but this one looks like it might be an issue with missing quotes. Always quote template expression brackets when they start a value. For instance: with_items: - {{ foo }} Should be written as: with_items: - "{{ foo }}" The

Re: [ansible-project] Jinja2 converting double quotes to single quotes

2014-05-02 Thread RobL
: This is hard for me to follow where you have defined these variables, how about sharing everything in a gist? On Wed, Apr 30, 2014 at 3:02 PM, RobL ro...@voicebox.com javascript:wrote: Hi: I'm trying to use the template module to create a JSON file. I'm hitting an issue where some of my

Re: [ansible-project] Jinja2 converting double quotes to single quotes

2014-05-02 Thread RobL
, May 2, 2014 at 12:17 PM, RobL ro...@voicebox.com javascript:wrote: https://gist.github.com/anonymous/1ca1385f46a688ed2561 The output I see is: loseDoubleQuotes: [{'name2': 'value2nestedValue'}] What I expect to see is: loseDoubleQuotes: [{name2: value2nestedValue}] Thanks for looking

[ansible-project] Jinja2 converting double quotes to single quotes

2014-05-01 Thread RobL
Hi: I'm trying to use the template module to create a JSON file. I'm hitting an issue where some of my double-quotes are converting to single quotes. Is there a way to ensure that Jinja2 won't do this conversion? Notice how output.json has double-quotes for the first variable but

[ansible-project] with_nested combined with with_sequence and with_fileglob ?

2014-03-10 Thread RobL
Hi: I'd like to do a nested loop over a sequence and a file glob. A simplified example of what I thought might work is: - command: cp {{ item[1] }} {{ item[1] }}.{{ item[0] }} with_nested: - with_sequence: start=0 end=10 - with_fileglob: - /etc/* However, this syntax doesn't

[ansible-project] TypeError in play.py, _load_tasks for include statements in tasks/main.yml

2014-02-04 Thread RobL
Hi, I'm just getting started with Ansible roles, and hit an error on my first attempt. Any help on debugging would be appreciated. [ansible@localhost deploy]$ ansible-playbook -c ssh --private-key=~/.ssh/AWSVBT.pem - couchbase.yml Traceback (most recent call last): File