Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save hanynowsky/6038eb4e785bc8fbfb987647a1750e11 to your computer and use it in GitHub Desktop.

Select an option

Save hanynowsky/6038eb4e785bc8fbfb987647a1750e11 to your computer and use it in GitHub Desktop.
Ansible 1.9 Task
- name: Update cpucrit threshold
lineinfile: 'dest=/etc/sensu/conf.d/standalone/user/thresholds_client.json regexp=(.*)cpucrit(.*) line=\"cpucrit\":{{ item }},'
with_items:
- "{{ cpucrit }}"
when: cpucrit is defined
tags:
- mbt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment