bootstrap

Build Status

abdennnour.bootstrap

Bootstrap Passwordless SSH User This is useful for the communication between the control node and the target host(s)

ansible-galaxy install abdennour.bootstrap

Requirements

The below requirements are needed on the host that executes this role:

  • ssh-keygen

Role Variables

Variable Description Default / Choices
bootstrap_username name of the new user (string) ansible
bootstrap_keyair_path path of SSH private keyp (string) /tmp/{{ bootstrap_username }}_id_rsa
bootstrap_keyair_type algorithm used to generate the SSH private key (string) rsa
bootstrap_keyair_size number of bits in the private key to create (int) 4096
bootstrap_backup.type Type of Backing up the private key of the new user (string) debug

Dependencies

ssh-keygen

Example Playbook

This is how you can use it:

- hosts: all
  roles:
     - role: abdennour.bootstrap
       bootstrap_username: ansible
      

License

BSD

About

Bootstrap Passwordless SSH User

Install
ansible-galaxy install abdennour/ansible-role-bootstrap
GitHub repository
License
Unknown
Downloads
41
Owner
Former full stack developer, switched to the dark-side of DevOps!