aboutsummaryrefslogtreecommitdiff
path: root/setup_containers.yml
blob: 4738f1e52cec306d1461d9f1c71435d17f99dfb8 (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,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