mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-30 18:01:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			512 B
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			512 B
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
| - hosts: datacenter
 | |
|   name: Install zabbix agent
 | |
|   become: true
 | |
|   tasks:
 | |
|     - name: Creating a file with content
 | |
|       copy:
 | |
|         dest: "/usr/share/zabbix/conf/certs/idp.crt"
 | |
|         content: "{{ ZABBIX_IDP_CERT }}"
 | |
|     - name: Creating a file with content
 | |
|       copy:
 | |
|         dest: "/usr/share/zabbix/conf/certs/sp.key"
 | |
|         content: "{{ ZABBIX_AUTH_KEY }}"
 | |
|     - name: Creating a file with content
 | |
|       copy:
 | |
|         dest: "/usr/share/zabbix/conf/certs/sp.crt"
 | |
|         content: "{{ ZABBIX_AUTH_CERT }}" | 
