lint
This commit is contained in:
parent
b4b67ba15b
commit
4942c558b9
@ -1,12 +1,12 @@
|
||||
---
|
||||
- name: Clone Direwolf from GitHub
|
||||
git:
|
||||
repo: 'https://github.com/wb2osz/direwolf.git'
|
||||
ansible.builtin.git:
|
||||
repo: "https://github.com/wb2osz/direwolf.git"
|
||||
dest: /usr/local/src/direwolf
|
||||
update: no
|
||||
update: false
|
||||
|
||||
- name: Build Direwolf
|
||||
shell: |
|
||||
ansible.builtin.shell: |
|
||||
mkdir -p /usr/local/src/direwolf/build
|
||||
cd /usr/local/src/direwolf/build
|
||||
cmake ..
|
||||
@ -16,7 +16,7 @@
|
||||
creates: /usr/local/src/direwolf/build/direwolf
|
||||
|
||||
- name: Install Direwolf
|
||||
shell: |
|
||||
ansible.builtin.shell: |
|
||||
cd /usr/local/src/direwolf/build
|
||||
make install
|
||||
args:
|
||||
@ -24,21 +24,21 @@
|
||||
creates: /usr/local/bin/direwolf
|
||||
|
||||
- name: Deploy Direwolf configuration
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: direwolf.conf.j2
|
||||
dest: /etc/ham-hotspot/direwolf-{{ radio.port_name }}.conf
|
||||
mode: '0644'
|
||||
mode: "0644"
|
||||
|
||||
- name: Deploy Direwolf systemd service
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: direwolf@.service.j2
|
||||
dest: /etc/systemd/system/direwolf@.service
|
||||
mode: '0644'
|
||||
mode: "0644"
|
||||
notify: Reload systemd
|
||||
|
||||
- name: Deploy kisstnc systemd service
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: kisstnc@.service.j2
|
||||
dest: /etc/systemd/system/kisstnc@.service
|
||||
mode: '0644'
|
||||
mode: "0644"
|
||||
notify: Reload systemd
|
||||
|
||||
Loading…
Reference in New Issue
Block a user