Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
check if url is reachable in ansible
- name: check metadata endpoint
timeout: 1
return_content: yes
register: _nmiac_metadata
changed_when: no
check_mode: no
failed_when: no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.