Commit Graph

54 Commits (aa340c1508c3c75579afaa2d07f19e258b3c9271)

Author SHA1 Message Date
Michael DeHaan 58e8a97e91 Merge pull request #3225 from eest/openbsd_pkg-check_mode
openbsd_pkg: Add check_mode support.
12 years ago
Michael DeHaan 613df1d649 Merge pull request #3213 from veeti/apt_key_data
Document the data argument for apt_key
12 years ago
Michael DeHaan d9f91be34a Merge pull request #3227 from bcoca/modules_wantlist
implementing with_items list globbing made easier for modules
12 years ago
Michael DeHaan f87299842c Merge pull request #3199 from chrishoffman/doc_error
Fixing documentation error
12 years ago
Michael DeHaan 4849539399 Merge pull request #3194 from E-M/patch-2
Fixed Issue #3193 - make rhn_register module compatible with EL 5
12 years ago
Brian Coca 4942a06bc2 now modules can implement with_items list globbing w/o updating
hardcoded lists in ansible code, just add WITH_ITEMS_USES_LIST in a
comment anywhere, and of course, support recieving params as list.

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Jan-Piet Mens 5c69918d53 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
12 years ago
Patrik Lundin 9dfc420927 openbsd_pkg: Add check_mode support.
The biggest change has been to package_latest since it was previously
just comparing version numbers before and after an upgrade had run.
We now parse the output from a dry run instead.

Thanks to Johan Belin for triggering the discussion :).
12 years ago
Veeti Paananen dcb06a2306 Document the data argument for apt_key 12 years ago
Chris Hoffman 8a55210fb6 Removing all the default: null from the documentation 12 years ago
Chris Hoffman 499c7309e3 Fixing documentation error 12 years ago
Edgars M. 46ad4299a8 Fixed Issue #3193 12 years ago
E-M 170a5f36f1 Fixed module name in examples section
Examples showed that modules name is rhnreq_ks, when it actually is rhn_register.
12 years ago
Michael DeHaan 41bded178d Rename module 12 years ago
Michael DeHaan 305694a847 Update "added in" version in zypper, update doc name of rhn_register module. 12 years ago
Michael DeHaan cbee66c88b Rename module 12 years ago
Michael DeHaan c26d39c9d4 Rename rhnreg_ks to rhn_register 12 years ago
Michael DeHaan d0ded631d6 Merge pull request #3148 from jlaska/rhnreg_ks
Add rhnreg_ks module
12 years ago
Patrick Callahan c1ec8ead6c BUG FIX: Add package name to the cmd. 12 years ago
James Laska 6059ce34e3 Minor adjustments to subscription_manager and rhnreg_ks 12 years ago
James Laska 65993e8f35 Reorganize subscription_manager module.
Also ...
 * When unregistering, first unsubscribe from all content
12 years ago
James Laska a2cbcec328 The rhnreg_ks module acts as a wrapper to the command 'rhnreg_ks'. The
rhnreg_ks command allows users to manage registration to a Red Hat
Network (RHN) (e.g. rhn.redhat.com) server.  The moduel will also
interact with the specified RHN system via XMLRPC as needed.

Before proceeding with registration, the rhnreg_ks module will enable
the system to receive updates from RHN.  This involves enabling the
appropriate RHN yum plugin, as well as disabling an active
subscription-manager yum plugin.

Once enabled, the module will support the following operations:
 * configure
 * register
 * subscribe to custom child channels (see `rhn-channel` command)
 * unregister
12 years ago
Patrick Callahan 79b56667e3 Simple zypper module to install, remove, or upgrades packages. 12 years ago
Michael DeHaan df4c444571 Fixup doc YAML 12 years ago
James Laska 19b7cb6653 Updated examples and documentation 12 years ago
James Laska 3ba19bf369 Add RHN subscription_manager module
The subscription_manager module acts as a wrapper to the command
'subscription-manager'.  The subscription-manager utility allows users
to manage RHN registration, subscription and yum repositories from the
Red Hat Entitlement platform.

Currently, this module supports the following sub-commands:
 * config
 * [un]register
 * subscribe
12 years ago
Michael DeHaan 3a635d2d26 Lots of formatting fixes 12 years ago
Michael DeHaan b499f0754e Merge pull request #2986 from wbowling/devel
Fixes apt_repository always reporting file uri repos as changed
12 years ago
Michael DeHaan 82909179a0 Merge pull request #2976 from stoned/pip-virtualenv_command-pathname
Allow virtualenv_command argument of the pip module to be a pathname
12 years ago
Michael DeHaan e68894ea45 Merge pull request #2975 from stoned/doc-pip-fix
Fix pip module documentation (YAML quoting)
12 years ago
Michael DeHaan e3af9258ae Merge pull request #2995 from SirScott/pip-sudo-user
pip module -- sudo_user permission problem fix
12 years ago
Stoned Elipot 81e0a7adcc Fix typo in npm module documentation preventing it to be processed by ansible-doc 12 years ago
Scott Sturdivant b2542bff72 Chdir to tempdir to prevent permissions problems. 12 years ago
William Bowling 222f004bfa Fixes apt_repository always reporting file uri repos as changed 12 years ago
Stoned Elipot d4d0753e03 Allow virtualenv_command argument of the pip module to be a pathname 12 years ago
Stoned Elipot 83cce7d2e0 Fix pip module documentation (YAML quoting) 12 years ago
John Jarvis daf4c358f7 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 423fe82d94 fixing syntax error 12 years ago
Michael DeHaan 5f98c6c246 Merge pull request #2948 from jcbagneris/devel
Fixes in apt module doc: typos, examples
12 years ago
Michael DeHaan 223e4e2349 Merge pull request #2932 from bcoca/apt_getbins
apt now uses module function to find bin paths
12 years ago
Michael DeHaan e389b00050 Merge pull request #2905 from kjkuan/bugfix-apt-version-comparison
Make package version comparison use globbing.
12 years ago
Michael DeHaan 9a19e8a8ae Merge pull request #2875 from yeukhon/devel
Pip's name key can now accept remote package address.
12 years ago
Yeukhon Wong 08a486fe31 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 33ba919e5f Fixes in apt module doc: typos, examples 12 years ago
Brian Coca a8ca48888f apt now uses module function to find bin paths
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Michael DeHaan d29d142a2d 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 c7ebe44780 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 71f77d1583 Merge pull request #2895 from jpmens/docreqs
Add Requirements to rst template, ansible-doc
12 years ago
Jan-Piet Mens eeb80c695f 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 bdf6819c71 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