Browse Source

Give Jenkins sudo access (Ansible playbook)

(This is to start with, will move to ci script later)
devel
Christian Martin 7 years ago
committed by GitHub
parent
commit
560c0e569f
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      build-scripts/playbook.yml

+ 5
- 0
build-scripts/playbook.yml View File

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

Loading…
Cancel
Save