mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-07 02:41:39 +02:00
Changed repository pull to warning if not successfull due to github.com down
This commit is contained in:
@@ -10,3 +10,10 @@
|
||||
repo: "{{homepage_repository_address}}"
|
||||
dest: "/usr/share/nginx/homepage"
|
||||
update: yes
|
||||
register: git_result
|
||||
ignore_errors: true
|
||||
|
||||
- name: Warn if repo is not reachable
|
||||
debug:
|
||||
msg: "Warning: Repository is not reachable."
|
||||
when: git_result.failed
|
||||
|
Reference in New Issue
Block a user