Sha256: 126d4b1db79579c53b1554fefa38934137cf9087f57cf0e495f84a915f927041

Contents?: true

Size: 507 Bytes

Versions: 1

Compression:

Stored size: 507 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 devs keys are present
  authorized_key: key={{ lookup('file', item) }}
                  manage_dir=yes
                  state=present
                  user=deployer
  with_fileglob:
    - "./dev_keys/*"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
taperole-1.5.0 roles/deployer_user/tasks/keys.yml