Created
June 23, 2016 12:32
-
-
Save hanynowsky/6038eb4e785bc8fbfb987647a1750e11 to your computer and use it in GitHub Desktop.
Ansible 1.9 Task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - 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