nitzmahone
2a5f3754e7
added windows facts ansible_lastboot, ansible_uptime_seconds
...
switched OS object to Get-CimInstance since we need a DateTime object for lastbootuptime
2015-08-21 13:37:29 -07:00
Bruno Galindro da Costa
f7f621839a
Added termination_policies option
2015-08-21 14:13:09 -03:00
Simon Li
428550e179
Don't fail in check_mode if user exists
...
PR #1651 fixed issue #1515 but the requirement for path to be defined is unecessarily strict. If the user has previously been created a path isn't necessary.
2015-08-21 17:55:28 +01:00
Brian Coca
2af3f34d58
Merge pull request #1926 from cjchang/keystone_user
...
support creating role only
2015-08-21 00:07:14 -04:00
Jérémie Astori
72fb7a0a17
Fix physical walk on acl module for Linux
...
`-h` is for BSD [1] while `-P`/`--physical` is for Linux [2].
This commit fixes that option now that acl module is (temporarily)
only supported for Linux.
I will re-add `-h` when fixing BSD support.
[1]: http://www.freebsd.org/cgi/man.cgi?format=html&query=setfacl(1)
[2]: http://linuxcommand.org/man_pages/setfacl1.html
2015-08-20 23:35:53 +00:00
Jérémie Astori
8eefd44aef
Make sure entry is not sent when acl state=query
2015-08-20 22:59:00 +00:00
Jérémie Astori
0e659ad872
Make sure permission-less entries are accepted when state=absent
...
Also, remove that try condition as, at that stage, no permissions with
other than 2 or 3 fields are sent to the function.
2015-08-20 22:58:49 +00:00
Toshio Kuratomi
4721d6d8b5
Fix for the case where plugins aren't loaded on old RHEL systems
2015-08-20 15:34:57 -07:00
Jérémie Astori
e95bcaeb8a
Remove support for d[efault]:
in entry permissions
...
It is not documented in [the Ansible doc page][1] nor
[the BSD setfacl man entry][2] (which means it might not be compatible
with BSD) so removing it does not break the API.
On the other hand, it does not conform with POSIX 1003.1e DRAFT
STANDARD 17 according to the [Linux setfacl man entry][3] so safer to
remove.
Finally, the most important reason: in non POSIX 1003.e mode, only ACL
entries without the permissions field are accepted, so having an
optional field here is very much error-prone.
[1]: http://docs.ansible.com/ansible/acl_module.html
[2]: http://www.freebsd.org/cgi/man.cgi?format=html&query=setfacl(1)
[3]: http://linuxcommand.org/man_pages/setfacl1.html
2015-08-20 22:22:28 +00:00
Toshio Kuratomi
c228739f2d
Merge pull request #1946 from ansible/pr/1657
...
Update check-mode results to be a dictionary (finishes pr 1657)
2015-08-20 13:14:02 -07:00
Toshio Kuratomi
9d4694122d
Return change results in a dictionary listing the package names.
...
Fix a parsing problem when package names contain a dot.
2015-08-20 13:02:29 -07:00
Matt Martz
51b800d1df
Merge pull request #1943 from richbria/devel
...
Preventing servers that are deleted and left in the deleted state from being included in the server list
2015-08-20 12:34:31 -05:00
Brian Richards
e4a5f3b409
Preventing servers that are deleted and left in the deleted state from being included in the server list
2015-08-20 11:07:58 -05:00
Toshio Kuratomi
c6d09d8f8d
Merge pull request #1920 from ilya-epifanov/devel
...
fixed memory_limit for docker api version >= 1.19
2015-08-20 09:03:54 -07:00
Nithy Renganathan
4171d167f4
Handle the changed value
2015-08-20 14:24:05 +00:00
Jason Cowley
8215aad3b3
Add support for S3 canned permissions. resolves #1939
2015-08-19 11:40:07 -07:00
Brian Coca
f925f7e01f
Merge pull request #1734 from freym/assemble-file-validation
...
assemble: add file validation support.
2015-08-19 11:15:21 -04:00
Toshio Kuratomi
8841c85505
Merge pull request #1934 from SamYaple/refix_bug_1226
...
Refix bug 1226 after revert
2015-08-19 04:17:59 -07:00
Sam Yaple
54804d25e3
Actually remove the section we are replacing
2015-08-19 08:52:05 +00:00
Sam Yaple
dddb5270c8
Refix bug 1226 after revert
...
This patch properly fixes bug 1226 without introducing a breaking
change to idempotency which was introduced in PR #1358
We can properly assign permissions to databases with a '.' in the name
of the database as well as assign priviliges to all databases as
specified with '*'
2015-08-19 04:23:03 +00:00
Jérémie Astori
3ac990556d
Fix wrong expectation regarding entry format in acl module
2015-08-19 00:26:04 +00:00
Jérémie Astori
421d3f12cf
Fix wrong processing of lines returned by setfacl in test mode
2015-08-19 00:25:18 +00:00
Jérémie Astori
50c6425673
Fix minor whitespace issues
2015-08-19 00:24:08 +00:00
Brian Coca
5913f5e5e1
deal with more failures when apt module fails to instantiate pkg
...
fixes #1499
2015-08-18 14:59:35 -04:00
Brian Coca
65270a172e
Merge pull request #1857 from SamYaple/devel
...
Revert "escapeds changes"
2015-08-18 11:47:52 -04:00
HAMSIK Adam
dfac073343
Rebase start/stop instance pull code
2015-08-18 14:32:48 +02:00
Mahesh Sawaiker
f459b3773c
support creating role only
2015-08-17 16:28:18 +00:00
Brian Coca
ff3b88c4d7
Merge pull request #1925 from kostyrevaa/devel
...
Fix documentation of authorized_key.py
2015-08-17 11:36:07 -04:00
Александр Костырев
31ec203583
Fix documentation of authorized_key.py
...
man for sshd http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8?query=sshd
says there's no "host" option but "from".
2015-08-17 18:00:04 +03:00
Ilya Epifanov
d951172920
fixed memory_limit for docker api version >= 1.19
2015-08-16 18:34:56 +03:00
Brian Coca
d61fde42ef
updated encoding comment and expanded authors field
2015-08-14 22:01:05 -04:00
Brian Coca
d4a39d23df
Merge pull request #150 from astorije/recursive_acl
...
Add recursive support for ACL module
2015-08-14 20:21:01 -04:00
Jérémie Astori
acfc2166b0
Set version number in recursive option description
2015-08-14 23:40:47 +00:00
Jérémie Astori
f8027a7f0a
Ensure Python 2.4 compatibility and Linux-restricted support
...
- Make build_entry compatible with Python 2.4
- Re-add missing warning/comment that was forgotten while refactoring
- Replace `all()` with a good ol' for-loop Python 2.4 compatibility
- Make a condition check more explicit (when `state` is `query`)
- Make sure this module can only be run with on a Linux distribution
- Add a note about Linux-only support in the documentation
- Set the version in which recursive support was added, 2.0
2015-08-14 22:06:51 +00:00
David M. Lee
6a8108133d
ec2_vol: Added missing "needs 2.0" doc
...
The ability to find-or-create a volume was added in 2.0. Added note to
the example.
2015-08-14 13:01:44 -05:00
Brian Coca
8ff80c2c91
updated docs for package
2015-08-13 14:57:55 -04:00
Brian Coca
c120a9b946
Merge pull request #1911 from mgedmin/patch-1
...
Fix obvious copy-paste error in module docs
2015-08-13 12:57:52 -04:00
Marius Gedminas
9bcf69a155
Fix obvious copy-paste error in module docs
2015-08-13 19:47:49 +03:00
Brian Coca
5d7cb981d3
made continue into a pass (there was no loop)
2015-08-13 10:05:30 -04:00
Brian Coca
6d7428527d
minor doc fixes
2015-08-12 23:55:01 -04:00
Brian Coca
2fd171a5e1
Merge pull request #878 from EvanK/system-cron--disabled
...
cron module: Add disabled option for commented jobs
2015-08-12 23:50:47 -04:00
Brian Coca
01506abc4f
Merge pull request #1895 from bcoca/gpg2_fallback
...
added gpg2 as fallback
2015-08-12 22:56:58 -04:00
Brian Coca
cd0a1947c2
Merge pull request #1899 from austinhyde/fix-service-rcconf-newlines
...
Service module incorrectly handles lines not ending in a newline
2015-08-12 19:34:34 -04:00
Brian Coca
7a2687178e
avoid shlex exceptions in rc parsing (happens with multiline entries)
...
fixes #1898
2015-08-12 18:10:24 -04:00
Brian Coca
090926b938
Merge pull request #1906 from mjschultz/patch-1
...
Return an iterable instead of None
2015-08-12 13:24:52 -04:00
Michael J. Schultz
63d7bbea19
Return an iterable instead of None
...
By default `.get()` will return `None` on a key that doesn't exist. This
causes a `TypeError` in the `for` loop a few lines down. This change simply
returns an iterable type to avoid the error.
2015-08-12 12:13:29 -05:00
Brian Coca
0c403781a7
Merge pull request #1905 from evverx/fix-legacy-services-enabled
...
Fix service.enabled on: Debian 8, Ubuntu 15.04
2015-08-12 10:18:50 -04:00
Evgeny Vereshchagin
55e8863cb4
Fix service.enable on: Debian 8, Ubuntu 15.04
...
Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751638
See https://github.com/systemd/systemd/issues/937
2015-08-12 14:13:19 +00:00
Brian Coca
072c4f38ea
Merge pull request #62 from 0x46616c6b/user-add-skeleton-support
...
Add support for skeleton directory (useradd -k) in user module
2015-08-12 09:17:35 -04:00
Brian Coca
d139825169
fixed typo
2015-08-11 11:53:52 -04:00