sync_calendar.yml hinzugefügt
This commit is contained in:
25
sync_calendar.yml
Normal file
25
sync_calendar.yml
Normal 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) }}"
|
||||
Reference in New Issue
Block a user