mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* alternatives: add integration tests
* alternatives: handle absent link (fix AttributeError)
Error occurred at least on Debian Stretch and OpenSuse 42.2:
Traceback (most recent call last):
File "/tmp/ansible_RY6X41/ansible_module_alternatives.py", line 161, in <module>
main()
File "/tmp/ansible_RY6X41/ansible_module_alternatives.py", line 113, in main
current_path = current_path_regex.search(display_output).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
update-alternatives stdout sample:
dummy - manual mode
link best version is /usr/bin/dummy1
link currently absent
link dummy is /usr/bin/dummy
* alternatives: PEP 8 fixes
* alternatives: fix copyright in integration tests
* alternatives: nested loops handle more than 2 items
Thanks to Michael Scherer (@mscherer) for pointing that.
* alternatives: enable integration tests
|
||
|---|---|---|
| .. | ||
| group_vars | ||
| host_vars | ||
| roles | ||
| targets | ||
| vars | ||
| amazon.yml | ||
| asa.yaml | ||
| azure.yml | ||
| cleanup_azure.py | ||
| cleanup_ec2.py | ||
| cleanup_gce.py | ||
| cleanup_rax.py | ||
| cloud-config-aws.yml.template | ||
| cloud-config-azure.yml.template | ||
| cloud-config-cs.ini.template | ||
| cloudflare.yml | ||
| cloudscale.yml | ||
| cnos.yaml | ||
| connection-buildah.yaml | ||
| consul.yml | ||
| consul_inventory.yml | ||
| consul_running.py | ||
| credentials.template | ||
| dellos6.yaml | ||
| dellos9.yaml | ||
| dellos10.yaml | ||
| eos.yaml | ||
| exoscale.yml | ||
| galaxy_playbook.yml | ||
| galaxy_playbook_git.yml | ||
| galaxy_roles.yml | ||
| galaxy_rolesfile | ||
| gce.yml | ||
| gce_credentials.py | ||
| integration_config.yml | ||
| inventory | ||
| inventory.network | ||
| inventory.networking.template | ||
| inventory.remote.template | ||
| inventory.winrm.template | ||
| inventory.yaml | ||
| ios.yaml | ||
| iosxr.yaml | ||
| jenkins.yml | ||
| junos.yaml | ||
| Makefile | ||
| netscaler.yaml | ||
| network-all.yaml | ||
| network-integration.cfg | ||
| nuage.yaml | ||
| nxos.yaml | ||
| ops.yaml | ||
| ovs.yaml | ||
| platform_agnostic.yaml | ||
| rackspace.yml | ||
| setup_gce.py | ||
| target-prefixes.network | ||
| vyos.yaml | ||