Aggiunta task per nsswitch.conf
This commit is contained in:
parent
3bb75bc3c9
commit
0a4776d91c
@ -2,12 +2,17 @@
|
|||||||
# Configurazioni per messa in dominio.
|
# Configurazioni per messa in dominio.
|
||||||
# Impostazioni grafiche da gestire in dominio
|
# Impostazioni grafiche da gestire in dominio
|
||||||
|
|
||||||
- include: gui-changes.yml
|
|
||||||
tags:
|
|
||||||
- domain
|
|
||||||
- gui
|
|
||||||
|
|
||||||
- include: ntp.yml
|
- include: ntp.yml
|
||||||
tags:
|
tags:
|
||||||
- domain
|
- domain
|
||||||
- ntp
|
- ntp
|
||||||
|
|
||||||
|
- include: nss.yml
|
||||||
|
tags:
|
||||||
|
- domain
|
||||||
|
- nss
|
||||||
|
|
||||||
|
- include: gui-changes.yml
|
||||||
|
tags:
|
||||||
|
- domain
|
||||||
|
- gui
|
||||||
|
3
roles/domain/tasks/nss.yml
Normal file
3
roles/domain/tasks/nss.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
- name: Configurazione nsswitch.conf
|
||||||
|
template: src=nsswitch.conf dest=/etc/nsswitch.conf backup=yes owner=root group=root mode=0644
|
11
roles/domain/templates/nsswitch.conf
Normal file
11
roles/domain/templates/nsswitch.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# {{ ansible_managed }}
|
||||||
|
passwd: compat winbind
|
||||||
|
group: compat winbind
|
||||||
|
shadow: compat winbind
|
||||||
|
hosts: files dns wins
|
||||||
|
networks: files
|
||||||
|
protocols: db files
|
||||||
|
services: db files
|
||||||
|
ethers: db files
|
||||||
|
rpc: db files
|
||||||
|
netgroup: nis
|
Loading…
x
Reference in New Issue
Block a user