Initial version

This commit is contained in:
2021-04-07 16:43:32 +02:00
commit 1ed4abf338
13 changed files with 429 additions and 0 deletions

25
playbooks/cjdns.yml Normal file
View File

@@ -0,0 +1,25 @@
- hosts: "{{ hostlist }}"
tasks:
- name: Install cjdns and its tools
become: true
dnf:
name:
- cjdns
- cjdns-tools
state: latest
- name: Create the configuration file
become: true
template:
src: cjdroute.conf.j2
dest: /etc/cjdroute.conf
owner: root
group: root
mode: '0600'
validate: 'cjdroute --cleanconf < %s'
backup: true
- name: Enable and start the service
become: true
systemd:
name: cjdns.service
enabled: true
state: started