mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2026-02-07 18:30:04 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user