#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
# Ansible | |
## Understanding Ansible | |
Ansible is a powerful, simple, and easy to use tool for managing computers. It is most often used to update programs and configuration on dozens of servers at once, but the abstractions are the same whether you're managing one computer or a hundred. | |
Ansible can even do "fun" things like change the desktop photo or backup personal files to the cloud. It can take a while to learn how to use Ansible because it has an extensive terminology, but once you understand the why and the how of Ansible, its power is readily apparent. | |
Ansible's power comes from its simplicity. Under the hood, Ansible is just a domain specific language (DSL) for a task runner for a secure shell (ssh). You write ansible yaml (.yml) files which describe the tasks which must run to turn plain old / virtualized / cloud computers into production ready server-beasts. These tasks, in turn, have easy to understand names like "copy", "file", "command", "ping", or "lineinfile". Each of these turns into shell comma |
Command to retrieve password after docker installation : | |
The password was saved to /var/jenkins_home/secrets/initialAdminPassword. | |
You can use | |
CMD: docker exec <container> cat /var/jenkins_home/secrets/initialAdminPassword | |
where <container> is your container id or name. | |
A.EC2 Instance SETUP: | |
Launch EC2 Instances | |
--IAM Role | |
ecsInstanceRole | |
--- Security group | |
Allow SSH,HTTP and Lb | |
-- User data | |
. /etc/ecs/ecs.config | |
-- Key pair | |
SSH into instance |
https://bitnami.com/stack/sonarqube/cloud/aws | |
Install SonarQube plug-in on Jenkins build server no matter in local(or)AWS, | |
Application team needs to have access to SonarQube application dashboard. | |
From CI/CD perspective, we installed and configured Sonar plug-in in Jenkins build server by passing below parameters on properties file to run code analysis for every build, | |