Introduction
Introduction Statistics Contact Development Disclaimer Help
setup-RedHat.yml - ansible-roles - A collection of ansible roles I have created…
git clone git://jay.scot/ansible-roles
Log
Files
Refs
README
LICENSE
---
setup-RedHat.yml (567B)
---
1 ---
2 - name: Ensure searx dependencies are installed.
3 yum:
4 name: "{{ searx_dependencies }}"
5 state: present
6
7 - name: Install uwsgi via pip
8 pip:
9 name: uwsgi
10 state: present
11
12 - name: Copy uwsgi systemd service template.
13 template:
14 src: uwsgi.service.j2
15 dest: /lib/systemd/system/uwsgi.service
16 when: ansible_os_family == 'RedHat'
17 notify: Restart uwsgi
18
19 - name: Create directories if they don't exist
20 file:
21 path: /etc/uwsgi/apps-enabled
22 state: directory
23 owner: "{{ searx_user }}"
24 group: "{{ searx_user }}"
25 mode: '0755'
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.