]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Set all created users' shells to /bin/bash 42/head
authorZack Cerza <zack@redhat.com>
Mon, 1 Jun 2015 16:51:05 +0000 (10:51 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 1 Jun 2015 16:51:05 +0000 (10:51 -0600)
They were ending up with sh, which is horrible

Signed-off-by: Zack Cerza <zack@redhat.com>
roles/ansible-managed/tasks/main.yml
roles/testnode/tasks/user.yml
roles/users/tasks/main.yml

index 3f8eb583f2a9b41d1ec2662207bd07c8aa098624..277397f6267d583202fc2d7352e77499eda82eda 100644 (file)
@@ -10,6 +10,7 @@
   user:
     name: "{{ ansible_user }}"
     group: sudo
+    shell: /bin/bash
     uid: "{{ ansible_user_uid_ }}"
     update_password: on_create
   register: user_created
index 61967dc5f43b84836e31cea7e151a384cfbdcd67..ae3f68511b701d2b9511e1f67ed21de75955618e 100644 (file)
@@ -17,6 +17,7 @@
     uid: 1000
     group: sudo
     groups: "{{ teuthology_user }}"
+    shell: /bin/bash
     state: present
 
 - name: Add a user for xfstests to test user quotas.
index 6757c95f45626438a77e112e7b098d8bb8fa0750..d0ee68671ada81884d8f886c662eeb6122a4086b 100644 (file)
@@ -3,6 +3,7 @@
   user:
     name: "{{ item.name }}"
     group: sudo
+    shell: /bin/bash
     state: present
   with_items: managed_admin_users
   tags:
@@ -11,6 +12,7 @@
 - name: Create all users without sudo access.
   user:
     name: "{{ item.name }}"
+    shell: /bin/bash
     state: present
   with_items: managed_users
   tags: