Refs #8025 Resolv task moved to debian-base role - Review & refactor tasks from debian-base role defuser, install and locate
This commit is contained in:
parent
d6c51141bf
commit
606548db7e
|
@ -18,4 +18,3 @@
|
|||
service:
|
||||
name: nagios-nrpe-server
|
||||
state: restarted
|
||||
|
||||
|
|
|
@ -8,3 +8,9 @@
|
|||
- bash-completion
|
||||
- screen
|
||||
- aptitude
|
||||
- vim
|
||||
- aptitude
|
||||
- tree
|
||||
- btop
|
||||
- ncdu
|
||||
- debconf-utils
|
||||
|
|
|
@ -1,15 +1,6 @@
|
|||
- name: Enable locale languages
|
||||
lineinfile:
|
||||
dest: /etc/locale.gen
|
||||
regexp: "{{item.regexp}}"
|
||||
line: "{{item.line}}"
|
||||
state: present
|
||||
with_items:
|
||||
- regexp: "^# es_ES.UTF-8 UTF-8"
|
||||
line: "es_ES.UTF-8 UTF-8"
|
||||
- regexp: "^# en_US.UTF-8 UTF-8"
|
||||
line: "en_US.UTF-8 UTF-8"
|
||||
- name: Generate locale
|
||||
command: locale-gen
|
||||
- name: Update locale
|
||||
command: update-locale LANG=en_US.UTF-8
|
||||
- name: Set to generate locales
|
||||
debconf:
|
||||
name: locales
|
||||
question: locales/locales_to_be_generated
|
||||
value: en_US.UTF-8 UTF-8, es_ES.UTF-8 UTF-8
|
||||
vtype: multiselect
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
- import_tasks: resolv.yml
|
||||
tags: resolv
|
||||
- import_tasks: defuser.yml
|
||||
tags: defuser
|
||||
- import_tasks: install.yml
|
||||
|
|
|
@ -4,5 +4,3 @@
|
|||
tags: sysctl
|
||||
- import_tasks: apparmor.yml
|
||||
tags: apparmor
|
||||
- import_tasks: resolv.yml
|
||||
tags: resolv
|
||||
|
|
Loading…
Reference in New Issue