forked from infra/ansible
(re)add pager app. Might be handy at some point.
This commit is contained in:
parent
75e072a7a5
commit
c0ec391612
3 changed files with 16 additions and 0 deletions
|
|
@ -51,6 +51,7 @@
|
|||
- mirrormanager/frontend
|
||||
- freemedia
|
||||
- sudo
|
||||
- pager_server
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/yumrepos.yml"
|
||||
|
|
|
|||
1
roles/pager_server/files/pager-app.conf
Normal file
1
roles/pager_server/files/pager-app.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
ScriptAlias /pager /srv/web/pager.py
|
||||
14
roles/pager_server/tasks/main.yml
Normal file
14
roles/pager_server/tasks/main.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- name: setup pager app config
|
||||
copy: src=pager-app.conf dest=/etc/httpd/conf.d/pager-app.conf mode=644
|
||||
notify:
|
||||
- restart httpd
|
||||
tags:
|
||||
- config
|
||||
- pager_server
|
||||
|
||||
- name: install pager app
|
||||
copy: src=pager.py dest=/srv/web/pager.py mode=644
|
||||
tags:
|
||||
- config
|
||||
- pager_server
|
||||
Loading…
Add table
Add a link
Reference in a new issue