mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Use packer to create a base preconfigured base image
This commit is contained in:
parent
3090cc6818
commit
3731d10987
12 changed files with 153 additions and 68 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue