Ansible how to reference only a handler from a role working on Ansible Playbook


0 votes
asked Feb 17, 2016 by correct (1,240 points)
I'm using ansible to provision and deploy to machine.

4 Answers

0 votes
answered May 6, 2016 by karim_Ottum (630 points)
 
Best answer

We will basically create a directory for each role that we will create.
+2 votes
answered Mar 13, 2016 by Ybb_and (790 points)

We can add this file path to the /etc/ansible/ansible. In my Vagrant server, they are located within /vagrant/ansible/roles.
See An Ansible Tutorial - Servers for Hackers for details on this
commented Mar 13, 2016 by N3512 (320 points)
However, there are many more tools provided by Ansible to explore
commented Mar 14, 2016 by n1152Twiggs (630 points) 1 flag
What is an Ansible Role
commented Mar 15, 2016 by dooner (440 points)
Really just preference
commented Mar 15, 2016 by Mazzoni_B (660 points)
Replace name with your field name
0 votes
answered May 6, 2016 by Hoeller (1,130 points)
Maybe this will help
Take a look at this fiddle https://docs.ansible.com/
commented May 6, 2016 by PheBoero (950 points)
The perfect solution I got here
0 votes
answered May 6, 2016 by Esannason65 (140 points)

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...