Browse Source

Merge branch 'devel' of github.com:RITlug/TigerOS into devel

devel
axk4545 7 years ago
parent
commit
dba75f6228
1 changed files with 14 additions and 2 deletions
  1. +14
    -2
      build-scripts/playbook.yml

+ 14
- 2
build-scripts/playbook.yml View File

@ -80,9 +80,21 @@
- name: Update packages
command: dnf update
become: true
- name: Allow Jenkins sudo access
- name: Allow Jenkins sudo access for devel
become: true
lineinfile:
path: /etc/sudoers
line: 'jenkins ALL=NOPASSWD: /var/lib/jenkins/jobs/TigerOS Devel/workspace/tigeros/make-iso.sh'
line: 'jenkins ALL=NOPASSWD: /var/lib/jenkins/jobs/TigerOS-Devel/workspace/tigeros/make-iso.sh'
state: present
- name: Allow Jenkins sudo access for master
become: true
lineinfile:
path: /etc/sudoers
line: 'jenkins ALL=NOPASSWD: /var/lib/jenkins/jobs/TigerOS-Master/workspace/tigeros/make-iso.sh'
state: present
- jenkins_job:
name: TigerOS-Master
state: present
- jenkins_job:
name: TigerOS-Devel
state: present

Loading…
Cancel
Save