Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 680 Bytes

File metadata and controls

31 lines (22 loc) · 680 Bytes

docker-ansible-control-node

A docker container for running ansible and the HypercoreAnsibleCollection.

Setup

Install Docker Desktop.

Setup local environment variables to set username, password, and host (target node in a Hypercore cluster).

export SC_USERNAME=admin
export SC_PASSWORD=<PASSWORD>
export SC_HOST=https://scalecluster.example.com

Run build.sh to build the container.

./build.sh

Start the container, and drop into the shell:

./run.sh

Run and example ansible playbook!

ansible-playbook examples/iso_info.yml