Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.01 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.01 KB

hxl-standard-tools-stack/ansible

The hxl-standard-tools-stack/ansible provides a way to prepare the host that will run the docker containers using Ansible.

Usage

Install dependencies

You need a host with Ansible installed, See Installing Ansible.

ansible-galaxy install -r requirements.yml

Customize the hosts

Please copy the contents of inventories/etica.dev folder and customize to your needs (in special, change the target host). All examples use the hxl.etica.dev as a testing server.

Running the playbooks

# This will run all playbooks
ansible-playbook -i inventories/etica.dev playbook.yml

# You can run just one part of the playbooks at time. Read the contents of the
# files at playbooks/ folder to more details. For example, this command will
# just do Ansible ping (to test if you are able to connect on the target host)

ansible-playbook -i inventories/etica.dev playbooks/ping-all.yml