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
Toshio Kuratomi c264061272 Bkprt conn err msg no template (#37381)
*  Connection error messages are unsafe: wrap them (#37329)

* Check that connection error msg are not unsafe

* Connection error messages are unsafe: wrap them

For example, in case of error, docker connection plugin returns exception
message containing Go template. These messages weren't tagged as unsafe
and were consequently rendered:

The conditional check 'result is failed' failed. The error was:
{
  'msg': u'Docker version check ([\'/usr/bin/docker\', \'version\', \'--format\', "\'{{.Server.Version}}\'"]) failed: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.35/version: dial unix /var/run/docker.sock: connect: permission denied\n',
  'failed': True
}:
template error while templating string: unexpected '.'.
String: Docker version check (['/usr/bin/docker', 'version', '--format', "'{{.Server.Version}}'"]) failed: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.35/version: dial unix /var/run/docker.sock: connect: permission denied

(cherry picked from commit 4378542ac7)

* Add a changelog for the no-template error message fix
7 years ago
..
group_vars Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915) 7 years ago
host_vars Simplify Windows versions in ansible-test. 7 years ago
roles Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915) 7 years ago
targets Bkprt conn err msg no template (#37381) 7 years ago
cloud-config-aws.yml.template
cloud-config-azure.yml.template
cloud-config-cs.ini.template
cloud-config-gcp.yml.template [cloud] New GCP module: DNS Managed Zones (gcp_dns_managed_zone.py) (#35014) 7 years ago
dellos6.yaml
dellos9.yaml
dellos10.yaml Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915) 7 years ago
integration.cfg Fix ansible-test config management. 7 years ago
integration_config.yml Fix pip integration test. 7 years ago
inventory ACI: Support validate_certs, use_ssl and use_proxy (#35146) 7 years ago
inventory.networking.template Reflect new process for network integration tests (#35577) 7 years ago
inventory.remote.template
inventory.winrm.template
network-integration.cfg
nxos.yaml Module deprecation: docs, scheme and tests (#34100) 7 years ago
target-prefixes.network ACI: Make network testing work out-of-the-box (#35116) 7 years ago
windows-integration.cfg Fix ansible-test config management. 7 years ago