Skip to content

tahatsahin/configuration-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running the Playbook

To execute the playbook, run the following command:

ansible-playbook -i inventory.ini setup.yml --ask-become-pass

This will run the base, nginx, app, and ssh roles in sequence. The --ask-become-pass flag prompts you for a password to execute tasks with sudo privileges.

Running Specific Roles

If you want to run only specific roles, you can use the --tags option. For example, to run only the app role:

ansible-playbook -i inventory.ini setup.yml --tags "app"

About

ansible playbook to configure servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages