Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulczar/cab1145f463eea97c90bc86de3bf4228 to your computer and use it in GitHub Desktop.
Save paulczar/cab1145f463eea97c90bc86de3bf4228 to your computer and use it in GitHub Desktop.
variables:
env_vars:
HTTP_PROXY: http://proxy.local:8080
HTTPS_PROXY: http://proxy.local:8080
playbooks:
task:
- name: preflight checks
hosts: all:!vyatta-*
any_errors_fatal: true
roles:
- role: preflight-checks
tags: ['always']
environment: "{{ env_vars|default({}) }}"
@paulczar
Copy link
Author

paulczar commented May 9, 2017

retries:

- name: install apache package
  package: 
    name: "{{ openstack_meta.apache[ursula_os].package_name }}"
  register: result
  until: result|succeeded
  retries: 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment