Skip to content

Instantly share code, notes, and snippets.

@goldyfruit
Created August 11, 2016 13:20
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 goldyfruit/ca1fec9199d8bd8e112510dd47e9c872 to your computer and use it in GitHub Desktop.
Save goldyfruit/ca1fec9199d8bd8e112510dd47e9c872 to your computer and use it in GitHub Desktop.
ansible-pacemaker resource creation
- name: Creating HAproxy cloned resource
pcs_resource:
command=create
resource_id=haproxy
type=systemd:haproxy
clone=true
clone_max=3
disable=true
args:
operations:
- action: monitor
options:
interval: 60s
start-delay: 10s
run_once: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment