I want to use with_nested to assemble a list by iterating over two lists
and extracting particular keys from both -- ideally something like ...:
- name: "Build flat list of security group rules that should exist"
set_fact:
rulesList:
- proto: "{{ item.1.proto }}"
from_port:
Hi -- I've got a playbook with multiple plays. One play depends on ability
to unlock an ansible-vault and declares this fact in the var_files section
of the play:
a_playbook.yml
```
- hosts: local
vars_files:
- var_files/encrypted_secret_variables.yml
tasks:
```
Prior to ansible2 it was
troduces undesirable
consequences that are not possible to avoid ...
On Wed, Mar 2, 2016 at 10:52 AM, Ben Cohen <cohen@gmail.com> wrote:
> Thanks -- what's a good pattern to the PATH environment variable during a
> play?
>
> On Mon, Feb 29, 2016 at 7:42 PM, Brian Coca <bc
nherit settings from
> play, this might cause an error if settings environment on play depending
> on 'ansible_env' which was previously ignored"
>
> On Mon, Feb 29, 2016 at 7:44 PM, Ben Cohen <cohen@gmail.com> wrote:
>
>> After upgrading ansible versions:
>
After upgrading ansible versions:
ncohen@breathe ~/s/f/fn-ansible (master)> ansible --version
ansible 2.0.1.0
config file = /Users/ncohen/software/face/fn-ansible/ansible.cfg
configured module search path = Default w/o overrides
I'm getting an error on first usage of ansible_env variable
I also yearn for a solution to this problem -- I think that ansible
playbooks don't compose well -- and roles are (in my opinion) a not-so-good
abstraction for code re-use / process organization. Frequently for the
'orchestration' portion of some automation I find myself needing playbooks
and the
I think you should take a look at the authorized_keys module again -- you
can pass multiple keys to a single invocation when using the exclusive
option which will enforce that exactly and only the list of keys you
supplied are in the specified authorized_keys file.
On Thursday, October 22, 2015,
I'm not seeing any performance improvements notes -- but is anyone else
observing 1.9.4 to provide a _significant_ performance boost over 1.9.3?
On Friday, October 9, 2015, James Cammarata wrote:
> Hi all, 1.9.4 has been released, and is now available.
>
> This release
I wanted to start looking at ansible 2 now that its in beta -- most things
are working for me out of the box -- but I have a very simple custom filter
that I need to use which isn't being discovered:
sts-infrastructure (master)> cat filter_plugins/wrap.py
def wrap(list):
return [ '"' + x +
It's here if you want to take a look ... I'll try and make any changes
needed ...
https://github.com/ansible/ansible-modules-extras/pull/1007
On Tuesday, September 22, 2015, J Hawkesworth <
j.r.hawkeswo...@googlemail.com> wrote:
> Thank you. Looking forward to seeing your PR.
>
> Jon
>
> --
>
request to ansible-module-extras and see if anyone finds a use ...
On Thu, Sep 17, 2015 at 1:37 PM, Ben Cohen <cohen@gmail.com> wrote:
> I was trying to script the usage of the windows DISM utilities via ansible
> -- and ran into an issue with being unable to execute dism
I was trying to script the usage of the windows DISM utilities via ansible
-- and ran into an issue with being unable to execute dism from within the
winrm context. Apparently some varieties of rpc (which DISM uses
internally) are prevented from running from within the winrm execution
context ...
I'm seeing some references online that make it sound like the ansible "raw"
module when run versus windows hosts (winrm) should allow execution of
powershell commands -- I'm able to execute raw: commands with the older
windows shell (batch file syntax) -- but don't seem to be able to use any
I really like the ansible module interface: pure functions are powerful,
super simple and really great. The with_items syntax adds a lot of power
on top with very low cognitive overhead that helps keep you laser focused
on describing your objectives in ways that tend to be very declarative.
As a lurker whose email clients have mailed mailing lists unbearable -- id
love to see this!
On Monday, August 10, 2015, Hristo Stoyanov hr.stoya...@gmail.com wrote:
Hi,
I tried the IRC chat for Ansible and it is painful (especially from mobile
device). Since Ansible is hosted on Github
Ah ok, yeah I didn't see the above answer in the response on the issue ...
I'm surprised this isn't a faq.
Thanks,
Ben
On Fri, May 8, 2015 at 5:27 PM, Brian Coca bc...@ansible.com wrote:
hi, im the bot that closed the issue, in the response you might have
missed the answer:
set
16 matches
Mail list logo