diff --git a/ansible/roles/install/tasks/centos.yml b/ansible/roles/install/tasks/centos.yml index 41b14c5c5..d2e11c638 100644 --- a/ansible/roles/install/tasks/centos.yml +++ b/ansible/roles/install/tasks/centos.yml @@ -21,5 +21,5 @@ - name: Install package on CentOS/RedHat when: ansible_os_family == "RedHat" - yum: "pkg={{service}}" + yum: "pkg={{service}} update_cache=yes"