sync_calendar.yml hinzugefügt

This commit is contained in:
2025-04-30 08:48:15 +00:00
parent aa0e33dc88
commit 071be51171

25
sync_calendar.yml Normal file
View File

@ -0,0 +1,25 @@
- name: Kalender synchronisieren
hosts: localhost
gather_facts: false
tasks:
- name: Stelle sicher, dass python3-pip installiert ist
ansible.builtin.apt:
name: python3-pip
state: present
become: true
- name: caldav-Modul installieren
ansible.builtin.pip:
name: caldav
state: present
executable: pip3
- name: Kalender synchronisieren
calendar_sync:
source_url: "{{ source_url }}"
source_user: "{{ source_user | default(omit) }}"
source_password: "{{ source_password | default(omit) }}"
target_url: "{{ target_url }}"
target_user: "{{ target_user | default(omit) }}"
target_password: "{{ target_password | default(omit) }}"