Browse Source

Merge "Use become for packages in upload-puppetforge"

changes/72/632572/1
Zuul 5 months ago
parent
commit
0d50b773bd
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      roles/upload-puppetforge/tasks/main.yaml

+ 3
- 0
roles/upload-puppetforge/tasks/main.yaml View File

@@ -5,6 +5,7 @@
5 5
       - gcc-c++
6 6
       - make
7 7
     state: present
8
+  become: yes
8 9
   when: ansible_os_family == "RedHat" or ansible_os_family == "Suse"
9 10
 
10 11
 - name: Install ruby dependencies on Debian based
@@ -14,6 +15,7 @@
14 15
       - g++
15 16
       - make
16 17
     state: present
18
+  become: yes
17 19
   when: ansible_os_family == "Debian"
18 20
 
19 21
 - name: Install required gems
@@ -24,6 +26,7 @@
24 26
     - rake
25 27
     - puppetlabs_spec_helper
26 28
     - puppet-blacksmith
29
+  become: yes
27 30
 
28 31
 # NOTE(tobias.urdin): The build task is needed because puppet-blacksmith
29 32
 # doesn't provide a build task so it fails, we don't need one anyway since

Loading…
Cancel
Save