mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-29 01:41:36 +01:00 
			
		
		
		
	Update to 2022-12-06 11:00
This commit is contained in:
		
							
								
								
									
										39
									
								
								roles/repo_base/tasks/Rocky-8.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								roles/repo_base/tasks/Rocky-8.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | ||||
| --- | ||||
|  | ||||
| - name: Configure repositories | ||||
|   yum_repository: | ||||
|     file: "{{ item.file }}" | ||||
|     description: "Rocky {{ item.name }}" | ||||
|     name: "{{ item.name }}" | ||||
|     mirrorlist: https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo={{ item.dir }}-$releasever | ||||
|     baseurl: https://dl.rockylinux.org/pub/rocky/$releasever/{{ item.dir }}/$basearch/os/ | ||||
|     gpgcheck: True | ||||
|     gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial | ||||
|     enabled: "{{ item.enabled | default(True) }}" | ||||
|   loop: | ||||
|     - name: baseos | ||||
|       file: Rocky-BaseOS | ||||
|       dir: BaseOS | ||||
|     - name: appstream | ||||
|       file: Rocky-AppStream | ||||
|       dir: AppStream | ||||
|     - name: extras | ||||
|       file: Rocky-Extras | ||||
|       dir: extras | ||||
|     - name: powertools | ||||
|       file: Rocky-PowerTools | ||||
|       dir: PowerTools | ||||
|   tags: repo | ||||
|    | ||||
| - name: Remove obsolete repo | ||||
|   file: path=/etc/yum.repos.d/{{ item }}.repo state=absent | ||||
|   loop: | ||||
|     - fws | ||||
|   tags: repo   | ||||
|    | ||||
| - include_tasks: epel_{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml | ||||
|   tags: always | ||||
| - include_tasks: dbd_{{ ansible_os_family }}.yml | ||||
|   tags: always | ||||
| - include_tasks: postgres_client_{{ ansible_os_family }}.yml | ||||
|   tags: always | ||||
							
								
								
									
										34
									
								
								roles/repo_base/tasks/Rocky-9.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								roles/repo_base/tasks/Rocky-9.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | ||||
| --- | ||||
|  | ||||
| - name: Configure repositories | ||||
|   yum_repository: | ||||
|     file: "{{ item.file }}" | ||||
|     description: "Rocky {{ item.name }}" | ||||
|     name: "{{ item.name }}" | ||||
|     mirrorlist: https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo={{ item.dir }}-$releasever | ||||
|     baseurl: https://dl.rockylinux.org/pub/rocky/$releasever/{{ item.dir }}/$basearch/os/ | ||||
|     gpgcheck: True | ||||
|     gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial | ||||
|     enabled: "{{ item.enabled | default(True) }}" | ||||
|   loop: | ||||
|     - name: baseos | ||||
|       file: Rocky-BaseOS | ||||
|       dir: BaseOS | ||||
|     - name: appstream | ||||
|       file: Rocky-AppStream | ||||
|       dir: AppStream | ||||
|     - name: extras | ||||
|       file: Rocky-Extras | ||||
|       dir: extras | ||||
|     - name: crb | ||||
|       file: Rocky-CRB | ||||
|       dir: CRB | ||||
|   tags: repo | ||||
|    | ||||
|    | ||||
| - include_tasks: epel_{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml | ||||
|   tags: always | ||||
| - include_tasks: dbd_{{ ansible_os_family }}.yml | ||||
|   tags: always | ||||
| - include_tasks: postgres_client_{{ ansible_os_family }}.yml | ||||
|   tags: always | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud