Skip to content

dattran92/my-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MY ANSIBLE

Requirement

  • ansible
  • sshpass (if you are using password to connect to your server)
  brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb

Install dependencies (ansible galaxy)

  ansible-galaxy install [packages]

Configuration

  • To add your own configuration, add local file nested in server folder in `group_vars
group_vars
  server
    local

Run playbook

  • If you need to enter sudo password
ansible-playbook -i hosts -v main.yml --ask-sudo-pass
  • otherwise
ansible-playbook -i hosts -v main.yml

About

Just some ansibles for my common use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published