您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

removable_media.yml 374 B

12345678910111213
  1. ---
  2. # https://wiki.archlinux.org/index.php/File_manager_functionality
  3. - hosts: all
  4. vars:
  5. packages: [gvfs, gvfs-afc, ntfs-3g]
  6. sudo: yes
  7. tasks:
  8. - name: install packages
  9. pacman: name={{item}} state=installed
  10. with_items: packages
  11. when: ansible_os_family == "Archlinux"
  12. - name: add user yuk to storage group
  13. user: append=yes groups=storage name=yuk