Ansible Galaxy roles install in to a specific directory?

Yes, you would copy them according to a sample project structure: site.yml webservers.yml fooservers.yml kubernetes.yaml roles/ common/ files/ templates/ tasks/ handlers/ vars/ meta/ webservers/ files/ templates/ tasks/ handlers/ vars/ meta/ kubernetes/ files/ templates/ tasks/ handlers/ vars/ meta/ or you can just run ansible-galaxy with the -p ROLES_PATH or –roles-path=ROLES_PATH option to install it under /your/project/root … Read more

Ansible Playbooks vs Roles

Playbook vs Role vs [databases] and similar entries in /etc/ansible/hosts [databases] is a single name for a group of hosts. It allows you to reference multiple hosts by a single name. Role is a set of tasks and additional files to configure host to serve for a certain role. Playbook is a mapping between hosts … Read more

How to automatically install Ansible Galaxy roles?

You should use a requirements.yml file for this use-case. Describe the roles you require, using any of a variety of install methods: # Install a role from the Ansible Galaxy – src: dfarrell07.opendaylight # Install a role from GitHub – name: opendaylight src: https://github.com/dfarrell07/ansible-opendaylight # Install a role from a specific git branch – name: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)