Skip to content

nerdyfactory/nf-ansible-playbook-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nerdyfactory-ansible-playbook

Ansible playbook structued based on the best practice

Installation

install ansible client following instructions here

Commands

Bootstraping

ansible-playbook -i development bootstrap.yml

Update public keys

ansible-playbook -i development bootstrap.yml --tags=pub_keys

Provisionning

ansible-playbook -i development site.yml

or

./provision.sh [development|production]

Structure

  • site.yml: main ansible playbook file
  • bootstrap.yml: ansible playbook file for bootstrapping
  • production, development: inventory files which define hosts and groups
  • group_vars: variable definitions by groups
  • roles: ansible roles

About

nerdyfactory ansible playbook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors