roles/git: ssh known_hosts is now idempotent

- roles/git now uses blockinfile to ensure the github ssh keypairs are trusted, and to allow subsequent ssh keypairs to be trusted and not overwritten by future runs.
- this commit marks idempotency for all roles. after a successful run of this playbook, subsequent runs will result in a change=0 !!!!!
This commit is contained in:
2023-01-19 20:50:30 -06:00
parent 3d75ac18e7
commit e8fe024b77
2 changed files with 9 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
- name: Check if Gitea is installed
shell: gitea --version
register: validate_gitea
changed_when: false
changed_when: no
- name: Add Gitea key && repository
block: