https://github.com/westonplatter/gdi-boulder-servers-intro-ansible
https://github.com/westonplatter/gdi-boulder-servers-intro-ansible
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/westonplatter/gdi-boulder-servers-intro-ansible
- Owner: westonplatter
- Created: 2014-02-02T05:05:32.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-08T01:36:19.000Z (over 11 years ago)
- Last Synced: 2024-04-14T20:10:42.578Z (about 1 year ago)
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
GDI - Intro to Servers - Tools
==============================Requirements:
* __ansible__ - only supported on Mac and Unix systems
Mac
brew install ansible
Linux
sudo apt-get install ansible
* __sshpass__ - Unix package
Mac
brew install https://raw.github.com/eugeneoden/homebrew/eca9de1/Library/Formula/sshpass.rb
Linux
sudo apt-get install sshpass
* __vagrant__ - http://www.vagrantup.com/
* __VirtalBox__ - https://www.virtualbox.org/## "Playbooks" to run
1. `create_instructor_user` - creates instructor user and adds SSH keys to all machines
Example,
ansible-playbook --ask-pass -u root -i 168.192.0.1, create_instructor_user.yml
ansible-playbook --ask-pass -u root -i hosts/class create_instructor_user.yml
Results in:
username = instructor
password = gdi
For users whoese SSH keys were added the `authorized_keys` file,
ssh instructor@< ip_address >## License
Copyright (c) 2014 Girl Develop It, CC BY-NC 3.0.