From: Arvind Patel Date: Tue, 2 Jun 2020 14:05:34 +0000 (+0530) Subject: Added centOS uninstalltion command X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=559dbfd2d837c68be54f2c0849a80c4cfe4895e2;p=ealt-edge.git Added centOS uninstalltion command Change-Id: I8a415d6575cc90fee6e58bb4fb3c22533acb6a3c --- 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