Actualiser tasks/setup-debian.yml
This commit is contained in:
		
							parent
							
								
									bb87fa6a28
								
							
						
					
					
						commit
						6c7e72fb67
					
				
					 1 changed files with 11 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,16 @@
 | 
			
		|||
--
 | 
			
		||||
 | 
			
		||||
- name: Update all packages to their latest version
 | 
			
		||||
- name: Update all packages to their latest version.
 | 
			
		||||
  ansible.builtin.apt:
 | 
			
		||||
    name: "*"
 | 
			
		||||
    state: latest
 | 
			
		||||
 | 
			
		||||
- name: Add the Apt signing key.
 | 
			
		||||
  ansible.builtin.get_url:
 | 
			
		||||
    url: https://download.docker.com/linux/debian/gpg
 | 
			
		||||
    dest: /etc/apt/keyrings/docker.asc
 | 
			
		||||
 | 
			
		||||
- name: Add docker-ce repo
 | 
			
		||||
  ansible.builtin.apt_repository:
 | 
			
		||||
    repo: "deb [arch={{ ansible_architecture }} signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
 | 
			
		||||
    state: present
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue