Sha256: 42208d68770907c4d9f360014c4254e835f9e41fa394404e25c7494659650a3e

Contents?: true

Size: 624 Bytes

Versions: 53

Compression:

Stored size: 624 Bytes

Contents

# Install your own key in the selected user home
# By default from local root to in root

- local_private_key: /root/.ssh/id_rsa
- local_public_key: $$local_private_key.pub
- in_user: root
- in_group: root
- in_home: /root
- in_private_key: $$in_home/.ssh/id_rsa
- in_public_key: $$in_private_key.pub

- copy_my_key:
  - local2in:
    - $$local_private_key
    - $$in_private_key
  - local2in:
    - $$local_public_key
    - $$in_public_key


- fix_permissions:
  - exec_in: |
      chown -R $$in_user:$$in_group $$in_home/.ssh
      chmod 755 $$in_home/.ssh
      chmod 600 $$in_private_key
      chmod 644 $$in_public_key

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
kameleon-builder-2.10.11 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.10.10 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.10.9 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.10.8 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.10.7 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.10.6 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.10.5 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.10.4 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.10.3 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.10.2 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.10.1 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.9.4 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.9.2 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.9.1 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.9.0 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.8.3 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.8.2 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.8.1 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.7.8 contrib/steps/setup/install_my_ssh_key.yaml
kameleon-builder-2.7.7 contrib/steps/setup/install_my_ssh_key.yaml