Brian Coca
61379184d4
Merge pull request #2794 from evverx/fix-apt-key-del-long-id
...
apt-key: convert ids to the 'short' format
10 years ago
Matt Davis
51056bac9d
Merge pull request #2696 from mattclay/apt-repository-filename
...
Added filename option to apt_repository module.
10 years ago
Evgeny Vereshchagin
d441cb176c
apt-key: convert ids to the 'short' format
...
Fixes:
$ ansible all -m apt_key -a 'state=present id=7A82B743B9B8E46F12C733FA4759FA960E27C0A6 keyserver=hkp://keyserver.ubuntu.com:80' --sudo
127.0.0.1 | SUCCESS => {
"changed": true
}
$ ansible all -m apt_key -a 'state=absent id=7A82B743B9B8E46F12C733FA4759FA960E27C0A6' --sudo
127.0.0.1 | SUCCESS => {
"changed": false
}
$ apt-key export 7A82B743B9B8E46F12C733FA4759FA960E27C0A6
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
...
See https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1481871
10 years ago
Brian Coca
4d2cdfe324
made note about choice availability in ansible ver
10 years ago
Brian Coca
8e066cd124
Merge pull request #2600 from cinerama70/pip-force-reinstall
...
Add support for pip force-reinstall
10 years ago
Brian Coca
2fbfc0740f
corrected version added
10 years ago
Brian Coca
dc517ecea6
Merge pull request #2457 from axelspringer/rhn_register-sslcacert-systemorgid
...
rhn_register: add sslcacert and systemorgid options
10 years ago
Arata Notsu
14950824c3
apt: export env vars before run dpkg
...
Without this change, some trouble may occur when "deb" parameter
is used as env vars controlling dpkg are not set. For example,
installing a package that requires user input will never end since
DEBIAN_FRONTEND=noninteractive is not set.
So export env vars in APT_ENV_VARS before run dpkg, like in cases
using apt-get/aptitude.
10 years ago
Brian Coca
c557f2ae5b
Merge pull request #2723 from mscherer/fix_427
...
Add more precise documentation on the requirements parameter
10 years ago
Barnaby Court
d4c5360380
add no_log to the password parameter
10 years ago
Martin Matuska
d3740505ac
rhn_register: add sslcacert and systemorgid options
10 years ago
Michael Scherer
860635d38c
Add more precise documentation on the requirements parameter
...
Fix #427
10 years ago
Toshio Kuratomi
c75c000369
Merge pull request #2403 from dvarrazzo/pip-vcs-changed
...
Fix status after pip installations with VCS urls
10 years ago
Matt Clay
9f622015f1
Added filename option to apt_repository module.
10 years ago
Chrrrles Paul
3c685d7468
Merge pull request #2680 from ansible/yum-use-rpm
...
Use rpm instead of repoquery for is_installed()
10 years ago
Toshio Kuratomi
0125770d8d
Use rpm instead of repoquery for is_installed()
...
* This keeps us from hitting bugs in repoquery/yum plugins in certain
instances (#2559 ).
* The previous is also a small performance boost
* Also in is_installed(), when using the yum API, return if we detect
a package name has been installed. We don't need to also check
virtual provides in that case. This is another small performance
boost.
* Sort the list of packages returned by the list parameter.
10 years ago
Brian Coca
74609ce42c
Merge pull request #2636 from vmindru/yum_fix_typo
...
fix typo s/defaults/default
10 years ago
Daniel Kimsey
a54d1fe09c
Fix yum module failing to initalize yum plugins
10 years ago
Veaceslav Mindru
0d5380258e
fix typo s/defaults/default
10 years ago
stephane
8d986a62a9
Add support for pip force-reinstall
...
The pip command allows a user to force reinstallation,
but the module doesn't currently support it. Add
"force-reinstall" as a possible state.
10 years ago
Veaceslav Mindru
dc697bf533
adding validate_certs for YUM. #2582
10 years ago
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.
10 years ago
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.
10 years ago
Daniele Varrazzo
c860af29b2
Detect unchanged pip runs when using a vcs url in name
...
Should fix bug #1645
10 years ago
Daniele Varrazzo
a95fee4079
Use 'pip freeze' output to detect changes with requirement specified
...
If the requirements contains a repos url it will always report 'Successfully
installed'; there is no difference in the output to tell apart if
anything new was pulled. Use freeze to detect if the environment changed
in any way.
Should fix ansible/ansible#1705
10 years ago
Felix Engelmann
2a97e9f299
re-implements #226
...
in optional (editable) way
with backward compatibility
10 years ago
Toshio Kuratomi
5cacef8617
Fixes for bcoca's review of #1916
10 years ago
Harlan Lieberman-Berg
a53cf5434b
Give include_recommends a useless default to make the parser happy.
10 years ago
Harlan Lieberman-Berg
06a4efa1cf
Add missing brace.
10 years ago
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.
10 years ago
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.
10 years ago
Toshio Kuratomi
eeaeeb5a1f
Correct typo in yum module docs
10 years ago
Patrick Galbraith
2a93f21821
Fix to issue 12912. Supply 'force' to install of python-apt.
10 years ago
Toshio Kuratomi
06f301b05b
Note the difference between yum package groups and environment groups.
...
Fixes https://github.com/ansible/ansible/issues/12873
10 years ago
Toshio Kuratomi
01dcee98d2
Fix for state=latest with wildcard or virtual provide package names
10 years ago
Brian Coca
22bfb54d9d
added comment explaining chdir defaults
10 years ago
Brian Coca
a639da7c44
default chdir to tmpdir to avoid virtualenv issues
10 years ago
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.
10 years ago
Brian Coca
f6bbd2ac5b
removed syslog in favor of common module logging functions
10 years ago
Greg DeKoenigsberg
0813c5fb40
Change author field for os_redhat_subscription.py
10 years ago
Brian Coca
cf2be9607c
Merge pull request #533 from thataustin/devel
...
Updating rubygems --no-document param
10 years ago
Marius Gedminas
eb17b6a36c
apt: check for "0 upgraded" to be at the beginning of the line
...
Fixes #1678 .
10 years ago
Toshio Kuratomi
b29276df34
Merge pull request #1204 from detiber/test_rhsm
...
bugfixes for redhat_subscription
10 years ago
Toshio Kuratomi
4721d6d8b5
Fix for the case where plugins aren't loaded on old RHEL systems
11 years ago
Toshio Kuratomi
c228739f2d
Merge pull request #1946 from ansible/pr/1657
...
Update check-mode results to be a dictionary (finishes pr 1657)
11 years ago
Toshio Kuratomi
9d4694122d
Return change results in a dictionary listing the package names.
...
Fix a parsing problem when package names contain a dot.
11 years ago
Brian Coca
5913f5e5e1
deal with more failures when apt module fails to instantiate pkg
...
fixes #1499
11 years ago
Brian Coca
8ff80c2c91
updated docs for package
11 years ago
Brian Coca
d139825169
fixed typo
11 years ago
Brian Coca
afb9b8e2f3
added gpg2 as fallback
...
fixes #1796
11 years ago