Suggestion: ECE Ansible Role Addition

I've used the Ansible role to configure a number of ECE hosts running on RHEL7
I noticed that the docker installation on RHEL7 doesn't include docker-procy, docker-runc, or docker-init (only *-current e.g docker-proxy-current)

This causes the script to fail when starting any of the containers. To fix this I added the following ansible code to the install docker script in (ansibledir)/roles/ece/tasks/system/RedHat-7/install_docker.yml which has allowed the install to happen

- name: SymLink for docker-runc
  file:
    src: "/usr/libexec/docker/docker-runc-current"
    path: "/usr/libexec/docker/docker-runc"
    state: link

- name: SymLink for docker-proxy
  file:
    src: "/usr/libexec/docker/docker-proxy-current"
    path: "/usr/libexec/docker/docker-proxy"
    state: link

- name: SymLink for docker-init
  file:
    src: "/usr/libexec/docker/docker-init-current"
    path: "/usr/libexec/docker/docker-init"
    state: link

I hope this helps someone and it may be worth considering adding to the ansible file, or at least having a note to ensure people know about this.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.