ffld/router-wan.lan: initial config
This commit is contained in:
parent
a34f461905
commit
c9e0c5c8d1
3 changed files with 16 additions and 0 deletions
2
services/ffld/router-wan.lan/Justfile
Normal file
2
services/ffld/router-wan.lan/Justfile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
post-setup:
|
||||||
|
ansible-playbook -i hosts openwrt-post-setup.yaml --verbose
|
1
services/ffld/router-wan.lan/hosts
Normal file
1
services/ffld/router-wan.lan/hosts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
router-wan.lan ansible_ssh_user=root
|
13
services/ffld/router-wan.lan/openwrt-post-setup.yaml
Normal file
13
services/ffld/router-wan.lan/openwrt-post-setup.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# * https://openwrt.org/docs/guide-user/services/nas/usb-storage-samba-webinterface
|
||||||
|
|
||||||
|
- hosts: router-wan.lan
|
||||||
|
gather_facts: no
|
||||||
|
tasks:
|
||||||
|
- name: udpate pkg database
|
||||||
|
raw: opkg update
|
||||||
|
- name: install packages
|
||||||
|
raw: opkg install {{ item }}
|
||||||
|
loop:
|
||||||
|
- luci-ssl
|
||||||
|
- luci-app-samba samba36-server
|
||||||
|
- block-mount blockd kmod-fs-vmod kmod-fs-vfat kmod-usb-storage usbutils
|
Loading…
Add table
Add a link
Reference in a new issue