Skip to content

Commit

Permalink
Merge pull request #1089 from ministryofjustice/feature/hashoutmout
Browse files Browse the repository at this point in the history
Feature/hashoutmout
  • Loading branch information
antonygowland authored Nov 5, 2024
2 parents 798e8c5 + bced739 commit b98bdbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ app_filesystems_mount:
opts: vers=3.0,_netdev,nofail,uid=10002,gid=10002,dir_mode=0755,file_mode=0755,credentials=/root/.filesystems/{{ filesystems_domain_name_fqdn }}.creds
src: //PDPDW00057.azure.hmpp.root/NOMS_Extracts_PD$
metric_dimension: NOMS_Extracts_PD
state: absent

filesystems_domains:
azure.hmpp.root:
Expand Down
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 b98bdbb

Please sign in to comment.