Add dynamic ansible inventory from terraform state
This commit is contained in:
		
							parent
							
								
									bccc07f806
								
							
						
					
					
						commit
						70578f2a13
					
				
					 11 changed files with 84 additions and 51 deletions
				
			
		|  | @ -9,8 +9,8 @@ backup_msg_success: "Backup successful" | |||
| 
 | ||||
| backup_curl_base: 'curl -L -m 10 --retry 5' | ||||
| backup_hc_curl_base: '{{ backup_curl_base }} -X POST -H "Content-Type: text/plain"' | ||||
| backup_gatus_curl_base: '{{ backup_curl_base }} -X POST -H "Authorization: Bearer {{ host_backup.gatus_token }}"' | ||||
| backup_hc_url: '{{ host_backup.hc_url }}' | ||||
| backup_gatus_curl_base: '{{ backup_curl_base }} -X POST -H "Authorization: Bearer {{ host_backup_gatus_token }}"' | ||||
| backup_hc_url: '{{ host_backup_hc_url }}' | ||||
| backup_gatus_url: 'https://status.serguzim.me/api/v1/endpoints/8-backups_backup@{{ ansible_facts.hostname }}/external' | ||||
| 
 | ||||
| backup_hc_command_start: '{{ backup_hc_curl_base }} --data "{{ backup_msg_start }}" {{ backup_hc_url }}/start' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue