Skip to content

Ansible playbook for sonar deployment over 2 instances(DB/Server)

Notifications You must be signed in to change notification settings

RedHatQE/ansible-sonar-deployment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install required roles by:

   ansible-galaxy install -r ./roles/requirements.yml -p roles

Edit the inventory file with your "ui" and "db" hosts.

Deploy your env by running:

   ansible-playbook -i inventory playbook.yml

For Ansible-Tower

  • Inventory

    • Create inventory of 2 hosts. The name of the hosts would be "db" and "ui".
    • Include the next extra_vars for every host:
    • ansible_host: {Enter your host here}
    • ansible_ssh_user: root
  • Project

    • Create project for sonar and connect it to git repo
  • Job_Template

    • Create one under sonar project you have been created.
    • Choose playbook.yml file from sonar project.
    • choose inventory with the 2 hosts.

About

Ansible playbook for sonar deployment over 2 instances(DB/Server)

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published