[Git][reproducible-builds/debian-rebuilder-setup][master] Change some file permissions to www-data
kpcyrd
gitlab at salsa.debian.org
Tue Nov 6 00:53:10 CET 2018
kpcyrd pushed to branch master at Reproducible Builds / debian-rebuilder-setup
Commits:
d3ea5660 by kpcyrd at 2018-11-05T23:53:58Z
Change some file permissions to www-data
- - - - -
2 changed files:
- roles/visualizers/files/default.conf
- roles/visualizers/tasks/main.yml
Changes:
=====================================
roles/visualizers/files/default.conf
=====================================
@@ -39,8 +39,4 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
-
- location /.well-known/acme-challenge/ {
- alias /var/run/acme/acme-challenge/;
- }
}
=====================================
roles/visualizers/tasks/main.yml
=====================================
@@ -5,7 +5,10 @@
- sqlite3
- name: Create necessary folders
- file: path="{{ item }}" state=directory
+ file:
+ path: "{{ item }}"
+ state: directory
+ owner: www-data
with_items:
- /var/builds
- /var/accumulator
@@ -23,6 +26,11 @@
- name: Generate DB
shell: sqlite3 /var/rebuilder.db < /var/schema.sql
+- name: Change db permissions
+ file:
+ path: /var/rebuilder.db
+ owner: www-data
+
- name: Install Python dependencies
pip:
requirements: /var/requirements.txt
View it on GitLab: https://salsa.debian.org/reproducible-builds/debian-rebuilder-setup/commit/d3ea5660d1ae0f1c4f64808f98cbb6092e8980c4
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/debian-rebuilder-setup/commit/d3ea5660d1ae0f1c4f64808f98cbb6092e8980c4
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20181105/7a7a605f/attachment.html>
More information about the rb-commits
mailing list