Daniel Kimsey
a54d1fe09c
Fix yum module failing to initalize yum plugins
2015-12-09 12:06:48 -06:00
Veaceslav Mindru
dc697bf533
adding validate_certs for YUM. #2582
2015-11-29 20:59:03 +01:00
Charles Ferguson
fca36415d6
Update the documentation of the 'apt' action for the 'name'.
...
The package name has two aliases, 'package' and 'pkg'. Add them to the
documentation.
2015-11-24 15:55:31 +00:00
Charles Ferguson
490038b0e4
Update documentation of the 'pkg' and 'state' parameters in yum.
...
The yum module allows the 'name' parameter to be given as 'pkg', in
a similar way to some of the other package managers. This change
documents this alias.
The module's 'state' parameter has two other aliases, in line with
the 'apt' action; the 'state' parameter can take 'installed' as an
alias for 'present', and 'removed' as an alias for 'absent'. These
aliases are documented.
2015-11-23 23:42:40 +00:00
Felix Engelmann
2a97e9f299
re-implements #226
...
in optional (editable) way
with backward compatibility
2015-11-03 12:45:00 +01:00
Toshio Kuratomi
5cacef8617
Fixes for bcoca's review of #1916
2015-11-02 13:04:12 -08:00
Harlan Lieberman-Berg
a53cf5434b
Give include_recommends a useless default to make the parser happy.
2015-11-02 13:04:12 -08:00
Harlan Lieberman-Berg
06a4efa1cf
Add missing brace.
2015-11-02 13:04:12 -08:00
Harlan Lieberman-Berg
a234e9b7b2
Change install_recommended in apt to a trinary.
...
Conditions are now "yes", "no", and "default", with the latter falling
back to the OS default.
2015-11-02 13:04:12 -08:00
Harlan Lieberman-Berg
baafcfc091
Change behavior of apt.py around installing recommended packages.
...
Closes #1189 .
This will cause the settings in Ansible to override the system settings.
That will have no effect except on systems that have an out-of-Ansible
configuration that disables automatic installation of recommended
packages. Previously, ansible would use the OS default whenever
install_recommends wasn't part of the playbook. This change will cause
the Ansible default configuration setting of installing recommended
packages to override the configuration files set on the OS for things
installed through ansible, even when there is no install_recommends
specified in the playbook. Because the OS default matches the Ansible
default, this shouldn't have wide impact.
2015-11-02 13:04:12 -08:00
Toshio Kuratomi
eeaeeb5a1f
Correct typo in yum module docs
2015-10-27 12:51:48 -07:00
Patrick Galbraith
2a93f21821
Fix to issue 12912. Supply 'force' to install of python-apt.
2015-10-26 13:28:10 -04:00
Toshio Kuratomi
06f301b05b
Note the difference between yum package groups and environment groups.
...
Fixes https://github.com/ansible/ansible/issues/12873
2015-10-26 08:37:03 -07:00
Toshio Kuratomi
01dcee98d2
Fix for state=latest with wildcard or virtual provide package names
2015-10-08 09:56:43 -07:00
Brian Coca
22bfb54d9d
added comment explaining chdir defaults
2015-10-07 12:19:50 -04:00
Brian Coca
a639da7c44
default chdir to tmpdir to avoid virtualenv issues
2015-10-07 12:18:36 -04:00
Brian Coca
8c353d0516
make chdir a path so it resolves shell aliases
...
also removed this_dir logic as it is not needed, chdir is None by default and run_command can handle that.
2015-10-07 10:38:47 -04:00
Brian Coca
f6bbd2ac5b
removed syslog in favor of common module logging functions
2015-10-01 00:13:58 -04:00
Greg DeKoenigsberg
0813c5fb40
Change author field for os_redhat_subscription.py
2015-09-22 05:51:02 -04:00
Brian Coca
cf2be9607c
Merge pull request #533 from thataustin/devel
...
Updating rubygems --no-document param
2015-09-11 11:21:27 -04:00
Marius Gedminas
eb17b6a36c
apt: check for "0 upgraded" to be at the beginning of the line
...
Fixes #1678 .
2015-08-25 19:15:33 +03:00
Toshio Kuratomi
b29276df34
Merge pull request #1204 from detiber/test_rhsm
...
bugfixes for redhat_subscription
2015-08-24 12:54:03 -07:00
Toshio Kuratomi
4721d6d8b5
Fix for the case where plugins aren't loaded on old RHEL systems
2015-08-20 15:34:57 -07:00
Toshio Kuratomi
c228739f2d
Merge pull request #1946 from ansible/pr/1657
...
Update check-mode results to be a dictionary (finishes pr 1657)
2015-08-20 13:14:02 -07:00
Toshio Kuratomi
9d4694122d
Return change results in a dictionary listing the package names.
...
Fix a parsing problem when package names contain a dot.
2015-08-20 13:02:29 -07:00
Brian Coca
5913f5e5e1
deal with more failures when apt module fails to instantiate pkg
...
fixes #1499
2015-08-18 14:59:35 -04:00
Brian Coca
8ff80c2c91
updated docs for package
2015-08-13 14:57:55 -04:00
Brian Coca
d139825169
fixed typo
2015-08-11 11:53:52 -04:00
Brian Coca
afb9b8e2f3
added gpg2 as fallback
...
fixes #1796
2015-08-11 11:53:52 -04:00
Pierre-Louis Bonicoli
2fdb197245
fix error occurring with Debian
...
Error was: AttributeError: 'SourcesList' object has no attribute 'repos_urls'
2015-07-30 13:16:56 +05:30
Abhijit Menon-Sen
74a27ffe52
Simplify distribution test
...
If it's Ubuntu, use UbuntuSourcesList; if it's any other apt-friendly
distribution, use SourcesList; otherwise, fail.
2015-07-30 13:16:56 +05:30
Abhijit Menon-Sen
44d16240a8
Make SourcesList __init__ method also set self.module
...
This was originally required to allow other methods in SourcesList to
fail, but subsequent changes rendered that unnecessary, and it's just
a cleanup now, and avoids passing in module separately to save().
2015-07-30 13:11:43 +05:30
Abhijit Menon-Sen
6afa1da910
Clarify HAVE_PYTHON_APT/install_python_apt handling in apt_repository
...
1. Don't test check_mode in both the caller and in the callee.
2. Don't test HAVE_PYTHON_APT inside an if that tests HAVE_PYTHON_APT
3. Don't be irritatingly vague about why the module fails ("You may be
seeing this because…").
Note that if «apt-get -y install python-apt» succeeds with rc==0, but
for some reason python_apt is not usable afterwards, this will break
because the imports in install_python_apt aren't wrapped inside a
try/except.
In other words, we assume that install_python_apt either succeeds or
fails with a traceback. This commit doesn't affect that behaviour.
2015-07-30 13:03:10 +05:30
Abhijit Menon-Sen
653fd34ed7
Fix call to _expand_ppa
2015-07-30 09:02:18 +05:30
Jason DeTiberus
c458b5e96c
python 2.4 syntax fix
2015-07-28 06:30:37 -04:00
Jason DeTiberus
0802102634
Add example for changing consumed subscriptions
2015-07-28 06:26:04 -04:00
Jason DeTiberus
520a125693
bugfixes for redhat_subscription
...
- correctly return pool ids for newer versions of subscription-manager
- allow for managing subscriptions after initial registration.
2015-07-28 06:26:04 -04:00
queridiculo
e5e0a70fc1
yum: improved check_mode handling and package update flow.
2015-07-22 18:07:57 -04:00
Yuhui Huang
51666c6def
Checking pip uninstall output in both stdout and stderr
2015-07-21 16:07:25 -07:00
Brian Coca
1dafa427c3
added versionadded to new option in pip module
2015-07-20 20:53:33 -04:00
Brian Coca
5c17fd3f9a
Merge pull request #629 from wbolster/issue-586-virtualenv-python-version
...
Add virtualenv_python arg to pip module
2015-07-20 20:46:30 -04:00
Brian Coca
963eb242f1
updated to add missing 'use' option
2015-07-16 16:53:17 -04:00
Toshio Kuratomi
d46c036b75
Add notes about loop squashing and 1.9.2 change to install packages in one yum transaction
2015-07-09 08:17:00 -07:00
Brian Coca
93754b903f
updated upgrade to a more sensible default as the previous was prone to confusion
...
fixes #1667
2015-07-03 14:44:17 -04:00
Matt Martz
9eb4219f79
Replaced tabbed indentation with spaces for apt module
2015-07-01 09:39:18 -05:00
Toshio Kuratomi
4ef5a45347
Add version that the profilename param was added
2015-06-30 05:08:38 -07:00
Toshio Kuratomi
6b8e6c0a0a
Merge pull request #425 from gerhardsam/devel
...
rhn_register: add support for profilename
2015-06-30 05:07:29 -07:00
Austin Brown
bb816f046c
Adding version detection
2015-06-29 23:13:29 -07:00
Brian Coca
a0d663bc65
Merge pull request #413 from JimPatterson/412_pip_check_venv
...
Correct check mode for pip in virtualenv.
2015-06-29 18:17:59 -04:00
Austin Brown
3c72e87152
Merge branch 'devel' of github.com:ansible/ansible-modules-core into devel
...
Conflicts:
packaging/language/gem.py
2015-06-26 11:21:43 -07:00