ansible: Add scm_conduit group (
bug 1330690); r?gps
Add a new scm_conduit group for controlling access to new Conduit related repo(s).
MozReview-Commit-ID: C0F3KRkIkna
--- a/ansible/roles/hg-ssh-server/tasks/main.yml
+++ b/ansible/roles/hg-ssh-server/tasks/main.yml
@@ -10,16 +10,17 @@
- { name: 'scm_level_2', gid: 685 }
- { name: 'scm_level_3', gid: 679 }
- { name: 'scm_l10n', gid: 678 }
- { name: 'scm_l10n_infra', gid: 680 }
- { name: 'scm_sec_sensitive', gid: 686 }
- { name: 'scm_ecmascript', gid: 687 }
- { name: 'scm_versioncontrol', gid: 690 }
- { name: 'scm_autoland', gid: 2346 }
+ - { name: 'scm_conduit', gid: 691 }
- name: Create hg group
group: name=hg
gid=500
- name: Create hg user
user: name=hg
group=hg
--- a/ansible/roles/hg-ssh/templates/hgrc.j2
+++ b/ansible/roles/hg-ssh/templates/hgrc.j2
@@ -1,11 +1,11 @@
[trusted]
users = hg, root
-groups = scm_level_1, scm_level_2, scm_level_3, scm_autoland, scm_l10n, scm_private, scm_l10n_infra, scm_sec_sensitive, scm_l10n_drivers, scm_nss, scm_versioncontrol
+groups = scm_level_1, scm_level_2, scm_level_3, scm_autoland, scm_l10n, scm_private, scm_l10n_infra, scm_sec_sensitive, scm_l10n_drivers, scm_nss, scm_versioncontrol, scm_conduit
[email]
method = /usr/sbin/sendmail
from = hg@hg.mozilla.org
[diff]
showfunc = True
git = 1