18 lines
422 B
YAML
18 lines
422 B
YAML
- name: load distribution-specific variables
|
|
include_vars: '{{ item }}'
|
|
with_first_found:
|
|
- '{{ ansible_distribution }}.yml'
|
|
- '{{ ansible_os_family }}.yml'
|
|
- defaults.yml
|
|
|
|
- name: ensure nsswitch is configured
|
|
template:
|
|
src={{ item }}
|
|
dest=/etc/nsswitch.conf
|
|
mode=644
|
|
owner=root
|
|
group=root
|
|
with_first_found:
|
|
- '{{ ansible_distribution }}.nsswitch.conf.j2'
|
|
- default.nsswitch.conf.j2
|