To communicate with configured clients, Ansible uses the command line that’s available using the Ansible commands. This command lets you automate configuration with the help of the ansible-playbook command.
Now, to build a base directory structure, you can take the help of a tool coupled with Ansible called ansible-galaxy.