]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Don't attempt to add groups that don't exist 150/head
authorZack Cerza <zack@redhat.com>
Fri, 9 Oct 2015 16:47:13 +0000 (10:47 -0600)
committerZack Cerza <zack@redhat.com>
Fri, 9 Oct 2015 16:47:13 +0000 (10:47 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
roles/ansible-managed/tasks/main.yml
roles/users/tasks/main.yml

index 9a82c7b7d03f25777d7cc7fd77b922ef7b031c76..0482a7b0b6abb35a4977cf95dac7e9b2e54605f6 100644 (file)
@@ -9,7 +9,6 @@
 - name: Create the ansible user.
   user:
     name: "{{ ansible_user }}"
-    group: "{{ ansible_user }}"
     groups: sudo
     shell: /bin/bash
     uid: "{{ ansible_user_uid_ }}"
index f74a35ca883e5f99489e24bebdb58a8889bc8821..5e7e4a96cf04b2b1ad4f57b3a1f62f33b4526c4b 100644 (file)
@@ -22,7 +22,6 @@
 - name: Create all admin users with sudo access.
   user:
     name: "{{ item.name }}"
-    group: "{{ item.name }}"
     groups: sudo
     shell: /bin/bash
     state: present