Skip to content

Ansible-Tutorials/my-ansible-playbooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Playbooks

Ansible playbooks Verifying playbooks

ansible-playbook playbook.yml --list-hosts - lista todos os hosts afetados nesse playbook
ansible-playbook playbook.yml --check - executa o playbook em modo de check sem dar apply 
ansible-playbook playbook.yml --list-tasks - lista as tarefas do playbook
ansible-playbook playbook.yml --syntax-check - executa uma verifcacao da sintaxe do YML para do playbook
ansible-playbook --tags=cps playbooks/systems/priority.yml -i inventory.yml
ansible-playbook tags.yml --start-at-task "start NTP service" (usando tags voce pode escolher uma determinada task).
ansible-playbook tags.yml --step (pergunta em cada tasks se voce pretende seguir).

About

My collection of Ansible P{laybooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published