create a new environment configuration:
$ footloose config create --replicas 1
deploy container images:
$ footloose create
INFO[0000] Pulling image: quay.io/footloose/centos7 ...
INFO[0007] Creating machine: cluster-node0 ...
test the ansible setup:
$ ansible -m ping all
cluster-node0 | SUCCESS => {
"changed": false,
"ping": "pong"
}
run the provisioning playbook:
$ ansible-playbook example1.yml
PLAY [Install nginx] ****************************
TASK [Gathering Facts] **************************
ok: [cluster-node0]
TASK [Add epel-release repo] ********************
changed: [cluster-node0]
TASK [Install nginx] ****************************
changed: [cluster-node0]
TASK [Insert Index Page] ************************
changed: [cluster-node0]
TASK [Start NGiNX] ******************************
changed: [cluster-node0]
PLAY RECAP **************************************
cluster-node0 : ok=5 changed=0 unreachable=0 failed=0