Sha256: df0e5b056129655b18059af5e226b03c1a78e94668d62ec92447bbb17d5b4977

Contents?: true

Size: 716 Bytes

Versions: 7

Compression:

Stored size: 716 Bytes

Contents

- name: Create deployer groups
  group: name={{ item }} state=present
  with_items: deployer_user.groups

- name: Ensure deployer user is present
  user: name={{ deployer_user.name }} state=present append=yes shell=/bin/bash

- name: Ensure deployer user is in its groups
  user: name={{ deployer_user.name }} groups={{ item }} state=present append=yes shell=/bin/bash
  with_items: deployer_user.groups

# It's possible for the deployer's homedir to get created on accident by
# a deploy script or something getting run before this.  This just ensures
# the env is sane moving forward
- name: Ensure deployer user owns its own homedir
  file: path=/home/deployer state=directory owner=deployer

- include: keys.yml

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
taperole-1.6.0 roles/deployer_user/tasks/main.yml
taperole-1.5.5 roles/deployer_user/tasks/main.yml
taperole-1.5.4 roles/deployer_user/tasks/main.yml
taperole-1.5.3 roles/deployer_user/tasks/main.yml
taperole-1.5.2 roles/deployer_user/tasks/main.yml
taperole-1.5.1 roles/deployer_user/tasks/main.yml
taperole-1.5.0 roles/deployer_user/tasks/main.yml