Cleaned up and refactored

This commit is contained in:
2023-11-16 23:29:43 +01:00
parent cd2c66bc54
commit 3dbdd1dfcb
39 changed files with 24 additions and 31 deletions

View File

@@ -0,0 +1,2 @@
# Client SSH
Setups SSH on the client side

View File

@@ -0,0 +1,2 @@
dependencies:
- client-git

View File

@@ -0,0 +1,13 @@
- 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