Skip to content

mtugan/ansible-playbooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible playbooks

  • inventory/*.yml has to have hosts otherwise nothing to do
  • files/00-id-rsa.pub is used by deb11/01-initialize.yml for authing, if you don't add you might get locked out.

Usage

Leave root_password empty if your VPS is configured for passwordless SSH and instead make sure that your key has been added to the SSH agent.

All production commands:

# Fill out
ansible-playbook playbooks/deb11/00-initialize.yml -e "target_host= root_password= user_name= user_password="
ansible-playbook playbooks/deb11/01-update.yml

All test commands:

# Fill out
ansible-playbook -C --step playbooks/deb11/00-initialize.yml -e "target_host= root_password= user_name= user_password="
ansible-playbook -C --step playbooks/deb11/01-update.yml

About

My ansible playbooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published