Servers will be switched to Prometheus. Telegraf remains as a SNMP proxy (see following commit).
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			513 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			513 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| - name: Add telegraf package repo on Debian
 | |
|   when: ansible_os_family == "Debian"
 | |
|   deb822_repository:
 | |
|     name: influxdata
 | |
|     uris: https://repos.influxdata.com/debian
 | |
|     suites: stable
 | |
|     components: main
 | |
|     architectures: amd64
 | |
|     signed_by: https://repos.influxdata.com/influxdata-archive.key
 | |
|   notify: update package cache
 | |
| 
 | |
| - meta: flush_handlers
 | |
| 
 | |
| - name: Install telegraf
 | |
|   package:
 | |
|     name: telegraf
 | |
| 
 | |
| - name: Enable telegraf service
 | |
|   service:
 | |
|     name: telegraf
 | |
|     enabled: true
 | |
|     state: started
 |