Add user to jumphost
Add user to jumphost¶
Jumphost users live in inventory file
- make an entry of user in inventory in the following format
login_name: billgates full_name: "Bill Gates | Microsoft loves linux" ssh_pub_keys: - "- - - - "
- Ensure all the lastest commits in playbook directory and inventory are pulled locally.
git pull inventory/ && git pull playbooks
- Use playbook baseline-playbook to envoke role role-baseline. we will limit
the run to just the ci ssh jumphost.
ansible-playbook playbooks/role-baseline.yml --limit ci-ssh-jumphosts
- Update remote with latest changes