kevingstewart / ansible-install

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick Ansible Install and Staging Scripts

Requires Ubuntu and Bash (18.04+)

Install Ansible

apt update && apt install -y curl
curl -fsSL https://raw.githubusercontent.com/kevingstewart/ansible-install/main/install.sh -o ansible-install.sh && bash ansible-install.sh

Stage the Ansible folders

<move to working directory>

curl -fsSL https://raw.githubusercontent.com/kevingstewart/ansible-install/main/stage.sh -o ansible-stage.sh && bash ansible-stage.sh

To use with a Docker Ubuntu instance

docker run --name ansible-dev -it -v $(pwd)/code:/code ubuntu:22.04

apt update && apt install -y curl
curl -fsSL https://raw.githubusercontent.com/kevingstewart/ansible-install/main/install.sh -o ansible-install.sh && bash ansible-install.sh

<move to working directory>
curl -fsSL https://raw.githubusercontent.com/kevingstewart/ansible-install/main/stage.sh -o ansible-stage.sh && bash ansible-stage.sh

About


Languages

Language:Shell 100.0%