Professional Documents
Culture Documents
What is a resource?
Answer- A resource represents a piece of infrastructure and its desired state, such as a package
that should be installed, a service that should be running, or a file that should be generated.
Answer- The run-list lets you specify which recipes to run, and the order in which to run them.
The run-list is important for when you have multiple cookbooks, and the order in which they run
matters.
You need:
Ansible:
What is difference between shell and command module in Ansible?
Ans: In the command module we cannot use the output redirectors and pipe operators
How do you download a software from internet through Ansible?
Ans: /etc/ansible/ansible.conf
Git:
How do you revert a commit that has already been pushed and made public?
ANS: - git revert HEAD~2..HEAD
ANS: -
git fetch only downloads new data from a remote repository, but it doesn’t integrate any of the
downloaded data into your working files. All it does is provide a view of this data.
git pull downloads as well as merges the data from a remote repository into your local
working files. It may also lead to merge conflicts if your local changes are not yet committed.
Use the git stash command to hide your local changes.
Jenkins:
Ans: -
In software development, multiple developers or teams work on different segments of same web
application so you have to perform integration test by integrating all modules. In order to do that
an automated process for each piece of code is performed on daily bases so that all your codes
get tested. This process is known as continuous integration.
Explain how you can deploy a custom build of a core plugin?