mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	Changed repository pull to warning if not successfull due to github.com down
This commit is contained in:
		@@ -30,6 +30,13 @@
 | 
			
		||||
    dest: "{{docker_elk_compose_path}}"
 | 
			
		||||
    update: yes
 | 
			
		||||
  notify: recreate server_docker-elk
 | 
			
		||||
  register: git_result
 | 
			
		||||
  ignore_errors: true
 | 
			
		||||
 | 
			
		||||
- name: Warn if repo is not reachable
 | 
			
		||||
  debug:
 | 
			
		||||
    msg: "Warning: Repository is not reachable."
 | 
			
		||||
  when: git_result.failed
 | 
			
		||||
 | 
			
		||||
- name: copy docker-compose.yml
 | 
			
		||||
  template: src=docker-compose.yml.j2 dest={{docker_elk_compose_path}}docker-compose.yml
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user