r/web/hlc: Configure formsubmit
Tabitha's Hatch Learning Center site has two user submission forms: one for signing in/out students for class, and another for parents to register new students for the program. These are handled by *formsubmit* and store data in CSV spreadsheets.
This commit is contained in:
@@ -49,3 +49,29 @@
|
||||
notify: reload httpd
|
||||
tags:
|
||||
- apache-config
|
||||
|
||||
- name: ensure hatchlearningcenter.org data directory exists
|
||||
file:
|
||||
path: /srv/www/hatchlearningcenter.org/data
|
||||
mode: ug=rwx,o=
|
||||
owner: webapp.hlc
|
||||
group: apache
|
||||
setype: httpd_sys_rw_content_t
|
||||
state: directory
|
||||
tags:
|
||||
- datadir
|
||||
|
||||
- name: ensure formsubmit is configured hatchlearningcenter.org attendance
|
||||
copy:
|
||||
content: '{{ hlc_formsubmit_attendance|to_nice_yaml(indent=2) }}'
|
||||
dest: /etc/formsubmit/hlc-attendance.yml
|
||||
mode: u=rw,go=r
|
||||
tags:
|
||||
- config
|
||||
- name: ensure formsubmit is configured hatchlearningcenter.org signup
|
||||
copy:
|
||||
content: '{{ hlc_formsubmit_signup|to_nice_yaml(indent=2) }}'
|
||||
dest: /etc/formsubmit/hlc-signup.yml
|
||||
mode: u=rw,go=r
|
||||
tags:
|
||||
- config
|
||||
|
||||
Reference in New Issue
Block a user