mirror of
https://github.com/jamieahelmke/ansible-quickstart.git
synced 2026-01-02 14:42:11 +01:00
Initial commit
This commit is contained in:
27
README.md
Normal file
27
README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# ⚡️ Portable Ansible Environment
|
||||
|
||||
A self-contained Ansible workspace for MacOS, Linux and other posix compliant systems.
|
||||
|
||||
## Requirements
|
||||
|
||||
git, python3, pip3
|
||||
|
||||
## Setup
|
||||
|
||||
1. Clone the repository:
|
||||
```bash
|
||||
git clone https://github.com/jamieahelmke/portable-ansible
|
||||
cd portable-ansible
|
||||
```
|
||||
2. Build the environment:
|
||||
```bash
|
||||
python3 setup.py
|
||||
```
|
||||
3. Activate the environment:
|
||||
```bash
|
||||
source ./start_venv.sh
|
||||
```
|
||||
4. Run the example playbook:
|
||||
```bash
|
||||
ansible-playbook -i ansible/inventory/hosts.yml ansible/playbooks/example.yml
|
||||
```
|
||||
Reference in New Issue
Block a user