mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-14 18:48:29 +00:00
16 lines
374 B
Docker
16 lines
374 B
Docker
|
FROM ubuntu:latest
|
||
|
|
||
|
# Install Ansible
|
||
|
RUN apt-get -y update && \
|
||
|
apt-get -y install \
|
||
|
software-properties-common && \
|
||
|
apt-add-repository ppa:ansible/ansible && \
|
||
|
apt-get update && \
|
||
|
apt-get -y install ansible
|
||
|
|
||
|
# Add the playbook
|
||
|
ADD . /tmp/AIL-framework-ansible
|
||
|
|
||
|
# Run the AIL role on localhost
|
||
|
RUN ansible-playbook /tmp/AIL-framework-ansible/deployLocal.yml -c local
|