---
- name: Install etcd for etcdctl
  package: name=etcd{{ '-' + etcd_version if etcd_version is defined else '' }} state=present
  when: not openshift_is_atomic | bool
  register: result
  until: result is succeeded

- name: Configure etcd profile.d aliases
  template:
    dest: "/etc/profile.d/etcdctl.sh"
    src: etcdctl.sh.j2
    mode: 0755
    owner: root
    group: root

---
- name: Install etcd for etcdctl
  package: name=etcd{{ '-' + etcd_version if etcd_version is defined else '' }} state=present
  when: not openshift_is_containerized | bool
  register: result
  until: result is succeeded

- name: Configure etcd profile.d aliases
  template:
    dest: "/etc/profile.d/etcdctl.sh"
    src: etcdctl.sh.j2
    mode: 0755
    owner: root
    group: root

Use openshift_is_containerized instead of openshift_is_atomic when installing etcd
Use openshift_is_containerized instead of openshift_is_atomic when installing etcd

This allows non-Atomic hosts to be used to install containerized etcd
