feat(nfs_client): add a role that manages NFS client entries in fstab #451
@@ -6,6 +6,12 @@
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
# The image ships without apt lists, and --check does not refresh them, so without this the
|
||||
# fresh-host check finds no nfs-common to install.
|
||||
- name: Refresh the apt cache
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
|
||||
- name: Seed the fstab lines
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/fstab
|
||||
|
||||
Reference in new issue
Block a user