aboutsummaryrefslogtreecommitdiff
path: root/setup_containers.yml
blob: 8adb9da91d9999ac2640574424189c0f975612de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
- name: Install host requisites
  dnf:
      name: btrfs-progs,arch-install-scripts,systemd-container,python3-libselinux
      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