Browse Source

Merge "Use become for packages in upload-puppetforge"

changes/72/632572/1
Zuul 10 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 @@
- gcc-c++
- make
state: present
become: yes
when: ansible_os_family == "RedHat" or ansible_os_family == "Suse"

- name: Install ruby dependencies on Debian based
@@ -14,6 +15,7 @@
- g++
- make
state: present
become: yes
when: ansible_os_family == "Debian"

- name: Install required gems
@@ -24,6 +26,7 @@
- rake
- puppetlabs_spec_helper
- puppet-blacksmith
become: yes

# NOTE(tobias.urdin): The build task is needed because puppet-blacksmith
# doesn't provide a build task so it fails, we don't need one anyway since

Loading…
Cancel
Save