Actualiser tasks/setup-redhat.yml
This commit is contained in:
		
							parent
							
								
									ad25969480
								
							
						
					
					
						commit
						4a214e8b95
					
				
					 1 changed files with 1 additions and 21 deletions
				
			
		| 
						 | 
				
			
			@ -1,14 +1,4 @@
 | 
			
		|||
---
 | 
			
		||||
- name: Ensure old versions of Docker are not installed.
 | 
			
		||||
  package:
 | 
			
		||||
    name:
 | 
			
		||||
      - docker-ce
 | 
			
		||||
      - docker-ce-cli
 | 
			
		||||
      - containerd.io
 | 
			
		||||
      - docker-buildx-plugin
 | 
			
		||||
      - docker-compose-plugin
 | 
			
		||||
    state: absent
 | 
			
		||||
 | 
			
		||||
- name: Install yum-utils package.
 | 
			
		||||
  package:
 | 
			
		||||
    name:
 | 
			
		||||
| 
						 | 
				
			
			@ -19,13 +9,3 @@
 | 
			
		|||
  shell: yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
 | 
			
		||||
  args:
 | 
			
		||||
    creates: /etc/yum.repos.d/docker-ce.repo 
 | 
			
		||||
 | 
			
		||||
- name: Install docker-ce packages.
 | 
			
		||||
  package:
 | 
			
		||||
    name:
 | 
			
		||||
      - docker-ce
 | 
			
		||||
      - docker-ce-cli
 | 
			
		||||
      - containerd.io
 | 
			
		||||
      - docker-buildx-plugin
 | 
			
		||||
      - docker-compose-plugin
 | 
			
		||||
    state: present
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue