mirror of
				https://github.com/gjkcz/ansible-void.git
				synced 2025-11-04 03:50:26 +01:00 
			
		
		
		
	Fix cleanup script copy on new systems
This commit is contained in:
		
							
								
								
									
										13
									
								
								setup.yaml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								setup.yaml
									
									
									
									
									
								
							@@ -88,12 +88,6 @@
 | 
			
		||||
        line: "DenyUsers student"
 | 
			
		||||
        create: true
 | 
			
		||||
 | 
			
		||||
    - name: Copy session cleanup script
 | 
			
		||||
      copy:
 | 
			
		||||
        src: 'files/session-cleanup.sh'
 | 
			
		||||
        dest: '/etc/gdm/PostSession/Default'
 | 
			
		||||
        mode: '0755'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
- name: Software
 | 
			
		||||
  hosts: all
 | 
			
		||||
@@ -145,7 +139,6 @@
 | 
			
		||||
        name:
 | 
			
		||||
          - dbus
 | 
			
		||||
          - gnome
 | 
			
		||||
          - gnome-apps
 | 
			
		||||
          - gdm
 | 
			
		||||
          - xorg  # Prevents a crash on some systems
 | 
			
		||||
          - mesa-vdpau
 | 
			
		||||
@@ -162,6 +155,12 @@
 | 
			
		||||
        - dbus
 | 
			
		||||
        - gdm
 | 
			
		||||
 | 
			
		||||
    - name: Copy session cleanup script
 | 
			
		||||
      copy:
 | 
			
		||||
        src: 'files/session-cleanup.sh'
 | 
			
		||||
        dest: '/etc/gdm/PostSession/Default'
 | 
			
		||||
        mode: '0755'
 | 
			
		||||
 | 
			
		||||
    - name: Enable autologin
 | 
			
		||||
      copy:
 | 
			
		||||
        src: 'files/desktop/autologin'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user