How can one generate encrypted passwords for the user module?
Answer Posted / Rajeev Shankhdhar
To create a handler with multiple tasks, define the tasks that should be executed when the handler is called as a list in the `tasks` section of the handler definition. Here's an example:nn- name: My Handlern handlers:n my_handler:n tasks:n - name: Task 1n command: task1_commandn - name: Task 2n command: task2_command
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Give a comparison between ansible and puppet.
Can you copy files recursively onto a target host? If yes, how?
How do I keep secret data in my playbook?
How can you handle different machines needing different user accounts or ports to log in with?
How does ansible work?
What are ansible server requirements?
What is the difference between a variable name and an environment variable?
How to generate crypto passwords for the user module?
How do I access a variable of the first host in a group?
What is ansible galaxy?
Have you worked with ansible before? Please share your experience.
How can you connect other devices within ansible?
How to access a variable of the first host in a group?
Write an ansible playbook to automate the starting of ec2 instance.
How to create encrypted files using ansible?