# Check that you can connect (GET) to a page and it returns a status 200
- uri: url=http://www.example.com
# Check that a page returns a status 200
- action: uri url=http://www.example.com return_content=yes
register: webpage
delegate_to: 127.0.0.1
- action: fail
when: "'illustrative' not in webpage.content"
I´ve installed httplib2 with
sudo pip install httplib2failed: [staging] => {"failed": true}
msg: httplib2 is not installed
FATAL: all hosts have already failed -- abortingI quess ansible is not using the right python path. How can I solve this?
cheers,
– anatol