Commit a16f35e2 authored by Mattia Rizzolo's avatar Mattia Rizzolo

move the list of groups to a vars file

also make those groups system groups
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 1cd3feaf
...@@ -17,3 +17,10 @@ ssh_keys_mapreri: | ...@@ -17,3 +17,10 @@ ssh_keys_mapreri: |
ssh_keys_janvitus: | ssh_keys_janvitus: |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUzuSDyKJeIbGTGk6CeoxBZGGSJMr03O7TScBjzD45E98ejxknQoFqsGeoi6rSo8YuvSHRVO3rhCwpcnIjIkZM0BEAwPilUrxiuIXBMkuu5Rv/0CB8PsVP9kg9XtmJr2PaA0iQKg4ije0CEG5j/pom9QZsaWggCIp+SAoIFys7G1bSRmPLHghBWxpoKtd1pjhbwZJ+e/kAPIWaDZcILvTVqdUn8WpzbA0mqXWdSwXmf2fggx+u0Qj1PEJWJnmQgf3TAlnBfUHcYsjdFp2jnEzM+kFhXqXB17FijZn3Uz5R2VFsLUsX10BxV6frKOi536/KvXlbwhoEwIBtg2aHX7/F gianvito@ubuntubox ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUzuSDyKJeIbGTGk6CeoxBZGGSJMr03O7TScBjzD45E98ejxknQoFqsGeoi6rSo8YuvSHRVO3rhCwpcnIjIkZM0BEAwPilUrxiuIXBMkuu5Rv/0CB8PsVP9kg9XtmJr2PaA0iQKg4ije0CEG5j/pom9QZsaWggCIp+SAoIFys7G1bSRmPLHghBWxpoKtd1pjhbwZJ+e/kAPIWaDZcILvTVqdUn8WpzbA0mqXWdSwXmf2fggx+u0Qj1PEJWJnmQgf3TAlnBfUHcYsjdFp2jnEzM+kFhXqXB17FijZn3Uz5R2VFsLUsX10BxV6frKOi536/KvXlbwhoEwIBtg2aHX7/F gianvito@ubuntubox
handled_groups:
- name: allow-ssh
system: yes
- name: passwordless-sudo
system: yes
...@@ -2,12 +2,10 @@ ...@@ -2,12 +2,10 @@
- name: create groups - name: create groups
group: group:
name: "{{ item }}" name: "{{ item.name }}"
state: present state: present
system: "{{ item.system | default('no') }}"
with_items: with_items: "{{ handled_groups }}"
- allow-ssh
- passwordless-sudo
- name: create user manager - name: create user manager
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment