Can you write a simple playbook to install nginx on a host machine?
Answer / Subhiksha Jaiswal
"[
{"name": "nginx",n "tasks": [n {"apt": {"name": "nginx", update_cache: true, present: true}},n {"file": {"path": "/etc/nginx/sites-available/default", content: "...", state: "touch"}},n {"service": {"name": "nginx", enabled: true, state: "started"}}n ]n }"]
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a playbook to create a backup of a file in the remote servers before copy.
List some advantages of using ansible.
How does ansible work?
Is it possible to build our modules in ansible?
What is ansible galaxy?
Talk about ansible architecture.
How do I access a variable of the first host in a group?
why don’t you ship in x format?
What are the advantages of ansible?
What is ansible role and how are they different from the playbook?
What is the use of ansible?
What is configuration management and how does it help an organization?