nfs_client.yml 461 B

123456789101112131415
  1. ---
  2. - name: Access an NFS share
  3. hosts: servera.lab.example.com
  4. become: true
  5. vars:
  6. shared_dir: /srv/operators
  7. mount_point: /operators_data
  8. tasks:
  9. - name: the package for NFS client is installed
  10. #FIXME: install the required package for an NFS client
  11. - name: the NFS share is mounted and in /etc/fstab
  12. #FIXME: persistently mount {{ shared_dir }} from serverd.lab.example.com
  13. # into the {{ mount_point }} directory