Re: [ansible-project] intersection of groups in inventory

2021-02-19 Thread alicia
Hi Mike, The syntax is: linux: See https://docs.ansible.com/ansible/latest/user_guide/intro_patterns.html#common-patterns <https://docs.ansible.com/ansible/latest/user_guide/intro_patterns.html#common-patterns> for a handy cheatsheet of common patterns. Alicia Cozine She/He

Re: [ansible-project] Ansible inventory duplicate hosts in different groups - Ansible picks the last one from the duplicates

2020-08-17 Thread alicia
ybook or vars file and select the correct one at run time. Hope this helps, Alicia > On Aug 17, 2020, at 9:17 AM, Abhishek Sharma wrote: > > > updated command is > > # ansible -i inventory A -m shell -a "ls -l /tmp/{{ lhost }}" --limit > host1.example.com >

Re: [ansible-project] Tags or Variables, not sure which way to go

2020-08-17 Thread alicia
d tags to your task, block, or play before you could select or skip those tags at runtime. Hope this helps, Alicia > On Aug 16, 2020, at 3:32 PM, John Petro wrote: > > So I am having an issue about not knowing what the best thing to do is. > Here's what I am trying to accompl

Re: [ansible-project] How do I include another playbook in current playbook?

2020-01-23 Thread alicia
and including at https://docs.ansible.com/ansible/devel/user_guide/playbooks_reuse.html <https://docs.ansible.com/ansible/devel/user_guide/playbooks_reuse.html>. You may want to edit “another.yml” to make it a tasks file instead of a playbook for greater flexibility. Hope this helps, Alicia &g

Re: [ansible-project] debug msg ignore other results.

2020-01-14 Thread alicia
For more details, see the section on “Adding controls to loops” here: https://docs.ansible.com/ansible/devel/user_guide/playbooks_loops.html > On Jan 14, 2020, at 6:36 AM, Jegan A wrote: > > Thanks a lot. It is working

Re: [ansible-project] ansible ignore_errors: yes

2020-01-14 Thread alicia
For more information on controlling what Ansible sees as a failure and how it responds, see https://docs.ansible.com/ansible/devel/user_guide/playbooks_error_handling.html <https://docs.ansible.com/ansible/devel/user_guide/playbooks_error_handling.html> Hope this helps, Alicia >

Re: [ansible-project] String alignments

2019-12-23 Thread alicia
helps, Alicia > On Dec 23, 2019, at 8:11 AM, Vladimir Botka wrote: > > On Mon, 23 Dec 2019 17:56:07 +0530 > Gopal Chatla wrote: > >> Is there any way to include python script in ansible playbook for string >> alignments? > > Try "Filter plugins" &g

Re: [ansible-project] Define global variables in ansible group_vars/all file

2019-12-06 Thread alicia
s://docs.ansible.com/ansible/latest/user_guide/connection_details.html#ssh-key-setup> for information on setting up SSH keys. Hope this helps point you in the right direction. Alicia > On Dec 6, 2019, at 10:44 AM, Xinhuan Zheng wrote: > > Hello, > > > It's not necessary

Re: [ansible-project] Gather List of VMs running on vmware esxi host

2019-12-05 Thread alicia
sible.com/ansible/latest/modules/vmware_guest_info_module.html#vmware-guest-info-module> You can also reach out to the working group for VMware on Freenode IRC - the channel is #ansible-vmware. Hope this helps, Alicia > On Dec 4, 2019, at 5:55 AM, Ahamed Fazlul Wahab wrote: > > H

Re: [ansible-project] Ansible seems not supporting fundemental user management commands in Arch Linux

2019-11-22 Thread alicia
/group_module.html <http://docs.testing.ansible.com/ansible/devel/modules/group_module.html> for detailed documentation on how to use the group module and the parameters it accepts. Hope this helps, Alicia > On Nov 22, 2019, at 3:41 PM, Bilinmek Istemiyor wrote: > > Hello, > > I am

