Use ansible.posix.mount for 2.11

This commit is contained in:
László Károlyi 2021-05-16 17:24:47 +02:00
parent 80f352d857
commit a0996607a4
Signed by: karolyi
GPG key ID: 2DCAF25E55735BFE
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@
warn: no
- name: Unmounting devFS from chroot
mount:
ansible.posix.mount:
path: '{{ vars["jail_" + jail_name + "_new_path"] }}/dev'
state: unmounted

View file

@ -15,7 +15,7 @@
nameserver 127.0.0.1
- name: Mounting devFS into chroot for pkg
mount:
ansible.posix.mount:
src: devfs
fstab: /tmp/delete-me-fstab
path: '{{ vars["jail_" + jail_name + "_new_path"] }}/dev'