Erstelle dehydrated-Rolle

This commit is contained in:
phil 2022-12-26 12:25:32 +01:00
commit 7f20b08e37
8 changed files with 41 additions and 0 deletions

9
tasks/dehydrated.yml Normal file
View file

@ -0,0 +1,9 @@
---
- name: "dehydrated | Akzeptiere LE TOS"
ansible.builtin.command: dehydrated --register --accept-terms
- name: "dehydrated | Erstelle domains.txt"
ansible.builtin.file:
path: /etc/dehydrated/domains.txt
state: touch
mode: 0644

6
tasks/main.yml Normal file
View file

@ -0,0 +1,6 @@
---
- import_tasks: packages.yml
tags: packages
- import_tasks: dehydrated.yml
tags: dehydrated

5
tasks/packages.yml Normal file
View file

@ -0,0 +1,5 @@
---
- name: packages | Installiere deb-Pakete
ansible.builtin.apt:
pkg:
- dehydrated