mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
This PR addresses two issues: 1. The hg module was added to command module's check_command list, so if someone runs hg directly from the command module, the command module would warn the user "Consider using hg module rather than running hg". We address this by removing hg from the list. 2. We added a new note to tell users push feature will be addressed in issue #31156.
This commit is contained in:
parent
2804a2663a
commit
ef25367353
2 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,7 @@ def check_command(module, commandline):
|
|||
arguments = {'chown': 'owner', 'chmod': 'mode', 'chgrp': 'group',
|
||||
'ln': 'state=link', 'mkdir': 'state=directory',
|
||||
'rmdir': 'state=absent', 'rm': 'state=absent', 'touch': 'state=touch'}
|
||||
commands = {'hg': 'hg', 'curl': 'get_url or uri', 'wget': 'get_url or uri',
|
||||
commands = {'curl': 'get_url or uri', 'wget': 'get_url or uri',
|
||||
'svn': 'subversion', 'service': 'service',
|
||||
'mount': 'mount', 'rpm': 'yum, dnf or zypper', 'yum': 'yum', 'apt-get': 'apt',
|
||||
'tar': 'unarchive', 'unzip': 'unarchive', 'sed': 'template or lineinfile',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue