refined deplyoment strategy
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
|
||||
# User für Docker Gruppe (wichtig für common Rolle)
|
||||
ansible_user: "ansible"
|
||||
|
||||
# Git Repo URL (muss identisch mit deploy.yml sein, oder dynamisch ermittelt werden)
|
||||
git_repo_url: "https://git.cloud-infra.prod.openmailserver.de/stabify/infrastructure.git"
|
||||
|
||||
tasks:
|
||||
# 1. Identifikation
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
- name: Reload Systemd
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
|
||||
- name: Update CA Trust
|
||||
shell: update-ca-certificates
|
||||
|
||||
@@ -15,6 +15,14 @@
|
||||
state: present
|
||||
update_cache: true
|
||||
|
||||
- name: "Verteile Stabify Root CA"
|
||||
copy:
|
||||
src: "{{ playbook_dir }}/../../vault-ca.crt" # Relativ zum Playbook-Root (wenn Push)
|
||||
dest: /usr/local/share/ca-certificates/stabify-root-ca.crt
|
||||
mode: '0644'
|
||||
notify: Update CA Trust
|
||||
ignore_errors: true # Fallback, falls File lokal nicht da (z.B. im Pull Mode)
|
||||
|
||||
- name: "Installiere Ansible & Git für GitOps (Pull-Mode)"
|
||||
apt:
|
||||
name:
|
||||
|
||||
Reference in New Issue
Block a user