Brian Coca
5258e6d52a
use safe load instead
...
fixes #21724
2017-02-21 17:45:46 -05:00
James Cooke
8ec28a2ba4
Download remote apt deb file in bytes mode in Python 2 and 3
...
Fixes #19710
2017-02-21 14:26:58 -08:00
Ryan Brown
c136ff58c0
[cloud][docs] Fix misleading Route53 value example ( #21689 )
...
The `route53` module uses a comma-separated string for records
containing more than one value. Fixes #21134
2017-02-21 15:48:32 -05:00
Pierrick Caillon
a1b3664ec4
Fix: mysql_user - permission string with column privileges
...
MySQL returns privileges on columns as "PRIVILEGES (column)".
For permissions to be correctly matched, it must be specified exactly the
same in the module argument. A resulting string is like
"dbname.dbtable:PRIVILEGES (column)". Thus, the space before the opening
parenthesis must also be removed when creating the set of privileges for
validation.
2017-02-21 10:51:03 -08:00
Matt Clay
879feff6b7
Fix PEP 8 issue.
2017-02-21 10:24:02 -08:00
Veaceslav Mindru
cdcdc1d81b
#19587 add yum skip-broken ( #21475 )
...
* #19587 : refactor to PEP8
* Issue: #19587 : add skip_broken option to yum module
PNTSYSOPS-1901 - internal reference
Signed-off-by: Veaceslav Mindru <vmindru@redhat.com > <mindruv@gmail.com >
* Issue: #19587 : fix line break, attempt to make readble
things at line 646 look ugly ..
trying to make them look a bit more human readble
though the entire approach should be rewriten
PNTSYSOPS-1901 - internal reference
Signed-off-by: Veaceslav Mindru <vmindru@redhat.com > <mindruv@gmail.com >
* #19587 : fixing typo, skip-broken has to be passed as list
* PR: #21475 : peer review changes
relates to: revert comment deletion https://github.com/ansible/ansible/pull/21475#discussion_r101574146
relates to: remove irelevant var https://github.com/ansible/ansible/pull/21475#discussion_r101573388
relates to: reformat https://github.com/ansible/ansible/pull/21475#discussion_r101572840
Signed-off-by: Veaceslav Mindru <vmindru@redhat.com > <mindruv@gmail.com >
* PR: #21475 : peer review changes
relates to: https://github.com/ansible/ansible/pull/21475#discussion_r101573736
Signed-off-by: Veaceslav Mindru <vmindru@redhat.com > <mindruv@gmail.com >
* Issue: #21475 : fixing typo in the Man section
Signed-off-by: Veaceslav Mindru <vmindru@redhat.com > <mindruv@gmail.com >
* PR: #21475 - Peer review: revert variable a
Relates to: https://github.com/ansible/ansible/pull/21475#pullrequestreview-22404868
Signed-off-by: Veaceslav Mindru <vmindru@redhat.com > <mindruv@gmail.com >
* Issue: 19587 - small correction
Signed-off-by: Veaceslav Mindru <vmindru@redhat.com > <mindruv@gmail.com >
2017-02-21 07:59:07 -08:00
Damien
6fadddeaba
network/aos - Fix doc for session information ( #21718 )
...
* Fix EXAMPLES to make session variable homogeneous across all modules
* Fix parameter name in EXAMPLE, template not design_template
2017-02-21 14:56:12 +00:00
Sebastien Lacoste-Seris
77596951b8
Update vca_vapp.py ( #19562 )
...
Check result of vApp creation and return module failure if creation task not present
2017-02-21 09:00:07 -05:00
Ricardo Carrillo Cruz
6622b05326
Fix memory ios facts ( #21696 )
...
In order to populate the total and free mem of an IOS device, we run
the 'show memory statistics' command.
The output shows something similar to:
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Processor BEAE880 335215488 64044364 271171124 268918092 268463852
I/O 8DAE880 51380224 41880736 9499488 9461552 9352252
We need to just parse the line containing 'Processor' and get the first and third
number for total and free mem, instaed for first and second as the code wrongly
does.
2017-02-21 14:38:35 +01:00
Paulo Matias
46fee994d1
os_subnet: add support for using the default subnetpool ( #20191 )
...
Allows to pass use_default_subnetpool instead of a cidr. This is
required when adding an IPv6 subnet if BGP or prefix delegation is
enabled.
2017-02-21 14:27:59 +01:00
Dag Wieers
b0c6ebf3fc
win_shortcut: Clean up parameter handling ( #21378 )
...
* win_shortcut: Clean up parameter handling
Minor changes.
* Implemented -WhatIf:$check_mode support
2017-02-21 10:25:45 +00:00
Dag Wieers
b0fdb6ac10
win_timezone: Clean up and check-mode support ( #21387 )
...
Changes include:
- Use Get-AnsibleParam with -type support
- Replace $result PSObject with normal hash
- Add check-mode support
2017-02-21 06:01:09 +00:00
Ivan Bojer
21ed43e38a
panos module to activate FW licenisng using authentication code ( #20154 )
2017-02-20 22:23:21 -05:00
Ivan Bojer
dafeb42c2d
Panos interface ( #20659 )
...
* new module to manage DP interfaces
* - copyright change for the new module
* doc changes as requested
2017-02-20 22:22:22 -05:00
Barry Peddycord III
d1efc8e19e
New Networking Module: NCLU ( #21101 )
...
* Adding Cumulus NCLU module
* Delete incorrect testing folder
* wrong import location for nclu test
* another wrong import location for nclu test
* unittest library doesn't support 'skip', removing 'real' nclu tests
* Don't need stringio since I'm not doing real tests
* got rid of unnecessary shebang in test_nclu
* version set to 1.0
* Documentation fixes
2017-02-20 22:21:34 -05:00
Wayne Witzel III
4632b65086
add Ansible Tower role module ( #21592 )
...
* add Ansible Tower role module
* remove owner as choice from role paramenter
2017-02-20 15:18:43 -05:00
Wayne Witzel III
96772719ba
add Tower JobTemplate module ( #21681 )
...
* add Tower JobTemplate module
* add host_config_key and remove defaults from required parameters
2017-02-20 15:18:04 -05:00
Wayne Witzel III
a59c4d558d
add Ansible Tower team module ( #21593 )
2017-02-20 15:16:32 -05:00
Sloane Hertel
26b10eb160
[modules] Fix bad usages of traceback.format_exc(); doesn't take an error parameter ( #21678 )
2017-02-20 13:27:39 -05:00
Damien
d9e4248c35
Add doc link to aos_login module ( #21684 )
2017-02-20 18:15:40 +00:00
Dag Wieers
00668b1544
win_webpicmd: Clean up parameter handling ( #21376 )
...
Changes include:
- Use of Get-AnsibleParam and parameter types
- Replace $result PSObject with normal hash
2017-02-20 17:28:25 +00:00
Dag Wieers
aae1a00d7e
win_say: Clean up and check-mode support
...
Changes include:
- Clean up parameter handling
- Replace $result PSObject with a hash
- Added check-mode support
2017-02-20 10:02:11 -05:00
Jordan Borean
a80251ff02
Added win_region module ( #19147 )
2017-02-20 11:50:27 +00:00
Dag Wieers
1cc9e9f2a1
Clean up windows setup module ( #21343 )
...
The following items were implemented:
- Replace PSObject with normal hash
- Replace Set-Attr function with normal hash assignment
- Re-indent code (make sure everything uses 4 spaces)
- Remove trailing semi-colons
2017-02-20 11:49:52 +00:00
Dag Wieers
3c45c93d10
win_reg_stat: Clean up parameter handling ( #21380 )
2017-02-20 11:49:36 +00:00
Dag Wieers
958cbae7ba
win_tempfile: New module implementing tempfile on Windows ( #21623 )
...
This module implements the **tempfile** module for Windows.
2017-02-20 11:48:55 +00:00
Aliaksandr Kharkevich
7bc7f13856
Add validate_certs options to gitlab_user and gitlab_group modules ( #21415 )
2017-02-20 10:43:36 +01:00
David Norman
9b166f6f29
Grammar and spelling on win_iis_webapplication. ( #21618 )
2017-02-19 18:01:58 +00:00
Peter Sprygada
76c9ad9dfc
new module nxos_system ( #21627 )
...
* provides declarative config support for nxos system attributes
* adds unit test cases for new module
2017-02-18 18:56:02 -05:00
Peter Sprygada
920f9f4815
fixes nxos nxapi implementation ( #21615 )
...
* correctly maps play_context to nxapi values
* fixes bug in nxos_nxapi module detecting nxapi feature
* updates nxos shared lib provider values
* fixes missing ssh_keyfile in nxos shared lib
2017-02-18 11:20:26 -05:00
Trond Hindenes
eb6956e1dd
win_nssm improvements ( #21290 )
...
* win_nssm improvements
* updated version_added
2017-02-18 15:19:12 +00:00
Damien
b607a7b78a
New Module : aos_logical_device_map as part of network/aos ( #21277 )
...
* Initial version of aos_logical_device_map
* Update doc and fix typo
2017-02-17 20:26:38 -05:00
Damien
615df814f1
New Module : aos_logical_device as part of network/aos ( #21226 )
...
* Add new module aos_logical_device
* Add hard stop to documentation
* Removed required false from documentation
* Add comment before sleep
* Replace IP Pool by Logical Device in the doc
2017-02-17 20:26:21 -05:00
Damien
32e6341f4e
New Module : aos_template as part of network/aos (clean) ( #21222 )
...
* Add module aos_template
* Add full stop to documentation
* Removed required: false in documentation
* Add comment for sleep
2017-02-17 20:25:57 -05:00
Damien
f9fcffb134
New Module : aos_external_router as part of network/aos (clean) ( #21221 )
...
* Add module aos_external_router
* Add hard stop to documentation
* Removed required false from doc
* Add documentation for ASN and loopback
2017-02-17 20:25:42 -05:00
Damien
d930f5f7b1
New Module : aos_login as part of network/aos (clean) ( #21220 )
...
* Add module aos_login
* Cleanup documentation and add hard stop
* Add default value in doc for port and remove required: false
* Fix typo in doc for check mode
2017-02-17 20:25:27 -05:00
Damien
c23d699c49
New Module : aos_asn_pool as part of network/aos (clean) ( #21224 )
...
* Add module aos_asn_pool
* Add hard stop to documentation
* Remove required: false from doc
* Add pool name in error message when in_use
Change Asn for ASN
* Change the documentation for content
2017-02-17 20:24:43 -05:00
Damien
5084bf474b
New Module : aos_blueprint as part of network/aos ( #21278 )
...
* Initial release of aos_blueprint
* Cleanup documentation based on review comments
* Change if else to be python 2.4 compatible
2017-02-17 20:24:08 -05:00
Damien
d0e907e661
New Module : aos_device as part of network/aos ( #21276 )
...
* Initial version of aos_device
* Clean up documentation
* Move try/except closer to device.approve
* Remove non valid characters
* Change option approve to type bool and fix some typo
2017-02-17 20:23:13 -05:00
Damien
aff83940e2
New Module : aos_blueprint_param as part of network/aos ( #21352 )
...
* Add initial version of aos_blueprint_param
* Add a missing hard stop in doc
* Remove type: bool from description
2017-02-17 20:22:55 -05:00
Damien
ebd9eca9e1
Initial version of Rack Type ( #21372 )
2017-02-17 20:22:41 -05:00
Damien
0200e4fcb9
New Module : aos_blueprint_virtnet as part of network/aos ( #21432 )
...
* Initial version of aos_blueprint_virtnet
* Fix indentation in EXAMPLES
2017-02-17 20:22:16 -05:00
Brian Coca
b3b76826e5
Revert "allow device to be list for multidev fs"
2017-02-17 17:31:08 -05:00
Monty Taylor
9bf33e56dd
Move availability_zone docs to each OpenStack module ( #21540 )
...
* Move availability_zone docs to each OpenStack module
This argument is in the central list for hysterical raisins (mostly me
being a doofus) but is used in almost none of them. Document it
explicitly in each module to stop the confusion.
* Fix two docs formatting bugs
2017-02-17 21:49:03 +01:00
John R Barker
482f882798
Correct example
2017-02-17 17:31:05 +00:00
Wayne Witzel III
743d48af5c
Add Tower Project module ( #21479 )
2017-02-17 16:19:33 +00:00
Wayne Witzel III
17f0dc3f4d
Add Tower Group module ( #21480 )
2017-02-17 16:19:06 +00:00
Wayne Witzel III
17a2e5ead2
Add Tower Host module ( #21482 )
2017-02-17 16:18:40 +00:00
Wayne Witzel III
ff3023e82b
Add Tower Inventory module ( #21483 )
2017-02-17 16:18:11 +00:00
Wayne Witzel III
2b6c13f883
Add Tower Label module ( #21485 )
2017-02-17 16:17:41 +00:00