[ansible-devel] Suppressing secrets in Ansible console output

2023-03-21 Thread Ed Ravin
At my current shop we're trying to clean up the display of secrets in Ansible output. The standard recommendation, using "no_log" in the playbook, isn't good for our environment, as we have many playbooks that don't use it and would require a lot of manual review just to find all the spots that

Re: [ansible-devel] Re: Saving output of commands passed through 'with_items' into a single file

2018-08-05 Thread Ed C
Alternatively you can actually do an inline Jina loop. e.g. - name: Save the output local_action: module: copy content: | {% for item in result.results %} {{ item.stdout }} {% endfor %} dest: /root/info.txt On Sat, 21 Jul 2018 at 7:50 AM, marcindulak wrote: > > > > Since you are saving to a fil

Re: [ansible-devel] Content from multiple hosts to one file

2018-03-08 Thread Ed C
me fact for each host. You can pull out whatever fact it is you want from the other hosts. Hope that helps Ed On Thu, 8 Mar 2018 at 3:39 AM, belajzus wrote: > Hi to all, > > I need to generate some file, and inside that file is some content from > multiple hosts. > I've don

[ansible-devel] How best to submit new modules requiring AWS permission changes?

2018-02-24 Thread Ed C
king/aws_config and checking that the tests do pass with these permissions. I'm assuming that a PR with a failed build and needs_revision tag is just going to be ignored. If these are reviewed anyway then I'll just explain the context in the PR description. Thanks in advance Ed --

[ansible-devel] What Controls Permissions of AWS test roles for Shippable builds?

2018-01-04 Thread Ed C
integration test was not actually running in the shippable build and the move to group 4 has enabled it, which is why I'm now getting failures. Any help on how to update these permissions would be much appreciated. Thanks Ed -- You received this message because you are subscribed to

Re: [ansible-devel] Re: ansible 2.4 api and the all.yml file

2017-12-09 Thread Ed C
I hit a similar issue a while back and found https://github.com/ansible/ansible/issues/24987 which explains why refresh_inventory doesn't cover this case. Based on that, I ended up using include_vars to explicitly include the variables onto the hosts after creating the yml file. E.g. - hosts: loc

Re: [ansible-devel] Unsupported feature - ansible through a Jump Server

2017-11-25 Thread Ed C
Hi Oscar, This is not ansible specific but I believe that you can achieve what you want using SSH connection sharing and proxies. I haven't tested this exact scenario but use something quite similar with key authentication via a jump-server. In short: 1) in your inventory configure your destinati

Re: [ansible-devel] Re: Typical Time for Review of a New Module Pull Request?

2017-11-11 Thread Ed C
and raise it at a public core meeting as Jon suggested. 1: https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md#when-will-your-pull-request-be-merged 2: https://docs.python.org/3.6/library/json.html#json.loads Cheers Ed On Sat, 11 Nov 2017 at 7:25 PM, Andy Pi wrote: > Hi Ed, > >

[ansible-devel] Typical Time for Review of a New Module Pull Request?

2017-10-26 Thread Ed Costello
st it if necessary. I know this is a very busy project, so just hoping to get an idea of how long it typically is before new module PRs like this get looked at. Thanks Ed Costello -- You received this message because you are subscribed to the Google Groups "Ansible Development&

Re: [ansible-devel] Re: When statements with Jinja2 templating delimiters

2017-05-30 Thread Ed
is, warning-free, in 2.3? Is there a filter I can use to do evaluation? For maintenance reasons, I'd like to avoid building a distinct task for each case. Simple example below. Thanks, Ed $ cat inventory one ansible_connection=local $ cat play.yml --- - hosts: all tasks: - d

[ansible-devel] Possible 2.3 regression using any_errors_fatal and tasks under roles

2017-05-10 Thread Ed
wo] NO MORE HOSTS LEFT * to retry, use: --limit @/home/centos/play.retry PLAY RECAP * one : ok=1changed=0unreachable=0failed=1 two

[ansible-devel] iterate over an array of dicts: find and register one of them

2017-05-05 Thread Ed Greenberg
"source": 1, "sourceId": 788478, "ttl": 3600, "type": "TXT", "value": "\"v=spf1 mx a LIST_OF_IP_ADDRESSES include:servers.mcsv.net include:amazonses.com inclu