2015-04-15 12:31:28 +00:00
|
|
|
---
|
2015-04-21 15:45:27 +00:00
|
|
|
- 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
|
2015-04-15 12:31:28 +00:00
|
|
|
|
2015-04-21 07:53:26 +00:00
|
|
|
- include: configure-networks.yml
|
2015-04-21 15:45:27 +00:00
|
|
|
when: sysconfig_productname|changed
|
2015-04-21 07:53:26 +00:00
|
|
|
|
2015-04-20 00:49:11 +00:00
|
|
|
- include: selinux-binding.yml
|
2015-04-21 21:40:26 +00:00
|
|
|
when: ansible_os_family == "RedHat"
|
2015-04-20 00:49:11 +00:00
|
|
|
|
2015-04-15 12:31:28 +00:00
|
|
|
- include: mgmtuser.yml
|