Commit graph

14178 commits

Author SHA1 Message Date
Chris Houseknecht
65491cc839 For docker add --blocking-io only when missing (#19171) 2016-12-10 10:51:03 -05:00
Irina Muchnik
9f58e69d63 Fix secure temp file creation (#19096)
* For realz this time

* Fix tempfile.mkstemp (#2)

* back to square one, removing temp file from the mix

* Adding temp back

* Adding tuple  back

* Adding another tuple back

* Trying to get around weird Jenkins behavior of blowing up when both .hpi and jpi file found

* Incorporating PR feedback

* Delete .hpi file instead of backing it up, some basic clean up

* Moving file deletion to the right location

* Blank lines. They always get me.
2016-12-10 09:33:34 -05:00
Fabio Alessandro Locati
2adde7a6d1 Remove unused quotes - notification/pushbullet.py (#19149) 2016-12-10 09:29:02 -05:00
Fabio Alessandro Locati
c3887138c5 Remove unused quotes (#19150) 2016-12-10 09:28:38 -05:00
Fabio Alessandro Locati
261fad8fee Remove unused quotes - notification/hipchat.py (#19151) 2016-12-10 09:28:15 -05:00
Fabio Alessandro Locati
617e82fe8c Remove unused quotes - notification/twilio.py (#19152) 2016-12-10 09:27:56 -05:00
Fabio Alessandro Locati
e788f13956 Remove unused quotes - files/unarchive.py (#19155) 2016-12-10 09:27:35 -05:00
Fabio Alessandro Locati
90a698c367 Remove unused quotes - notification/rocketchat.py (#19156) 2016-12-10 09:25:25 -05:00
Fabio Alessandro Locati
372352f35d Remove unused quotes - web_infrastructure/deploy_helper.py (#19157) 2016-12-10 09:24:36 -05:00
Fabio Alessandro Locati
e32b0da0b0 Improve examples - monitoring/logicmonitor_facts.py (#19158) 2016-12-10 09:24:13 -05:00
Fabio Alessandro Locati
a8fa008bbe Remove unused quotes - source_control/github_hooks.py (#19159) 2016-12-10 09:23:19 -05:00
Fabio Alessandro Locati
b42cda4dd2 Remove deprecated example (#19161) 2016-12-10 09:21:25 -05:00
Chris Houseknecht
b02491ba70 Add --blocking-io option when docker connection (#19140) 2016-12-10 09:20:35 -05:00
Rene Moser
b1ea79af51 cloudstack: cs_role: doc fixes. 2016-12-10 11:40:30 +01:00
René Moser
a8fc8249b4 cloudstack: new module cs_role (#19134) 2016-12-10 10:33:05 +01:00
Matt Clay
2cb6a10a0e Fix module names in module docs. 2016-12-09 18:13:57 -07:00
Matt Clay
cd47cb2a15 Remove remnants of obsolete fireball mode. 2016-12-09 16:56:34 -07:00
Matt Clay
ac7edef2be Fix modules with documentation errors. 2016-12-09 16:08:26 -07:00
Fabio Alessandro Locati
9a075b5917 Avoid using an object if it does not exists (#19058) 2016-12-09 17:36:39 -05:00
Fabio Alessandro Locati
28a12e8b27 Use dbus only if it is present (#19060) 2016-12-09 17:35:55 -05:00
Fabio Alessandro Locati
3b509b1095 Avoid extending a class if it does not exists (#19059) 2016-12-09 17:31:07 -05:00
Kash
6b1586748f Fixes #4538 passing int params as required by boto (#18999) 2016-12-09 14:39:02 -05:00
Yury V. Zaytsev
395b59ea6c Update ec2_vpc_peer.py (#19069)
Document `peering_id` module parameter.
2016-12-09 11:24:48 -05:00
José Sabater Montes
66ced41485 Add new Amazon EBS volume types. Fixes issue 4041 of ansible-modules-core 2016-12-09 10:27:54 -05:00
Adam Chainz
0b8aada1bc Cloudformation - allow re-using an existing template (#19009)
* Allow re-using an existing template when updating a stack by not passing 'template' or 'template_url'. This is a big one for me as our deploy process creates a new stack and then modifies the old one; to avoid changing the resources inside the old one, we have had to avoid using the Ansible module and use the AWS CLI instead in order to pass `--use-previous-template`.
* Split create and update logic into separate functions
* Remove dead `update` variable
2016-12-09 10:24:10 -05:00
Maarten Bezemer
7b4eb078c6 Leave current secutiry groups as-is if not provided (#19043) 2016-12-09 10:21:16 -05:00
Tom Paine
1d80f5cf0f Update ec2_group.py (#19033)
PR move of https://github.com/ansible/ansible-modules-core/pull/3588

##### ISSUE TYPE
- Docs Pull Request

##### COMPONENT NAME
ec2_group.py

##### ANSIBLE VERSION

```
ansible 2.0.2.0
  config file = /Users/tpai/src/cm-secure/ansible.cfg
  configured module search path = Default w/o overrides
```
##### SUMMARY

Make it clear you can specify the created group in the rules list, allowing idempotent use for group<->group networking rules.

This is a really useful feature that isn't obvious enough in the docs.
2016-12-09 10:11:17 -05:00
Andy Freeland
cb9b5ab146 Include volume encryption status in 'ec2_vol_facts' module (#19017) 2016-12-09 10:01:13 -05:00
Fabio Alessandro Locati
ea46d5548b Native YAML - cloud/softlayer/sl_vm.py (#19056)
* Native YAML - cloud/softlayer/sl_vm.py

* Pointless to delegate/localaction, since we are already running on localhost
2016-12-09 09:11:31 -05:00
Fabio Alessandro Locati
ee27c688fd Unquote strings that do not need quotes and retab - clustering/consul.py (#18834) 2016-12-09 08:49:43 -05:00
Fabio Alessandro Locati
b811350f00 Native YAML - web_infrastructure/jira.py (#18832) 2016-12-09 08:48:59 -05:00
Fabio Alessandro Locati
21940f8c8e Remove unneeded quotes - source_control/bzr.py (#18825) 2016-12-09 08:48:15 -05:00
Fabio Alessandro Locati
19f0b5f1cc Remove unneeded quotes - notification/slack.py (#18826) 2016-12-09 08:46:27 -05:00
Fabio Alessandro Locati
6c06aeb792 Explicitally add the state - system/authorized_key.py (#18837) 2016-12-09 08:40:16 -05:00
Fabio Alessandro Locati
464e1b6a5a Improve the dependency on univention (aka: declare it and fail nicely if it is not present) (#18840) 2016-12-09 08:39:40 -05:00
Fabio Alessandro Locati
60f6bab430 Remove x bit - windows/win_copy.py (#18824) 2016-12-09 08:30:27 -05:00
Fabio Alessandro Locati
013722d974 Inline attays (#19061) 2016-12-09 06:00:34 -05:00
Fabio Alessandro Locati
e5bc2e0570 Put spaces between graphs and var name (#19063) 2016-12-09 05:59:50 -05:00
Andy Freeland
72310ff3e8 Fix wait parameter in ec2 module docs (#19037)
Fixes #18913.
2016-12-09 05:51:43 -05:00
Fabio Alessandro Locati
2b47246e94 Native YAML - source_control/gitlab_user (#19053) 2016-12-09 05:49:00 -05:00
Fabio Alessandro Locati
ba22514d47 Native YAML - source_control/gitlab_group (#19054) 2016-12-09 05:48:33 -05:00
Fabio Alessandro Locati
503f4c48db Inline array in example (#19055) 2016-12-09 05:48:03 -05:00
Fabio Alessandro Locati
3fa1ddc9db Native YAML - source_control/gitlab_project (#19062)
* Native YAML - source_control/gitlab_project

* Use example domain as for RFC2606
2016-12-09 05:44:43 -05:00
René Moser
345e39e1b1 cloudstack: cs_instance: fix userdata not up to date (#18942)
Fixes unnecessary VM restart.

VM userdata is currently not returned by the API listVirtualMachine and task will always be marked as changed in has_changed(), which will result in an unnecessary VM restart if force=true.

Reported by @Mayeu
2016-12-09 07:03:18 +01:00
Matt Clay
1da20c9716 Clean up issue templates. (#19011)
* Remove legacy GitHub templates.
* Remove references to module repos.
2016-12-08 17:18:30 -05:00
Matt Clay
c709b22e5c Fix differences with devel. 2016-12-08 11:35:21 -05:00
James Cammarata
fa5386c488 Some additional module cleanup of mistakes made during merging 2016-12-08 11:35:20 -05:00
James Cammarata
6ba6819446 Re-adding the init py for modules 2016-12-08 11:35:20 -05:00
Matt Davis
cb1888125d add metadata to doc support (#18802)
fix broken module docs
change doc AST id extraction to use == instead of in
2016-12-08 11:35:20 -05:00
Fabio Alessandro Locati
c786f7ca3c Native YAML - monitoring/logicmonitor.py (#18790)
* Native YAML - monitoring/logicmonitor.py

* Fix comments as well

* Fix quotes
2016-12-08 11:35:20 -05:00
Matt Clay
851b264fb0 Add missing znode module description. 2016-12-08 11:35:20 -05:00
Fabio Alessandro Locati
f5da520bbb Consistency in space between parenthesys (#18796) 2016-12-08 11:35:20 -05:00
Fabio Alessandro Locati
f8832bf302 Native YAML - monitoring/boundary_meter (#18791)
* Native YAML - monitoring/boundary_meter

* Fix apikey
2016-12-08 11:35:19 -05:00
Fabio Alessandro Locati
327cff7274 Native YAML - monitoring/pagerduty_alert (#18784) 2016-12-08 11:35:19 -05:00
Toshio Kuratomi
df9059936b Metadata Status needs to be a list, not a scalar.
The default metadata was specified with a string "preview" instead of
the list ["preview"].
2016-12-08 11:35:19 -05:00
James Cammarata
14833f1c7a A few more organizational cleanups from the repo merge 2016-12-08 11:35:19 -05:00
James Cammarata
011ea55a8f Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
James Cammarata
c65ba07d2c Cleaning up diffs after extras modules merge 2016-12-08 11:35:18 -05:00
Toshio Kuratomi
2cfa25c930 Add metadata for xbps
Pass pyflakes
2016-12-08 11:35:18 -05:00
James Cammarata
d2fc24b771 Removing unnecessary files before repo merge 2016-12-08 11:35:18 -05:00
Toshio Kuratomi
bd12c4bfe7 Refreshed metadata for extras modules 2016-12-08 11:35:18 -05:00
Ryan S. Brown
92588923f4 Style fix for xbps module 2016-12-08 11:35:18 -05:00
Dino Occhialini
3821ea020f Add XBPS module (#1749)
Adds xbps module for managing Void Linux packages.

Currently supports:
* Installation
* Removal
* Updating Specific Packages
* Updating All Packages
* Updating package cache
2016-12-08 11:35:18 -05:00
Slezhuk Evgeniy
867c85af05 Add 'link' action to jira module 2016-12-08 11:35:17 -05:00
Ben Tomasik
62acd6286f Add check mode support (#3523) 2016-12-08 11:35:17 -05:00
0livd
ff4deba55d Fetch vmid from the ProxmoxAPI when not set (#3591)
The vmid is no longer a required parameter
For the 'present' state:
 If not set, the next available one will be fetched from the API
For the 'started', 'stopped', 'restarted' and 'absent' states:
 If not set, the module will try to fetch it from the API based on the hostname
Inspired from the behavior of the proxmox_kvm module
2016-12-08 11:35:17 -05:00
Fabian Krämer
320ae068ed Allow Datadog monitors to be retrieved by id instead of name. (#3456) 2016-12-08 11:35:17 -05:00
David Stygstra
5454c562e9 Fix #3410 (#3411)
A port with the same name as the bridge is implicitly created for every
bridge, but it doesn't show in in `ovs-vsctl list-ports BRIDGE`.
2016-12-08 11:35:17 -05:00
MDCollins
7d8d830aee Update the status codes to look for (#2120)
Creation of a maintenance window returns a 201 (PagerDuty Developer documentation is unfortunately incorrect). Deleting a maintenance window returns a 204.
2016-12-08 11:35:17 -05:00
Colin Walters
5bfbeadca3 yum_repository: use https:// for EPEL examples (#3464)
This whole module is really lacking in security guidelines, but
downloading RPMs via plain `http://` without gpg is quite bad.  Let's
use `https://` for the EPEL examples for a start.
2016-12-08 11:35:17 -05:00
Arthur
9513388819 Update route53_zone.py fix indentation typo in examples (#3255) 2016-12-08 11:35:17 -05:00
Bill Wang
246ce5aa85 improve example for module ec2_vpc_subnet_facts (#3511) 2016-12-08 11:35:17 -05:00
Ondra Machacek
937117d871 Add oVirt ovirt_permissions and ovirt_permissions_facts modules (#3160) 2016-12-08 11:35:17 -05:00
Ondra Machacek
1d7c2eb00d Add oVirt ovirt_external_providers and ovirt_external_providers_facts modules (#3168) 2016-12-08 11:35:17 -05:00
Ondra Machacek
995ac40e8e Add oVirt ovirt_vmpools and ovirt_vmpools_facts modules (#3171) 2016-12-08 11:35:17 -05:00
Ondra Machacek
55274a4eec Add oVirt ovirt_quotas and ovirt_quotas_facts modules (#3172) 2016-12-08 11:35:17 -05:00
Ondra Machacek
f6e257201c Add oVirt ovirt_nics and ovirt_nics_facts modules (#3205) 2016-12-08 11:35:17 -05:00
Ondra Machacek
489272890a Add oVirt ovirt_templates and ovirt_templates_facts modules (#3221) 2016-12-08 11:35:17 -05:00
Ondra Machacek
42737bc7c3 Add oVirt ovirt_storage_domains and ovirt_storage_domains_facts modules (#3222) 2016-12-08 11:35:16 -05:00
Ondra Machacek
190357e51f Add oVirt ovirt_vms_facts module (#3226) 2016-12-08 11:35:16 -05:00
Ondra Machacek
1057c2f89d ovirt_vms: Add new cloud_init_nics parameter (#3557) 2016-12-08 11:35:16 -05:00
Ondra Machacek
370d8332ae Add oVirt ovirt_affinity_labels and ovirt_affinity_labels_facts modules (#3570) 2016-12-08 11:35:16 -05:00
Ondra Machacek
6ade61a3ba Add oVirt users/groups and users_facts/group/facts modules (#3153) 2016-12-08 11:35:16 -05:00
Ondra Machacek
77c3868670 Add ovirt_networks and ovirt_networks_facts modules (#3148) 2016-12-08 11:35:16 -05:00
Ondra Machacek
68e83bba91 Add ovirt_datacenters and ovirt_datacenters_facts modules (#3146) 2016-12-08 11:35:16 -05:00
Ondra Machacek
c12b705df8 Add ovirt_clusters and ovirt_clusters_facts modules (#3138)
* Add ovirt_clusters and ovirt_clusters_facts modules

* Add return values examples

* Improve documentation

* Added all cluster parameters
2016-12-08 11:35:16 -05:00
Krzysztof Magosa
c385c6746a kubernetes: handle situation when target host does not have yaml library (fixes #3301) (#3449) 2016-12-08 11:35:16 -05:00
Ondra Machacek
32c7f1eae7 Add new ovirt_mac_pools module (#3646)
This patch adds new module to manage oVirt MAC pools.
2016-12-08 11:35:16 -05:00
Constantin
4bdbbed49c Fix: convert owner_ids to a list of strings (#3488) 2016-12-08 11:35:16 -05:00
Ben Tomasik
163f16658e Add check mode support (#3522) 2016-12-08 11:35:16 -05:00
Tristan de Cacqueray
8a02b5d702 Use parameters in os_stack update (#3560)
This change makes os_stack module idempotent. Otherwise, re-use of the
module fails with:
Error updating stack: ERROR: The Parameter (...) was not provided.

Fixes #3165.
2016-12-08 11:35:16 -05:00
Fabio Alessandro Locati
7a2d1a4210 Make main() calls conditional - commands (#3655) 2016-12-08 11:35:16 -05:00
Fabio Alessandro Locati
cefb569797 Make main() calls conditional - messaging (#3654) 2016-12-08 11:35:16 -05:00
Fabio Alessandro Locati
6f019c1066 Make main() calls conditional - web_infrastructure (#3653) 2016-12-08 11:35:16 -05:00
Fabio Alessandro Locati
cbe3f4e5e1 Make main() calls conditional - system (#3652) 2016-12-08 11:35:15 -05:00
Fabio Alessandro Locati
45b31fa514 Make main() calls conditional - source_control (#3651) 2016-12-08 11:35:15 -05:00
Fabio Alessandro Locati
007abb5373 Make main() calls conditional - packaging (#3650) 2016-12-08 11:35:15 -05:00
Fabio Alessandro Locati
95be8b8276 Make main() calls conditional - network (#3649) 2016-12-08 11:35:15 -05:00
Fabio Alessandro Locati
9f7ad2ca3b Conditional main - monitoring (#3648) 2016-12-08 11:35:15 -05:00
Fabio Alessandro Locati
e788ce068a Make main() calls conditional - clustering (#3647) 2016-12-08 11:35:15 -05:00