diff --git a/.ansible-lint b/.ansible-lint new file mode 100644 index 0000000000000000000000000000000000000000..3ed5d11d21e3020c78acd75bd5c7e0a2230af0a2 --- /dev/null +++ b/.ansible-lint @@ -0,0 +1,7 @@ +--- + +warn_list: + - experimental # all rules tagged as experimental + - fqcn-builtins # Use FQCN for builtin actions. + - risky-file-permissions # File permissions unset or incorrect. + - git-latest diff --git a/molecule/default/Dockerfile.j2 b/molecule/default/Dockerfile.j2 new file mode 100644 index 0000000000000000000000000000000000000000..a0f27e664f444dd3205365ad3e10cb310b3e9e7f --- /dev/null +++ b/molecule/default/Dockerfile.j2 @@ -0,0 +1,28 @@ +{% if item.registry is defined %} +FROM {{ item.registry.url }}/{{ item.image }} +{% else %} +FROM {{ item.image }} +{% endif %} + +FROM archlinux/archlinux:base-devel + +ENV container docker + +RUN pacman -Syu --noconfirm +RUN pacman -S systemd dbus python emacs-nox bash-completion --noconfirm +RUN pacman -Scc --noconfirm + +RUN rm \ + /usr/lib/systemd/system/sysinit.target.wants/systemd-firstboot.service \ + /usr/lib/systemd/system/systemd-firstboot.service + +# RUN systemctl set-default multi-user.target +RUN systemctl set-default sysinit.target + +VOLUME [ "/sys/fs/cgroup" ] +#, "/run", "/run/lock", "/tmp" ] + +STOPSIGNAL SIGRTMIN+3 + +# CMD ["/usr/lib/systemd/systemd", "--log-level=info", "--unit=multi-user.target"] +CMD ["/sbin/init"]