This repository has been archived by the owner on Sep 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usually noone will need this feature. This is for a deployment system where I built individual images with openwrt-imagebuilder. I don't want to deploy the config to the target host but into a specific directory on the buildhost so it will get included into the build process
- Loading branch information
Showing
30 changed files
with
79 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
--- | ||
# defaults file for ansible_openwrtbabeld | ||
# defaults file for ansible_openwrtbabeld | ||
openwrt_babeld_deploypath: "/etc/config/babeld" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
--- | ||
# defaults file for ansible_openwrtdropbear | ||
# defaults file for ansible_openwrtdropbear | ||
openwrt_dropbear_deploypath: "/etc/config/dhcp" | ||
openwrt_dropbear_deploypath_keys: "/etc/dropbear/authorized_keys" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
--- | ||
# defaults file for ansible_openwrtrestic | ||
restic_cron_name: "resticbackup" | ||
restic_cron_hourrange_start: 1 | ||
restic_cron_hourrange_end: 6 | ||
restic_cron_minuterange_start: 1 | ||
restic_cron_minuterange_end: 59 | ||
restic_cron_hour: "{{ restic_cron_hourrange_end | random(start=restic_cron_hourrange_start, seed=inventory_hostname) }}" | ||
restic_cron_minute: "{{ restic_cron_minuterange_end | random(start=restic_cron_minuterange_start, seed=inventory_hostname) }}" | ||
restic_cron_manage: true | ||
restic_ssh_manage: true | ||
restic_keepweekly: 3 | ||
restic_keepdaily: 9 | ||
restic_keepmonthly: 2 | ||
openwrt_restic_cron_name: "resticbackup" | ||
openwrt_restic_cron_hourrange_start: 1 | ||
openwrt_restic_cron_hourrange_end: 6 | ||
openwrt_restic_cron_minuterange_start: 1 | ||
openwrt_restic_cron_minuterange_end: 59 | ||
openwrt_restic_cron_hour: "{{ openwrt_restic_cron_hourrange_end | random(start=openwrt_restic_cron_hourrange_start, seed=inventory_hostname) }}" | ||
openwrt_restic_cron_minute: "{{ openwrt_restic_cron_minuterange_end | random(start=openwrt_restic_cron_minuterange_start, seed=inventory_hostname) }}" | ||
openwrt_restic_cron_manage: true | ||
openwrt_restic_ssh_manage: true | ||
openwrt_restic_keepweekly: 3 | ||
openwrt_restic_keepdaily: 9 | ||
openwrt_restic_keepmonthly: 2 | ||
openwrt_restic_deploypath: "/etc/restic" | ||
openwrt_restic_deploypath_sysupgrade: "/etc/sysupgrade.conf" | ||
openwrt_restic_deploypath_passwordfile: "/etc/resticpassword" | ||
openwrt_restic_deploypath_knownhosts: "/root/.ssh/known_hosts" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{{ restic_encpassphrase }} | ||
{{ openwrt_restic_encpassphrase }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env ash | ||
# File managed by Ansible | ||
RESTIC_REPOSITORY="{{ restic_repository }}" | ||
RESTIC_PASSWORD="{{ restic_encpassphrase }}" | ||
RESTIC_REPOSITORY="{{ openwrt_restic_repository }}" | ||
RESTIC_PASSWORD="{{ openwrt_restic_encpassphrase }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
--- | ||
# defaults file for ansible_openwrtservices | ||
# defaults file for ansible_openwrtservices | ||
openwrt_services_deploypath: "/etc/rc.local" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
--- | ||
# defaults file for ansible_openwrtsqm | ||
openwrt_sqm_deploypath: "{{ /etc/config/sqm }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
--- | ||
# defaults file for ansible_openwrtwifi | ||
openwrt_wifi_deploypath: "/etc/config/wireless" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters