smb_client.yml 769 B

1234567891011121314151617181920212223
  1. ---
  2. - name: Access an SMB share
  3. hosts: servera.lab.example.com
  4. become: true
  5. vars_files:
  6. - smb_vars.yml
  7. tasks:
  8. - name: the package to mount SMB shares is installed
  9. #FIXME: install the required package to mount SMB shares
  10. - name: the credential file exists
  11. #FIXME: create the /etc/samba/creds.txt credential file for the
  12. # multiuser mount option.
  13. # Use the sambamount user account with redhat for
  14. # the password.
  15. - name: the SMB share is mounted
  16. #FIXME: persistently mount the devdata SMB share from
  17. # serverd.lab.example.com into the /devs_data
  18. # directory.
  19. # Use the credential file, the multiuser option, and activate
  20. # traffic encryption.