Ansible: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 1: Linha 1:
=URLS=
*[http://docs.ansible.com/ansible/latest/ Documentation]
*[http://docs.ansible.com/ansible/latest/ Documentation]
=Log And Verbosity=
<syntaxhighlight lang=bash>
# 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 ...
</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"