community.general/lib/ansible
Nathan Hyde 241d38077f Use ChocolateyInstall env variable after installation (#27812)
* Use ChocolateyInstall env variable after installation

Fixes #19725 Custom install locations specified by the ChocolateyInstall
env variable in win_chocolatey

After an initial install of chocolatey, use the ChocolateyInstall
environment variable when assigning $script:executable .

* Improve process of locating "choco.exe" post-initial install

Implement feedback for locating choco:

* Check if choco.exe is in PATH, if there use this
* If not in path and ChocolateyInstall var is available, use that
* Otherwise, use the equivalent of Windows Special Folder CommonApplicationData for locating chocolatey.
  (Chocolatey install (v0.10.7) uses CommonApplicationData when ChocolateyInstall is not set.)
2017-08-11 11:28:13 +10:00
..
cli Add prompt formats for 2.3 compat ask-vault-pass (#27974) 2017-08-10 09:34:16 -04:00
compat Remove wildcard imports 2017-07-28 22:10:17 -07:00
config Add back support for vault_password_file config var (#27597) 2017-08-01 18:07:33 -04:00
errors correct, cleanup & simplify dwim stack (#25956) 2017-07-03 15:27:53 -04:00
executor Fix for ansiballz filenames conflicting with python stdlib modules 2017-08-01 15:20:35 -07:00
galaxy Removes container-enabled warning (#27578) 2017-08-01 12:51:03 -04:00
inventory ensure all groups inherit from 'all' 2017-07-13 18:38:39 -04:00
module_utils Fix fallback and boolean check in argspec (#27994) 2017-08-10 12:10:18 -07:00
modules Use ChocolateyInstall env variable after installation (#27812) 2017-08-11 11:28:13 +10:00
parsing Better vault pass prompt behav on EOF, more unit tests (#27981) 2017-08-10 09:34:57 -04:00
playbook helpers.py: Fixes #27334 include empty task file within a 'block' dis… (#27811) 2017-08-08 09:48:39 -04:00
plugins restore the ability to issue commands over junos cli (#28025) 2017-08-10 17:57:32 -04:00
template template: fix KeyError: 'undefined variable: 0 (#27972) 2017-08-09 18:50:53 -04:00
utils Delete unused module_utils/cloudengine.py (#25054) 2017-08-09 12:32:45 -04:00
vars Remove wildcard imports 2017-07-28 22:10:17 -07:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
release.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00