Skip to content

Commit

Permalink
addstate
Browse files Browse the repository at this point in the history
  • Loading branch information
antonygowland committed Nov 5, 2024
1 parent d735e03 commit 76880c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/filesystems/tasks/mount.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
user: root
minute: "*/5"
job: "/usr/local/bin/filesystem_keepalive.sh '{{ item.src }}' '{{ item.metric_dimension }}' 2>&1 | logger -p local3.info -t filesystem_keepalive.sh"
state: "{{ item.state | default('present') }}"
when: item.metric_dimension is defined and item.metric_dimension|length > 0
loop_control:
label: "{{ item.dir }}"
Expand Down

0 comments on commit 76880c8

Please sign in to comment.