Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
f481a965dd | |||
a0aa289c05 |
5
.github/workflows/vagrant.yml
vendored
5
.github/workflows/vagrant.yml
vendored
@ -3,8 +3,9 @@ name: homelab-ci
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- testing
|
||||
- github_actions
|
||||
# - main
|
||||
# - testing
|
||||
|
||||
jobs:
|
||||
homelab-ci:
|
||||
|
@ -26,7 +26,7 @@
|
||||
ansible.builtin.template:
|
||||
src: smb.conf.j2
|
||||
dest: /etc/samba/smb.conf
|
||||
mode: "700"
|
||||
mode: "644"
|
||||
notify: restart_samba
|
||||
|
||||
- name: Start smbd and enable on boot
|
||||
|
@ -8,6 +8,9 @@ ListenPort = {{ wireguard.listenport }}
|
||||
{% for peer in wireguard.peers %}
|
||||
[Peer]
|
||||
PublicKey = {{ peer.publickey }}
|
||||
{% if peer.presharedkey is defined %}
|
||||
PresharedKey = {{ peer.presharedkey }}
|
||||
{% endif %}
|
||||
{% if peer.endpoint is defined %}
|
||||
Endpoint = {{ peer.endpoint }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user