Michael DeHaan
7f36630dd5
Add capabilities module.
2014-03-19 17:48:17 -04:00
nate@bx.psu.edu
2daee9ed20
Bugfix for xattrless files and the capabilities module.
2014-03-19 17:48:17 -04:00
nate@bx.psu.edu
c19e4a7d0b
Create a capabilities module for managing Linux kernel capabilities(7) with setcap(8).
2014-03-19 17:48:17 -04:00
James Cammarata
9f9c077878
Merge branch 'issues/6341' of https://github.com/threatgrid/ansible into threatgrid-issues/6341
2014-03-18 10:46:39 -05:00
James Tanner
4028f55c04
Fixes #6519 Properly handle state=absent in sysctl module
2014-03-18 09:30:21 -04:00
Michael DeHaan
ba99056948
Version bump for alternatives module, changelog.
2014-03-16 16:54:57 -04:00
Gabe Mulley
4c132c11f7
add a module for update-alternatives
2014-03-16 16:54:57 -04:00
Michael DeHaan
29a3a1d516
Move facts to 'module_utils' so they can be referenced by other modules. Note unlike other module_utils/ dirs this keeps the original
...
license -- so usage of facts code in modules will be limited to GPLv3 modules.
2014-03-16 16:12:02 -04:00
Michael DeHaan
c914e9e462
Update setup module signature from merge commit.
2014-03-16 14:11:43 -04:00
Michael DeHaan
cac81b1ad9
Merge pull request #6339 from threatgrid/systemd-template-svc-fix
...
systemd template services must not discard template part
2014-03-16 12:40:44 -05:00
Michael DeHaan
790a38e25d
Merge conflict.
2014-03-16 13:36:52 -04:00
Michael DeHaan
201297cbfe
Merge pull request #6175 from AdmiralNemo/fix-filesystem
...
filesystem: Ignore blkid cache
2014-03-16 12:31:53 -05:00
Michael DeHaan
d4de77fd45
Merge pull request #6097 from mattjeffery/bug/modprobe_normalise_name
...
Normalise the module name when comparing against the module names in /proc/modules
2014-03-16 12:31:17 -05:00
Michael DeHaan
bf33be20e1
Merge pull request #6005 from pgehres/chkconfig
...
Adding better failure output for chkconfig failures
2014-03-16 12:27:46 -05:00
Cristian Ciupitu
a416dba3d1
hostname module: don't filter hostnamectl with awk
...
There's no need to filter hostnamectl's output with awk because its man
page says:
hostnamectl [OPTIONS...] {COMMAND}
--static, --transient, --pretty
If status is used (or no explicit command is given) and one
of those fields is given, hostnamectl will print out just
this selected hostname.
E.g. hostnamectl --static status => ansible.example.org
2014-03-16 13:10:28 -04:00
Cristian Ciupitu
7f681c33a2
Micro-optimization: replace s.find(x)!=-1 with x in s
...
timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
2014-03-16 13:10:28 -04:00
James Tanner
59fb47ae9a
Fixes #6482 Check sysctl file path and catch read exceptions
2014-03-14 11:16:45 -04:00
Michael DeHaan
29138b1872
More shell updates
2014-03-12 17:31:00 -04:00
Richard C Isaacson
9e9f43272a
setup module: Mark unsafe commands as use_unsafe_shell=True.
2014-03-12 11:13:20 -05:00
Ryan
3494d67f30
add module param to Network & sub-classes
...
add module param to Network and sub-classes of Network, so that ansible 1.5.1 changes to LinuxNetwork apply to all Network classes.
2014-03-12 09:37:12 -04:00
Michael DeHaan
65c4e388eb
Revert "Fix issue#6430 by instantiating Network() with expected arguments"
...
This reverts commit 2a723e908e
.
2014-03-12 09:23:13 -04:00
James Laska
cb63352aff
Fix issue#6430 by instantiating Network() with expected arguments
2014-03-12 09:04:42 -04:00
Richard C Isaacson
7d83f64bae
Fix docstring issue.
2014-03-11 16:23:18 -05:00
Richard Isaacson
19d77ada25
Merge pull request #6406 from risaacson/at_module2
...
This fixes what was merged in 1.5.0.
2014-03-11 15:27:51 -05:00
James Tanner
e63e909d6f
Fix name in locale_gen docstring
2014-03-11 16:13:55 -04:00
James Tanner
4fae7da5e8
Fix snippet imports and version_added in ufw module
2014-03-11 16:07:08 -04:00
James Cammarata
6a81debb0a
Merge pull request #5518 from pyykkis/ufw
...
UFW module (another take)
2014-03-11 15:03:33 -05:00
James Tanner
820c328ca8
Set version_added for locale_gen
2014-03-11 15:56:30 -04:00
James Tanner
3763008d15
Rename locale module to locale_gen
2014-03-11 15:55:26 -04:00
James Cammarata
52d14d0fee
Merge pull request #5411 from AugustusKling/locale
...
locale module
2014-03-11 14:54:36 -05:00
Michael DeHaan
e767de4978
Merge pull request #6372 from mriedelumab/devel
...
Returning 'NA' when no virtualization found
2014-03-11 10:17:22 -05:00
James Tanner
fc33860e5d
Force command action to not be executed by the shell unless specifically enabled
2014-03-10 16:13:30 -05:00
Matthew Riedel
d21a8f6ddc
Returning 'NA' when no virtualization found
2014-03-10 11:58:04 -04:00
Richard C Isaacson
3188429105
Some cleanup.
2014-03-10 10:31:08 -05:00
Charles Duffy
532cda524f
#6341 : use shared function for parsing systemd status; check rc code
2014-03-10 01:05:48 -05:00
Charles Duffy
fd5083fe71
#6341 : check systemd service status with show subcommand
2014-03-10 00:09:29 -05:00
Jarno Keskikangas
19fb807824
Recognize rule changes even if ufw is in disabled state.
...
See http://askubuntu.com/questions/30781/see-configured-rules-even-when-inactive
for the details.
2014-03-09 12:56:52 +02:00
Jarno Keskikangas
9abdacc725
Insert rule to a specific num.
2014-03-09 12:56:51 +02:00
Jarno Keskikangas
76eb4969fb
Fix typo: 'reseted' -> 'reset'.
2014-03-09 12:56:51 +02:00
Jarno Keskikangas
b8f37df8e7
Add protocol options 'esp' and 'ah'.
2014-03-09 12:56:51 +02:00
Jarno Keskikangas
767cfcb0bd
Add functionality and reduce complexity.
...
* Separate 'state', 'policy' and 'rule' commands
* Support for 'logging' command
* Support for 'direction' and 'interface' attributes
* Reliable change notifications based on 'ufw status verbose' diff
* Update documentation
* Cleanup
2014-03-09 12:56:51 +02:00
Aleksey Ovcharenko
4754bf47be
New module [ufw]: this module handles Ubuntu UFW operations
...
* Updated documentation related to IPv6 usage.
BugFixes:
* Solved the default_policy and state mutual exclusive status.
* Fixed changed status for IPv6 addresses.
Added @otnateos patch.
2014-03-09 12:56:51 +02:00
Richard C Isaacson
ce98edfc87
Cleaning up pep8 alerts.
2014-03-07 23:06:19 -06:00
Richard C Isaacson
bdfb2de7fc
Documentation cleanup.
2014-03-07 23:04:56 -06:00
Richard C Isaacson
a94e1e5477
Refactored a few things to be more inline with the Ansible way. Passing testing.
2014-03-07 23:04:07 -06:00
Charles Duffy
32620cab4d
systemd template services must not discard template part
2014-03-07 18:53:15 -06:00
jctanner
b105942654
Merge pull request #5872 from tomdymond/add-ignoreerror-to-sysctl
...
Add option to enable the sysctl -e option
2014-03-05 12:58:05 -05:00
anatoly techtonik
63f0a644ac
setup: Fix KeyError: 'ipv4_secondaries' (issue #6274 )
2014-03-04 20:00:18 +02:00
James Tanner
87f17e7e94
Fix debconf docstring indentation
2014-03-03 13:48:44 -05:00
James Tanner
b07e5742b3
Merge branch 'debconf' of git://github.com/bcoca/ansible into bcoca-debconf
2014-03-03 13:46:11 -05:00