2015-09-11 23:12:14 +02:00
|
|
|
---
|
|
|
|
- name: Verifico la presenza del gruppo Domain Users
|
|
|
|
shell: /sbin/e-smith/db accounts show domusers
|
|
|
|
register: check_domusers
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-09-11 23:12:14 +02:00
|
|
|
ignore_errors: true
|
|
|
|
|
|
|
|
- name: Creazione gruppo Domain Users
|
|
|
|
shell: /sbin/e-smith/db accounts set domusers group Description "Domain Users" Members admin Removable no
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-09-11 23:12:14 +02:00
|
|
|
when: check_domusers|failed
|
|
|
|
|
|
|
|
- name: Configurazione nuovo gruppo Domain Users
|
|
|
|
shell: /sbin/e-smith/signal-event group-create domusers
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-09-11 23:12:14 +02:00
|
|
|
when: check_domusers|failed
|
|
|
|
|
|
|
|
- name: Verifico la presenza del gruppo Domain Operators
|
|
|
|
shell: /sbin/e-smith/db accounts show domopers
|
|
|
|
register: check_domopers
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-09-11 23:12:14 +02:00
|
|
|
ignore_errors: true
|
|
|
|
|
|
|
|
- name: Creazione gruppo Domain Operators
|
|
|
|
shell: /sbin/e-smith/db accounts set domopers group Description "Domain Operators" Removable no
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-09-11 23:12:14 +02:00
|
|
|
when: check_domopers|failed
|
|
|
|
|
|
|
|
- name: Configurazione nuovo gruppo Domain Operators
|
|
|
|
shell: /sbin/e-smith/signal-event group-create domopers
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-09-11 23:12:14 +02:00
|
|
|
when: check_domopers|failed
|
|
|
|
|
|
|
|
- name: Verifico la presenza del gruppo Docenti
|
|
|
|
shell: /sbin/e-smith/db accounts show docenti
|
|
|
|
register: check_docenti
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-09-11 23:12:14 +02:00
|
|
|
ignore_errors: true
|
|
|
|
|
|
|
|
- name: Creazione gruppo Docenti
|
|
|
|
shell: /sbin/e-smith/db accounts set docenti group Description "Docenti" Removable no
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-09-11 23:12:14 +02:00
|
|
|
when: check_docenti|failed
|
|
|
|
|
|
|
|
- name: Configurazione nuovo gruppo Docenti
|
|
|
|
shell: /sbin/e-smith/signal-event group-create docenti
|
2016-01-12 22:03:15 +01:00
|
|
|
become: yes
|
2015-09-11 23:12:14 +02:00
|
|
|
when: check_docenti|failed
|
|
|
|
|