Re: [ansible-project] Retrieve a value from a dictionary in stderr

2021-03-15 Thread Glenn Robinson
Attribute type returns: "msg": "AnsibleUnsafeText" - debug: msg: "{{ sql_delete }}" returns: ok: [ibmi01] => { "msg": { "changed": false, "delta": "0:00:00.325885", "end": "2021-03-14 23:05:33.098261", "failed": true, "msg": "non-zero retur

[ansible-project] Retrieve a value from a dictionary in stderr

2021-03-15 Thread Glenn Robinson
I'm using a module which returns some information in the module's register stderr variable when the module encounters an issue. Using - debug: var=sql_delete.stderr returns: ok: [ibmi01] => { "sql_delete.stderr": { "ccsid": "1146", "curuser": "GROBINSO", "dftccsid":

[ansible-project] Ansible AWS "Cloud-Control" Modules: Clarification

2016-07-06 Thread Robert Glenn
equiring special treatment be designated as such in the documentation? best, Robert Glenn -- 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-p

[ansible-project] Is apt-get really idempotent? How does it work?

2016-04-26 Thread Robert Glenn
Hi, I'm trying to understand how Ansible's "idempotency" is achieved for e.g. apt-get updates. For example: suppose I have X servers, fully provisioned some time ago, and now want to scale up to X+Y servers. The playbook includes an appeal to apt-get to update the packages. I add the Y server

[ansible-project] Trial version of Ansible Tower failed and the UI now has issues

2016-01-20 Thread Glenn Barnard
Hi, I had to uninstall Ansible 1.9.4 earlier today and it also uninstalled Tower. I'm now trying to reinstall Tower but it's throwing exceptions. The install problem outputs: [gbarnard@localhost ansible-tower-setup-2.4.3]$ sudo ./setup.sh Traceback (most recent call last): File "/bin/ansible-

[ansible-project] Re: Ansible 2.0 -- the "new" correct way to update??

2016-01-20 Thread Glenn Barnard
I echo Chris's post. The docs say for yum the command is sudo yum install ansible. But that still only gets you 1.9.4. When will Ansible update YUM with 2.0? Thank you Slimthe info in your post worked. I now have 2.0. :-} On Monday, January 18, 2016 at 3:07:04 PM UTC-5, Chris Short wro

[ansible-project] Re: Included yml task fails

2016-01-15 Thread Glenn Barnard
not formatted this correctly. Suggestions anyone? On Monday, January 11, 2016 at 3:32:28 PM UTC-5, Glenn Barnard wrote: > > Am using a current copy of Ansible and am in learning stage by writing > playbooks that call Ansible's API's via the uri module. Am getting an error

[ansible-project] Re: Included yml task fails

2016-01-13 Thread Glenn Barnard
I cloned my playbook and turned the authentication into a role, and it behaved exactly the same. I really could use some help with this! On Monday, January 11, 2016 at 3:32:28 PM UTC-5, Glenn Barnard wrote: > > Am using a current copy of Ansible and am in learning stage by writing >

[ansible-project] Included yml task fails

2016-01-11 Thread Glenn Barnard
Am using a current copy of Ansible and am in learning stage by writing playbooks that call Ansible's API's via the uri module. Am getting an error from the included yml that is trying to authenticate the user. Note that it's working fine when I put the task into the main yml. The error is a sta

[ansible-project] Where do moduls go?

2016-01-08 Thread Glenn Barnard
While developing and testing a new module, I need to know which directory to put modules in such that Ansible will pick it up. My version is very recent (within 2 weeks) and I've tried changing the config file to point to a directory, but Ansible complains every time that it can't find the modul

Re: [ansible-project] URI Module "return_content" not working per the docs

2016-01-08 Thread Glenn Barnard
om the task. > > > On Friday, January 8, 2016, Glenn Barnard > wrote: > >> We're evaluating Ansible and learning how to use it. I'm trying to using >> Ansible to call the Ansible api's. I have an issue with the uri module in >> trying to reference

[ansible-project] URI Module "return_content" not working per the docs

2016-01-08 Thread Glenn Barnard
We're evaluating Ansible and learning how to use it. I'm trying to using Ansible to call the Ansible api's. I have an issue with the uri module in trying to reference the response from the authtoken API to use in subsequent requests. Per the docs, the return_content option is supposed to put th

[ansible-project] Re: Windows Support Stage 2: Engage Battlestations!

2014-11-25 Thread Glenn
I'm in a Windows IIS shop that is trying to convert from using a using a VM master image that is continually updated to a bare OS install starting point. There is a lot of manual playbooking and simple scripting currently. We are implementing a more robust system for configuration management.