mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-31 02:11:10 +01:00 
			
		
		
		
	
		
			Some checks failed
		
		
	
	Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s
				
			
		
			
				
	
	
		
			11 lines
		
	
	
		
			339 B
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			339 B
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
| - name: Upgrade
 | |
|   become: "{{ false if inventory_hostname == 'nas.home.lan' else true }}"
 | |
|   block:
 | |
|     - name: Upgrade the full OS
 | |
|       ansible.builtin.apt:
 | |
|         update_cache: true
 | |
|         upgrade: full
 | |
|     - name: Upgrade flatpack
 | |
|       ansible.builtin.command: flatpak update -y
 | |
|       when: inventory_hostname == 'morefine.home.lan'
 |