Merge branch 'master' of /git/ansible
This commit is contained in:
commit
c1264fe37d
9 changed files with 29 additions and 13 deletions
|
@ -3,8 +3,8 @@ nm: 255.255.255.0
|
||||||
gw: 10.5.126.254
|
gw: 10.5.126.254
|
||||||
dns: 10.5.126.21
|
dns: 10.5.126.21
|
||||||
|
|
||||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7
|
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-26
|
||||||
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/
|
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/26/Server/x86_64/os/
|
||||||
|
|
||||||
eth0_ip: 10.5.126.124
|
eth0_ip: 10.5.126.124
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ nm: 255.255.255.0
|
||||||
gw: 10.5.126.254
|
gw: 10.5.126.254
|
||||||
dns: 10.5.126.21
|
dns: 10.5.126.21
|
||||||
|
|
||||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7
|
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-26
|
||||||
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/
|
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/26/Server/x86_64/os/
|
||||||
|
|
||||||
eth0_ip: 10.5.126.92
|
eth0_ip: 10.5.126.92
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ nm: 255.255.255.0
|
||||||
gw: 10.5.126.254
|
gw: 10.5.126.254
|
||||||
dns: 10.5.126.21
|
dns: 10.5.126.21
|
||||||
|
|
||||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7
|
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-26
|
||||||
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/
|
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/26/Server/x86_64/os/
|
||||||
|
|
||||||
eth0_ip: 10.5.126.120
|
eth0_ip: 10.5.126.120
|
||||||
|
|
||||||
|
|
|
@ -74,5 +74,11 @@
|
||||||
- include: "{{ tasks_path }}/2fa_client.yml"
|
- include: "{{ tasks_path }}/2fa_client.yml"
|
||||||
- include: "{{ tasks_path }}/motd.yml"
|
- include: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
|
- name: install skopeo for container management
|
||||||
|
package:
|
||||||
|
name: skopeo
|
||||||
|
state: latest
|
||||||
|
when: ansible_architecture != "ppc64"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers_path }}/restart_services.yml"
|
- include: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
config = {
|
|
||||||
'genacls.consumer.enabled': True,
|
|
||||||
'genacls.consumer.delay': 5, # 5 seconds
|
|
||||||
}
|
|
|
@ -243,7 +243,8 @@
|
||||||
- distgit
|
- distgit
|
||||||
|
|
||||||
- name: install the fedmsg configuration
|
- name: install the fedmsg configuration
|
||||||
copy: src=fedmsg-genacls-config.py dest=/etc/fedmsg.d/genacls.py owner=root group=root mode=0644
|
template: src=fedmsg-genacls-config.py dest=/etc/fedmsg.d/genacls.py
|
||||||
|
owner=root group=root mode=0644
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- distgit
|
- distgit
|
||||||
|
|
12
roles/distgit/templates/fedmsg-genacls-config.py
Normal file
12
roles/distgit/templates/fedmsg-genacls-config.py
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
config = {
|
||||||
|
'genacls.consumer.enabled': True,
|
||||||
|
'genacls.consumer.delay': 5, # 5 seconds
|
||||||
|
|
||||||
|
# New world
|
||||||
|
'gitoliteprefix.consumer.enabled': True,
|
||||||
|
'gitoliteprefix.consumer.delay': 5, # 5 seconds
|
||||||
|
'gitoliteprefix.consumer.filename': '/var/tmp/gitolite-prefix.txt',
|
||||||
|
'gitoliteprefix.consumer.fasurl': 'https://admin.fedoraproject.org/accounts',
|
||||||
|
'gitoliteprefix.consumer.username': "{{ blockerbugs_fas_user }}",
|
||||||
|
'gitoliteprefix.consumer.password': '{{ blockerbugs_fas_password }}',
|
||||||
|
}
|
|
@ -144,7 +144,7 @@ fudcon-paper: fudcon-cfp
|
||||||
# flock
|
# flock
|
||||||
flockpress: bex,fpl
|
flockpress: bex,fpl
|
||||||
flockinfo: bex,fpl
|
flockinfo: bex,fpl
|
||||||
flock-staff: bex,fpl,duffy
|
flock-staff: bex,fpl,duffy,sgallagh
|
||||||
|
|
||||||
# gnome backups
|
# gnome backups
|
||||||
gnomebackup: backups@gnome.org
|
gnomebackup: backups@gnome.org
|
||||||
|
|
|
@ -17,7 +17,8 @@ import sys
|
||||||
from email.mime.text import MIMEText
|
from email.mime.text import MIMEText
|
||||||
|
|
||||||
abspath = os.path.abspath(os.environ['GIT_DIR'])
|
abspath = os.path.abspath(os.environ['GIT_DIR'])
|
||||||
PATTERNS = ('+ExclusiveArch:', '+ExcludeArch:', '+%ifarch', '+%ifnarch')
|
PATTERNS = ('+ExclusiveArch:', '+ExcludeArch:', '+%ifarch', '+%ifnarch',
|
||||||
|
'-ExclusiveArch:', '-ExcludeArch:', '-%ifarch', '-%ifnarch')
|
||||||
FROM_EMAIL = 'githook-noreply@fedoraproject.org'
|
FROM_EMAIL = 'githook-noreply@fedoraproject.org'
|
||||||
TO_MAIL = 'arch-excludes@lists.fedoraproject.org'
|
TO_MAIL = 'arch-excludes@lists.fedoraproject.org'
|
||||||
CGIT_URL = 'https://src.fedoraproject.org/cgit/%s/commit/?id=%s'
|
CGIT_URL = 'https://src.fedoraproject.org/cgit/%s/commit/?id=%s'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue