base: fix typo

This commit is contained in:
Jérémy Dubois 2022-10-12 16:33:39 +02:00
parent 61c5f6810c
commit c7bf4a461f
2 changed files with 2 additions and 2 deletions

View file

@ -11,6 +11,6 @@ cron_root_path: "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
evobsd_fstab_softdep: true
evobsd_fstab_noatime: true
evobsd_fstab_noaxec: true
evobsd_fstab_noexec: true
install_url: "https://cdn.openbsd.org/pub/OpenBSD"

View file

@ -31,7 +31,7 @@
replace: '\1,noexec\3'
notify: remount {{ fstab_path }} noexec
when:
- evobsd_fstab_noaxec | bool
- evobsd_fstab_noexec | bool
- fstab_path == "/tmp"
- fstab_content.stdout | regex_search('\s' + fstab_path + '\s')
- not (fstab_content.stdout | regex_search('\s+' + fstab_path + '\s+ffs\s+rw,(softdep,)*noexec'))