Skip to content

Commit

Permalink
fix ansible incompatibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtapolasek committed Jan 25, 2021
1 parent 6b6ccc8 commit c1a4898
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
set_fact:
excluded_paths: "{{ excluded_paths | union([item.mount]) }}"
loop: "{{ ansible_mounts }}"
when: item.fstype is in excluded_fstypes
when: item.fstype in excluded_fstypes

- name: "Find all directories excluding non-local partitions"
find:
Expand All @@ -52,4 +52,4 @@
path: '{{ item.path }}'
owner: root
loop: '{{ found_dirs.files }}'
when: item.woth is true
when: item.woth

0 comments on commit c1a4898

Please sign in to comment.