Michael DeHaan
7749b34546
Merge branch 'new_branch_for_apt_squashed' of git://github.com/RaymiiOrg/ansible-1 into devel
...
Conflicts:
library/apt
12 years ago
Remy van Elst
f094d65fdd
apt update
12 years ago
Remy van Elst
5289fa72b6
apt upgrade support
12 years ago
Daniel Hokka Zakrisson
1fe744d2af
Fix apt module's boolean check to expect converted value
...
Fixes #2218 .
12 years ago
Daniel Hokka Zakrisson
578ec127fb
Remove choices=BOOLEANS as it is no longer needed
12 years ago
Daniel Hokka Zakrisson
df798d0688
Use argument type checking to convert to boolean
12 years ago
Michael DeHaan
ae599d8a61
Merge pull request #2115 from kavink/devel
...
teach apt module to support --check mode
12 years ago
Kavin Kankeshwar
53924b4599
teach apt module to support --check mode
12 years ago
Daniel Hokka Zakrisson
3f2fd22ed4
Don't consider packages missing from the cache an error on remove
...
Fixes #2017 .
12 years ago
Blair Zajac
fa8e653011
Simplify and correct comparisons with None.
12 years ago
Peter Sankauskas
6fd0316fa6
The default for install-recommends is actually Yes, not No, as is
...
visible on line 121
12 years ago
Remy
ad7807fce4
Added DPKG options which lardcanoe suggested
12 years ago
Remy
26310f411c
Added check so that upgrade cannot be used with other options.
12 years ago
Remy
fd59a03193
Added version flag (1.1) to updated
...
apt module.
12 years ago
Remy
31db1e31d4
Added apt-get upgrade and dist-upgrade option
12 years ago
Michael DeHaan
12403abc2c
Merge pull request #1924 from blair/consistly-use-underscores
...
library/apt: consistently use underscores in examples.
12 years ago
Blair Zajac
811c711328
library/apt: consistently use underscores in examples.
...
To be consistent with the table showing available options, use
underscores in the example tasks, not hyphens, as the table doesn't
list hyphenated versions of option names, so it looks like the
examples could have typos in them.
12 years ago
Stephen Fromm
3fb21a5281
Update modules to use run_command in module_common.py
...
This updates apt, apt_repository, command, cron, easy_install, facter,
fireball, git, group, mount, ohai, pip, service, setup, subversion,
supervisorctl, svr4pkg, user, and yum to take advantage of run_command
in module_common.py.
12 years ago
Jan-Piet Mens
caf003c813
DOCUMENTATION strings
12 years ago
Michael DeHaan
663a8fef3f
chmod -x for all module files in source checkout
12 years ago
Jan-Piet Mens
feab57e270
Reformat code: examples consistently
...
- added terse syntax to modules.rst
- added description of special variables to template module
12 years ago
Michael DeHaan
54257a6a4c
Remove "the the"
12 years ago
Michael DeHaan
29d49d415f
fix mentioning of redundant aliases in module docs, remove was removed anyway
12 years ago
Michael DeHaan
f67aa85c3f
Fixing various module related things.
12 years ago
Jan-Piet Mens
e620fed755
Jumbo DOCUMENTATION patch
12 years ago
Marco Vito Moscaritolo
e1c83b0367
Fixed error on official docs (reported on DOCUMENTATION string). Name param must be pkg and is required.
12 years ago
Jan-Piet Mens
1193810d46
module DOCUMANTATION for apt, apt_respository cleanup
12 years ago
Marco Vito Moscaritolo
c976238a81
Added documentation to APT module
12 years ago
Michael DeHaan
14c2e8de0c
Fix invalid usage or fail_json in apt module
12 years ago
Michael DeHaan
798c35d83e
Apt module should accept 'absent', and 'present' like the yum module does.
12 years ago
Michael DeHaan
477ca2ed1a
Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library
...
directory.
12 years ago
Michael DeHaan
faed4b5a33
whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added
...
in 0.6 release)
12 years ago
Michael DeHaan
7e9e29011e
Add encoding lines to python modules such that they can take unicode options if they are fed them, since the
...
AnsibleModule stuff no longer base64 encodes for simplicity and speed reasons.
12 years ago
Christoph Seitz
6baaea90ae
Tweaked error massages.
12 years ago
Christoph Seitz
b973910283
Some optimizations to previous code.
12 years ago
Christoph Seitz
418445d3c5
Enable apt module to handle multiply packages (comma separated)
12 years ago
Lorin Hochstein
9bcc18d17b
Apt module: add update-cache as alias of update_cache
...
This will ensure users of previous versions of this module don't
have their playbooks break.
12 years ago
Mark Theunissen
7a67145ef4
Fixes for apt module
12 years ago
Michael DeHaan
d0f0315c9d
Merge pull request #723 from skvidal/devel
...
fix trace-creating error in apt module - also make the default setting a...
12 years ago
Seth Vidal
21a35bde00
new patch - adds a 'boolean' function to the module_common class and cleans up
...
the apt module to use it
12 years ago
Seth Vidal
c4c53d545a
fix trace-creating error in apt module - also make the default setting actualy work
12 years ago
Lorin Hochstein
a9c2e597ac
Fix typo in apt error message: update-cache -> update_cache
...
The apt parameter changed from update-cache to update_cache, but
the error message still mentioned update-cache
13 years ago
Nikhil Singh
daf44331c4
Code review changes
...
1. Passing the module to the various functions so that they can use module.fail_json and module.exit_json methods inside.
2. Because of point 1, install and remove methods do not return anything. Instead, they use the module functions itself.
3. Move the import statement (for apt and apt_pkg) inside main function so on import error, we can use module.fail_json to print the error.
13 years ago
Nikhil Singh
dd9e09dee6
Adding dict() for json.dumps
13 years ago
Nikhil Singh
4c8d949642
Standardizing the apt module
13 years ago
Michael DeHaan
1a88a3362f
add noninteractive to debian module per #602
13 years ago
Michael DeHaan
626e4cb003
Merge pull request #572 from goozbach/devel
...
fixes #569 apt module problems on old versions of apt-python
13 years ago
Jeremy Smitherman
a35a0f885e
Added cmd modifications to use a force-yes option for apt module
13 years ago
Derek Carter
f38b9d1ca7
added filter for future warning
13 years ago
Derek Carter
e261d49acc
fixes #569 apt module problems on old versions of apt-python (namely debian 5.0)
13 years ago