summaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorAlexander Gubin <alexander.gubin@bertelsmann.de>2015-12-22 10:07:08 +0100
committerAlexander Gubin <alexander.gubin@bertelsmann.de>2015-12-22 10:08:59 +0100
commit956d1d0700c9e950edbea620a75baaa725bff106 (patch)
tree95037d1dd22f01877a07bb9d6f49150c21b29839 /commands
parente8b70d4e00be4734e971f4846866db2319f2f90f (diff)
downloadansible-modules-core-956d1d0700c9e950edbea620a75baaa725bff106.tar.gz
command: Add warnings for dnf and zypper
Diffstat (limited to 'commands')
-rw-r--r--commands/command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/command.py b/commands/command.py
index 2bd8f704..f86d2c83 100644
--- a/commands/command.py
+++ b/commands/command.py
@@ -140,9 +140,9 @@ def check_command(commandline):
'rmdir': 'state=absent', 'rm': 'state=absent', 'touch': 'state=touch' }
commands = { 'git': 'git', 'hg': 'hg', 'curl': 'get_url', 'wget': 'get_url',
'svn': 'subversion', 'service': 'service',
- 'mount': 'mount', 'rpm': 'yum', 'yum': 'yum', 'apt-get': 'apt-get',
+ 'mount': 'mount', 'rpm': 'yum, dnf or zypper', 'yum': 'yum', 'apt-get': 'apt-get',
'tar': 'unarchive', 'unzip': 'unarchive', 'sed': 'template or lineinfile',
- 'rsync': 'synchronize' }
+ 'rsync': 'synchronize', 'dnf': 'dnf', 'zypper': 'zypper' }
become = [ 'sudo', 'su', 'pbrun', 'pfexec', 'runas' ]
warnings = list()
command = os.path.basename(commandline.split()[0])