From 559dbfd2d837c68be54f2c0849a80c4cfe4895e2 Mon Sep 17 00:00:00 2001 From: Arvind Patel Date: Tue, 2 Jun 2020 19:35:34 +0530 Subject: [PATCH] Added centOS uninstalltion command Change-Id: I8a415d6575cc90fee6e58bb4fb3c22533acb6a3c --- ocd/infra/playbooks/roles/docker/tasks/uninstall.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ocd/infra/playbooks/roles/docker/tasks/uninstall.yml b/ocd/infra/playbooks/roles/docker/tasks/uninstall.yml index b6920ef..f756489 100644 --- a/ocd/infra/playbooks/roles/docker/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/docker/tasks/uninstall.yml @@ -56,3 +56,12 @@ ignore_errors: yes when: result is succeeded and ansible_architecture == 'aarch64' #when: result is succeeded + +- debug: + msg: "CentOS commands start" + +- name: "UNINSTALL:Uninstalled docker " + shell: + cmd: yes | yum remove docker-ce docker-ce-cli containerd.io + ignore_errors: yes + no_log: true -- 2.16.6