Add manpage for ansible-playbook, since it is a command. More detailed docs will remain on the web site.
This commit is contained in:
parent
2ca36fb782
commit
fb76cd8663
1 changed files with 3 additions and 3 deletions
6
yum
Normal file → Executable file
6
yum
Normal file → Executable file
|
@ -56,9 +56,9 @@ def pkg_to_dict(po):
|
||||||
'_nevra':po.ui_nevra,
|
'_nevra':po.ui_nevra,
|
||||||
}
|
}
|
||||||
if type(po) == yum.rpmsack.RPMInstalledPackage:
|
if type(po) == yum.rpmsack.RPMInstalledPackage:
|
||||||
d['state'] = 'installed'
|
d['yumstate'] = 'installed'
|
||||||
else:
|
else:
|
||||||
d['state'] = 'available'
|
d['yumstate'] = 'available'
|
||||||
|
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
@ -220,7 +220,7 @@ def main():
|
||||||
if 'list' in params:
|
if 'list' in params:
|
||||||
my = yum_base(conf_file=params['conf_file'], cachedir=True)
|
my = yum_base(conf_file=params['conf_file'], cachedir=True)
|
||||||
results = list_stuff(my, params['list'])
|
results = list_stuff(my, params['list'])
|
||||||
elif 'ensure' in params:
|
elif 'state' in params:
|
||||||
my = yum_base(conf_file=params['conf_file'], cachedir=True)
|
my = yum_base(conf_file=params['conf_file'], cachedir=True)
|
||||||
state = params['state']
|
state = params['state']
|
||||||
pkgspec = params['pkg']
|
pkgspec = params['pkg']
|
||||||
|
|
Loading…
Reference in a new issue