X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fdocker%2Ftasks%2Funinstall.yml;h=f75648959263fcc9535f45a4b6a5563a8423372f;hb=refs%2Fchanges%2F39%2F3539%2F1;hp=d011d181dd30b0e09f1a6483ba87a05638578e38;hpb=6ce510fccce9b5481e88d10c3ffa73ed0284b517;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/docker/tasks/uninstall.yml b/ocd/infra/playbooks/roles/docker/tasks/uninstall.yml index d011d18..f756489 100644 --- a/ocd/infra/playbooks/roles/docker/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/docker/tasks/uninstall.yml @@ -29,30 +29,39 @@ # yamllint disable rule:line-length when: result.stdout == "" -- name: "Uninstall docker engine" +- name: "UNINSTALL: Uninstall docker engine" command: apt-get purge -y docker-engine ignore_errors: yes when: result is succeeded and ansible_architecture == 'aarch64' -- name: "Uninstall docker" +- name: "UNINSTALL: Uninstall docker" command: apt-get purge -y docker ignore_errors: yes when: result is succeeded and ansible_architecture == 'aarch64' #when: result is succeeded and ansible_architecture == 'x86_64' -- name: "Uninstall docker.io" +- name: "UNINSTALL: Uninstall docker.io" command: apt-get purge -y docker.io ignore_errors: yes when: result is succeeded and ansible_architecture == 'aarch64' -- name: "Uninstall docker-ce" +- name: "UNINSTALL: Uninstall docker-ce" command: apt-get purge -y docker-ce ignore_errors: yes when: result is succeeded and ansible_architecture == 'aarch64' #when: result is succeeded and ansible_architecture == 'aarch64' -- name: "Uninstall docker" +- name: "UNINSTALL: Uninstall docker" command: apt-get purge -y docker-ce-cli 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