Sebastien ROHAUT
1c76fb14bb
Add "-" to ulimit type
...
Just edited pam_types to add the '-', as explained in man 5 limits.conf
2016-12-08 11:33:04 -05:00
Sebastien ROHAUT
c62430b452
Create pam_limits.py
...
The pam_limits module modify PAM limits, default in /etc/security/limits.conf.
For the full documentation, see man limits.conf(5).
2016-12-08 11:33:04 -05:00
Michael Scherer
c6391741a2
Do not assume that /var/lib/locales/supported.d/local exist
...
Since people can generate their own image with debootstrap, and
this wouldn't create a file /var/lib/locales/supported.d/local,
better check if it exist and work if it doesn't.
Fix #656
2016-12-08 11:33:03 -05:00
Michael Scherer
2ff3438435
Use the parameter 'name' everywhere for consistency
...
Fix https://github.com/ansible/ansible/issues/11395
2016-12-08 11:33:03 -05:00
Mathias Merscher
588ff5f512
ISO-8859-15 locale normalization in locale_gen module
...
Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>
2016-12-08 11:33:02 -05:00
Brian Coca
ac206e55ff
added missing version_added to new filesystem option
2016-12-08 11:32:59 -05:00
William Brown
11966605ec
Changes to allow FS resize in filesystem
2016-12-08 11:32:58 -05:00
Brian Coca
493e821f09
added version_added to new origin option
2016-12-08 11:32:57 -05:00
John W Higgins
b8bf7bd084
Switch to origin and cleanup
2016-12-08 11:32:57 -05:00
John W Higgins
c6a38ef185
Add zfs cloning
2016-12-08 11:32:57 -05:00
Timothy Vandenbrande
8a28ac3da7
updated version added for source into the docs
2016-12-08 11:32:55 -05:00
Timothy Vandenbrande
0861037fd9
added a source/network add/remove to/from zone for firewalld - removed useless comment
2016-12-08 11:32:55 -05:00
tylerturk
4f665e71bd
Fix documentation bug
2016-12-08 11:32:55 -05:00
Dag Wieers
6dc8696e02
Another incompatibility with python 2.4
2016-12-08 11:32:51 -05:00
Dag Wieers
35d4b3530b
Fix TravisCI failure on python 2.4
2016-12-08 11:32:51 -05:00
Franck Nijhof
5f84fc985d
Small fix for boolean when boolean type was set via a variable (somehow changes the behaviour of Ansible because of YAML as it seems. Booleans then become represented as a string).
2016-12-08 11:32:51 -05:00
Franck Nijhof
631927c579
Renamed module from mac_defaults to osx_defaults so the naming is more up to par with existing modules (e.g. osx_say)
2016-12-08 11:32:51 -05:00
Franck Nijhof
13916e0e02
Added module for managing Apple Mac OSX user defaults
2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg
c65a612d1f
Changes to author formatting, remove emails
2016-12-08 11:32:51 -05:00
Rene Moser
45c370dbb8
puppet: update author to new format
2016-12-08 11:32:49 -05:00
Rene Moser
e97399b173
puppet: add --environment support
2016-12-08 11:32:49 -05:00
Rene Moser
4238950a58
puppet: make arg puppetmaster optional
...
puppetmaster was used to determine if `agent` or `apply` should be used. But puppetmaster is not required by puppet per default. Puppet may have a config or could find out by itself (...) where the puppet master is.
It changed the code so we only use `apply` if a manifest was passed, otherwise we use `agent`.
This also fixes the example, which did not work the way without this change.
~~~
# Run puppet agent and fail if anything goes wrong
- puppet
~~~
2016-12-08 11:32:49 -05:00
Rene Moser
8f9c3efb1d
puppet: ensure puppet is in live mode per default
...
puppet may be configured to operate in `--noop` mode per default.
That is why we must pass a `--no-noop` to make sure, changes are going to be applied.
2016-12-08 11:32:49 -05:00
Rene Moser
f91b75db2f
puppet: fix missing space between command and arg
...
Fixes:
~~~
{
"cmd": "/usr/bin/puppetconfig print agent_disabled_lockfile",
"failed": true,
"msg": "[Errno 2] No such file or directory",
"rc": 2
}
~~~
2016-12-08 11:32:49 -05:00
Monty Taylor
b61d270648
Fix octal values for python 2.4
2016-12-08 11:32:48 -05:00
Monty Taylor
15fccb1ea1
Add support for check mode
2016-12-08 11:32:48 -05:00
Monty Taylor
32c5c00cde
Fix some errors pointed out by travis
2016-12-08 11:32:48 -05:00
Monty Taylor
9e2c4efa53
Add module to run puppet
...
There is a growing pattern for using ansible to orchestrate runs of
existing puppet code. For instance, the OpenStack Infrastructure team
started using ansible for this very reason. It also turns out that
successfully running puppet and interpreting success or failure is
harder than you'd expect, thus warranting a module and not just a shell
command.
This is ported in from
http://git.openstack.org/cgit/openstack-infra/ansible-puppet
2016-12-08 11:32:48 -05:00
Brian Coca
f65d83cea0
corrected lvol docs version to 2.0
2016-12-08 11:32:47 -05:00
David Wittman
d1311fbc13
Add opts parameter
...
Adds the ability to set options to be passed to the lvcreate command
using the `opts` parameter.
2016-12-08 11:32:47 -05:00
Giovanni Tirloni
ac3614527d
add createparent option to zfs create
2016-12-08 11:32:47 -05:00
Brian Coca
25f423e42f
added copyright/license info to modules I had missed
2016-12-08 11:32:46 -05:00
Nicolas Brisac
bcfd5772e4
Allow filtering of routed/forwarded packets
...
MAN page states the following :
Rules for traffic not destined for the host itself but instead for
traffic that should be routed/forwarded through the firewall should
specify the route keyword before the rule (routing rules differ
significantly from PF syntax and instead take into account netfilter
FORWARD chain conventions). For example:
ufw route allow in on eth1 out on eth2
This commit introduces a new parameter "route=yes/no" to allow just that.
2016-12-08 11:32:45 -05:00
Rene Moser
db3e4c8c65
firewalld: remove BabyJSON
...
See https://github.com/ansible/ansible-modules-extras/issues/430
2016-12-08 11:32:45 -05:00
Christian Thiemann
c20ab3abef
Fix alternatives module in non-English locale
...
The alternatives module parses the output of update-alternatives, but the expected English phrases may not show up if the system locale is not English. Setting LC_ALL=C when invoking update-alternatives fixes this problem.
2016-12-08 11:32:45 -05:00
fdupoux
2cc53281d8
Devices in the current_devs list must also be converted to absolute device paths so comparison with dev_list works
2016-12-08 11:32:45 -05:00
Benjamin Albrecht
1717041118
Fix possible values for zfs sync property
2016-12-08 11:32:45 -05:00
fdupoux
c948877a63
Removed conditional assignment of yesopt to make it work with python-2.4 (to pass the Travis-CI test)
2016-12-08 11:32:45 -05:00
fdupoux
c02fa7cfc9
Suppress prompts from lvcreate using --yes when LVM supports this option
2016-12-08 11:32:45 -05:00
Otto Kekäläinen
4f2a0cd16d
gluster_volume: Finalize brick->bricks transition by previous author
2016-12-08 11:32:45 -05:00
Otto Kekäläinen
c05d2875d1
gluster_volume: Improved parsing of cluster parameter list
2016-12-08 11:32:44 -05:00
Otto Kekäläinen
d76cd4c299
gluster_volume: Parameter expects comma separated list of hosts, passing {{play_hosts}} will fail as Python does not parse it into a list
2016-12-08 11:32:44 -05:00
Otto Kekäläinen
f0dc00d21a
gluster_volume: Clarify error message to tell what actualy failed
2016-12-08 11:32:44 -05:00
Otto Kekäläinen
8f9b4a0730
gluster_volume: Typofix in docs (equals, not colon)
2016-12-08 11:32:44 -05:00
Brian Coca
a7b46316c1
removed executable bit
2016-12-08 11:32:42 -05:00
Toshio Kuratomi
90c2e630b5
Fix typo: Need lvreduce instead of lvextend.
...
Fixes #513
2016-12-08 11:32:41 -05:00
Toshio Kuratomi
4f07e8b256
Many more doc fixes
2016-12-08 11:32:40 -05:00
Brian Coca
d344a3fde3
more string corrections
2016-12-08 11:32:39 -05:00
Brian Coca
2753cd186a
moar quotes
2016-12-08 11:32:39 -05:00
Matt Martz
42bca5398b
Use try/finally with file opening to close the file
2016-12-08 11:32:36 -05:00