Brian Coca
2022fc162a
fixed name to unit
2017-03-21 14:28:23 -04:00
Brian Coca
b82aa41e31
removed deprecated config/env vars
2017-03-21 14:02:39 -04:00
Brian Coca
3f4b87f0c0
allow systemd to 'just' reload
2017-03-21 13:49:44 -04:00
Peter Sprygada
4a8f2dde20
fixes exception raised from ansible-connection logging ( #22836 )
...
updates ansible-connection logging functions to use display instead of
log.
2017-03-21 09:15:23 -07:00
Peter Sprygada
d6787632c9
fixes return data structure ( #22830 )
...
The return was being re-written instead of updated so warnings were
lost. This patch now updates the result instead of replacing it.
2017-03-21 14:41:59 +01:00
Joshua C. Randall
e7fd38af78
Fix get_s3_connection ( fixes #22317 ) ( #22318 )
...
* Fix get_s3_connection (fixes #22317 )
Override aws_connect_kwargs rather than prepending to them. Should fix an issue in which `calling_format` is set twice in the kwargs passed to `boto.connect_s3` or `S3Connection` if a bucket name contains a `.`
* Revert "Fix get_s3_connection (fixes #22317 )"
This reverts commit 7f61b8bebd2929940495204f1a98d660a55985d8.
* implements alternative way of fixing issue with aws_connect_kwargs for rgw and fakes3 (fixes 22317)
* add comment to explain why the keys are being removed from aws_connect_kwargs
* remove trailing whitespace on comment line
2017-03-21 08:15:53 -04:00
René Moser
e3525d8df9
cloudstack: fix pep8 for loadbalancer modules ( #22822 )
2017-03-21 11:00:46 +01:00
Matt Clay
45951a69a6
Rewrite ansible-pull tests to use local repo. ( #22821 )
2017-03-21 00:30:02 -07:00
Peter Sprygada
e20ed8bc0c
replaces logging with display for network connection plugins ( #22819 )
...
* updates network_cli and netconf connection plugins
* updates ansible-connection
2017-03-20 20:08:02 -07:00
Peter Sprygada
ed7cace425
implements python logging for network connection plugin ( #22817 )
...
* enables logging for network_cli and paramiko
* enables logging for ansible-connection
* enabled logging for netconf connection
2017-03-20 19:26:18 -07:00
Dag Wieers
c254618d4f
Improve test docs a bit more
2017-03-20 16:54:34 -07:00
Matt Clay
042e387f27
Fix metadata handling for shell command. ( #22801 )
2017-03-20 15:31:57 -07:00
Rune T. Sorensen
6804d69557
[cloud][contrib] IAM role support for EC2 dynamic inventory ( #15196 )
...
* EC2 inventory can now connect using an IAM role
* Fix comment indentation
* Make sure that Ec2Inventory.iam_role is always defined
* Add missing import
2017-03-20 17:19:40 -04:00
Matt Clay
3585d3d368
Add missing needs/root
alias to file
test. ( #22800 )
2017-03-20 14:11:16 -07:00
Brian Coca
94b269b2ec
documented some more keywords
2017-03-20 16:07:27 -04:00
Brian Coca
18cbc3b16b
minor doc gen fixes
2017-03-20 15:47:24 -04:00
Joseph Price
ed15ba1b3c
CLI: unfrack --private-key path
...
Relative paths can break the synchronize plugin when the playbook
is not in the current working directory.
Fixes : ansible/ansible#22695
2017-03-20 11:40:17 -07:00
Matt Clay
b7c80dbb7e
Disable failing MySQL tests on FreeBSD. ( #22798 )
2017-03-20 09:52:56 -07:00
Brian Coca
07d9366ed8
added 'existing' back
...
fixes #22785
2017-03-20 12:28:35 -04:00
Tom Melendez
1c38cba7ca
[GCE] Invalid zone reported through fail_json
...
* added new helper function for zones and regions.
* modified GCE module to use it
Fixes : ansible/ansible#20616
2017-03-20 10:15:39 -04:00
Peter Sprygada
cdb4d350b4
removes unneeded exception
2017-03-20 09:56:56 -04:00
Ondra Machacek
a46c55b2dd
cloud: ovirt: Add sparsify option to ovirt_disks ( #22560 )
...
This patch fixes: https://github.com/ansible/ansible/issues/22348
2017-03-20 09:39:16 -04:00
Benjamin
dc68503ef2
Update link URL to OpenStack documentation ( #22776 )
2017-03-19 19:38:27 -07:00
René Moser
24c617766c
cloudstack: fix load balancer idempotency if no zone given ( #22768 )
...
get_zone() is special, as it always returns a zone (default zone) even
if no zone param is given. This makes sense for many use cases.
2017-03-19 10:07:46 +01:00
Matt Clay
991bf0a1c3
Fix ansible-test base branch handling on merge. ( #22759 )
2017-03-17 23:33:32 -07:00
Matt Clay
93d9b04f1d
Fix uri options test to work again.
2017-03-17 22:28:54 -07:00
Bradford Dabbs
2472a4587e
Flip setenforce boolean ( #22752 )
...
* Flip setenforce boolean
* Update example task name
2017-03-17 22:18:48 -07:00
jctanner
447bb2b150
Add a custom regex_match filter to the vmware_inventory script ( #21488 )
2017-03-17 21:25:00 -04:00
Matt Clay
47887a2edd
Fix ansible-test base branch usage on Shippable.
2017-03-17 17:35:09 -07:00
David Baumann
634d6894e3
Add Missing default param for caching_mode ( #22753 )
...
Add Missing default param for caching_mode and Usage of new Ansible-Param Commant with default Value
2017-03-17 14:44:42 -07:00
Sloane Hertel
4749b75090
[cloud] ec2_eni: don't modify a network interface without eni_id - fixes #22401 ( #22689 )
...
* don't modify an eni without eni_id
fix pep8
remove ec2_eni from pep8 legacy files
remove a couple unused variables in main()
fix the documentation
* fix yaml
2017-03-17 16:26:49 -04:00
Sloane Hertel
8ccde6fbb0
[cloud] make docs for ec2_group rules more clear ( #22701 )
...
make ec2_group pep8
removed ec2_group from pep8 legacy files
2017-03-17 16:14:20 -04:00
Sloane Hertel
a4552c11b3
allow groups parameter to be noticed as an empty list ( #22707 )
...
make iam.py pep8
remove iam.py from pep8 legacy files
2017-03-17 16:11:48 -04:00
Andrea Scarpino
c80d696cec
win_file: fix error when creating an existing dir ( #19070 )
...
If something else created the dir New-Item will throw an exception and
the task will fail. Check the existing file and as long as it's a dir,
we don't need to error out.
2017-03-17 09:33:57 -07:00
Matt Clay
011b324638
Do not run win_chocolatey
in CI tests.
...
The test is failing repeatedly.
2017-03-17 08:57:44 -07:00
René Moser
b90517caf9
cloudstack: implement config overloading and ENV vars for API auth ( #22724 )
...
* cloudstack: fix connection by ENV vars and configs overloading
* cloudstack: pep8 cloudstack module_utils
* cloudstack: allow api_url to be set in ini config
* docsite: explain ENV vars support as written in python-cs for ansible
2017-03-17 11:01:43 +01:00
Toshio Kuratomi
8de05d3752
[WIP] Documentation: Ansible-2.4 no longer supports Python-2.4 and Python-2.5 ( #22721 )
...
* Documentation: Ansible-2.4 no longer supports Python-2.4 and Python-2.5
* Switched to bullet points to enhance readability.
2017-03-16 18:49:29 -07:00
Tom Melendez
f5f6cf467e
[GCE] Support default credentials ( #22723 )
...
Add support for default credentials. Practically, this means that a playbook creator would not have to specify the service_account_email or credentials_file Ansible parameters.
Default Credentials only work when running on Google Cloud Platform. The 'project_id' is still required.
A test has been added to trigger this condition.
2017-03-16 17:10:07 -07:00
Matt Davis
ffa4f0c427
Suppress Windows Add-Type debug noise ( #22722 )
2017-03-16 15:44:42 -07:00
Matt Davis
e3dfa62abc
Windows CHANGELOG updates
2017-03-16 15:01:55 -07:00
Andreas Mosti
1fa7a3db27
Added example of removing the standard website and port 80 binding ( #22457 )
2017-03-16 14:52:28 -07:00
Brian Coca
c6dedea1a6
corrected docs
2017-03-16 17:36:03 -04:00
Jens Carl
cd39ff9996
Add parameters to limit replace to certain section of the file
...
Add parameters 'after' and 'before' to limit the replacement/remove of
lines to a certain section of the file.
2017-03-16 17:34:56 -04:00
Brian Coca
6ced1ad5a2
added group priority to change log
2017-03-16 17:06:01 -04:00
jwg4
17b8bfc7a2
Change the example of playbook include. ( #22697 )
...
This (taken from https://github.com/ansible/ansible-examples/blob/master/language_features/nested_playbooks.yml ) is a better example. It makes it clear that the full file name is used, and a single filename, as opposed to a YAML list. The old version, it was not clear if 'list_of_plays' was an *example* or a *variable*.
2017-03-16 11:54:27 -07:00
Ryan Brown
d791665559
fix validate-module sanity error per https://app.shippable.com/github/ansible/ansible/runs/16493/1/console ( #22711 )
2017-03-16 14:03:42 -04:00
Brian Coca
4319ddd5de
allow users to control group var merge order ( #22580 )
...
* allow users to control group var merge order
With ansible_group_priority var at each group will determine merge order with siblings,
falling back to sorted names when priority is equal as it did before.
Parent/children relationships still work as they did and have higher precedence than priority
* move priority setting to groups, sourc indep
* now both inventory and play group follow priority
* removed double exception handling
2017-03-16 14:02:43 -04:00
jralbert
5334814396
Cast syslogport value from getenv as int ( #22664 )
...
SysLogHandler requires an int for port, but getenv produces a string.
Cast return from getenv as int to overcome this mismatch.
2017-03-16 10:38:55 -07:00
Matt Clay
f7c83ccdc0
Fix ansible-test PR diff handling.
...
Permits use of PRs on branches other than devel.
2017-03-16 10:34:31 -07:00
Ilya Simonenko
dba8edf735
cloud: docker: Fixes #22638 load image to memory when archive_path provided ( #22642 )
2017-03-16 10:06:19 -07:00