Skip to content

unbirabka/ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial Ansible Sekolahlinux

Tutorial & Penjelasan Lengkap

Layout Ansible File

|-- inventories
|   `-- production
|       |-- group_vars
|       |   |-- all.yml
|       |   `-- nginx.yml
|       `-- hosts
|-- roles
|   |-- common
|   |   `-- tasks
|   |       `-- main.yml
|   `-- web-server
|       |-- handlers
|       |   `-- main.yml
|       `-- tasks
|           `-- main.yml
|-- templates
|   `-- default.j2
|-- vault_pass.txt
|-- vault_vars.yml
`-- webserver.yml

Run Ansible File

ansible-playbook -i inventories/production/hosts --vault-password-file vault_pass.txt webserver.yml

or

ansible-playbook -i inventories/production/hosts --vault-password-file vault_pass.txt webserver.yml

Releases

No releases published

Packages

No packages published