mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Install Kubernetes 1.11 and go back to Ubuntu Xenial until Bionic is officially supported
This commit is contained in:
parent
5acc7652a9
commit
bf83e675f2
26 changed files with 765 additions and 7 deletions
|
|
@ -10,6 +10,13 @@
|
|||
recurse: True
|
||||
state: directory
|
||||
|
||||
- name: create /etc/tinc/nets.boot file from template
|
||||
template:
|
||||
src: nets.boot.j2
|
||||
dest: /etc/tinc/nets.boot
|
||||
notify:
|
||||
- restart tinc
|
||||
|
||||
- name: ensure tinc.conf contains connection to all other nodes
|
||||
template:
|
||||
src: tinc.conf.j2
|
||||
|
|
@ -117,7 +124,7 @@
|
|||
|
||||
- name: start tinc on boot
|
||||
systemd:
|
||||
name: "tinc@{{netname}}"
|
||||
name: tinc
|
||||
enabled: yes
|
||||
state: started
|
||||
|
||||
|
|
|
|||
1
roles/tinc/templates/nets.boot.j2
Normal file
1
roles/tinc/templates/nets.boot.j2
Normal file
|
|
@ -0,0 +1 @@
|
|||
{{ netname }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue