Commit Graph

776 Commits (e1c1ea9013dcde6e66b8e21e35bbce9638fa4e7e)

Author SHA1 Message Date
Michael DeHaan 5836783181 Merge pull request #2976 from stoned/pip-virtualenv_command-pathname
Allow virtualenv_command argument of the pip module to be a pathname
11 years ago
Michael DeHaan 64779e4a0b Merge pull request #2975 from stoned/doc-pip-fix
Fix pip module documentation (YAML quoting)
11 years ago
Michael DeHaan 65aca6cef6 Merge pull request #2995 from SirScott/pip-sudo-user
pip module -- sudo_user permission problem fix
11 years ago
Stoned Elipot 8a0fc56323 Fix typo in npm module documentation preventing it to be processed by ansible-doc 11 years ago
Scott Sturdivant cc1f1368e4 Chdir to tempdir to prevent permissions problems. 11 years ago
William Bowling 5537358532 Fixes apt_repository always reporting file uri repos as changed 11 years ago
Stoned Elipot c6712b35a2 Allow virtualenv_command argument of the pip module to be a pathname 12 years ago
Stoned Elipot 1082ba6c1c Fix pip module documentation (YAML quoting) 12 years ago
John Jarvis 008e18d1d3 fixes case where name is omitted from pip arg list
This code:
```
    if name.endswith('.tar.gz') or name.endswith('.tar.bz2') or
name.endswith('.zip'):
        is_tar = True
```
was not checking whether name is defined since it is an
optional param.
12 years ago
John Jarvis fc61824591 fixing syntax error 12 years ago
Michael DeHaan 47675caab5 Merge pull request #2948 from jcbagneris/devel
Fixes in apt module doc: typos, examples
12 years ago
Michael DeHaan 2209f44371 Merge pull request #2932 from bcoca/apt_getbins
apt now uses module function to find bin paths
12 years ago
Michael DeHaan 79081133af Merge pull request #2905 from kjkuan/bugfix-apt-version-comparison
Make package version comparison use globbing.
12 years ago
Michael DeHaan 6fb632dffe Merge pull request #2875 from yeukhon/devel
Pip's name key can now accept remote package address.
12 years ago
Yeukhon Wong 76e1e5bbe9 Pip can now accept vcs or tarball as name. Prevented adding mirrors when name is vcs.
**Summary**:

There was a bug in the previous commit; pip module would add --use-mirrors options to a source package when state is absent. The bug is resolved in this commit by checking ``not is_package`` in the if branch.

Furthermore, in order to support non-vcs source name like tarballs, we must not add -e option to the arg list. Given this circumstance, this commit have is_tar and is_vcs and the latter is checked to add -e option. Since mirrors do not make sense with vcs or tarball source, this commit will not add --use-mirrors (default to True) as always.
12 years ago
JcB 5d89534744 Fixes in apt module doc: typos, examples 12 years ago
Brian Coca 8f87a0d109 apt now uses module function to find bin paths
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Michael DeHaan 117f50dcde Merge pull request #2911 from sergevanginderachter/apt-repo-ppa-bug
fix an idempotence bug in apt-repository where 'ppa' is used in a plain http://ppa. ....
12 years ago
Jack Kuan 0b941abd04 Make package version comparison use globbing.
I have something like:

  apt: pkg={{ item }} state=present
  with_items:
    - python-pysqlite2=2.6.3-*
    - python-paramiko=1.7.7.1-*

But due to the use of *'s in the version specifications, the apt ansible
module always reports changed: true. This patch fixes that.
12 years ago
Michael DeHaan de74cfd85e Merge pull request #2895 from jpmens/docreqs
Add Requirements to rst template, ansible-doc
12 years ago
Jan-Piet Mens 521162f43d Add Requirements to rst template, ansible-doc
tweak position & look of Requirements in rst
tweak APT's notes as per anhj's wish
12 years ago
bleader 394b89874e new module to handle FreeBSD packages with pkgng
New binary package management should be the default soon in FreeBSD, and
is already fully useable through self generated and non official binary
repositories.

- add support for pkgng
- support specifying the repository url as a parameter
- allow not to update cache

Signed-off-by: bleader <bleader@ratonland.org>
12 years ago
Yeukhon Wong 2c72b905a7 Pip's name key can now accept remote package address.
Summary:

Pip module would abort when name is a remote package address because
the module was expecting a version if ``=`` is part of the name value.

Furthermore, the pip module would require either name or requirement to
be a key, although the documentation table said neither was required.
The fact that one of them must be present is not documented in the
documentation leads to confusion. This commit added this fact as part
of description.

In this commit, we resolve the confusion by stating either ``name``
or ``requirement`` is needed. Next, if the user puts remote address
as the value of the ``name`` key, we will not use mirror. Lastly,
if the user uses the remote serivice address as the name of the
package and the user does not supply -e option in extra_vars
(which is the whole point of this commit), we will add -e to
 extra_vars so pip command can run with -e option.
12 years ago
Michael DeHaan 3802560eaa Merge branch 'devel_apt-cache_valid_time' of git://github.com/gottwald/ansible into devel 12 years ago
Serge van Ginderachter e143f86867 fix a bug in apt-repository where 'ppa' is used in a plain http://ppa. .... url 12 years ago
Michael DeHaan cd97a4cb14 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago