Prepare your playground
In order to configure this environment, exec the below command.
Ansible version is below:
ansible.cfg is below:
Inventory file is below:
This playground has three centos7 clients that is launched as docker container with privileges.
You can access port 80 for each nodes via buttons "node-1,2,3" from the top of this console.
There are some related commands.
ansible all --list-hosts
ansible web -m ping
ansible node-1 -m shell -a 'hostname'
You can access to each node via 'node-1,2,3' tab on the top. Your access is redirected the below:
node-1 tab -> Host:8081 -> node-1:80 node-2 tab -> Host:8082 -> node-2:80 node-3 tab -> Host:8083 -> node-3:80