Confirming the Required Directory Structure
Before proceeding, change to the light-app directory. It is important to be in this directory when running the ansible-playbook in the next section. Ansible depends on some files and directories to be in certain places.
$ cd ~/light-app
Run ls
and make sure you see the following files and folders.
ansible
ansible.cfg
playbooks
plugins
roles
Additionally confirm the structure of your ansible directory to be similar to this:
$ tree ansible
ansible
└── inventories
└── cluster_example
├── group_vars
│ └── all.yml
├── host_vars
│ ├── client_0.yml
│ ├── server00.yml
│ ├── server01.yml
│ └── server02.yml
└── hosts
Was this page helpful?