Skip to content

Commit

Permalink
info_board: add first version of the info board
Browse files Browse the repository at this point in the history
  • Loading branch information
noxilixon committed Sep 17, 2024
1 parent cad7136 commit 8216e06
Show file tree
Hide file tree
Showing 3 changed files with 1,440 additions and 0 deletions.
12 changes: 12 additions & 0 deletions roles/cfg_openwrt/tasks/info_board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
- name: info board | Generate directory
file:
path: "{{ info_dir }}"
state: directory
mode: "731"

- name: info board | Generate outputfiles
template:
src: "templates/common/info_board.j2"
dest: "{{ info_dir }}/{{ location }}.svg"
mode: "644"
10 changes: 10 additions & 0 deletions roles/cfg_openwrt/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
build_dir: "{{ basedir }}/build/{{ inventory_hostname }}"
images_dir: "{{ basedir }}/images/"
wikiupdater_dir: "{{ basedir }}/wikiupdater/"
info_dir: "{{ basedir }}/info/"
tags: always

- name: Create directory
Expand Down Expand Up @@ -109,3 +110,12 @@
tags:
- never
- wiki

- name: Include info board
include_tasks:
file: info_board.yml
apply:
tags: info
tags:
- never
- info
Loading

0 comments on commit 8216e06

Please sign in to comment.