Skip to content
Snippets Groups Projects
Verified Commit e948a6b9 authored by Levente Polyak's avatar Levente Polyak :rocket:
Browse files

dbscripts: add shared lock directory with ACL for packagers

parent 6c5e09dd
No related branches found
No related tags found
No related merge requests found
Pipeline #84872 passed
dbscripts_commit: f757bcea40481c1adf154fcf7e58a0e68e09bb1e
dbscripts_commit: c268f0140a86f390657b3bcfc36c6bd9aaa5ba4f
dbscripts_update: true
dbscripts_pgp_emails: ['jelle@archlinux.org', 'anthraxx@archlinux.org']
git_state_repo: /srv/repos/state
git_pkg_cache: /srv/repos/pkg-cache
lock_dir: /srv/repos/lock
junior_developer_repos:
- core-staging
......
......@@ -103,6 +103,11 @@
- name: Create state directory
file: path="{{ git_state_repo }}" state=directory owner=git-packages group=junior-packager mode=0775
- name: Create lock directory
file: path="{{ lock_dir }}" state=directory owner=git-packages group=junior-packager mode=0775
- name: Add acl default:group:junior-packager:rw- to lock_dir
acl: name="{{ lock_dir }}" entry="default:group:junior-packager:rw-" state=present
- name: Set permissions for state directory
file: path="{{ git_state_repo }}" state=directory owner=git-packages group=junior-packager mode=0775
- name: Add acl default:group:junior-packager:rw- to git_state_repo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment