summaryrefslogtreecommitdiff
path: root/commands/command.py
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2016-07-21 10:57:41 -0700
committerGitHub <noreply@github.com>2016-07-21 10:57:41 -0700
commitb3c606047d111d64d30a7e20690a081414ceae52 (patch)
tree672c205b2c3187f98ee874baef5a97e2f518df3a /commands/command.py
parent3945794704d3dcf7fed84a8322e61c1ba0ee6a2d (diff)
downloadansible-modules-core-b3c606047d111d64d30a7e20690a081414ceae52.tar.gz
Remove git and synchronize modules from list of commands we want users to use the module for instead. (#4233)
Diffstat (limited to 'commands/command.py')
-rw-r--r--commands/command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/command.py b/commands/command.py
index 8c76826f..f6451b14 100644
--- a/commands/command.py
+++ b/commands/command.py
@@ -137,11 +137,11 @@ def check_command(commandline):
arguments = { 'chown': 'owner', 'chmod': 'mode', 'chgrp': 'group',
'ln': 'state=link', 'mkdir': 'state=directory',
'rmdir': 'state=absent', 'rm': 'state=absent', 'touch': 'state=touch' }
- commands = { 'git': 'git', 'hg': 'hg', 'curl': 'get_url or uri', 'wget': 'get_url or uri',
+ commands = { 'hg': 'hg', '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',
- 'rsync': 'synchronize', 'dnf': 'dnf', 'zypper': 'zypper' }
+ 'dnf': 'dnf', 'zypper': 'zypper' }
become = [ 'sudo', 'su', 'pbrun', 'pfexec', 'runas' ]
warnings = list()
command = os.path.basename(commandline.split()[0])