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-appRun ls and make sure you see the following files and folders.
ansibleansible.cfgplaybookspluginsrolesAdditionally confirm the structure of your ansible directory to be similar to this:
$ tree ansibleansible└── inventories └── cluster_example ├── group_vars │ └── all.yml ├── host_vars │ ├── client_0.yml │ ├── server00.yml │ ├── server01.yml │ └── server02.yml └── hostsWas this page helpful?