Using a registered variable in ansible after removing single quotes
问题 After registering the result of a task ,when i debug the variable. The value i get is in double quotes like "1234" . If i use in another module or ansible task it becomes [u'1234'] . I have removed character u and brackets using replace. How to get rid of single quotes which is ansible default. Actual output : '1234' expected output: 1234 Playbook snippet - uri: url: http://test/ws?Id=4a3d method: GET content_as_json: yes password: admin user: admin validate_certs: no return_content: yes