| RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \ |
| software-properties-common \ |
| # required for ansible 2.0 OpenStack os_* modules |
| RUN pip install --upgrade pbr |
| RUN pip install --upgrade six |
| # Install ansible from PPA |
| RUN add-apt-repository ppa:ansible/ansible |
| RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \ |
| RUN mkdir -p /usr/local/share /bin /etc/ansible |
| COPY conf/ansible-hosts /etc/ansible/hosts |
| COPY conf/synchronizer.conf /etc/supervisor/conf.d/ |
| CMD update-ca-certificates && /usr/bin/supervisord -c /etc/supervisor/conf.d/synchronizer.conf |