File tree Expand file tree Collapse file tree 2 files changed +11
-19
lines changed
Expand file tree Collapse file tree 2 files changed +11
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7171 key : " {{ stu_host_key }}"
7272 hash_host : yes
7373 state : present
74- - name : Copy stu-home desktop
75- copy :
76- src : stu-home.desktop
77- dest : ' {{ item.homedir }}/Desktop'
78- owner : ' {{ item.uid }}'
79- group : ' {{ item.gid }}'
80- mode : " 0750"
81- with_items : " {{ real_users }}"
82- when : " ansible_distribution == 'Linux Mint'"
74+ - name : Create stu-home bookmark
75+ lineinfile :
76+ path : ' {{ item.homedir }}/.config/gtk-3.0/bookmarks'
77+ line : " sftp://{{ item.user }}@stu.cs.jmu.edu/cs/home/stu/{{ item.user }} Home on stu"
78+ state : present
79+ insertafter : EOF
80+ create : yes
81+ owner : ' {{ item.user }}'
82+ group : ' {{ item.user }}'
83+ mode : " 0644"
84+ loop : " {{ real_users }}"
8385- name : Add profile to user bashrc
8486 lineinfile :
8587 path : ' {{ item.homedir }}/.bashrc'
You can’t perform that action at this time.
0 commit comments