Use Proxmox and Grafana mirrors
							parent
							
								
									6d4be2cac7
								
							
						
					
					
						commit
						9b248ee56d
					
				| 
						 | 
					@ -1,15 +1,4 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
- name: Install APT HTTPS support
 | 
					 | 
				
			||||||
  apt:
 | 
					 | 
				
			||||||
    name:
 | 
					 | 
				
			||||||
      - apt-transport-https
 | 
					 | 
				
			||||||
      - gpg
 | 
					 | 
				
			||||||
    state: present
 | 
					 | 
				
			||||||
    update_cache: true
 | 
					 | 
				
			||||||
  register: apt_result
 | 
					 | 
				
			||||||
  retries: 3
 | 
					 | 
				
			||||||
  until: apt_result is succeeded
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
- name: Import Grafana GPG signing key
 | 
					- name: Import Grafana GPG signing key
 | 
				
			||||||
  apt_key:
 | 
					  apt_key:
 | 
				
			||||||
    url: https://packages.grafana.com/gpg.key
 | 
					    url: https://packages.grafana.com/gpg.key
 | 
				
			||||||
| 
						 | 
					@ -21,7 +10,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Add Grafana repository
 | 
					- name: Add Grafana repository
 | 
				
			||||||
  apt_repository:
 | 
					  apt_repository:
 | 
				
			||||||
    repo: deb https://packages.grafana.com/oss/deb stable main
 | 
					    repo: deb http://mirror.adm.crans.org/grafana/oss/deb stable main
 | 
				
			||||||
    state: present
 | 
					    state: present
 | 
				
			||||||
    update_cache: true
 | 
					    update_cache: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,2 +1,2 @@
 | 
				
			||||||
{{ ansible_header | comment }}
 | 
					{{ ansible_header | comment }}
 | 
				
			||||||
deb     http://download.proxmox.com/debian/pve {{ ansible_lsb.codename }} pve-no-subscription
 | 
					deb     http://mirror.adm.crans.org/proxmox/debian/pve {{ ansible_lsb.codename }} pve-no-subscription
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue