Módulos de Ansible
Depuración de módulos con VSCode
export ANSIBLE_KEEP_REMOTE_FILES=1
ansible-playbook playbook.yml -vvvvcd /home/atorres/.ansible/tmp/ansible-tmp-<timestamp>/
./AnsiballZ_<module>.py explode
code . # Abrir VSCode{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Python: Current File", "type": "python", "request": "launch", "program": "AnsiballZ_<module>.py", "console": "integratedTerminal", "args": [ "execute" ] } ] }
Last updated