I am using ansible 1.5 .
It seems inconsistent to me that the variable defined in the role (i.e.
defined in roles/admin_users/vars/main.
yml)
is also available in the task while the files in the role file folder (i.e.
roles/admin_users/files) are not found by the copy module
Thanks
It seems
This is working as designed.
When you define a variable in a role, that role might be something like
common and package variables that other roles might like to use.
For instance a role could define production vs staging environment
behavior, and a value like ntp_server could be used in
See http://docs.ansible.com/playbooks_roles.html#roles and the following
example of passing values to parameterized roles:
---
- hosts: webservers
roles:
- common
- { role: foo_app_instance, dir: '/opt/a', port: 5000 }
- { role: foo_app_instance, dir: '/opt/b', port: 5001 }
Michael --
Just created at github == https://github.com/ansible/ansible/issues/7299
Andy
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
It’s not so much OCD as it is DISA STIG. The RHEL6 STIG rules explicitly
state for specific services that if it’s not needed on a host it must be
disabled/uninstalled.
I did a small amount of consulting around STIG for a previous systems
management app company -- so I know what you are talking
I'm ok with the modules getting modifications to return this.
Something like an array of
{
installed: [],
upgraded: [],
removed: []
}
etc ?
The yum module has a bit better output and we'd want to make strides to
keep them the same while not breaking any existing playbooks
Hi,
I'm attempting to boot and deploy with GCE all in one play (using Sharif
Salah's
deckhttps://speakerdeck.com/sharifsalah/google-compute-engine-and-ansibleand
demo
repo https://github.com/sharifsalah/ansible-examples as my basis.)
I'm succeeding until...
- name: insert iptables rule
On Monday, May 5, 2014 9:46:18 PM UTC-4, Brian Coca wrote:
delegate_to does work, I suspect your issues stem from the variable not
being defined or being empty, delegate_to will fallback to localhost.
Brian Coca
Imagine that proper host was filled in with an actual IP in the log (I
So we have been running into an issue in our ansible rollout that hasn't
occurred before sometime in mid April. About that time we started getting
conflicts with services reusing the 5099 fireball port if those processes
were started from ansible.
In the latest case, I set up a new hardware box
Confirmed bug still exists in 1.6 and filed ticket in github tracker.
On Monday, May 5, 2014 8:45:45 PM UTC-7, Michael DeHaan wrote:
If you believe you have an issue here with the current release (latest is
1.6 as of today), please make sure one is filed at
github.com/ansible/ansible.
I'm trying to use the ansible cloudformation module to setup a EC2
instance. When I run it through the cloudformation ansible module I get
the following error.
TASK: [Create Cloud foundation Example]
***
localhost REMOTE_MODULE cloudformation
For extra special fun I made up an IP address and used it in delegate_to:
- name: Copy override file for database information
template:
src=templates/user_data.json
dest={{ aws_settings_override_file_path }}
delegate_to: 34.142.33.2
(sp_devops)GoatRodeo:devops
Thanks!
On Tue, May 6, 2014 at 1:59 PM, Mike Jones utilityn...@gmail.com wrote:
Confirmed bug still exists in 1.6 and filed ticket in github tracker.
On Monday, May 5, 2014 8:45:45 PM UTC-7, Michael DeHaan wrote:
If you believe you have an issue here with the current release (latest is
Go ahead and open a github issue for this, and we'll see if we can
reproduce it.
Thanks!
On Tue, May 6, 2014 at 12:43 PM, Stephen John Smoogen smo...@gmail.comwrote:
So we have been running into an issue in our ansible rollout that hasn't
occurred before sometime in mid April. About that
Hi
I have vars with system users defined:
---
users:
- username: user1
hash: hash1
uid: uid1
- username: user2
hash: hash2
uid: uid2
Additionally every user has his own set of tasks in the yml file to
configure his own environment e.g. change .bashrc, .bash_aliases, .vimrc
ansible loads jinja2 with trim_blocks = true, you can use a per template
header to override this, you can see an example in the template docs.
https://docs.ansible.com/template_module.html
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To
We suspect this may be something needing to close file descriptors.
(BTW, just curious, you said fireball, are you using the new accelerate
mode or still calling fireball directly? I remember you guys had some EL
hosts so couldn't do -c ssh yet since no Control Persist support just yet,
though
On 6 May 2014 16:43, Michael DeHaan mich...@ansible.com wrote:
We suspect this may be something needing to close file descriptors.
(BTW, just curious, you said fireball, are you using the new accelerate
mode or still calling fireball directly? I remember you guys had some EL
hosts so
So, I took a look at creating a plugin. I copied subelements.py, and
modified it to return a dict. See
https://gist.github.com/jerrac/8a16e0c1031df89621da
I think it will do what I want, I've only done some basic testing. Anyone
have any feedback?
Should I modify the copyright? I'm pretty sure
Hello. I just tried enabling ssh pipelining in Ansible 1.6, by doing this:
- commenting out Defaults requiretty in the source and destination hosts
- adding pipelining = True to /etc/ansible.cfg
I timed a playbook with about 100 plays, a few times before and after, and
it took around 1:05 each
commenting out Defaults requiretty in the source and destination hosts
FYI, this refers to the sudoers file. I also tried Defaults !requiretty,
and the speed was the same.
On Tuesday, May 6, 2014 4:07:03 PM UTC-7, Jacob Weber wrote:
Hello. I just tried enabling ssh pipelining in Ansible
So, pipelining mode is only usable if you are using the SSH connection type
(-c ssh), so I'd first check to make sure you are running on a system where
that is the default -- i.e. not Enterprise Linux (RHEL, CentOS, etc).
You've mentioned you are using RHEL, so this has to be explicitly
Makes sense. I'm not really too concerned about the speed, so I'll leave it
alone. Thanks for the explanation.
On Tuesday, May 6, 2014 5:04:13 PM UTC-7, Michael DeHaan wrote:
So, pipelining mode is only usable if you are using the SSH connection
type (-c ssh), so I'd first check to make
23 matches
Mail list logo