whitespaces

This commit is contained in:
Jérémy Lecour 2021-06-20 15:38:53 +02:00 committed by Jérémy Lecour
parent af9b1a4766
commit 22145a29b2
2 changed files with 4 additions and 7 deletions

View file

@ -9,10 +9,8 @@
vars: vars:
git_folder: "/etc" git_folder: "/etc"
when: when:
- _etc_git.stat.exists - _etc_git.stat.exists
- _etc_git.stat.isdir - _etc_git.stat.isdir
- name: Is /usr/share/scripts a git repository - name: Is /usr/share/scripts a git repository
stat: stat:
@ -23,5 +21,5 @@
vars: vars:
git_folder: "/usr/share/scripts" git_folder: "/usr/share/scripts"
when: when:
- _usr_share_scripts_git.stat.exists - _usr_share_scripts_git.stat.exists
- _usr_share_scripts_git.stat.isdir - _usr_share_scripts_git.stat.isdir

View file

@ -5,7 +5,6 @@
name: remount-usr name: remount-usr
when: git_folder is match('/usr/.*') when: git_folder is match('/usr/.*')
- name: "is {{ git_folder }} clean?" - name: "is {{ git_folder }} clean?"
command: git status --porcelain command: git status --porcelain
args: args: