# Suggestion: ECE Ansible Role Addition

**URL:** <https://discuss.elastic.co/t/suggestion-ece-ansible-role-addition/215285>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [January 16, 2020, 9:46am UTC](https://discuss.elastic.co/t/suggestion-ece-ansible-role-addition/215285 "2020-01-16T09:46:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TWhitehouse](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@TWhitehouse](https://discuss.elastic.co/u/TWhitehouse)\
**Post date:** [January 16, 2020, 9:46am UTC](https://discuss.elastic.co/t/suggestion-ece-ansible-role-addition/215285/1 "2020-01-16T09:46:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 30, 2020, 10:02am UTC](https://discuss.elastic.co/t/suggestion-ece-ansible-role-addition/215285/2 "2020-01-30T10:02:29Z")

</div>

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