Commit e19f0915 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

add become

parent bb7fe622
Pipeline #28306 failed with stage
in 1 minute and 15 seconds
......@@ -14,3 +14,4 @@
- name: "yum update cache"
yum:
update_cache: yes
become: true
......@@ -102,6 +102,8 @@
notify:
- yum update cache
when: "powertools | default(false) == true | bool"
become: true
- name: "install extra packages {{ centos7_extra_packages | default ([]) }} if defined"
yum:
name: "{{ centos7_extra_packages }}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment