Commit Graph

23575 Commits (f0fd1109dda1b947f2626f9b1873111d60ea5ce1)
 

Author SHA1 Message Date
Harlan Lieberman-Berg f9c435ebd5 Add missing brace. 8 years ago
Harlan Lieberman-Berg 1ff12b66fb Change install_recommended in apt to a trinary.
Conditions are now "yes", "no", and "default", with the latter falling
back to the OS default.
8 years ago
Harlan Lieberman-Berg 8ef4715cf6 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.
8 years ago
Toshio Kuratomi 2619ec5321 Fix issues version_added and chaged => changed typo 8 years ago
sysadmin75 12c2c2b436 Adds tmp_dest option to get_url module. Addresses the issue in ansible/ansible#9512 8 years ago
Michael Schuett e61a4f2fb5 Fix message
Previous fix did not actual work. This fix does however.
8 years ago
Michael Schuett 0cefc2358b Handle connection error
Try and help when mac hits a connection error.
8 years ago
Michael Schuett 536bfb521a remove .geturl()
Can't call geturl on a string.
8 years ago
Michael Schuett 6ff693f975 Remove faulty logic
Update logic after splitting the error into two separate messages.
8 years ago
Michael Schuett 5a20bb473b Documentation Fix
Updated documentation to match current module state.
8 years ago
Michael Schuett 8d1f8dacba 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.
8 years ago
Michael Schuett 53294dbaaa 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.
8 years ago
Michael Schuett 75a61ae6e1 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.
8 years ago
Brian Coca c8a7c25468 code cleanup and reoorg, renamed vars and functions to actual purpose reneabled logging of steps 8 years ago
Brian Coca 3906fd426b document mysql collation can only be set during creation 8 years ago
Toshio Kuratomi fda9eeaa89 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
8 years ago
Toshio Kuratomi f6353a548c 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
8 years ago
Brian Coca f7f8df1773 since find doesn't make changes, support check mode and gather data for other tasks in check mode 8 years ago
Toshio Kuratomi 5425f3e757 Correct typo in yum module docs 8 years ago
Jonathan Mainguy 833676960d Update doc to reflect password is required if adding a new user 8 years ago
Jonathan Mainguy 346c9ab80e Update error message to be more explicit 8 years ago
Toshio Kuratomi a179d06a91 Simplify logic to handle options set to empty string
Fixes #2125
8 years ago
Patrick Galbraith 223c689ec0 Fix to issue 12912. Supply 'force' to install of python-apt. 8 years ago
Toshio Kuratomi 5f87f9deda Note the difference between yum package groups and environment groups.
Fixes https://github.com/ansible/ansible/issues/12873
8 years ago
Brian Coca d2cffb31c3 rearranged systemd check, removed redundant systemctl check fixed unused cmd and state var assignements 8 years ago
Simon Hafner 923e442409 added earlier paths to systemd
2b583ce657
b925e72633
8 years ago
Lars Kellogg-Stedman 51fae74e7c make os_router return a top level 'id' key
make os_router return a top-level 'id' key, much like other
os_* resources.
8 years ago
James Cammarata 4faff0a56a Version bump for new beta 2.0.0-0.4.beta2 8 years ago
Lars Kellogg-Stedman 45cc987fe0 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
8 years ago
Lars Kellogg-Stedman c96dd16d5a 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
8 years ago
Simon Hafner 4af48e139c simpler way to check if systemd is the init system
According to
http://www.freedesktop.org/software/systemd/man/sd_booted.html
check if the directory /run/systemd/system/ exists.
8 years ago
Lars Kellogg-Stedman 45012ea723 allow empty description attribute for os_security_group
The `os_security_group` module would fail if there was no `description:`
attribute:

    localhost | FAILED! => {
        "changed": false,
        "failed": true,
	"msg": "Error creating security group larstest: Invalid input for
	description. Reason: 'None' is not a valid string."
    }

This commit makes the default description `''` rather than `None`.
8 years ago
Lars Kellogg-Stedman ff090a1224 make os_keypair return a top level 'id' key
make os_keypair return a top-level 'id' key, much like other os_*
resources.
8 years ago
Lars Kellogg-Stedman bdd73fdfd0 make os_flavor return a top-level 'id' key
make os_flavor return a top-level 'id' key, much like other os_*
resources.
8 years ago
Lars Kellogg-Stedman c1e081fcf6 make os_network correctly report changed status
The `os_network` module was incorrectly returning changed=False whether
or not the network was created.  This commit makes the changed return
value useful.
8 years ago
Lars Kellogg-Stedman 70bd95b4f0 return information about created subnet
make os_subnet behave like os_network in terms of returning information
about the created resource.  With this commit, os_subnet will return the
created subnet in `subnet` and the subnet id in `id`.
8 years ago
Brian Coca 14455f4acc final form, use_regex now controls if patterns is glob or regex - fixed cases in which stat fails (dangling symlink) - now properly reports name of skipped paths 8 years ago
Brian Coca 3e5dc1fd74 changed so regexes and shell globs work transparently 8 years ago
Evan Carter 956fe4c709 add documentation stating that JSON files can be loaded with include_vars 8 years ago
Ryan Sydnor 8a1c035fac 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.
8 years ago
David Shrewsbury f086279a23 Fix for routers without external interfaces 8 years ago
Monty Taylor c2b695390b Actually pass in is_public to create_image
Fixes #2325
8 years ago
Brian Coca e0d4d397ff fixed mispelled description 8 years ago
Etherdaemon 63c8c40a37 Update try statement as pointed out by defionscode 8 years ago
Brian Coca 505467d2ff clarified ping module purpose 8 years ago
Toshio Kuratomi a5d95b4047 Another fix for docs 8 years ago
Toshio Kuratomi ac58ef1404 Correct docs build 8 years ago
Brian Coca 7c0dc323a2 corrected docs for stat's lnk_source fixes #12850 8 years ago
Toshio Kuratomi 80b3bbd55e Mark a few parameters as no_log 8 years ago
David Shrewsbury 024b8365c2 Clarify password requirement and add return docs. 8 years ago