ansible shell module passing backslashes with double quotes

109 views
Skip to first unread message

Abey Thomas

unread,
Aug 11, 2017, 12:03:50 PM8/11/17
to Ansible Project
 Hi,

I am trying to execute the command
 'aws --debug waf-regional associate-web-acl --web-acl-id {{ ACLid }} --resource-arn {{ LBARN }}'
via module shell or command but I am getting errors. aws command uses the boto and boto is getting requests with backslashes \"WebACLId\" instead of "WebACLId" and \"ResourceArn\" instead of "ResourceArn"


Why is ansible command/shell module adding a backslash followed by double quotes?
\"

How can I remove the backslash?

I am using ansible version 2.4.0  from devel with boto 2.46.1

Regards,

Abey

Reply all
Reply to author
Forward
0 new messages