Ansible: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
Sem resumo de edição
Linha 27: Linha 27:
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
</pre>
</pre>
==Windows==
===WINRM===
<pre>
dir wsman:\localhost\listener
Remove-Item-Path WSMan:\Localhost\listener\<name>
<pre>

Edição das 13h37min de 14 de agosto de 2020

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"

Running on

MAC OS

OSX crash complaining of operation `in progress in another thread when fork() was called`

export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES

Windows

WINRM

dir wsman:\localhost\listener

Remove-Item-Path WSMan:\Localhost\listener\<name>