Commit Graph

24793 Commits (1ff15373293c591219ee14db644152e5e519635b)
 

Author SHA1 Message Date
Dagobert Michelsen 1ff1537329 Adjust setting to better make logic clearer 8 years ago
Dagobert Michelsen 474df33ff3 Correctly report "changed: false" when trying to install a package not in the catalog. This fixes #230 8 years ago
Jeppe Toustrup 0ea2cf77dd NPM: Expand the path before accessing it 8 years ago
Sterfield 02587fba94 Missing import re
I don't even know how it magically worked, but the fact is the code was
correct, and ran OK without the import re.
8 years ago
Sterfield a674cb06e7 Now allow every type of locales + archlinux fix
The previous version of this code was supporting only locales using the
format "<language>_<territory>.<charset>". But all the locales that
doesn't have this format were not installable (such as "fr_FR" or
"fr_FR@euro").
Also, if an invalid locales was provided, the module kept sending a
"changed" status.

Now :
 * if the user provides an invalid locales, the module failed. Locales
   are verified using /etc/locale.gen or /usr/share/i18n/SUPPORTED if
   Ubuntu
 * Every types of valid locales are now supported.
 * The locale module was not working on Archlinux, as there's no space
   between the "#" and the locale. This is now supported. Credits goes
   to danderson189, this is his code.

This module was tested on debian jessie, ubuntu 14 LTS and last
Archlinux.
8 years ago
Brian Coca 1b10058475 changed to make name primary over user, as examples and keep consistent 8 years ago
Kevin Carter 798f89c2e5 Updated volume create methods for a more consistent process
The volume create methods were making an assumption on the unit
sizes being presented by the `vgdisplay` and the `lvdisplay`
commands. To correct the assumption the commands will now enforce
a unit size of "g" which will alway convert sives to gigabytes.
This was an issue brought up by @hughsaunders.
8 years ago
Kevin Carter e5b0c1ced5 Added new module to support LXC containers
The new module will allow users to control LXC containers from ansible.
The module was built for use in LXC >= 1.0 or greater and implements most
of what can be done using the various lxc clients with regards to running
containers. This first module is geared only at managing lxc containers.

The module provides:
  build containers
  destroy containers
  archive containers
  info from a single container
  start / stop / restart containers
  run commands within containers
  add/modify lxc config for a container
  supports backends including LVM
8 years ago
Brian Coca 5601a88d71 fixed missing , 8 years ago
SkaveRat 6ca4925618 Fix missing restart method
Script was missing the restart command
8 years ago
Brian Coca 4fb47d443b fixed logentries 8 years ago
Kai de Haan 36fa3ccf6c svc: Ensure python 2.5 compatibility
* eg. debian lenny
8 years ago
Marcus 21a03152dc Add support for mirror_only parameter to cpanm module 8 years ago
Brian Coca 01a30bf2b5 Revert "Add listsnapshots property to zfs" 8 years ago
Peter Oliver c90eba7dcf Add another example. 8 years ago
Peter Oliver 21a3fd5b20 Fix idempotency when removing packages.
If the package is already not present, then we have nothing to do.
8 years ago
Peter Oliver defdc7c44b Tweak documentation. 8 years ago
Peter Oliver 5c1c2c5c1a Try to fix up commas in version numbers. 8 years ago
Peter Oliver a300ec9d3b Add missing boilerplate. 8 years ago
Peter Oliver 1faee38eac Add Solaris 11 package management
- Module pkg5 handles installing and uninstalling packages.
- Module pkg5_publisher manages repository configuration.
8 years ago
Jens Depuydt 4a967e7a1c added postgresql_lang.py 8 years ago
Simon Aquino f9b85306f0 Facter module should return custom facts
The ansible facter module should also return puppet custom facts by
default.
8 years ago
Brian Coca f5a1196cc7 now properly checks that link is suplied before trying to use it should fix #46 8 years ago
Brian Coca f319bdbfa4 minor fixes to logentries 8 years ago
Ruben Van den Bossche 1943ee7311 Added support for --name and --type arguments when following a new log 8 years ago
Kelley Reynolds 3d686ef07d Add listsnapshots property to zfs 8 years ago
Brian Coca 834f71a4a6 daemontools module 8 years ago
Brian Coca 60459795b0 added version to patch and remote_src to allow for controlling if src is on master or target 8 years ago
Jakub Jirutka 8383c1c8d3 Add new module "patch" 8 years ago
James Barwell ce349b6c3d Fix argument parsing to module constructor
- Change to remove kwargs in a97d1016dc
  did not remove arguments passed in to the constructor.
8 years ago
Matthew Pherigo 11a68b4cad Make $BATCH=yes the default, remove module option 8 years ago
Matthew Pherigo 5664da4c63 pkgng: add 'batch' parameter
Some packages attempt to prompt the user for certain settings during
installation. Thus, this parameter sets the environment variable
$BATCH to 'yes', which forces package installation scripts to accept
default values for these interactive prompts. This should work for all
prompts that have a default value and aren't implemented through a
custom script (as this variable is built into the ports/package system).

FIXME: Package install should fail if it prompts and batch isn't set;
currently, the install hangs indefinitely.
TODO: Allow user to specify the answers to certain prompts.

I (github.com/mwpher) have NOT tested this with any packages besides
bsdstats. It's a small improvement, but not a complete answer to all
the complexities of package installation.
8 years ago
Andrew Udvare a59770e02d Add support for emerge's --getbinpkg and --usepkgoonly 8 years ago
Daniel Newport 438a5a730e use state=latest to ensure the latest version is installed. mimics functionality of the apt and yum modules. 8 years ago
Daniel Newport 3e7ab59eb4 fix pacman upgrade bug 8 years ago
Jonathan Mainguy 4fb54a068f Addes login_port feature, similiar to how mysql_db.py works 8 years ago
Julien Pepy de442415a0 Fix composer module checkmode and change detection 8 years ago
Peter Tan e12f05ad48 Do not check for the image before calling gce.ex_create_image() or gce.ex_delete_image(), instead catching the ResourceExistsError or ResourceNotFoundError respectively. 8 years ago
Peter Tan 35a4212b5f Address review comments from @sivel and @erjohnso 8 years ago
Peter Tan 42fbeda997 Add gce_img module for utilizing GCE image resources 8 years ago
Toshio Kuratomi 8c63ebcf5e Move dnf and bower plugins to proper subdirs 8 years ago
Toshio Kuratomi 3876df5911 Make documentation of urpmi module force parameter clearer 8 years ago
Toshio Kuratomi 2a6b66053d Reverse the default value of the bzr module force flags 8 years ago
Hiroshi Umehara 6c6b9d2b4d Generalize locale name normalization 8 years ago
Hiroshi Umehara 0ac3592b92 Add EUC-JP locale name normalization
The function normalizes checks for UTF-8, but the same issue exists for
other locales as well.  This fix adds normalization for EUC-JP, a Japanese
locale.
8 years ago
Rob White e6eb7d47eb Keep 'process' lowercase to protect against upstream changes 8 years ago
Rob White ef8ca7c063 Changed status() to be case-sensitive of process 8 years ago
Giovanni Tirloni ccd3044ea5 Fix dangerous use of empty list as default arg (mutable) 8 years ago
Toshio Kuratomi bc5d5b1be1 Fix typo causing SyntaxError (missing colon) 8 years ago
Anders Ingemann 465d0483eb Clear rabbitmq_user pw when none is specified 8 years ago