Re: [ansible-project] Ansible Version Migration

2019-11-22 Thread alicia
est/reference_appendices/release_and_maintenance.html>. We do not fix bugs in unmaintained versions, so if security vulnerabilities exist in version 2.4 or 2.5, they will not be fixed. Best wishes, Alicia > On Nov 21, 2019, at 8:11 AM, Jean-Yves LENHOF wrote: > > Le 2019-11-21 15:02, Vladimi

Re: [ansible-project] Ansible find module not accepting fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (find) module: become Supported parameters include: age, ag

2019-11-20 Thread alicia
Become is a task keyword. In your playbook you are using it as if it were a parameter of the “find” module. Move it up under the “name” line and indent it to the same level as the module name: > - name: Ansible delete files older than 1 minutes example become: true

Re: [ansible-project] Ansible Best Practices - Group_Vars Not Being Applied As Expected

2019-10-25 Thread alicia
For anyone looking to control the priority of variables at the same parent/child level of group variables, there’s also the `ansible_group_priority` setting. See https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html#how-variables-are-merged

Re: [ansible-project] Re: Setting up Windows without interaction

2019-10-22 Thread alicia
ons> Is that what you had in mind? Alicia > On Oct 22, 2019, at 11:05 AM, Fabiano Sidler wrote: > > I'm sorry I was terribly unclear. I mean, is there a way to connect to > Windows with public key authentication (instead of passwords or, beware, X509 > crap)? I'd happily use SS

Re: [ansible-project] Visit metrics to scenario guide

2019-07-24 Thread alicia
Hi Guarav, Thanks for the note. This is a very interesting idea. We’ll need to discuss it internally first. Feel free to follow up directly with me. Thanks, Alicia Alicia Cozine Lead Technical Writer, Red Hat Ansible Automation > On Jul 23, 2019, at 7:47 PM, Gaurav Jain wrote: > &

[ansible-project] Building docs locally requires Python >= 3.5 and straight.plugin

2019-07-17 Thread alicia
the docs. You also need ‘straight.plugin' installed. If you have questions or run into issues, please reach out on the #ansible-docs channel on freenode IRC. Happy automating, Alicia Alicia Cozine Lead Technical Writer, Red Hat Ansible Automation Docs on how to build the docs: https

[ansible-project] Ansible with Windows

2017-11-28 Thread Alicia Nguyen
Hi, I had ansible controlling a few Windows machines but I've had to disable Basic Authentication for WinRM due to security concerns. Is it possible to use control Windows machines via ansible without basic WinRM authentication? Thanks, Alicia Nguyen -- You received this message because you

[ansible-project] 'dict object' has no attribute 'stdout'

2017-04-27 Thread Alicia Smith
Hello, I was wondering if I could get some help on determining what is wrong here. This worked prior to 2.2.x Now when I run it I get the following error: fatal: [redacted-host.com]: FAILED! => {"failed": true, "msg": "The conditional check 'auditd_result.stdout.find(\"audit-2.3\") != -1'

[ansible-project] Trouble with using an include based on conditional

2017-02-06 Thread Alicia Smith
This is being copied from the bug that just got closed: ANSIBLE VERSION ansible 2.2.1.0 CONFIGURATION Nothing weird here OS / ENVIRONMENT MAC Sierra 10.12.3 Destination: CentOS 7 SUMMARY Using a conditional with the include for a task include is ignored. I have run it using

[ansible-project] List all ansible-vault encrypted files?

2017-01-27 Thread Alicia Smith
lp confirm they are. Just a thought, if there is no way of doing this currently, I'll submit an issue for it. Thank you, Alicia -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails fr

Re: [ansible-project] include: and variables (changed in 1.8?)

2016-03-04 Thread alicia
e variable at the command line: -e component_main_version=4 I get the desired behavior. Am I defining the derived variable incorrectly? Am I running up against the bug described here? Is there a better way to accomplish what I'm trying to do? Any insight/help greatly appreciated. Thanks, Alicia On Wednesday