feat: Create role

This commit is contained in:
2025-04-10 15:22:00 +02:00
committed by pulsar
parent ddb7a1a06a
commit c0b1a8a57e
8 changed files with 97 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
---
# tasks file for stubby
- name: Deploy configuration
ansible.builtin.template:
src: stubby.yml.j2
dest: /etc/stubby/stubby.yml
become: true
notify: Restart stubby.service
+7
View File
@@ -0,0 +1,7 @@
---
# tasks file for stubby
- name: Install stubby
ansible.builtin.apt:
name: stubby
become: true
+10
View File
@@ -0,0 +1,10 @@
---
# tasks file for stubby
- name: Include installation tasks
ansible.builtin.import_tasks:
file: installation.yml
- name: Import configuration tasks
ansible.builtin.import_tasks:
file: configuration.yml