Created
March 19, 2020 08:42
-
-
Save pertoft/dd451def300ce9d747fd704719f5b6f0 to your computer and use it in GitHub Desktop.
Ansible Development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Get ANSIBLE_MODULE_ARGS: | |
ANSIBLE_KEEP_REMOTE_FILES=1 ansible-playbook playbooks/jira-cmdb-get.yml --vault-password-file=~/.vault_pass -vvv | |
2) cd /Users/pto/.ansible/tmp/ansible-tmp-1584606942.395108-45581463648279/ | |
3) | |
python AnsiballZ_jira.py explode | |
Module expanded into: | |
/Users/pto/.ansible/tmp/ansible-tmp-1584606942.395108-45581463648279/debug_dir | |
pto:ansible-tmp-1584606942.395108-45581463648279 pto$ | |
4) Enable ansibel debug (clone git first) | |
cd ansible | |
. venv/bin/activate | |
. hacking/env-setup | |
5) Test | |
python -m ansible.modules.web_infrastructure.jira ./jira.json | python -m json.tool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment