Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedrocarmona/ansible-playbooks
sample install and first deploy with ansible
https://github.com/pedrocarmona/ansible-playbooks
Last synced: 4 days ago
JSON representation
sample install and first deploy with ansible
- Host: GitHub
- URL: https://github.com/pedrocarmona/ansible-playbooks
- Owner: pedrocarmona
- Created: 2015-11-29T10:45:14.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-29T11:52:57.000Z (almost 9 years ago)
- Last Synced: 2023-08-03T07:21:27.503Z (over 1 year ago)
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Ansible
# Create ansible virtualenv
In command line:
```bash
brew install pythoneasy_install pip
pip install virtualenv
pip install virtualenvwrapper
```Edit ~/.zshrc and add virtualenvwrapper to plugins:
```
plugins=(git rails ruby nmap tmux tmuxinator vagrant xcode zsh-completions virtualenvwrapper)
```Restart command line, and after that:
```
mkdir -p ~/Developer/ansiblecd ~/Developer/ansible
mkvirtualenv ansible -a $(pwd)
```Now everytime you run this command you automatically shift path to ~/Developer/ansible
```
workon ansible
```And
```
which python
```will point to /Users/youruser/.virtualenvs/ansible/bin/python
```
pip install ansible
```#Run instructions
to run these playbook, simply do:
```
ansible-playbook -i inventory install.yml
```