Skip to content

Instantly share code, notes, and snippets.

@lindsm
Created January 14, 2016 02:13
Show Gist options
  • Save lindsm/5e4aef3bf29698624619 to your computer and use it in GitHub Desktop.
Save lindsm/5e4aef3bf29698624619 to your computer and use it in GitHub Desktop.
- name: Sterling GET Status
shell: "sudo -u app /cust/app/sterling-agent/bin/agentctrl -a status-all | grep pid | wc -l"
async: 200
poll: 5
register: sterling_check
changed_when:
when: action_type == 'stop-all'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment