Commit Graph

7274 Commits (a53cf5434bfbf4ae975bf9dd27f9d5bd2dd19c60)
 

Author SHA1 Message Date
Harlan Lieberman-Berg a53cf5434b Give include_recommends a useless default to make the parser happy. 9 years ago
Harlan Lieberman-Berg 06a4efa1cf Add missing brace. 9 years ago
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.
9 years ago
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.
9 years ago
Toshio Kuratomi e318be30ff Fix issues version_added and chaged => changed typo 9 years ago
Michael Schuett 80c2e28a48 Fix message
Previous fix did not actual work. This fix does however.
9 years ago
Michael Schuett b0357bf9e8 Handle connection error
Try and help when mac hits a connection error.
9 years ago
Michael Schuett 1dcb31cad6 remove .geturl()
Can't call geturl on a string.
9 years ago
Michael Schuett c126498899 Remove faulty logic
Update logic after splitting the error into two separate messages.
9 years ago
Michael Schuett 1e8d20b0da Documentation Fix
Updated documentation to match current module state.
9 years ago
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.
9 years ago
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.
9 years ago
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.
9 years ago
Brian Coca 77ded03510 Merge pull request #953 from rwky/asg_542
Fixes #542 error when ec2_asg arguments aren't specified
9 years ago
Brian Coca d192e2c3e3 code cleanup and reoorg, renamed vars and functions to actual purpose
reneabled logging of steps
9 years ago
Brian Coca 89957eed53 document mysql collation can only be set during creation 9 years ago
Toshio Kuratomi 0fa4c5fc2b Merge pull request #2285 from evanccnyc/devel
add documentation for include_vars and JSON
9 years ago
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:
9 years ago
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
9 years ago
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
9 years ago
Brian Coca 45a9f0b453 since find doesn't make changes, support check mode and gather data for other tasks in check mode 9 years ago
Toshio Kuratomi eeaeeb5a1f Correct typo in yum module docs 9 years ago
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
9 years ago
Jonathan Mainguy 51db236aa7 Update doc to reflect password is required if adding a new user 9 years ago
Brian Coca a80427328c Merge pull request #2366 from Jmainguy/mysql_error_more_explicit
Update error message to be more explicit
9 years ago
Jonathan Mainguy e101657722 Update error message to be more explicit 9 years ago
Brian Coca 1b3e82e4b0 Merge pull request #2354 from CaptTofu/issue_12912
Fix to issue 12912. Supply 'force' to install of python-apt.
9 years ago
Brian Coca 30951e2811 Merge pull request #2345 from larsks/bug/port-allow-secgroup-list
allow os_port to accept a list of security groups
9 years ago
Brian Coca 7c1fcd8e13 Merge pull request #2349 from larsks/bug/router-should-return-id
make os_router return a top level 'id' key
9 years ago
Toshio Kuratomi 3993f4e967 Simplify logic to handle options set to empty string
Fixes #2125
9 years ago
Brian Coca 87b8086163 Merge pull request #2327 from ryansydnor/devel
Add capability for stat module to use more hash algorithms
9 years ago
Patrick Galbraith 2a93f21821 Fix to issue 12912. Supply 'force' to install of python-apt. 9 years ago
Toshio Kuratomi 06f301b05b Note the difference between yum package groups and environment groups.
Fixes https://github.com/ansible/ansible/issues/12873
9 years ago
Brian Coca da4827085f Merge pull request #2350 from bcoca/service_fixes
rearranged systemd check, removed redundant systemctl check
9 years ago
Brian Coca 4072bc1da0 rearranged systemd check, removed redundant systemctl check
fixed unused cmd and state var assignements
9 years ago
Brian Coca dae3718e79 Merge pull request #2341 from reactormonk/devel
simpler way to check if systemd is the init system
9 years ago
Simon Hafner 6233e72001 added earlier paths to systemd
2b583ce657
b925e72633
9 years ago
Brian Coca 486d233cbe Merge pull request #2262 from bcoca/find_regex
added regex support to find
9 years ago
Brian Coca 211196bdf6 Merge pull request #2342 from chriskarel/devel
Update hostname.py
9 years ago
Brian Coca ad8fd86467 Merge pull request #2338 from larsks/bug/flavor-should-return-id
make os_flavor return a top-level 'id' key
9 years ago
Brian Coca 0e0c28bfb1 Merge pull request #2344 from larsks/bug/allow-secgroup-list
allow os_server to accept a list of security groups
9 years ago
Brian Coca 3199a73927 Merge pull request #2339 from larsks/bug/keypair-should-return-id
make os_keypair return a top level 'id' key
9 years ago
Brian Coca 59f11aa973 Merge pull request #2336 from larsks/feature/os-subnet-returns-something
return information about created subnet
9 years ago
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.
9 years ago
James Cammarata 5c2527d8e9 Version bump for new beta 2.0.0-0.4.beta2 9 years ago
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
9 years ago
Brian Coca 12b0582f9e Merge pull request #2343 from larsks/bug/secgroup-allow-empty-description
allow empty description attribute for os_security_group
9 years ago
Brian Coca 49a66eb8d2 Merge pull request #2337 from larsks/bug/os-network-always-unchanged
make os_network correctly report changed status
9 years ago
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
9 years ago
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.
9 years ago