Sha256: c11f04baa1130174352f487e998b792e840ca73998afeb0e8bc860cdd4c38c25

Contents?: true

Size: 672 Bytes

Versions: 2

Compression:

Stored size: 672 Bytes

Contents

- name: Create deployer user ssh dir
  file: path=/home/{{ deployer_user.name }}/.ssh
    state=directory
    owner={{ deployer_user.name }}
    mode=744


- name: Copy of root ssh keys
  command: "cp /root/.ssh/authorized_keys /home/{{ deployer_user.name }}/.ssh/authorized_keys"

- name: Ensure deployer owns the authorized keys file
  file: path="/home/{{ deployer_user.name }}/.ssh/authorized_keys"
    state=file
    owner={{ deployer_user.name }}
    mode=600


- name: Ensure devs keys are present
  authorized_key: key={{ lookup('file', item) }}
                  user={{ deployer_user.name }}
                  state=present
  with_fileglob:
    - "./dev_keys/*"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
taperole-1.6.0 roles/deployer_user/tasks/keys.yml
taperole-1.5.5 roles/deployer_user/tasks/keys.yml