Commit graph

4672 commits

Author SHA1 Message Date
rgbkrk
5591e8838d Error checking and reporting on interface ufw rule 2014-06-11 11:10:38 -05:00
Aleksey Khudyakov
a1d76ca8d1 Escape backslash in assemble module docs 2014-06-11 04:38:57 +11:00
James Cammarata
c8845cdc65 Merge pull request #7687 from ryanpetrello/devel
Fix neutron floating IP allocation for networks w/ multiple subnets
2014-06-10 09:42:34 -05:00
James Cammarata
b59aded177 Merge branch 'rax-autoscale' of https://github.com/sivel/ansible into sivel-rax-autoscale 2014-06-10 09:16:02 -05:00
Paul Myjavec
267d107fe6 Docker links and required alias
If no alias is passed one will now be created for you with the same name
as the target link container, as per the documentation
2014-06-10 22:53:55 +10:00
James Cammarata
8d9da7e89f Merge pull request #7377 from mikhailguru/devel
Fixed handling of paths containing whitespaces in the synchronize module
2014-06-10 06:50:07 -05:00
Brad Pitcher
65e0bffa8e use the full list of available campfire sounds
From the list found [here](http://www.emoji-cheat-sheet.com/)
2014-06-09 21:59:20 -07:00
James Cammarata
06cc6ec6eb Merge pull request #7259 from darKoram/nova_keypair_check_keys
nova_keypair should fail if 'name' of key exists in keystore, but ssh hash value != public_key offered
2014-06-09 23:53:22 -05:00
James Cammarata
00ce3a97b0 Merge pull request #7238 from willthames/ec2_snapshot_argument_spec
Improve the ec2_snapshot argument spec and docs
2014-06-09 23:51:42 -05:00
Ron Gomes
73246a49dc Fix incorrect argument ordering in error message, which provokes a
printf-related TypeError.
2014-06-09 15:03:51 -04:00
Matt Ferrante
05632e17c9 ec2_asg module enhancements
- Added a more verbose response
  - includes its settable attributes and a list of its instances.
  - allows setting of tags, changes upon which mark the task changed
  - allow getting of information from asg module, not just setting
  - doesn't mark changed if the parameter wasn't specified
  - Availability Zones are pulled from the region
2014-06-09 13:34:57 -04:00
Ahti Kitsik
6341cc23fb Bugfix to lineinfile to properly handle files with no newline at EOF when using insertafter=EOF.
Looks like #6881 is also affected by this bug.

Currently when using lineinfile insertafter=EOF for a file that has no newline then the added line is not prefixed with a newline.
As a concrete example, ubuntu distro default /etc/ssh/sshd_config has no newline so lineinfile module cannot be used to add a new line to the end of the file.
2014-06-09 19:58:45 +03:00
James Cammarata
9d86d41741 Cleaning up svr4pkg commit fix for #7645 2014-06-09 10:48:06 -05:00
James Cammarata
eb57ceee96 Merge branch '7645' of https://github.com/kcghost/ansible into kcghost-7645 2014-06-09 10:45:29 -05:00
James Cammarata
ed3d0bf747 Merge pull request #7684 from JeanFred/patch-2
Fix documentation of deb option in apt module
2014-06-09 10:03:36 -05:00
James Cammarata
8b119646e4 Merge pull request #7682 from sergevanginderachter/bigip_monitor_http_checkmode_fix
bigip_monitor bugfix for check mode
2014-06-09 09:39:33 -05:00
James Cammarata
8d0d2831e6 Fixing mysql master replication boolean
Fixes #7528
2014-06-09 08:58:55 -05:00
Casey Fitzpatrick
6a5ad84656 fix for svr4pkg module failure reporting, issue #7645 2014-06-08 19:59:44 -04:00
Martin Joehren
6967d821b9 azure - fixed missing return statement 2014-06-08 21:39:31 +02:00
Martin Joehren
9b04ecec8c azure - fix for: temporary redirect, not deleted vhds, missing locations and role types, async api calls 2014-06-08 00:36:55 +02:00
James Cammarata
3c5bb759ce Merge branch 'devel' of https://github.com/ansible/ansible into devel 2014-06-06 21:56:32 -05:00
Ryan Petrello
c8f0f00c4f Fix neutron floating IP allocation for networks with a v4 *and* v6 subnet.
For networks that have both a v4 and a v6 subnet, the floating IP plugin
currently has two problems:

* When determining the subnet for the provided `internal_network_name`, it
assumes that the first item in the list of subnets is the one you want.
Instead, it should pick the first v4 subnet.

* When multiple fixed IP's exist for a given port (as is the case in a network
a v4 and a v6 subnet), neutron needs a hint as to which fixed IP to associate
to the floating IP address (the v4 one).
2014-06-06 17:03:26 -04:00
James Cammarata
8e6ba1015b Cleaning up azure module
* Fixed error messages to be more descriptive
* Removed direct use of subprocess module and replaced it with calls
  to module.run_command
