M .build.yml => .build.yml +11 -11
@@ 2,10 2,10 @@ image: archlinux
packages:
- ansible
- ansible-lint
- # - docker
- # - molecule
- # - molecule-docker
- # - python-dnspython
+ - docker
+ - molecule
+ - molecule-docker
+ - python-dnspython
- yamllint
- terraform
sources:
@@ 30,10 30,10 @@ tasks:
cd ../terraform_keycloak
terraform init -backend=false
terraform validate
- # - build-docker: |
- # cd ansible/misc
- # sudo systemctl start docker
- # docker build -f Dockerfile -t archlinux-docker .
- # - molecule: |
- # cd ansible
- # molecule test
+ - build-docker: |
+ cd ansible/misc
+ sudo systemctl start docker
+ docker build -f Dockerfile -t archlinux-docker .
+ - molecule: |
+ cd ansible
+ molecule test
M misc/Dockerfile => misc/Dockerfile +0 -1
@@ 21,5 21,4 @@ RUN pacman -Syu --noconfirm \
RUN mkdir -p /etc/ansible
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
-VOLUME ["/sys/fs/cgroup", "/tmp", "/run"]
CMD ["/usr/lib/systemd/systemd"]
M molecule/default/molecule.yml => molecule/default/molecule.yml +0 -2
@@ 13,8 13,6 @@ platforms:
- archlinux
image: archlinux-docker
command: ""
- volumes:
- - /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
pre_build_image: true