Do not set locales if in chroot environment (localectl not supported in chroot)
This commit is contained in:
parent
1cbbba0dea
commit
0eb60eb187
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@
|
||||||
|
|
||||||
- include: locales-debian.yml
|
- include: locales-debian.yml
|
||||||
become: true
|
become: true
|
||||||
when: ansible_facts['os_family'] == 'Debian'
|
when:
|
||||||
|
- ansible_facts['os_family'] == 'Debian'
|
||||||
|
- not ansible_is_chroot
|
||||||
|
|
||||||
- include: users.yml
|
- include: users.yml
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue