8000 GitHub - netwninja/ansible
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

netwninja/ansible

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible

This project contains the playbooks and roles used for system configurations and deployments.

Ansible is an automation tool commonly used for cloud provisioning, configuration management, application deployment. It is agentless and simple to install and use.

Usage

Playbooks can be played from the command-line interface or from an orchestration or operations management platform like Jenkins, Rundeck, or Ansible UI (AWX). For example,

Using CLI

$ ansible-playbook -i runner1.lab.mpt.local, -u ubuntu --private-key=~/.ssh/id_rsa_ubuntu deploy-assets-manager.yml

Calling in a Jenkins Pipeline

stage('Deployment') {
    ...
    ansiblePlaybook credentialsId: "${SSH_KEY}", 
        inventory: "${WORKSPACE}/playbooks/inventories/${params.ENV}/hosts", 
        playbook: "${WORKSPACE}/playbooks/deploy-assets-manager.yml",
        extras: "-e app_version=${params.VERSION}"
    ...
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 68.6%
  • Shell 26.0%
  • CSS 5.4%
0