mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00: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:
committed by
Dag Wieers
parent
2804a2663a
commit
ef25367353
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user