[ansible-project] Doubts using local_action, module, and with_items all together

2017-10-03 Thread Helio Campos Mello de Andrade
Hi guys, - I looked for many places but could not find an answer of why this could be happening. I have the following play and its giving lots of headaches: *Environment:* $ uname -v #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 $ uname -r 4.10.0-35-generic $ pip freeze | grep ansible an

Re: [ansible-project] Doubts using local_action, module, and with_items all together

2017-10-03 Thread Helio Campos Mello de Andrade
Hi Brian, - First of all, thanks for the fast response. I've made what you asked: --- - name: Base | Deploy hosts: deploy become: true vars: application_vars__repository_url: 'MY_REPOSITORY_URL' application_vars__branch_name: 'MY_BRANCH_NAME' tasks: - name: Application | Defin

Re: [ansible-project] Doubts using local_action, module, and with_items all together

2017-10-04 Thread Helio Campos Mello de Andrade
Hi Brian, - You were right. I've made these changes and it worked. --- - name: Base | Deploy hosts: deploy become: true vars: application_vars__repository_url: 'MY_REPOSITORY_URL' application_vars__branch_name: 'MY_BRANCH_NAME' tasks: - name: Application | Defining local tempo

[ansible-project] Integrate ansible in CI/CD tools

2017-12-12 Thread Helio Campos Mello de Andrade
Hi guys, - I'm trying to integrate an ansible playbook with my CI/CD tool (GOCD https://www.gocd.org/). It happens I have to pass a complex data structure (a hash with lists of hashes) to it and don't know how to do it. As almost all information in this hash are secrets and login stuff, I'm t