Skip to content

harinderjits-git/ansible-db-tls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

**How to run ansible playbook **

In case you need to run the palybook using cli, using WSL

Install Ansible, sshpass and password store (used in some roles)

sudo apt-get install ansible sshpass  pass python3-pip -y
sudo pip install shyaml

clone repo to your wsl


git clone git@github.com:harinderjits-git/ansible-db-tls.git
cd ansible-db-tls

run the playbook

ansible_runner is wrapper being used

./ansible_runner
Usage: ${0##*/} [ playbook  stackBu   stackInstName tags(optional)]
            playbook: playbook  name without ".yml"
            stackInstName: stackInstName like orclqa2 or a hostname in case stackService is a host
            tags: list of tags in "abc,def,ghi"

Examples

  1. example : you want to run config_db_tns playbook for db on node1 of sit
 ./ansible_runner config_db_tns sit-db01
  1. example : you want to run oracle_cert_rotation playbook for db on node1 of sit
 ./ansible_runner oracle_cert_rotation sit-db01

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published