devstack/roles/setup-tempest-user/tasks/main.yaml
Monty Taylor 36ddea31a2 Add devstack base job for zuul v3
This should be managed in the devstack repo, since it's a base job to
run devstack.

Change-Id: Iffe54fbccbccd68db08f79a1b51dd7f76dbff408
Depends-On: Ie2119f24360d56690ffd772b95a9ea6b98dd4a39
2017-10-15 07:17:18 -07:00

21 lines
342 B
YAML

- name: Create tempest group
group:
name: tempest
become: yes
- name: Create tempest user
user:
name: tempest
shell: /bin/bash
group: tempest
become: yes
- name: Copy 51_tempest_sh to /etc/sudoers.d
copy:
src: 51_tempest_sh
dest: /etc/sudoers.d
owner: root
group: root
mode: 0440
become: yes