whitespaces and syntax

This commit is contained in:
Jérémy Lecour 2019-06-21 10:36:32 +02:00 committed by Jérémy Lecour
parent 8420791224
commit 1e28210834
1 changed files with 10 additions and 5 deletions

View File

@ -3,9 +3,9 @@
apt: apt:
name: '{{ item }}' name: '{{ item }}'
with_items: with_items:
- lxc - lxc
- debootstrap - debootstrap
- xz-utils - xz-utils
- name: Copy LXC default containers configuration - name: Copy LXC default containers configuration
template: template:
@ -21,8 +21,13 @@
- name: Add subuid and subgid ranges to root - name: Add subuid and subgid ranges to root
command: usermod -v 100000-199999 -w 100000-109999 root command: usermod -v 100000-199999 -w 100000-109999 root
when: lxc_unprivilegied_containers and root_subuids.rc when:
- lxc_unprivilegied_containers
- root_subuids.rc
- name: Create containers - name: Create containers
include: "create-container.yml name={{item.name}} release={{item.release}}" include: create-container.yml
vars:
name: "{{ item.name }}"
release: "{{item.release}}"
with_items: "{{lxc_containers}}" with_items: "{{lxc_containers}}"