Documenting singularity role
This commit is contained in:
41
roles/Singularity/tasks/main.yml
Normal file
41
roles/Singularity/tasks/main.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
|
||||
- name: Install dependencies
|
||||
become: yes
|
||||
package:
|
||||
state: present
|
||||
name:
|
||||
- tt-rss
|
||||
|
||||
- name: Set permissions
|
||||
become: yes
|
||||
file:
|
||||
path: /usr/share/webapps/tt-rss
|
||||
owner: http
|
||||
group: http
|
||||
recurse: yes
|
||||
|
||||
- name: Configure
|
||||
become: yes
|
||||
template:
|
||||
src: config.php.j2
|
||||
dest: /usr/share/webapps/tt-rss/config.php
|
||||
owner: http
|
||||
group: http
|
||||
mode: 0600
|
||||
|
||||
- name: Enable service
|
||||
become: yes
|
||||
service:
|
||||
name: tt-rss.service
|
||||
state: restarted
|
||||
enabled: true
|
||||
|
||||
- name: Update hook
|
||||
become: yes
|
||||
copy:
|
||||
src: tt-rss.hook
|
||||
dest: /etc/pacman.d/hooks/tt-rss.hook
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
Reference in New Issue
Block a user