Install Firefox and Chromium, ignore errors regarding motd-news
This commit is contained in:
		
							parent
							
								
									6d820db7f5
								
							
						
					
					
						commit
						1f799e612d
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -34,6 +34,7 @@ | ||||||
|         path: /etc/default/motd-news |         path: /etc/default/motd-news | ||||||
|         regexp: '^\s*ENABLED=\s*1' |         regexp: '^\s*ENABLED=\s*1' | ||||||
|         line: ENABLED=0 |         line: ENABLED=0 | ||||||
|  |       ignore_errors: yes | ||||||
| 
 | 
 | ||||||
|     - name: Update apt cache |     - name: Update apt cache | ||||||
|       apt: |       apt: | ||||||
|  | @ -60,6 +61,13 @@ | ||||||
|           autologin-user-timeout=0 |           autologin-user-timeout=0 | ||||||
|           user-session=xfce |           user-session=xfce | ||||||
| 
 | 
 | ||||||
|  |     - name: Install browsers | ||||||
|  |       apt: | ||||||
|  |         pkg: | ||||||
|  |           - firefox | ||||||
|  |           - chromium-browser | ||||||
|  |       register: browsers_installed | ||||||
|  | 
 | ||||||
|     - name: Reboot system |     - name: Reboot system | ||||||
|       reboot: |       reboot: | ||||||
|       when: desktop_installed.changed |       when: desktop_installed.changed | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue