Skip to content

Instantly share code, notes, and snippets.

@metabsd
Created March 16, 2018 15:18
Show Gist options
  • Save metabsd/7917ad9b0bc6acb025b5bda137073eb7 to your computer and use it in GitHub Desktop.
Save metabsd/7917ad9b0bc6acb025b5bda137073eb7 to your computer and use it in GitHub Desktop.
First version
- name: Monitoring Disk Usage
vars:
fstype:
- xfs
- ext4
- ext3
debug: msg="Adding Monitoring to {{ item.mount }}"
with_items: ansible_mounts
when: fstype in item.fstype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment