Skip to content

Commit

Permalink
Merge pull request #111 from ceph/wip-12670
Browse files Browse the repository at this point in the history
testnode: make teuthology_user passwordless

Reviewed-by: Dan Mick <dmick@redhat.com>
  • Loading branch information
dmick committed Aug 18, 2015
2 parents eab90f6 + 95f55ea commit 1f748db
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/testnode/tasks/user.yml
Expand Up @@ -22,6 +22,13 @@
# If we're currently running as teuthology_user, we won't be able to modify
# the account
when: teuthology_user != ansible_ssh_user
register: teuthology_user_existence

# If the teuthology_user was just created, delete its password
- name: Delete the teuthology users password.
command: "passwd -d {{ teuthology_user }}"
when: teuthology_user_existence is defined and
teuthology_user_existence|changed

- name: Add a user for xfstests to test user quotas.
user:
Expand Down

0 comments on commit 1f748db

Please sign in to comment.