* Changed AZURE_MANAGEMENT_CERT_PATH to be just AZURE_CERT_PATH, which
  matches what is expected by the inventory script
2014-06-06 15:58:28 -05:00
Matt Martz
1d7222394f Add Rackspace Autoscale modules
- rax_scaling_group
- rax_scaling_policy
2014-06-06 11:30:07 -05:00
James Cammarata
8ba0811f69 Merge branch 'devel' of https://github.com/jwhitbeck/ansible into jwhitbeck-devel 2014-06-06 11:19:43 -05:00
Jean-Frédéric
ea78ad9906 Fix documentation of deb option in apt module
The apt module may install a .deb package on the remote machine, not on the local.
Fix the misleading documentation.
2014-06-06 18:18:44 +02:00
James Cammarata
38535c6904 Merge pull request #7653 from evanccopengeo/devel
ec2_group: Fix for 500 error when creating new security groups
2014-06-06 10:34:42 -05:00
Serge van Ginderachter
4a3c3f9a82 bigip_monitor bugfix for check mode
Fixes case where properties are retrieved for a non existent monitor
which happens in check mode.
2014-06-06 16:48:36 +02:00
James Cammarata
14b4887733 Catch failed connection due to a bad region in ec2_scaling_policy
Fixes #7505
2014-06-05 19:40:21 -05:00
James Cammarata
58bacd9484 Catch failed connection due to a bad region in ec2_scaling_policy
Fixes #7506
2014-06-05 16:44:55 -05:00
Kevin Bell
8e18202796 Fixed asg instance count polling 2014-06-05 16:18:31 -05:00
Kevin Bell
340f7c18c2 Fix default availability zone list 2014-06-05 16:18:31 -05:00
James Cammarata
74656e6706 Fix typo in nova_keypair import of exceptions from novaclient
Fixes #7640
2014-06-05 15:42:38 -05:00
James Cammarata
c276dec487 Fix issue with symlink path detection
Fixes #7627
Fixes #7664
2014-06-04 23:31:59 -05:00
James Cammarata
090fd0a224 Fix linking issue to directories in file module
The os.path.isdir() returns True for symlinks that point to directories,
so we also need to check to make sure it's not a symlink too.

Fixes #7657
2014-06-04 22:48:08 -05:00
James Cammarata
68ef54e7e8 Add additional params to get_target_from_rule method in ec2_group
Fixes #7592
2014-06-04 13:52:44 -05:00
James Cammarata
acb00120b8 Fixing version_added strings for new features in ec2_elb_lb
Fixes #7631
2014-06-04 13:37:04 -05:00
James Cammarata
f31c075c76 Merge branch 'rax-meta' of https://github.com/sivel/ansible into sivel-rax-meta 2014-06-04 11:02:35 -05:00
evanccopengeo
baeddd7617 fixing problem where ansible would error out because Amazon was saying the group didnt exist yet (needed to wait a few more seconds for amazon to propagate correctly) 2014-06-03 14:25:48 -04:00
James Cammarata
9356c1540c Merge pull request #7638 from yanc0/primary_group_doc_user_example
Add primary group in the first user module doc example
2014-06-03 10:10:55 -05:00
James Cammarata
44c559a700 Merge pull request #7635 from josef-spak/mysql-replication-typo
Fix typo in CHANGE MASTER TO syntax
2014-06-03 10:10:04 -05:00
Yann Coleu
f378ed643c Add primary group in the first user module doc example 2014-06-02 14:32:52 +02:00
Matt Martz
7ec52c9001 Allow search_regex to be used in wait_for with port 2014-06-02 07:17:01 -05:00
Josef Špak
1dbc069bcb Fix typo in CHANGE MASTER TO syntax 2014-06-02 13:42:55 +02:00
Christoph Dwertmann
0d2ac3ce62 Don't use deprecated BaseException.message in keystone_user
fixes error "failed to parse: <attribute 'message' of 'exceptions.BaseException' objects>
TypeError: <attribute 'message' of 'exceptions.BaseException' objects> is not JSON serializable"
2014-06-02 15:11:53 +10:00
Matt Martz
aaf880af19 Mention that user_data can be a file path or a string 2014-06-01 14:47:01 -05:00
Matt Martz
2c7b70d140 Switch functions over to kwargs to make it easier to manage in the future 2014-06-01 14:45:54 -05:00
Matt Martz
5b4f8d76c7 Add user_data and config_drive support 2014-06-01 14:42:58 -05:00
Matt Martz
ce38f006a3 Add rax_meta module
Also update rax to mirror meta value normalization from rax_meta
2014-06-01 14:31:26 -05:00
Michael DeHaan
416705e5e2 Merge pull request #6863 from sivel/rax-untouched
rax module: Return untouhced servers with exact_count
2014-06-01 15:27:45 -04:00