mirror of
				https://github.com/gjkcz/ansible-void.git
				synced 2025-11-04 03:50:26 +01:00 
			
		
		
		
	Install video drivers
Most PCs have an AMD GPU, but some replacements only have Intel. The intel-specific packages can later be excluded, albeit it doesn't hurt to have them installed. Intel-only hosts: - MU02 - MU03
This commit is contained in:
		
							
								
								
									
										15
									
								
								setup.yaml
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								setup.yaml
									
									
									
									
									
								
							@@ -99,12 +99,25 @@
 | 
			
		||||
      community.general.xbps:
 | 
			
		||||
        upgrade: true
 | 
			
		||||
 | 
			
		||||
    - name: Install packages
 | 
			
		||||
    - name: Install common packages
 | 
			
		||||
      community.general.xbps:
 | 
			
		||||
        name: '{{ xbps_install }}'
 | 
			
		||||
        state: present
 | 
			
		||||
      when: xbps_install
 | 
			
		||||
 | 
			
		||||
    - name: Install video drivers
 | 
			
		||||
      community.general.xbps:
 | 
			
		||||
        name:
 | 
			
		||||
          - mesa-dri
 | 
			
		||||
          - vulkan-loader
 | 
			
		||||
          - mesa-vulkan-radeon
 | 
			
		||||
          - amdvlk
 | 
			
		||||
          - xf86-video-amdgpu
 | 
			
		||||
          - mesa-vaapi
 | 
			
		||||
          - mesa-vdpau
 | 
			
		||||
          - intel-video-accel
 | 
			
		||||
          - mesa-vulkan-intel
 | 
			
		||||
 | 
			
		||||
    - name: Recursively remove packages
 | 
			
		||||
      community.general.xbps:
 | 
			
		||||
        name: '{{ xbps_remove }}'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user