Ansible: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição |
|||
Linha 1: | Linha 1: | ||
=URLS= | =URLS= | ||
*[http://docs.ansible.com/ansible/latest/ Documentation] | *[http://docs.ansible.com/ansible/latest/ Documentation] | ||
=Log | =Log and Verbosity= | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
# Specify the location for the log file | # Specify the location for the log file | ||
Linha 11: | Linha 11: | ||
ansible-playbook -vvvv ... | ansible-playbook -vvvv ... | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=WSL= | =WSL= | ||
*[https://wiki.clusterlab.com.br/index.php/PYTHON#Ansible_em_WSL Setup ansible for WSL with ubuntu] | *[https://wiki.clusterlab.com.br/index.php/PYTHON#Ansible_em_WSL Setup ansible for WSL with ubuntu] |
Edição das 12h46min de 17 de dezembro de 2019
URLS
Log and Verbosity
# Specify the location for the log file
export ANSIBLE_LOG_PATH=~/ansible.log
# Enable Debug
export ANSIBLE_DEBUG=True
# Run with 4*v for connection level verbosity
ansible-playbook -vvvv ...
WSL
Fixing case sensitive
- include_tasks: "os_{{ ansible_facts['os_family']|lower }}.yml"