From c0b0d0668887a1ccfa7b3d173c1cf452b0efe897 Mon Sep 17 00:00:00 2001 From: abelgana <32614067+abelgana@users.noreply.github.com> Date: Thu, 12 Oct 2017 07:39:26 -0400 Subject: [PATCH] Changre raw execution to use yum module Changed raw exection to use yum module provided by Ansible. --- roles/bootstrap-os/tasks/bootstrap-centos.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/bootstrap-os/tasks/bootstrap-centos.yml b/roles/bootstrap-os/tasks/bootstrap-centos.yml index c9233dfb1..a945dfb21 100644 --- a/roles/bootstrap-os/tasks/bootstrap-centos.yml +++ b/roles/bootstrap-os/tasks/bootstrap-centos.yml @@ -15,4 +15,6 @@ when: fastestmirror.stat.exists - name: Install packages requirements for bootstrap - raw: yum -y install libselinux-python + yum: + name: libselinux-python + state: present