auxiliary infrastructure [PXE, netbox, ubnt controller]. probably on a pi or something
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
347 B

6 years ago
6 years ago
6 years ago
  1. - name: LOCALE | configure locales
  2. lineinfile:
  3. path: /etc/locale.gen
  4. regexp: '#\s*({{item | regex_escape()}}[\s\w]*)'
  5. line: '\1'
  6. backrefs: yes
  7. state: present
  8. with_items: "{{locales}}"
  9. - name: LOCALE | generate locales
  10. shell: locale-gen
  11. - name: LOCALE | set default locale
  12. shell: update-locale LANG={{default_locale}}