Commit Graph

1041 Commits (5b7e052d06622dd10fff7129a3d082a162b28887)

Author SHA1 Message Date
Michael Scherer e29584ad70 Refactor some code in timezone module 9 years ago
Jonathan Sokolowski 318993c8c2 lvg: Initialise device list (#3141) 9 years ago
Michael Scherer ab036bd615 Fix crypttab (#3121)
* Fix error in crypttab doc

* Use path type for file argument

This permit to make sure that $HOME and '~' are properly
expanded, even if in the case of crypttab, this might not make
a lot of sense
9 years ago
Toshio Kuratomi 3e1ea76a75 Fix a couple undefined variables
One was a typo and one needed to have the variable defined in that scope
9 years ago
Michael Scherer 16c484fe5c Fix wrong variable name 9 years ago
Michael Scherer 3cc020de19 Do not leak the solaris root password in the log 9 years ago
afunix ee5b968eeb gluster_volume adds replica and stripe arguments when adding bricks [#2754] (#2812) 9 years ago
Adam Miller e19647321e add offline mode to firewalld
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
9 years ago
Jonathan Mainguy df35d324d6 fix timezone for centos6 (#3078) 9 years ago
Alexandre Garnier 91c498557c Fix mixed type comparison resulting in wrong `changed` (#2772)
When using `use_max` or `use_min` in `pam_limits`, the new value is an integer compared with the actual_value which is a string, so they are always different and the module reports a changed but none occurred.
9 years ago
David Stygstra 333133144e Use `modprobe -r` instead of `rmmod` in modprobe module (#2669)
If any modules that the module being removed depends on are unused, they
will also be removed. Fixes #2140.
9 years ago
Will Thames 1f6f3b72db firewalld should fail nicely when service is stopped (#2871)
Ensure the HAVE_FIREWALLD checks check only for the
presence of the python dependencies, and not the age
of the library or the state of the service, which
are checked later.
9 years ago
Robin Schneider 67a1bebbd3 Use addresses and names reserved for documentation (#2894)
Trying to preserve the meaning of the examples.

Related to: https://github.com/ansible/ansible/issues/17479
9 years ago
Tobias Wolf 061c6517eb Fix one character typo in my previous PR for debconf module (#2899)
Small oops in the previous PR #2530 commit.

Instead of `diff_dict` it slipped through as `diffdict`.

Please merge and sorry.
9 years ago
johanwiren b88fdde22c Fix share aliases logic (#2862) (#2875)
Fixes #2862
9 years ago
Matt Clay 6a7358b14e Remove stderr=False from calls to exit_json. (#2879) 9 years ago
Tobias Wolf 39972fa697 Add diff mode output to debconf module (#2530)
Support diff such that the previous and current settings are visible
without debug output and just with `--diff` if requested.
9 years ago
Toshio Kuratomi b576e116f0 Style cleanups:
* Don't use iterkeys
* Don't use wildcard imports
9 years ago
Michael Scherer a2d3aac8cc Use six for iteration, to make it run on python3 (#2800) 9 years ago
Wong Hoi Sing Edison 9cd681a841 Fix ansible/ansible-modules-extras#1682: add dispersed volume support for gluster_volume (#2708) 9 years ago
afunix f69d32ec44 gluster_volume module parses out additional hostnames provided by "gluster peer status" command [#1405] (#2811) 9 years ago
Mike Liu 582e36aef9 Iptables enhancements (#2789)
* Add the flush parameter.

When specified the flush parameter indicates that this module should remove all
rules from the specified table. If no table parameter is specified then the
default filter table is flushed.

* Add support for setting chain policies.

The module supports setting the policy of a given chain and table to the
following target values, ACCEPT, DROP, QUEUE, and RETURN. This parameter ignores
all other unrelated parameters.

* Fix pep8 issues.

* Fix missing quotation.

* Make 'flush' and 'policy' parameters mutually exclusive.

This combination is not supported by the wrapped iptables command. 'flush' and
'policy' however, can both take the 'chain' argument.
9 years ago
Toshio Kuratomi 6f1753cccd Moved the atomic modules to cloud/atomic. (#2784)
Similar category to docker and lxd
9 years ago
ovcharenko 8485b39ab3 [FIX] ufw fails asking for a direction for rules without an interface specified [#2758] (#2759) 9 years ago
Saravanan K R aacbb97aa6 Added modules to manage Atomic Host Platform (host and image) (#1902)
* Added modules to manage Atomic Host Platform (host and image)

* Fixed review comments

* Fixed requirements and locale setting
9 years ago
Shinichi TAMURA 5fbb0de36f Allow value to be bool where 'yes'/'no' are in choices (#2593)
* Changed type of 'details' argument to bool on ecs_service_facts module.

* Changed type of 'autostart' argument to bool on virt_* modules.

* Changed types of 'autoconnect' and 'stp' argument to bool on nmcli module.
('create_connection_bridge(self)' and 'modify_connection_bridge(self)' are not implemented yet?)

* Added conversion of 'value' argument when 'vtype' is boolean on debconf module.
9 years ago
ovcharenko 85aec2e07a [FIX] "Invalid interface clause" error in UFW module (#2559) (#2666)
Fixes GH-2559
9 years ago
Onni Hakala 61d5fe148c Added example to add a port range (#2712)
I tried to google for this a bit and then figured out how it actually works.
10 years ago
Adam Števko eaa71f51d6 Add support for managing OpenZFS pools (#2642) 10 years ago
Dan Keder ebb8d73d57 seport: fix a bug when SELinux port definition was already there (#2009) (#2694) 10 years ago
ovcharenko 31a027e2cd [FIX] Bug report: ufw: interface option causes an error (1.9.4) (#1491) (#2668) 10 years ago
Linus Unnebäck 344dcc95c0 iptables: remove duplicated documentation (#2673)
Fixes #1527
10 years ago
Adrian Likins 28bb69bd41 Use %s string formatting in system/timezone.py (#2632)
This module was using python 2.6 string .format().
To enable the module to run on python2.4, replace
the .format formatting with '%s' based string formatting.

There was also a use of a 'filename' variable in the
NosystemdTimezone.get() method that was never set.

An import of 'os' was also added for clarity.
10 years ago
Ruslan Kiianchuk cd2dbed79c Add support for reiserfs (#2551)
* Add support for reiserfs

Create commands mapping for Reiserfs tools.
10 years ago
Aaron Brady 3533ae2647 Add `active` and `inactive` states to the lvol module (#1974)
* Add `active` and `inactive` states to the lvol module

* Honor the previous state of the changed variable

* Move active/inactive states to active boolean parameter

* Bump version_added to make Travis happy

* Avoid bailing early is size isn't specified

* Add invocation examples

* Move "no size" up for code clarity
10 years ago
Sander Dijkhuis 669f99d841 Fix reference in known_hosts doc (#2563)
The format is described in sshd(1), not ssh(1).
10 years ago
Sudheer Satyanarayana 2078c4b4da which not who (#2557)
minor text fix
10 years ago
Nate Prewitt a70cfeed15 removing | from description so docs render properly in RTD (#2533) 10 years ago
Rene Moser f7b18a331b alternatives: add missing version_added and default doc
Also see #1175
10 years ago
Zack Lalanne 4756c71496 Fixed #632 added alternatives priority (#1175) 10 years ago
René Moser bf07cf8d3b fix typo in get_exception(), extends fix #2502 (#2507)
introduced with 9e277aabb0
10 years ago
David Fischer 93540b7269 Fix 'function' has no attribute 'errno' (#2502) 10 years ago
Shota d25c487ac8 Fix some typos (#2490) 10 years ago
Andrey Arapov 00afca99e5 system: crypttab: fix typo (#2476) 10 years ago
Shinichi TAMURA ba6aa8b013 Added 'answer' as an alias of 'value' on debconf module (#2464) 10 years ago
Shinichi TAMURA cb94edd17f Added timezone module (#2414) 10 years ago
Brian Coca a28d7a00b8 added 'seen' type to debconf 10 years ago
Dag Wieers e49858b09e sefcontext: New module to manage SELinux file context mappings (semanage fcontext) (#2221)
New SELinux module sefcontext to set SELinux file context mappings

This module implements `semanage fcontext` in an idempotent way.
It supports check-mode and diff-mode.
10 years ago
Hrishikesh Barua a95a1a2e08 Fix for #2366 removed print statement (#2375) 10 years ago
Toshio Kuratomi d1174cc8b7 Only import get_exception once in locale_gen.py 10 years ago