Added centOS uninstalltion command 39/3539/1
authorArvind Patel <arvind.patel@huawei.com>
Tue, 2 Jun 2020 14:05:34 +0000 (19:35 +0530)
committerArvind Patel <arvind.patel@huawei.com>
Tue, 2 Jun 2020 14:06:28 +0000 (19:36 +0530)
Change-Id: I8a415d6575cc90fee6e58bb4fb3c22533acb6a3c

ocd/infra/playbooks/roles/docker/tasks/uninstall.yml

index b6920ef..f756489 100644 (file)
   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