[ansible-project] Re: Ansible Without Python?

2021-02-24 Thread Jon Forrest
On 2/24/2021 12:42 PM, Sam Doran wrote: Jimi actually did this a while ago to see if there were any benefits. I wasn't aware of this. Thanks for the reference. In the end, there was no real benefit to moving to Go since most of the time the control node is

[ansible-project] Ansible Without Python?

2021-02-24 Thread Jon Forrest
what I have in mind. Thoughts? Cordially, Jon Forrest -- 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 ansible-project+unsubscr...@google

[ansible-project] Re: Managing Zabbix Using Ansible?

2017-11-15 Thread Jon Forrest
On 11/14/2017 6:50 AM, Kai Stian Olstad wrote: Have you check out the roles in Galaxy, maybe there are some more complete solutions there https://galaxy.ansible.com/list#/roles Good idea. I checked this, and there certainly are more modules there. But I was hoping to learn what people are

[ansible-project] Managing Zabbix Using Ansible?

2017-11-13 Thread Jon Forrest
. Cordially, Jon Forrest -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email

[ansible-project] Re: How Ansible is different from shell or perl scripting?

2017-07-23 Thread Jon Forrest
to imagine how much work would be required to duplicate what it does in bash or perl. It's important to include the capabilities of inventory management, access control, and other features of Ansible. Jon Forrest -- You received this message because you are subscribed to the Google Groups

[ansible-project] Re: Would It Make Sense to Allow Multiple Inventories?

2017-02-06 Thread Jon Forrest
On 2/6/2017 6:18 AM, Brian Coca wrote: I've thought about expanding the -i option to work as you ask, it shouldn't be too hard. Maybe I'll give it a try. The only thing I can think of that might be a problem is distinguishing arguments that are hostnames from those that are inventory files. In

[ansible-project] Re: Would It Make Sense to Allow Multiple Inventories?

2017-02-05 Thread Jon Forrest
On 2/5/2017 11:26 AM, 'J Hawkesworth' via Ansible Project wrote: Maybe if you made your user inventory a dir and then had a symlink in there to the shared inventory? I see what you mean. That might be a good workaround but it sure seems to me that expanding the '-i' option would be a better

[ansible-project] Re: Would It Make Sense to Allow Multiple Inventories?

2017-02-05 Thread Jon Forrest
and a personal one. Jon Forrest -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group,

[ansible-project] Would It Make Sense to Allow Multiple Inventories?

2017-02-04 Thread Jon Forrest
t multiple directories. I know you can currently give multiple comma-separated hosts so maybe a different character would be used to separate directories. What do you think? Cordially, Jon Forrest -- You received this message because you are subscribed to the Google Groups "Ansible

[ansible-project] Re: Ansible philosophy for those new to the list == keep it simple

2016-12-10 Thread Jon Forrest
is not "a declaration of intended state". I might describe a Puppet manifest that way, but an Ansible script is like a program in Python (or many other languages) where you start at the top and move down. I have no idea what the rest of your post is saying. Jon Forrest -- You received this message b

[ansible-project] Possible Improvement to the 'command' Module

2016-11-25 Thread Jon Forrest
sting playbooks. I have to admit I don't have any examples of when this would be necessary but it seems like such a thing could exist. Does this make sense? Jon Forrest -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscr

Re: [ansible-project] Re: Problem With Simple Template

2016-11-22 Thread Jon Forrest
On 11/22/16 12:20 PM, Dick Davies wrote: On the 'how do i apply roles to specific hosts, I'd go for a full ntp_server role and an ntp_client role. Then your site.yml looks like I appreciate you taking the time to follow up on this. [...] I wish our environment were that simple. However,

[ansible-project] Fundamental Template Problem

2016-11-22 Thread Jon Forrest
t of configuration commands to the file. This is to create one ntp.conf file for hosts that are ntp servers, and another for hosts that are ntp clients. Any suggestions would be appreciated. Cordially Jon Forrest nob...@gmail.com -- You received this message because you are subscribed to the Goo

Re: [ansible-project] Re: Problem With Simple Template

2016-11-22 Thread Jon Forrest
in my posting is how to recognize which role to apply to a host. I think my basic idea is sound. All I have to do is avoid making more stupid mistakes. Thank you *very* much! Jon Forrest -- You received this message because you are subscribed to the Google Groups "Ansible Project&q

[ansible-project] Re: Problem With Simple Template

2016-11-21 Thread Jon Forrest
As a follow up, I realize that I made a couple of mistakes in my original posting. Unfortunately, fixing these mistakes didn't change the results. templates/jon.j2 is now {% for backend in groups['ntpservers_datacenter'] %} server {{ inventory_hostname }} {{ backend }} {% endfor %} and

[ansible-project] Problem With Simple Template

2016-11-21 Thread Jon Forrest
f it is, I want to a specific set of configuration commands to a file. If not, I want to write a different specific set of configuration commands to the file. This is to create one ntp.conf file for hosts that are ntp servers, and another for hosts that are ntp clients. Any suggestions would be

[ansible-project] Confused By EC2 Dynamic Inventory

2016-08-29 Thread Jon Forrest
) but I'm not seeing how to accomplish these 2 tasks. I know about the ec2.py script, which I can successfully run manually, but I don't know how to incorporate what it produces into a playbook. I'd appreciate any help. Cordially, Jon Forrest P.S. What I'm confused about in the djaodjin page

[ansible-project] Re: PyCharm Modules

2014-10-29 Thread Jon Forrest
this, and I'm not an Ansible expert, so I'd be interested in finding out if this works. Jon Forrest -- 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 ansible

[ansible-project] Random Parsing Problems in EC2?

2014-10-20 Thread Jon Forrest
than that. I'm guessing that this is some kind of problem at AWS but I don't know what it could be. Has anyone else seen this? Cordially, Jon Forrest -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group and stop

[ansible-project] Re: Random Parsing Problems in EC2?

2014-10-20 Thread Jon Forrest
and pasting, except the host name) failed: [ec2-XX-XX-XX-XX.compute-1.amazonaws.com] = {failed: true, parsed: false} FATAL: all hosts have already failed -- aborting This is why I don't think it was Ansible that was failing. I suspect something lower level. Jon Forrest -- You received this message

Re: [ansible-project] Unexpected Behavior With File Module

2014-09-01 Thread Jon Forrest
On 8/28/2014 1:59 PM, Michael DeHaan wrote: Sorry, perhaps addressed on devel only. I hate to be that annoying, but it would save me time if you could let me know if you see the same there. Still there. I'll file a bug. % bin/ansible --version ansible 1.8 (devel a0635ebb0d) last updated

[ansible-project] Unexpected Behavior With File Module

2014-08-27 Thread Jon Forrest
This one fooled me for a little while because I wasn't paying attention (Ansible 1.6.6). I ran % ansible machine -m file -a 'path=/tmp/jon state=touch mode=0644 owner=root' The file '/tmp/jon' was created, but Ansible returned ansible | FAILED { failed: true, gid: 1000,

Re: [ansible-project] Unexpected Behavior With File Module

2014-08-27 Thread Jon Forrest
On Wednesday, August 27, 2014 5:21:24 PM UTC-7, Michael DeHaan wrote: Hi, Please make sure you are on the most recent version of Ansible if asking questions to this list. Many things have changed or been improved in various releases, and it's quick to upgrade. The current latest