Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shakahl/ansible-runner-docker
Windows runtime environment for Ansible with seamless integration based on Docker.
https://github.com/shakahl/ansible-runner-docker
ansible ansible-playbook bash cli compatibility compatibility-layer development-environment devops-tools docker hyper-v powershell provisioning python shell task-automation task-runner windows
Last synced: 3 months ago
JSON representation
Windows runtime environment for Ansible with seamless integration based on Docker.
- Host: GitHub
- URL: https://github.com/shakahl/ansible-runner-docker
- Owner: shakahl
- License: mit
- Created: 2018-08-22T00:13:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:56:29.000Z (11 months ago)
- Last Synced: 2024-06-11T13:44:21.632Z (5 months ago)
- Topics: ansible, ansible-playbook, bash, cli, compatibility, compatibility-layer, development-environment, devops-tools, docker, hyper-v, powershell, provisioning, python, shell, task-automation, task-runner, windows
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - shakahl/ansible-runner-docker - Windows runtime environment for Ansible with seamless integration based on Docker. (Shell)
README
ansible-runner-docker
=============================[![Docker Stars](https://img.shields.io/docker/stars/shakahl/ansible-runner-docker.svg)](https://hub.docker.com/r/shakahl/ansible-runner-docker/)
[![Docker Pulls](https://img.shields.io/docker/pulls/shakahl/ansible-runner-docker.svg)](https://hub.docker.com/r/shakahl/ansible-runner-docker/)
[![Docker Automated build](https://img.shields.io/docker/automated/shakahl/ansible-runner-docker.svg)](https://hub.docker.com/r/shakahl/ansible-runner-docker/builds/)
[![Build Status](https://travis-ci.org/shakahl/ansible-runner-docker.svg?branch=master)](https://travis-ci.org/shakahl/ansible-runner-docker)## Requirements
* Installed **Docker for Windows**
## Installation
### On Windows
**Command line**
```batch
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/shakahl/ansible-runner-docker/master/install.ps1'))" && SET "PATH=%PATH%;%APPDATA%\ansible-runner\ansible-runner.cmd"
```**PowerShell**
```ps
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/shakahl/ansible-runner-docker/master/install.ps1'))
```### On Linux
curl method:
```bash
#!/bin/bash
curl -sL https://raw.githubusercontent.com/shakahl/ansible-runner-docker/master/install.sh | sudo bash -
```wget method:
```bash
#!/bin/bash
wget -O - https://raw.githubusercontent.com/shakahl/ansible-runner-docker/master/install.sh | sudo bash
```## Configuration
### Playbook path
Default playbook path is `/playbook`
You can override the playbook path via environment variable `PLAYBOOK_PATH`.
### Ansible configuration
The installer creates `.ansible` directory under the HOME. It places default configuration if not exits.
## Usage
### On Windows
```bash
ansible-runner.cmd
``````bash
ansible-runner.cmd -i all playbook/playbook.yml
```### On Linux
```bash
ansible-runner
``````bash
ansible-runner -i all playbook/playbook.yml
```## Resources
* https://alpinelinux.org/
* http://ansible.com