mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Actually expand ~ in yarn global install folder (#4048)
* Fix 'changed' status for yarn global by actually expanding ~ * Ignore use-argspec-type-path test * Add changelog fragment * Update changelogs/fragments/4048-expand-tilde-in-yarn-global-install-folder.yaml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
4309dfda52
commit
7ca60e0177
7 changed files with 8 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- yarn - fix missing ``~`` expansion in yarn global install folder which resulted in incorrect task status (https://github.com/ansible-collections/community.general/issues/4045, https://github.com/ansible-collections/community.general/pull/4048).
|
|
@ -163,7 +163,7 @@ from ansible.module_utils.basic import AnsibleModule
|
||||||
|
|
||||||
class Yarn(object):
|
class Yarn(object):
|
||||||
|
|
||||||
DEFAULT_GLOBAL_INSTALLATION_PATH = '~/.config/yarn/global'
|
DEFAULT_GLOBAL_INSTALLATION_PATH = os.path.expanduser('~/.config/yarn/global')
|
||||||
|
|
||||||
def __init__(self, module, **kwargs):
|
def __init__(self, module, **kwargs):
|
||||||
self.module = module
|
self.module = module
|
||||||
|
|
|
@ -24,6 +24,7 @@ plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type
|
||||||
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
|
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
|
||||||
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice
|
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice
|
||||||
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
|
plugins/modules/packaging/language/yarn.py use-argspec-type-path
|
||||||
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
|
|
|
@ -23,6 +23,7 @@ plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type
|
||||||
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
|
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
|
||||||
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice
|
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice
|
||||||
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
|
plugins/modules/packaging/language/yarn.py use-argspec-type-path
|
||||||
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
|
|
|
@ -18,6 +18,7 @@ plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type
|
||||||
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
|
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
|
||||||
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice
|
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice
|
||||||
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
|
plugins/modules/packaging/language/yarn.py use-argspec-type-path
|
||||||
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
|
|
|
@ -18,6 +18,7 @@ plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type
|
||||||
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
|
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
|
||||||
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice
|
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice
|
||||||
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
|
plugins/modules/packaging/language/yarn.py use-argspec-type-path
|
||||||
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
|
|
|
@ -18,6 +18,7 @@ plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:undo
|
||||||
plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type
|
plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type
|
||||||
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
|
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
|
||||||
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
|
plugins/modules/packaging/language/yarn.py use-argspec-type-path
|
||||||
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid # invalid alias - removed in 5.0.0
|
||||||
|
|
Loading…
Reference in a new issue