mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
Add relengpush and relengpush-int scripts for automated rebuilds
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
4
files/releng/relengpush
Executable file
4
files/releng/relengpush
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
# This file exists to facilitate fully automated mass rebuilds without relying
|
||||
# on user intervention or an individual users's account permissions
|
||||
sudo /usr/local/bin/relengpush-int $@
|
||||
4
files/releng/relengpush-int
Executable file
4
files/releng/relengpush-int
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
# This file exists to facilitate fully automated mass rebuilds without relying
|
||||
# on user intervention or an individual users's account permissions
|
||||
ssh -i /etc/pki/releng $@
|
||||
@@ -107,6 +107,24 @@
|
||||
mode: 0640
|
||||
when: env == "staging"
|
||||
|
||||
- name: place relengpush script for automatic rebuilds
|
||||
copy:
|
||||
src: "{{files}}/releng/relengpush"
|
||||
dest: "/usr/local/bin/relengpush"
|
||||
owner: root
|
||||
group: "releng-team"
|
||||
mode: 0750
|
||||
when: env == "staging"
|
||||
|
||||
- name: place relengpush int script for automatic rebuilds
|
||||
copy:
|
||||
src: "{{files}}/releng/relengpush-int"
|
||||
dest: "/usr/local/bin/relengpush-int"
|
||||
owner: root
|
||||
group: "releng-team"
|
||||
mode: 0750
|
||||
when: env == "staging"
|
||||
|
||||
|
||||
handlers:
|
||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
|
||||
Reference in New Issue
Block a user