Commit Graph

143 Commits (57a9af56930b2e8fa4c9a3036c5904b75e24da40)

Author SHA1 Message Date
Dmitry Bashkatov 561df9ce94 gluster_volume: fixes, new "force" option 2016-12-08 11:32:28 -05:00
Richard Gray e6bf26967c Set default for locale_gen state parameter
Fix the state parameter for the locale_gen module to be non-mandatory
with a default value of 'present', as indicated by the module
documentation.
2016-12-08 11:32:27 -05:00
Matthew Vernon 1e21e34e0f Changes from Brian Coca's review of this module
These are all the code changes from Brian's review:
* change #! line
* rename "host" to "name" [keep as alias]
* make documentation clearer
* imports 1 per line
* use get_bin_path to find ssh-keygen
* key not actually required when removing host
2016-12-08 11:32:27 -05:00
Matthew Vernon e76ad916ef known_hosts: manage ssh known_hosts files with ansible.
The known_hosts module lets you add or remove a host from the
known_hosts file. This is useful if you're going to want to use the
git module over ssh, for example. If you have a very large number of
host keys to manage, you will find the template module more useful.

This was pull request 7840 from the old ansible repo, which was
accepted-in-principle but not yet merged. The mailing list thread
reading it is:

https://groups.google.com/forum/#!topic/ansible-devel/_e7H_VT6UJE/discussion
2016-12-08 11:32:27 -05:00
Misho Krastev fcf8223dfe fix lvol module to properly query the size of logical volumes 2016-12-08 11:32:27 -05:00
Benjamin Kluck 56ecf602dc svc: Add kill command (svc -k) 2016-12-08 11:32:27 -05:00
Alexander Gubin 80e2de0e5d lvol: Cast size(LogicalVolumeSize) to lower to fix the difference between lvs and lvcreate 2016-12-08 11:32:27 -05:00
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.
2016-12-08 11:32:26 -05:00
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.
2016-12-08 11:32:26 -05:00
SkaveRat 6ca4925618 Fix missing restart method
Script was missing the restart command
2016-12-08 11:32:26 -05:00
Kai de Haan 36fa3ccf6c svc: Ensure python 2.5 compatibility
* eg. debian lenny
2016-12-08 11:32:26 -05:00
Brian Coca 01a30bf2b5 Revert "Add listsnapshots property to zfs" 2016-12-08 11:32:26 -05:00
Simon Aquino f9b85306f0 Facter module should return custom facts
The ansible facter module should also return puppet custom facts by
default.
2016-12-08 11:32:25 -05:00
Brian Coca f5a1196cc7 now properly checks that link is suplied before trying to use it should fix #46 2016-12-08 11:32:25 -05:00
Kelley Reynolds 3d686ef07d Add listsnapshots property to zfs 2016-12-08 11:32:25 -05:00
Brian Coca 834f71a4a6 daemontools module 2016-12-08 11:32:25 -05:00
Hiroshi Umehara 6c6b9d2b4d Generalize locale name normalization 2016-12-08 11:32:24 -05:00
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.
2016-12-08 11:32:24 -05:00
Pierre-Louis Bonicoli 0df24a61c5 remove unused variable 2016-12-08 11:32:23 -05:00
Pierre-Louis Bonicoli 993da476a0 Avoid to use the builtin 'echo'
By default, the interpretation of escape characters could be disabled (bash)
or enabled (dash).
2016-12-08 11:32:23 -05:00
Alexander Gubin 99bcf18410 Fix lvol: Find LVM commands in PATH env 2016-12-08 11:32:23 -05:00
Bert Mertens 94bd5ec6d8 Fix getent behaviour with fail_key=False 2016-12-08 11:32:23 -05:00
Toshio Kuratomi 51c62c78b9 Fixes for docs building 2016-12-08 11:32:23 -05:00
Brian Coca 59f3bf6300 fixed doc bug 2016-12-08 11:32:23 -05:00
John Barker c8590ec612 Add a note about debconf passwords always being recorded as changed 2016-12-08 11:32:23 -05:00
Nikolai Lifanov 56c5507c21 fix at.py module on non-glibc systems 2016-12-08 11:32:22 -05:00
Cosmo Petrich 9bcf232880 Remove default from 'permanent' and 'state' docs
These fields are both required, and thus do not actually have defaults.
2016-12-08 11:32:22 -05:00
Brian Coca 701a85e7fc revamp of gluster volume management also implemented deleting a volume 2016-12-08 11:32:22 -05:00
Michael Scherer 3dab019dca Add a new option immediate= to immediately apply a permanent change
Currently, either you apply the change in the configuration
of firewalld ( without permanent=True ), or you apply it live.
I most of the time want to do the 2 at the same time, ie open the
port ( so I can use the service ) and make sure it stay open on reboot.
2016-12-08 11:32:22 -05:00
Toshio Kuratomi 79bd23da3e Fixes to documentation 2016-12-08 11:32:21 -05:00
Taneli Leppä 36fb7e0529 Added .py extension to glusterfs module. 2016-12-08 11:32:21 -05:00
Taneli Leppa 71172bd762 Added GlusterFS module. 2016-12-08 11:32:21 -05:00
Aurélien Bompard 27afdc9566 Module alternatives: support RedHat-based OSes
RedHat-based OSes have a version of update-alternatives which comes from
the chkconfig package and does not support the --query parameter. Work
around that.
2016-12-08 11:32:20 -05:00
Aurélien Bompard 2d5c2dabe8 Module alternatives: support check mode 2016-12-08 11:32:20 -05:00
Steve 2cb1176bc2 New crypttab module for editing Linux /etc/crypttab file 2016-12-08 11:32:20 -05:00
Brian Coca ff66d56d4a corrected and made better docs for getent 2016-12-08 11:32:20 -05:00
Filipe Niero Felisbino d740265e13 Replace dev_string to dev_list 2016-12-08 11:32:20 -05:00
Chris West 4176c3b500 Enable "ufw default allow routed"
* The policy is shown in `status verbose`, so all the check mode stuff should keep working.
 * `--dry-run` works as expected.
 * No idea whether it's legal as an argument to `interface`
2016-12-08 11:32:19 -05:00
Baptiste Mispelon 7a60427749 Fixed typo in locale_gen documentation. 2016-12-08 11:32:19 -05:00
jravetch 2a8fc63645 mkfs.xfs uses -f instead of -F flag
mkfs.xfs uses the -f instead of -F flag to force creating a filesystem on a devices that have an existing filesystem
2016-12-08 11:32:18 -05:00
Michael DeHaan 7ba58f93a0 package files 2016-12-08 11:32:18 -05:00
Michael DeHaan 5879c503bb File extensions! 2016-12-08 11:32:18 -05:00
James Cammarata d4b117843a Copying snapshot of extras modules 2016-12-08 11:32:07 -05:00