Sha256: a5510458dddb6df5516381da7f8e6ff1dd719aa8e10977eba7de7519b0d02c6a

Contents?: true

Size: 689 Bytes

Versions: 4

Compression:

Stored size: 689 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) }}
                  manage_dir=yes
                  state=present
                  user=deployer
  with_fileglob:
    - "./dev_keys/*"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
taperole-1.5.4 roles/deployer_user/tasks/keys.yml
taperole-1.5.3 roles/deployer_user/tasks/keys.yml
taperole-1.5.2 roles/deployer_user/tasks/keys.yml
taperole-1.5.1 roles/deployer_user/tasks/keys.yml