mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 14:11:03 +01:00
13 lines
340 B
YAML
13 lines
340 B
YAML
- name: pull ssh repository from {{ssh_configuration_repository}}
|
|
git:
|
|
repo: "{{ssh_configuration_repository}}"
|
|
dest: "$HOME/.ssh"
|
|
update: yes
|
|
register: git_result
|
|
ignore_errors: true
|
|
become: false
|
|
|
|
- name: Warn if repo is not reachable
|
|
debug:
|
|
msg: "Warning: Repository is not reachable."
|
|
when: git_result.failed |