forward emails to root on copr machines to me
This commit is contained in:
parent
cecfac8454
commit
7798d5b5c0
3 changed files with 13 additions and 0 deletions
1
files/copr/forward
Normal file
1
files/copr/forward
Normal file
|
@ -0,0 +1 @@
|
|||
msuchy+coprmachine@redhat.com
|
|
@ -39,6 +39,12 @@
|
|||
#- name: copy copr.repo
|
||||
# action: copy src=$files/copr/fe/yum/copr.repo dest=/etc/yum.repos.d/copr.repo
|
||||
|
||||
- Set the hostname
|
||||
shell: hostname copr-be.cloud.fedoraproject.org
|
||||
|
||||
- name: copy .forward file
|
||||
action: copy src=$files/copr/forward dest=/root/.forward owner=root group=root
|
||||
|
||||
# packages needed
|
||||
- name: add packages for copr-be
|
||||
action: yum state=present name=$item
|
||||
|
|
|
@ -33,6 +33,12 @@
|
|||
#- name: copy copr.repo
|
||||
# action: copy src=$files/copr/fe/yum/copr.repo dest=/etc/yum.repos.d/copr.repo
|
||||
|
||||
- Set the hostname
|
||||
shell: hostname copr-fe.cloud.fedoraproject.org
|
||||
|
||||
- name: copy .forward file
|
||||
action: copy src=$files/copr/forward dest=/root/.forward owner=root group=root
|
||||
|
||||
- name: install copr-fe pkgs
|
||||
action: yum state=installed pkg=$item
|
||||
with_items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue