https://github.com/ghostwords/ansible-bootstrap
"My First Five Minutes On A Server"
https://github.com/ghostwords/ansible-bootstrap
ansible
Last synced: 10 months ago
JSON representation
"My First Five Minutes On A Server"
- Host: GitHub
- URL: https://github.com/ghostwords/ansible-bootstrap
- Owner: ghostwords
- License: mit
- Created: 2015-10-21T20:49:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-05T23:56:06.000Z (over 10 years ago)
- Last Synced: 2025-03-06T12:27:29.457Z (over 1 year ago)
- Topics: ansible
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Bootstrap
Used with Ubuntu 14.04 on Digital Ocean. Uses git submodules; clone with `--recursive`.
1. Create a file called `hosts` in the checkout folder and populate it with server IP(s).
2. Configure variables in [group_vars/all](group_vars/all).
3. Run `ansible-playbook bootstrap.yaml` to create an admin user and reconfigure SSH on the hosts.
4. If you set `sshd_port` in step 2 to something other than 22, now is the time to update `remote_port` in [ansible.cfg](ansible.cfg) to match.
5. Run `ansible-playbook main.yaml --ask-become-pass` to finish setting up the hosts.