From b171764f477a9a3b2485fd1574c0e6fa02a1cf6f Mon Sep 17 00:00:00 2001 From: x p k Date: Sun, 27 Jan 2019 00:37:14 +0800 Subject: [PATCH] yum makecache --- tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index fb7ce68..18c19e0 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -5,8 +5,9 @@ - name: Install Server with GUI group package, may take a while... yum: + update_cache: yes name: '@^Server with GUI' - state: latest + state: present - name: Install vncserver yum: