Harlan Lieberman-Berg
a53cf5434b
Give include_recommends a useless default to make the parser happy.
2015-11-02 13:04:12 -08:00
Harlan Lieberman-Berg
06a4efa1cf
Add missing brace.
2015-11-02 13:04:12 -08:00
Harlan Lieberman-Berg
a234e9b7b2
Change install_recommended in apt to a trinary.
...
Conditions are now "yes", "no", and "default", with the latter falling
back to the OS default.
2015-11-02 13:04:12 -08:00
Harlan Lieberman-Berg
baafcfc091
Change behavior of apt.py around installing recommended packages.
...
Closes #1189 .
This will cause the settings in Ansible to override the system settings.
That will have no effect except on systems that have an out-of-Ansible
configuration that disables automatic installation of recommended
packages. Previously, ansible would use the OS default whenever
install_recommends wasn't part of the playbook. This change will cause
the Ansible default configuration setting of installing recommended
packages to override the configuration files set on the OS for things
installed through ansible, even when there is no install_recommends
specified in the playbook. Because the OS default matches the Ansible
default, this shouldn't have wide impact.
2015-11-02 13:04:12 -08:00
Toshio Kuratomi
e318be30ff
Fix issues version_added and chaged => changed typo
2015-11-02 10:49:24 -08:00
Michael Schuett
80c2e28a48
Fix message
...
Previous fix did not actual work. This fix does however.
2015-11-02 10:49:24 -08:00
Michael Schuett
b0357bf9e8
Handle connection error
...
Try and help when mac hits a connection error.
2015-11-02 10:49:24 -08:00
Michael Schuett
1dcb31cad6
remove .geturl()
...
Can't call geturl on a string.
2015-11-02 10:49:24 -08:00
Michael Schuett
c126498899
Remove faulty logic
...
Update logic after splitting the error into two separate messages.
2015-11-02 10:49:24 -08:00
Michael Schuett
1e8d20b0da
Documentation Fix
...
Updated documentation to match current module state.
2015-11-02 10:49:24 -08:00
Michael Schuett
0a5b7087bd
Improve Message
...
Give user a course of action in the case where the suggestions do not
work. This will hopefully allow us to work through any further issues
much faster.
2015-11-02 10:49:24 -08:00
Michael Schuett
addbc329be
Improve Error Reporting
...
This will hopefully help mac users be able to quickly resolve any issues
they may find when trying to use this module.
2015-11-02 10:49:24 -08:00
Michael Schuett
bf5929d32a
docker_image TLS
...
Check commit enables using tls when using the docker_image module. It
also removes the default for docker_url which doesn't allow us to check
for DOCKER_HOST which is a more sane default. This allows you to use
docker_image on OSX but more documentation is needed.
2015-11-02 10:49:24 -08:00
Brian Coca
77ded03510
Merge pull request #953 from rwky/asg_542
...
Fixes #542 error when ec2_asg arguments aren't specified
2015-11-02 09:04:42 -05:00
Brian Coca
d192e2c3e3
code cleanup and reoorg, renamed vars and functions to actual purpose
...
reneabled logging of steps
2015-10-31 21:35:48 -04:00
Brian Coca
89957eed53
document mysql collation can only be set during creation
2015-10-31 14:25:02 -04:00
Toshio Kuratomi
0fa4c5fc2b
Merge pull request #2285 from evanccnyc/devel
...
add documentation for include_vars and JSON
2015-10-30 07:47:01 -07:00
Toshio Kuratomi
a3a7cdb9aa
Merge pull request #2373 from ansible/fix-wait-for-forever
...
Use select in wait_for so that we don't get stuck in cornercases:
2015-10-29 10:50:40 -07:00
Toshio Kuratomi
43cecd3cee
Use select in wait_for so that we don't get stuck in cornercases:
...
* reading from a socket that gave some data we weren't looking for and
then closed.
* read from a socket that stays open and never sends data.
* reading from a socket that sends data but not the data we're looking
for.
Fixes #2051
2015-10-28 09:05:17 -07:00
Toshio Kuratomi
22c2789b72
Document and return an error if httplib2 >= 0.7 is not present. We
...
can't use httplib2 0.6.x and below because they do not verify TLS
certificates and thus are insecure.
Fixes #1875
2015-10-28 08:52:22 -07:00
Brian Coca
45a9f0b453
since find doesn't make changes, support check mode and gather data for other tasks in check mode
2015-10-28 09:32:01 -04:00
Toshio Kuratomi
eeaeeb5a1f
Correct typo in yum module docs
2015-10-27 12:51:48 -07:00
Brian Coca
579e0726a9
Merge pull request #2367 from Jmainguy/mysql_user_password_doc_fix
...
Update doc to reflect password is required if adding a new user
2015-10-27 13:20:47 -04:00
Jonathan Mainguy
51db236aa7
Update doc to reflect password is required if adding a new user
2015-10-27 13:17:24 -04:00
Brian Coca
a80427328c
Merge pull request #2366 from Jmainguy/mysql_error_more_explicit
...
Update error message to be more explicit
2015-10-27 13:05:23 -04:00
Jonathan Mainguy
e101657722
Update error message to be more explicit
2015-10-27 13:03:51 -04:00
Brian Coca
1b3e82e4b0
Merge pull request #2354 from CaptTofu/issue_12912
...
Fix to issue 12912. Supply 'force' to install of python-apt.
2015-10-26 20:42:50 -04:00
Brian Coca
30951e2811
Merge pull request #2345 from larsks/bug/port-allow-secgroup-list
...
allow os_port to accept a list of security groups
2015-10-26 19:45:39 -04:00
Brian Coca
7c1fcd8e13
Merge pull request #2349 from larsks/bug/router-should-return-id
...
make os_router return a top level 'id' key
2015-10-26 18:20:26 -04:00
Toshio Kuratomi
3993f4e967
Simplify logic to handle options set to empty string
...
Fixes #2125
2015-10-26 13:02:21 -07:00
Brian Coca
87b8086163
Merge pull request #2327 from ryansydnor/devel
...
Add capability for stat module to use more hash algorithms
2015-10-26 14:56:49 -04:00
Patrick Galbraith
2a93f21821
Fix to issue 12912. Supply 'force' to install of python-apt.
2015-10-26 13:28:10 -04:00
Toshio Kuratomi
06f301b05b
Note the difference between yum package groups and environment groups.
...
Fixes https://github.com/ansible/ansible/issues/12873
2015-10-26 08:37:03 -07:00
Brian Coca
da4827085f
Merge pull request #2350 from bcoca/service_fixes
...
rearranged systemd check, removed redundant systemctl check
2015-10-26 09:28:58 -04:00
Brian Coca
4072bc1da0
rearranged systemd check, removed redundant systemctl check
...
fixed unused cmd and state var assignements
2015-10-23 18:59:05 -04:00
Brian Coca
dae3718e79
Merge pull request #2341 from reactormonk/devel
...
simpler way to check if systemd is the init system
2015-10-23 18:44:01 -04:00
Simon Hafner
6233e72001
added earlier paths to systemd
...
2b583ce657
b925e72633
2015-10-24 00:20:59 +02:00
Brian Coca
486d233cbe
Merge pull request #2262 from bcoca/find_regex
...
added regex support to find
2015-10-23 17:39:49 -04:00
Brian Coca
211196bdf6
Merge pull request #2342 from chriskarel/devel
...
Update hostname.py
2015-10-23 14:52:40 -04:00
Brian Coca
ad8fd86467
Merge pull request #2338 from larsks/bug/flavor-should-return-id
...
make os_flavor return a top-level 'id' key
2015-10-23 14:52:03 -04:00
Brian Coca
0e0c28bfb1
Merge pull request #2344 from larsks/bug/allow-secgroup-list
...
allow os_server to accept a list of security groups
2015-10-23 14:51:45 -04:00
Brian Coca
3199a73927
Merge pull request #2339 from larsks/bug/keypair-should-return-id
...
make os_keypair return a top level 'id' key
2015-10-23 14:51:27 -04:00
Brian Coca
59f11aa973
Merge pull request #2336 from larsks/feature/os-subnet-returns-something
...
return information about created subnet
2015-10-23 14:51:05 -04:00
Lars Kellogg-Stedman
d82460a372
make os_router return a top level 'id' key
...
make os_router return a top-level 'id' key, much like other
os_* resources.
2015-10-23 13:32:37 -04:00
James Cammarata
5c2527d8e9
Version bump for new beta 2.0.0-0.4.beta2
2015-10-23 13:32:32 -04:00
Lars Kellogg-Stedman
a2fe8dba68
allow os_port to accept a list of security groups
...
with this commit, the `security_groups` attribute for `os_port` will
accept either a common-delimited string or ` YAML list. That is, either
this:
- os_port:
[...]
security_groups: group1,group2
Or this:
- os_port:
[...]
security_groups:
- group1
- group2
2015-10-23 09:44:07 -04:00
Brian Coca
12b0582f9e
Merge pull request #2343 from larsks/bug/secgroup-allow-empty-description
...
allow empty description attribute for os_security_group
2015-10-23 09:43:01 -04:00
Brian Coca
49a66eb8d2
Merge pull request #2337 from larsks/bug/os-network-always-unchanged
...
make os_network correctly report changed status
2015-10-23 09:42:45 -04:00
Lars Kellogg-Stedman
b0c10a7d31
allow os_server to accept a list of security groups
...
This commit allows the `security_groups` parameter of the `os_server`
module to be either a YAML list or a common-delimited string (much like
the `nics` attribute). E.g., this:
- os_nova_server:
[...]
security_groups:
- default
- webserver
Or this:
- os_nova_server:
[...]
security_groups: default,webserver
2015-10-22 22:53:05 -04:00
Ryan Sydnor
fb10161510
Add capability for stat module to use more hash algorithms
...
Specifically, the stat module now has a checksum_algorithm parameter.
This lets the module utilize one of the hash algorithms available on the host
to return the checksum of the file.
This change is backwards compatible. The checksum_algorithm defaults to
sha1 and still returns its result to the stat.checksum property.
2015-10-22 22:28:10 -04:00