[ansible-project] Intersect and difference in Ansible

2020-09-27 Thread Fred Kanyesigye
I have been trying to create a playbook that removes the resource record sets for terminated EC2 instances. Other tasks can debug fine, but when it comes to intersect and difference to debug/list the common contents to keep and non-common to be removed, the output still brings the entire list

[ansible-project] clear arp vrf XXX force-complete

2020-09-27 Thread stackf...@gmail.com
I am looking for following command for NXOS ansible module but I am not able to find it. it seems it is not available. how to accomplish this? clear arp vrf XXX force-complete -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe

[ansible-project] ansible nxos bgp "restart bgp "

2020-09-27 Thread stackf...@gmail.com
Hello, I have to write ansible script for Cisco NXOS to restart bgp. I am looking "restart bgp " but it looks ansible module doesn't have it available. what are my options? how to accomplish it? -- You received this message because you are subscribed to the Google Groups "Ansible Project"

Re: [ansible-project] deprecation of DEFAULT_HASH_BEHAVIOUR option

2020-09-27 Thread Dan Linder
I'll second ND that the hash_behavior option of "merge" is more usable in my situation - I have hashes of information that get built up in the playbook (one piece sets defaults for a location (i.e. "North America" vs "Europe" vs "Asia"), then a later part sets defaults for different

Re: [ansible-project] deprecation of DEFAULT_HASH_BEHAVIOUR option

2020-09-27 Thread Dick Visser
On Sun, 27 Sep 2020 at 13:44, nd wrote: > Hello, > > is there any documentation on why this was deprecated? According to the docs: This feature is fragile and not portable, leading to continual confusion and misuse -- Sent from a mobile device - please excuse the brevity, spelling and

[ansible-project] deprecation of DEFAULT_HASH_BEHAVIOUR option

2020-09-27 Thread nd
Hello, is there any documentation on why this was deprecated? This breaks close to all of my ansible roles as well as it results in a full rewrite of the inventory for all organisations where I use ansible. I'm using "hash_behaviour = merge" Most of my inventory resides in dictionaries wich