Created
August 3, 2017 00:14
-
-
Save jimi-c/77f44584a40556ff88a23de299e29f81 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible -m uri -a "url=http://localhost:8888/whatever follow_redirects=yes" localhost | |
localhost | FAILED! => { | |
"changed": false, | |
"content": "", | |
"failed": true, | |
"location": "file:///etc/passwd", | |
"msg": "Status code was not [200]: HTTP Error 301: Found - Redirection to url 'file:///etc/passwd' is not allowed", | |
"redirected": false, | |
"status": 301, | |
"url": "http://localhost:8888/whatever" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment