Add manpage for ansible-playbook, since it is a command. More detailed docs will remain on the web site.

reviewable/pr18780/r1
Michael DeHaan 13 years ago
parent 2ca36fb782
commit fb76cd8663

6
yum

@ -56,9 +56,9 @@ def pkg_to_dict(po):
'_nevra':po.ui_nevra,
}
if type(po) == yum.rpmsack.RPMInstalledPackage:
d['state'] = 'installed'
d['yumstate'] = 'installed'
else:
d['state'] = 'available'
d['yumstate'] = 'available'
return d
@ -220,7 +220,7 @@ def main():
if 'list' in params:
my = yum_base(conf_file=params['conf_file'], cachedir=True)
results = list_stuff(my, params['list'])
elif 'ensure' in params:
elif 'state' in params:
my = yum_base(conf_file=params['conf_file'], cachedir=True)
state = params['state']
pkgspec = params['pkg']

Loading…
Cancel
Save