Ansible roles by Evolix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
530B

  1. FROM debian:stretch-slim
  2. ENV ROLES_VERSION=${ROLES_VERSION:-unstable}
  3. RUN apt-get update \
  4. && apt-get install -y --no-install-recommends \
  5. git \
  6. ansible \
  7. && rm -rf /var/lib/apt/lists/*
  8. RUN ansible-galaxy install --force \
  9. --roles-path /etc/ansible \
  10. "git+https://gitea.evolix.org/evolix/ansible-roles.git,${ROLES_VERSION},roles"
  11. ENV ANSIBLE_FORCE_COLOR=1
  12. ENV ANSIBLE_HOST_KEY_CHECKING=false
  13. ENV ANSIBLE_RETRY_FILES_ENABLED=false
  14. ENV PYTHONUNBUFFERED=1
  15. WORKDIR /data
  16. ENTRYPOINT ["ansible-playbook"]