15 lines
381 B
YAML
15 lines
381 B
YAML
---
|
|
- name: Verifica di NethServer
|
|
shell: /sbin/e-smith/config getprop sysconfig ProductName
|
|
register: sysconfig_productname
|
|
changed_when: "'NethServer' in sysconfig_productname.stdout"
|
|
ignore_errors: yes
|
|
|
|
- include: configure-networks.yml
|
|
when: sysconfig_productname|changed
|
|
|
|
- include: selinux-binding.yml
|
|
when: ansible_os_family == "RedHat"
|
|
|
|
- include: mgmtuser.yml
|