Re: [ansible-project] ansible and yaml syntax - There appears to be both 'k=v' shorthand syntax and YAML in this task. Only one syntax may be used.

2020-02-25 Thread Nicolas W
Thanks for confirming the syntax looks ok. On Tuesday, February 25, 2020 at 9:44:32 AM UTC-5, Dick Visser wrote: > > There is nothing wrong with that variable. > As the error says, it may be elsewhere in the file depending on the > exact syntax problem. > In fact, it might not even be in >

Re: [ansible-project] ansible and yaml syntax - There appears to be both 'k=v' shorthand syntax and YAML in this task. Only one syntax may be used.

2020-02-25 Thread Vladimir Botka
On Tue, 25 Feb 2020 06:07:52 -0800 (PST) Nicolas Wright wrote: > db_connectionstring: "User ID=myuser;Initial Catalog=mycatalog;Data > Source=db\\instance;persist security info=True;password=mypass;Pooling=True" > [...] > 2020-02-25T14:01:13.6121920Z ##[error]ERROR! Syntax Error while loading

Re: [ansible-project] ansible and yaml syntax - There appears to be both 'k=v' shorthand syntax and YAML in this task. Only one syntax may be used.

2020-02-25 Thread Dick Visser
There is nothing wrong with that variable. As the error says, it may be elsewhere in the file depending on the exact syntax problem. In fact, it might not even be in /var/lib/rundeck/ansible/inventories/vin_qa01/group_vars/all/vars.yml (which you didn't post). A clue is found here: 'There appears

[ansible-project] ansible and yaml syntax - There appears to be both 'k=v' shorthand syntax and YAML in this task. Only one syntax may be used.

2020-02-25 Thread Nicolas Wright
Hello, any clues what is a workaround for the syntax issue below? This variable is defined in a group among other variables. My playbook won't run because of this error. I may have to escape the =.. I m hoping to keep the string as human friendly as possible though. I am using quote so I can