Skip to content
Snippets Groups Projects
Commit d745d3da authored by Lars Beckers's avatar Lars Beckers
Browse files

use yaml format for ansible tasks

parent 50542b20
No related branches found
No related tags found
No related merge requests found
--- ---
- name: Install unbound packages - name: Install unbound packages
apt: name=unbound state=present apt:
name: unbound
state: present
tags: tags:
- packages - packages
- unbound - unbound
- name: Install unbound config - name: Install unbound config
template: src=unbound.conf.j2 dest=/etc/unbound/unbound.conf.d/unbound.conf template:
src: unbound.conf.j2
dest: /etc/unbound/unbound.conf.d/unbound.conf
tags: tags:
- config - config
- unbound - unbound
...@@ -22,7 +26,10 @@ ...@@ -22,7 +26,10 @@
- unbound - unbound
- name: Enable unbound service - name: Enable unbound service
service: name=unbound state=started enabled=yes service:
name: unbound
state: started
enabled: true
tags: tags:
- service - service
- unbound - unbound
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment