Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiangolo/ansible-babun-bootstrap
Simple shell script to setup Ansible within Babun
https://github.com/tiangolo/ansible-babun-bootstrap
ansible babun cygwin windows
Last synced: about 1 month ago
JSON representation
Simple shell script to setup Ansible within Babun
- Host: GitHub
- URL: https://github.com/tiangolo/ansible-babun-bootstrap
- Owner: tiangolo
- Archived: true
- Fork: true (jonathanhle/ansible-babun-bootstrap)
- Created: 2015-07-14T11:17:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-09-18T19:55:56.000Z (about 3 years ago)
- Last Synced: 2024-09-25T01:34:59.450Z (about 2 months ago)
- Topics: ansible, babun, cygwin, windows
- Language: Shell
- Size: 16.6 KB
- Stars: 61
- Watchers: 8
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - tiangolo/ansible-babun-bootstrap - Simple shell script to setup Ansible within Babun (Shell)
README
# ansible-babun-bootstrap
## 🚨 DEPRECATED 🚨
I'm no longer working on Windows as my main system (for several years I've been using mainly Ubuntu Linux). And now Windows 10 has WSL (Windows Subsystem for Linux).
If you're a developer, you would have a much better time using WSL than Babun, and as it's Linux, it will be natively compatible with Ansible. So, you no longer need this script.
## Description
Simple shell script to setup [Ansible](http://www.ansible.com/) within [Babun](http://babun.github.io/), to allow using Ansible from Windows without needing a virtual machine.
## Installation
* Install [Babun](http://babun.github.io/) and start a terminal.
* Run the following command:```
curl -s https://raw.githubusercontent.com/tiangolo/ansible-babun-bootstrap/master/install.sh | source /dev/stdin
```Note: the previous command will get a script from this repository and run it immediately, performing all the needed
steps to install everything (the same steps described in "Manual installation").
If you don't want to run it, you can do a manual installation.-----
## Manual installation
* Go to your home directory:
```
cd
```* Clone this repository:
```
git clone https://github.com/tiangolo/ansible-babun-bootstrap
```* Enter the repository directory:
```
cd ansible-babun-bootstrap
```* Run the bootstrap script:
```
source ./ansible-babun-bootstrap.sh
```All the prerequisites will be installed and Ansible will run from: $HOME/ansible/.
A file /etc/ansible/hosts will be created with a default (127.0.0.1) host.
A file ~/.ansible.cfg will be created with default configurations, including setting paramiko as the transport to allow
using passwords.A bootstrap script will be added to .zshrc in $HOME, every time you start babun it will update Ansible and setup the
environment. If you don't want to update Ansible every time (it takes some time), you can edit ~/.zshrc and set
BOOTSTRAP_ANSIBLE_UPDATE=0.