server-config/roles/init/tasks/main.yml

17 lines
408 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
- include: ssh-keygen.yml