You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration
Valentin Krasontovitsch cfff72e9db Use apt-get as fallback for apt upgrade
In answer to #2540, `aptitude` was introduced as tool of choice for running
upgrades in the apt module and installing new packages that arise as
dependencies during upgrades.

This recently lead to problems, as for example Ubuntu Xenial (16.04) ships
without aptitude (installed).

Studying the man pages of both apt-get and aptitude, it appears that we can
achieve the effects of `aptitude safe-upgrade` using

```
apt-get upgrade --with-new-pkgs --autoremove
```

while `aptitude full-upgrade` seems to be identical to `apt-get dist-upgrade`.

We use `apt-get` as described above as a fall-back in case that `aptitude`
cannot be found, issuing a warning when it does so.

Furthermore it introduces a flag `force_apt_get` which may be used to enforce
usage of apt-get (which does not issue a warning).

The integration tests are updated accordingly.

Cf. also the discussion in #27370.

Fixes #18987
8 years ago
..
group_vars Comment cli provider creds on junos group_vars (#27611) 9 years ago
host_vars
roles Adds support for all Consul 0.8 ACL rule scopes (#25800) 8 years ago
targets Use apt-get as fallback for apt upgrade 8 years ago
vars
Makefile Remove legacy integration test make targets. (#26255) 9 years ago
amazon.yml Adding support for Amazon ECR (#19306) 9 years ago
asa.yaml Continue running network tests after failure (#26407) 9 years ago
azure.yml
cleanup_azure.py test/: PEP8 compliancy (#24803) 9 years ago
cleanup_ec2.py Fix undefined variables, basestring usage, and some associated python3 issues 9 years ago
cleanup_gce.py Fix undefined variables, basestring usage, and some associated python3 issues 9 years ago
cleanup_rax.py Fix undefined variables, basestring usage, and some associated python3 issues 9 years ago
cloud-config-aws.yml.template Add support for cloud tests to ansible-test. (#24315) 9 years ago
cloud-config-cs.ini.template Add support for cloud tests to ansible-test. (#24315) 9 years ago
cloudflare.yml
cloudscale.yml new module cloudscale_server (#20175) 9 years ago
cnos.yaml New module: cnos_vlan and various utility files (#21107) 9 years ago
connection-buildah.yaml add connection plugin for buildah (#26170) 9 years ago
consul.yml Adds support for all Consul 0.8 ACL rule scopes (#25800) 8 years ago
consul_inventory.yml
consul_running.py
credentials.template Update git test to not rm ~/.ssh/known_hosts. 9 years ago
dellos6.yaml
dellos9.yaml
dellos10.yaml
eos.yaml Remove Deprecated Template network modules (#27076) 9 years ago
exoscale.yml
galaxy_playbook.yml
galaxy_playbook_git.yml
galaxy_roles.yml
galaxy_rolesfile
gce.yml [google] adding a GCE labels module 9 years ago
gce_credentials.py test/: PEP8 compliancy (#24803) 9 years ago
integration_config.yml
inventory Use apt-get as fallback for apt upgrade 8 years ago
inventory.network Add VyOS integration tests for net_linkagg (#26478) 9 years ago
inventory.networking.template Increase python version coverage for tests. (#24762) 9 years ago
inventory.remote.template
inventory.winrm.template Increase python version coverage for tests. (#24762) 9 years ago
inventory.yaml add new yaml inventory for testing 9 years ago
ios.yaml ios implementation for net_interface (#27459) 9 years ago
iosxr.yaml iosxr implemetation for net_interface (#27513) 9 years ago
jenkins.yml
junos.yaml Remove Deprecated Template network modules (#27076) 9 years ago
netscaler.yaml Add netscaler_server module (#25537) 9 years ago
network-all.yaml New module: management of the Nuage Networks VSP SDN solution (network/nuage/nuage_vspk) (#24895) 9 years ago
network-integration.cfg Change play timeout for persistent connection command timeout (#27948) 8 years ago
nuage.yaml New module: management of the Nuage Networks VSP SDN solution (network/nuage/nuage_vspk) (#24895) 9 years ago
nxos.yaml Add integration tests for nxos_facts, nxos_bgp, nxos_bgp_af, nxos_bgp_neighbor, and nxos_evpn_global (#26924) 8 years ago
ops.yaml Continue running network tests after failure (#26407) 9 years ago
ovs.yaml Revert "Enforce the _raw_params variable with include_role (#26430)" 9 years ago
platform_agnostic.yaml junos implementation for net_l3_interface module (#26829) 9 years ago
rackspace.yml
setup_gce.py test/: PEP8 compliancy (#24803) 9 years ago
target-prefixes.network openvswitch targets via network-integration (#27295) 9 years ago
vyos.yaml added integration tests for vyos_facts (#26748) 8 years ago