From: Andrew Grimberg Date: Thu, 2 Apr 2020 13:12:24 +0000 (-0700) Subject: Update role to support CentOS 8 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=8fb4891510591dc0c87427a5f9cc48bd6dbb693a;p=ansible%2Froles%2Fjava-install.git Update role to support CentOS 8 Issue: RELENG-2823 Change-Id: I695a3df21e9fb103ee1a8535543018f33fddf84d Signed-off-by: Andrew Grimberg --- diff --git a/tasks/RedHat.yml b/tasks/RedHat.yml index 33e0a00..780ae57 100644 --- a/tasks/RedHat.yml +++ b/tasks/RedHat.yml @@ -2,6 +2,7 @@ - name: Install Epel Repo package: name=epel-release state=present when: ansible_os_family == "RedHat" + become: true - name: Install OpenJDK 1.8.0, 1.11 and 1.12 yum: