From 077cc3eeb2f61d3eaa1a6abf56706c8cdea0a133 Mon Sep 17 00:00:00 2001
From: XiaojueGuan <guanalbertjone@gmail.com>
Date: Thu, 6 Dec 2018 14:21:55 +0000
Subject: [PATCH] change the state value from installed to present

refer:
https://docs.ansible.com/ansible/2.5/modules/package_module.html

Change-Id: I68a0eb64a61bc6c0f77cbae7e8b4f4c7143202c5
---
 ansible/roles/baremetal/tasks/install.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/roles/baremetal/tasks/install.yml b/ansible/roles/baremetal/tasks/install.yml
index e8b252e99..92519df73 100644
--- a/ansible/roles/baremetal/tasks/install.yml
+++ b/ansible/roles/baremetal/tasks/install.yml
@@ -43,7 +43,7 @@
 - name: Install deltarpm packages
   package:
     name: "{{ item }}"
-    state: installed
+    state: present
   become: True
   with_items:
     - deltarpm
-- 
GitLab