escalating priviledge from role
diff --git a/tasks/install-online.yml b/tasks/install-online.yml index aaf9cf1..23c5575 100644 --- a/tasks/install-online.yml +++ b/tasks/install-online.yml
@@ -29,6 +29,7 @@ when: not bootstrap_exists.stat.exists - name: Yum clean all + become: yes shell: "yum clean all" - block: @@ -40,6 +41,7 @@ rescue: - name: Yum failed to update, let's clean yum + become: yes shell: 'yum clean all' - include_tasks: online/install-bootstrap-with-no-proxy.yml