infra/setup_containers.yml
2019-04-03 23:53:04 +09:00

17 lines
402 B
YAML

---
- name: Install host requisites
dnf:
name: btrfs-progs,arch-install-scripts,systemd-container,libselinux-python
state: latest
- name: Create individual containers
include_tasks: bootstrap_arch_container.yml
with_items: "{{ containers }}"
loop_control:
loop_var: container
- name: Cleanup bootstrap image
file:
path: /tmp/arch-bootstrap.tar.xz
state: absent