Use packer to create a base preconfigured base image

This commit is contained in:
Paul-Henri Froidmont 2018-10-18 22:45:01 +02:00
parent 3090cc6818
commit 3731d10987
12 changed files with 153 additions and 68 deletions

View file

@ -1,9 +1,4 @@
---
- name: Install tinc
apt:
name: tinc
state: latest
- name: Ensure tinc netname directory exists
file:
path: /etc/tinc/{{ netname }}/hosts
@ -126,7 +121,7 @@
- name: Start tinc on boot
systemd:
name: tinc
name: tinc@{{ netname }}
enabled: yes
state: started