summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-01-22 20:08:54 +0000
committerGerrit Code Review <review@openstack.org>2019-01-22 20:08:54 +0000
commit0d50b773bd4f578d96977921acd31ca577e9f56b (patch)
tree847af0b8d2ef0ae0b07cac09e93a361b4c9f3367
parent2b27f720a2e641e73db70d656bcc388bbd9b7e65 (diff)
parentdb1629dc97020330df75261a8bbe04f423b25a71 (diff)
Merge "Use become for packages in upload-puppetforge"
-rw-r--r--roles/upload-puppetforge/tasks/main.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/upload-puppetforge/tasks/main.yaml b/roles/upload-puppetforge/tasks/main.yaml
index d8e7fc7..3003ce2 100644
--- a/roles/upload-puppetforge/tasks/main.yaml
+++ b/roles/upload-puppetforge/tasks/main.yaml
@@ -5,6 +5,7 @@
5 - gcc-c++ 5 - gcc-c++
6 - make 6 - make
7 state: present 7 state: present
8 become: yes
8 when: ansible_os_family == "RedHat" or ansible_os_family == "Suse" 9 when: ansible_os_family == "RedHat" or ansible_os_family == "Suse"
9 10
10- name: Install ruby dependencies on Debian based 11- name: Install ruby dependencies on Debian based
@@ -14,6 +15,7 @@
14 - g++ 15 - g++
15 - make 16 - make
16 state: present 17 state: present
18 become: yes
17 when: ansible_os_family == "Debian" 19 when: ansible_os_family == "Debian"
18 20
19- name: Install required gems 21- name: Install required gems
@@ -24,6 +26,7 @@
24 - rake 26 - rake
25 - puppetlabs_spec_helper 27 - puppetlabs_spec_helper
26 - puppet-blacksmith 28 - puppet-blacksmith
29 become: yes
27 30
28# NOTE(tobias.urdin): The build task is needed because puppet-blacksmith 31# NOTE(tobias.urdin): The build task is needed because puppet-blacksmith
29# doesn't provide a build task so it fails, we don't need one anyway since 32# doesn't provide a build task so it fails, we don't need one anyway since