bpetit
9bd7bd5d46
[docs] Document requirements for `plan_file` option in terraform module ( #42514 )
...
plan_file is required if state: planned is used. This should be mentionned in the documentation.
+label: docsite_pr
2018-07-09 10:19:29 -04:00
Ryan Brown
52b79a87ee
Terraform: Pass module targets to terraform plan as well as apply ( #40958 )
...
* Pass module targets to terraform plan as well as apply
* Fix undefined variable
* Add target for plan-only operation
2018-05-31 14:35:40 -04:00
René Moser
e7709e169a
new module cloud_init_data_facts ( #37932 )
...
* add new module cloud_init_facts
* rename cloud-init facts
* simplify
* re-add tests
* make test run on ubuntu except 14.04
2018-05-25 07:44:24 +02:00
Robin Lee
d45b044992
Make xenserver_facts actually work ( #35821 )
...
* Get the str value of xmlrpc.client.DateTime
* get_all_records should be used instead of get_all
* Facts returned with 'ansible_facts'
* Remove some redundant code
* Add cheese as maintainer
* Add changelog entry
2018-05-22 13:31:35 -04:00
Ryan S. Brown
9a607283aa
Terraform module: pass `plan_file` argument correctly
...
Per #39611 the `terraform` module wasn't properly building plan-only
files.
2018-05-02 13:45:24 -04:00
John R Barker
7c4b91844d
More validate module fixes ( #39097 )
...
* Fix type bool DOCUMENTATION issues
2018-04-24 18:05:50 +01:00
Ryan Brown
f428108845
[terraform] Disable input prompts during terraform init/plan/apply ( #38842 )
...
Per Hashicorp's [guidelines][1] for automated use of terraform CLI, this PR
adds the `-input=false` option to all the commands executed in the
module. If input is required, this causes a hard failure that will
become a module failure.
[1]: https://www.terraform.io/guides/running-terraform-in-automation.html
2018-04-20 12:28:49 -04:00
Dustin Rue
dbd0272f2e
Update proxmox_kvm.py ( #39045 )
2018-04-20 09:06:53 +02:00
Abhijeet Kasurde
ae7e391dab
Minor fixes in terraform module ( #38438 )
...
This fix adds following -
* Check for None or blank value in project_path
* Make terraform binary path as required
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-04-16 08:43:13 -04:00
Stanislav Simovski
a00abcb003
[terraform] Fixed typo in preflight_checks ( #38740 )
...
The function was incorrectly reporting project path when it failed to find binary.
2018-04-13 16:32:41 -04:00
Sascha Marcel Schmidt
50761bef0a
changes description to match module ( #31364 )
2018-04-02 11:24:15 -04:00
Matt Clay
aee01564a9
Clean up non-standard module shebangs.
2018-03-21 11:04:55 -07:00
Dag Wieers
cdd21e2170
Clean up module documentation ( #36909 )
...
* Clean up module documentation
This PR includes:
- Removal of `default: None` (and variations)
- Removal of `required: false`
- Fixing booleans and `type: bool` where required
* Fix remaining (new) validation issues
2018-03-15 22:15:24 +01:00
Mikhail Naletov
3bf6c50fa9
terraform: fixed typo, name error sdtout -> stdout ( #37253 )
2018-03-10 23:44:37 +01:00
Mikhail Naletov
51558f12f4
Added variables to destroy command ( #37028 )
2018-03-05 16:09:03 -05:00
Mikhail Naletov
7d0e1f92f4
[terraform] Support initializing modules and providers at runtime ( #36996 )
...
* Fixes #36994
Added function for force initializing modules and providers
Added type for force_init parameter
2018-03-05 11:01:53 -05:00
Mikhail Naletov
7ade607525
Add variables and variable_file in terraform module ( #36879 )
...
* Fixes #36837
Added terraform variables for validate command
* Fixes #36837
Changed method from append to extend.
2018-03-01 12:50:49 -05:00
kbreit
9018c63e56
Improved language around XML description. ( #36263 )
...
* Improved language around XML description.
* Moved details on second line
2018-02-16 11:15:17 +01:00
Charl van Niekerk
5861d3333c
Corrected the helm module documentation to the correct default state (installed -> present). ( #35950 ) ( #35951 )
2018-02-13 13:34:17 +01:00
Martin Perina
138de603d9
Fix the oVirt high_performance VM type description.
2018-02-06 03:38:12 -05:00
Yaniv Kaul
56ce2773c5
Adds the oVirt High Performance (high_performance) VM type.
2018-02-06 03:38:12 -05:00
Matt Clay
227ff61f9d
Add module support to yamllint sanity test. ( #34964 )
...
* Add module support to yamllint sanity test.
* Fix duplicate keys in module RETURN docs.
* Fix syntax in return_common docs fragment.
* Fix duplicate keys in module EXAMPLES docs.
2018-01-16 15:08:56 -08:00
Ryan Brown
9233520b31
New module: Terraform ( #31214 )
...
* First pass at Terraform module
* Support output variables
* Support idempotent plan checks and external plan files
* Add check mode support
* Support custom statefile location & remove color-coding from shell output
* Docs
* Let missing statefile hard-fail
* Update to support present/planned/absent states
* PEP8
* Add docs & fix python 2.6 incompatibility
* PEP8
* PEP8
2018-01-10 13:52:28 -05:00
Matt Martz
70cafcdef6
First pass at fixing #33064 ( #33636 )
2018-01-08 18:13:22 -05:00
John Barker
c57a7f05e1
Bulk autopep8 (modules)
...
As agreed in 2017-12-07 Core meeting bulk fix pep8 issues
Generated using:
autopep8 1.3.3 (pycodestyle: 2.3.1)
autopep8 -r --max-line-length 160 --in-place --ignore E305,E402,E722,E741 lib/ansible/modules
Manually fix issues that autopep8 has introduced
2017-12-07 20:25:55 +00:00
Abhijeet Kasurde
961c3fcca7
Add missing comma in lists ( #33557 )
...
This fix adds missing comma in different modules.
This removes implicit string concatenation in given list.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-12-05 15:44:56 +01:00
Ryan S. Brown
b611c92626
Fix incomplete sentence in serverless module docs
2017-11-27 11:40:31 -05:00
Matt Clay
9735a70059
Fix invalid string escape sequences.
2017-11-21 20:59:08 -08:00
Wojciech Knapik
115f6f6732
Added `helm` release updates. Fixes #32545 . ( #32593 )
2017-11-15 14:24:44 -05:00
Satyajit Bulage
1857d11034
ovirt: PEP8 compliancy fixes ( #32316 )
...
* ovirt: PEP8 compliancy fixes
This PR includes:
- PEP8 compliancy fixes
Signed-off-by: Satyajit Bulage <sbulage@redhat.com>
* Improve documentation
* Update documentation
* Update documentation
* Update documentation
* Fix legacy-files.txt
* Update documentation
* Fix PEP8 issue
* Fix PEP8 issue
* Fix another PEP8 issue
* More typo fixes
* Yet another PEP8 typo
2017-11-07 11:50:33 +01:00
Dag Wieers
0ef87c849f
virt: PEP8 compliancy and doc fixes ( #30917 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-09-27 22:37:54 -04:00
Matt Clay
7714dcd04e
Enable more pylint rules and fix reported issues. ( #30539 )
...
* Enable pylint unreachable test.
* Enable pylint suppressed-message test.
* Enable pylint redundant-unittest-assert test.
* Enable pylint bad-open-mode test.
* Enable pylint signature-differs test.
* Enable pylint unnecessary-pass test.
* Enable pylint unnecessary-lambda test.
* Enable pylint raising-bad-type test.
* Enable pylint logging-not-lazy test.
* Enable pylint logging-format-interpolation test.
* Enable pylint useless-else-on-loop test.
2017-09-18 23:20:32 -07:00
Toshio Kuratomi
c82cf791dd
Add a code-smell test for smart quotes and remove smart quotes from all files
2017-09-18 16:49:16 -07:00
Toshio Kuratomi
f203ca7907
Update metadata to 1.1
2017-08-15 23:12:08 -07:00
Pierre-Louis Bonicoli
c52f355bcb
serverless: fix broken import
2017-08-12 10:39:10 -07:00
DavidVentura
c85b36d220
Fix Proxmox module crashing if the hostname doesn't exist and there's no vmid ( #21305 )
...
* fail the execution instead of panicking when the hostname is not found and the vmid was not provided
* return an empty vmid list if the hostname doesn't exist
2017-08-02 15:42:05 +01:00
Toshio Kuratomi
8de6cff2b1
more wildcards
2017-07-29 07:02:12 -07:00
Toshio Kuratomi
225fa5d092
Fix undefined variables, basestring usage, and some associated python3 issues
2017-07-25 15:58:23 -07:00
Quentin Dawans
613690bd46
Proxmox set number of cores for vm/ct ( #25901 )
...
* Proxmox set number of cores for vm/ct
Argument to limit the number of assigned core to a vm/ct
* version_added & pep8
* default to 1
2017-07-15 10:51:13 +01:00
Daniel Parker
800de2b0ce
[cloud] Adds custom serverless binary path option to the serverless module ( #26304 )
2017-07-07 11:08:26 -04:00
Ryan S. Brown
2a7e586801
Move helm module to subdirectory
2017-06-21 07:45:41 -04:00
Abhijeet Kasurde
c426481b33
Add command variable in failure message ( #25674 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-06-15 10:45:40 -07:00
Abhijeet Kasurde
01eb70bdee
Remove unwanted params from function call ( #25348 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-06-05 11:04:39 -04:00
Ryan S. Brown
6141818110
[cloud] Document stage option on `serverless` module
2017-05-15 07:15:01 -04:00
Abhijeet Kasurde
d8f76bed97
Misc fixes and Pep8 fixes for proxmox_* modules ( #24162 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-05-01 10:02:59 -05:00
Matt Clay
48eeab8a53
Fix errors reported by pylint. ( #23282 )
...
* Fix pylint misplaced-bare-raise errors.
* Fix pylint return-in-init error.
* Fix pylint bad-format-character error.
* Fix pylint too-many-format-args errors.
* Fix pylint too-few-format-args errors.
* Fix pylint truncated-format-string error.
2017-04-06 16:58:16 -07:00
Matt Martz
3164e8b561
E501 fixes ( #22879 )
2017-03-22 20:50:28 -05:00
Matt Martz
02f66b9369
E1 legacy pep8 fixes ( #21933 )
...
* E1 pep8 fixes
* e111 fix for rds.py
2017-03-21 21:19:40 -05:00
Toshio Kuratomi
eb1214baad
New metadata 1.0 ( #22587 )
...
Changes to the metadata format were approved here:
https://github.com/ansible/proposals/issues/54
* Update documentation to the new metadata format
* Changes to metadata-tool to account for new metadata
* Add GPL license header
* Add upgrade subcommand to upgrade metadata version
* Change default metadata to the new format
* Fix exclusion of non-modules from the metadata report
* Fix ansible-doc for new module metadata
* Exclude metadata version from ansible-doc output
* Fix website docs generation for the new metadata
* Update metadata schema in valiate-modules test
* Update the metadata in all modules to the new version
2017-03-14 09:07:22 -07:00
John R Barker
e5b990a55a
Fix invalid fields in module DOCUMENATION ( #22297 )
...
* fix module doc fields
* More module docs corrections
* More module docs corrections
* More module docs corrections
* More module docs corrections
* correct aliases
* Review comments
* Must quote ':'
* More authors
* Use suboptions:
* restore type: bool
* type should be in the same place
* More tidyups
* authors
* Use suboptions
* revert
* remove duplicate author
* More issues post rebase
2017-03-09 16:20:25 +00:00