You've already forked role_stubby
feat: Create role
This commit is contained in:
9
tasks/configuration.yml
Normal file
9
tasks/configuration.yml
Normal 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
tasks/installation.yml
Normal file
7
tasks/installation.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
# tasks file for stubby
|
||||
|
||||
- name: Install stubby
|
||||
ansible.builtin.apt:
|
||||
name: stubby
|
||||
become: true
|
10
tasks/main.yml
Normal file
10
tasks/main.yml
Normal 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
|
Reference in New Issue
Block a user