Felix Fontein
ff1aa50fdb
Fixing HTTPError case of fetch_url for Python 3 compatibility. ( #45628 )
...
* Fixing HTTPError case of fetch_url for Python 3 compatibility.
* Adding unit test.
* PEP8.
* Changelog.
2018-10-09 10:20:57 -07:00
Sam Doran
3a72e271ad
Use unicode instead of bytes ( #46234 )
...
The stdout and stderr values returned from self._low_level_execute() are text, not bytes. This results in an error in Python 3 since str and bytes cannot be concatenated.
Changing to unicode type allows this to work without error on Python 2 and Python 3.
(cherry picked from commit 77f73f6d2a
)
2018-10-09 10:19:57 -07:00
Dag Wieers
07ed487427
reboot: Fix typo and support bare Linux systems ( #45607 )
...
* reboot: Fix typo and support bare Linux systems
This fixes a problem for bare Linux systems that do not support 'who -b' or 'uptime -s'.
* Accumulate stdout and stderr information
(cherry picked from commit a7a99c5fd4
)
2018-10-09 10:19:57 -07:00
Felix Fontein
8715f96af0
[2.7] docker_container: don't parse/interpret options if state is 'absent' ( #45769 )
...
* Don't parse/interpret options if state is 'absent'. (#45700 )
* Added changelog.
2018-10-09 10:16:49 -07:00
Matt Martz
2293463320
[stable-2.7] Support empty files with piped transfer_method. Fixes #45426 ( #45618 )
...
(cherry picked from commit e68f895
)
Co-authored-by: Matt Martz <matt@sivel.net>
2018-10-09 10:13:28 -07:00
Anton Nikulin
d2c72040b5
[stable-2.7] Store Authorization header inside HttpApi connection plugin ( #45598 ) ( #45608 )
...
* Store Authorization header inside HttpApi connection plugin (#45598 )
(cherry picked from commit b7263eab1d
)
* Add changelog entry
2018-10-09 10:12:21 -07:00
Sam Doran
d9bd76dc8a
Improve code stability is checksum checking
...
- use context manager for dealing with the checksum file
- use loop that can tolerate zero, one, or more items return rather than the previous expression which would break if anything other than exactly one item was returned
(cherry picked from commit 03dbb1d9c4
)
squash
2018-10-09 10:11:14 -07:00
Sloane Hertel
62b43ea28d
Add 'auto' to documented default enabled inventory plugins ( #46621 ) ( #46637 )
...
* Correct default inventory plugins enabled in docs and example/ansible.cfg
* Fix headers
(cherry picked from commit 43d12c11be
)
2018-10-08 15:22:03 -05:00
Jordan Borean
e340d849a1
docs: add Support section for plugin types ( #46520 ) ( #46643 )
...
* docs: add Maintenance section for plugin types
* Added supported_by name in bold to match Status
(cherry picked from commit 1599752f26
)
2018-10-08 15:20:51 -05:00
Sam Doran
9f0f66137f
Add documentation on underlying tools in user module ( #46455 ) ( #46511 )
...
(cherry picked from commit bcfdc37be0
)
2018-10-08 14:13:52 -05:00
Takashi Sugimura
8a4736d89d
backport #46462 : remove unnecessary space ( #46470 )
2018-10-04 14:09:08 -05:00
Toshio Kuratomi
1c9b197119
Bump version after release so we know when someone runs from a checkout
2018-10-03 22:53:46 -07:00
Toshio Kuratomi
0a07068054
New release v2.7.0
2018-10-03 20:27:28 -07:00
Alicia Cozine
4fb5aa00a6
updates latest in docs conf.py ( #46400 )
...
(cherry picked from commit ba9348883b
)
2018-10-03 22:16:46 -05:00
Sandra McCann
a1d1276b6e
disable gather facts and update playbook output ( #46409 ) ( #46418 )
...
* disable facts gather and update playbook output
* fix output
(cherry picked from commit a1fae193c7
)
2018-10-02 16:23:10 -05:00
Sandra McCann
d81ed54ae6
Updates release & maintenance version docs for 2.7 ( #46414 )
...
(cherry picked from commit 04b726dc14
)
2018-10-02 16:20:36 -05:00
Alicia Cozine
649403c3a1
yes, we do run validate_modules in Shippable ( #46280 ) ( #46283 )
...
(cherry picked from commit 66eb5681f4
)
2018-09-28 13:32:49 -05:00
Alicia Cozine
4ae2f96902
fix wording for silencing a sensu client ( #46250 ) ( #46267 )
...
(cherry picked from commit dae2172045
)
2018-09-28 11:08:29 -05:00
Alicia Cozine
ac2ff94d43
Meraki scenario guide - Changed section markup types ( #46158 ) ( #46263 )
...
* Changed section markup types, small fixes for style
- Add dashes per style guide
- Add TOC in case this grows
(cherry picked from commit a690917b5f
)
2018-09-28 11:08:11 -05:00
Sandra McCann
6e86b317a9
Clean up Vault docs in User Guide. ( #46188 ) ( #46270 )
...
- Fix spelling of 'separate' and 'algorithm'
- Fix indentation of nested list in payload format
- Fix mysterious refernce to 'b_pkey1'.
- Fix reference to newline as '\n': the backslash is lost when rendered
to the docs website. Specify the hex value for newline instead of the
backslash escape.
(cherry picked from commit ab96bbdef9
)
2018-09-28 10:42:46 -05:00
Toshio Kuratomi
61f95149b9
Set release to a post release
2018-09-27 18:09:31 -07:00
Toshio Kuratomi
35b290f0c9
New release 2.7.0rc4
2018-09-27 16:38:00 -07:00
Toshio Kuratomi
11c7ddcb70
[stable-2.7] Update the minimum python versions to install ( #46230 )
...
* Update the minimum python versions to install
This will prevent modern pip from installing ansible-2.7.x in
python-2.6. Users will get the Ansible-2.6.x maintenance releases
instead.
(cherry picked from commit ccf41bb
)
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
2018-09-27 15:35:54 -07:00
Jordan Borean
742e15d03b
skip installing linux-image-extra in CI as it shouldn't be needed ( #46101 )
...
(cherry picked from commit 40379b76b1
)
2018-09-27 12:59:13 -07:00
Sloane Hertel
37df3796e1
Fix and re-enable sts_assume_role integration tests ( #46026 )
...
* Fix the STS assume role error message assertion when the role to assume does not exist.
(cherry picked from commit 18dc928e28
)
2018-09-27 12:58:06 -07:00
Jordan Borean
7cce4dfbb0
add skip/docker alias to skip tests when running on Docker ( #45955 )
...
* add skip/docker alias to skip tests when running on Docker
* changed warning message wording
(cherry picked from commit 27c10fa502
)
2018-09-27 12:50:06 -07:00
Kevin Breit
dc66eb07d0
[backport-2.7] Meraki scenario guide ( #41827 ) ( #45494 )
...
* Meraki scenario guide (#41827 )
(cherry picked from commit ec3ce1f39c
)
2018-09-26 09:18:30 -05:00
Matt Clay
2368c2e30b
Revert "winrm: add further conditional to using pexect for kerb auth ( #45952 )"
...
This reverts commit 918d45f957
.
Unintentionally merged before 2.7.0 final.
2018-09-25 13:52:38 -07:00
Jordan Borean
918d45f957
winrm: add further conditional to using pexect for kerb auth ( #45952 )
...
(cherry picked from commit d6251e5b27
)
2018-09-25 13:49:27 -07:00
John R Barker
ab1b602053
Update synchronize.py, mention variable ansible_rsync_path needed for different local rsync binary ( #41870 ) ( #46110 )
...
* Update synchronize.py
If you want a different rsync binary on the local side, you need to set task variable ansible_rsync_path.
See examples.
Variable ansible_rsync_path looks to not be documented anywhere. If documented, needs to be said that is does not belong to synchronise options, instead belongs to tasks. (Sorry, I have no better wording)
(cherry picked from commit c44de1069c
)
2018-09-25 11:22:07 -05:00
John R Barker
518c90dc68
Added documentation for collectstatic --clear. ( #42007 ) ( #45860 )
...
* Added documentation for collectstatic --clear.
Added a description of the --clear argument used with the Django management
command, collectstatic. (When #1810 added this feature the documentation
was not updated).
(cherry picked from commit f964277628
)
2018-09-25 11:05:15 -05:00
John R Barker
0d40e4bd23
inventory/tower: authors -< author so Doc can pick it up ( #45936 ) ( #45972 )
...
(cherry picked from commit a7bf505474
)
2018-09-25 11:01:15 -05:00
John R Barker
adba21d8d2
The sshkey option is available in version 2.7 and above ( #46103 ) ( #46107 )
...
(cherry picked from commit 8213096b7f
)
2018-09-25 11:00:50 -05:00
John R Barker
e85c485129
spotinst_aws_elastigroup elastic_ips example ( #41190 ) ( #46111 )
...
* Update spotinst_aws_elastigroup.py
(cherry picked from commit c11c3506cd
)
2018-09-25 10:56:31 -05:00
John R Barker
8712f0f7f4
Update sl_vm.py ( #43966 ) ( #46109 )
...
* Update sl_vm.py
Updated the list of softlayer datacenters
(cherry picked from commit d1688adefc
)
2018-09-25 08:54:13 -05:00
Simon Metzger
8f93a0ec67
Update developing_modules_general_aci.rst ( #46042 )
2018-09-22 19:56:25 -05:00
Alicia Cozine
73bc121e11
added note about cli execution of include_x ( #45227 ) ( #45999 )
...
(cherry picked from commit 03d8b68549
)
2018-09-21 14:53:29 -05:00
John R Barker
f28abce4a2
Update short description for NetApp E-Series modules. ( #45820 ) ( #45864 )
...
Update short description according to new standards
(cherry picked from commit 205693a3f9
)
2018-09-21 14:04:43 -05:00
John R Barker
3d88063c40
NetApp Bulk Doc changes ( #45856 ) ( #45866 )
...
* Doc changes
* fix ansibot issue & spacing
(cherry picked from commit e3ec9e5345
)
2018-09-21 14:02:43 -05:00
John R Barker
2474a4c9bd
Misc typo fixes ( #45969 ) ( #45978 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 0ecbd50c3b
)
2018-09-21 13:56:35 -05:00
John R Barker
aa703eddef
Add docs for say.py to indicate how to list voices ( #37737 ) ( #45979 )
...
* Update say.py
(cherry picked from commit 0677dabad4
)
2018-09-21 13:55:33 -05:00
Toshio Kuratomi
d34ed1d942
Update to post release so we can tell when someone is running from a checkout
2018-09-20 20:11:14 -07:00
Toshio Kuratomi
2a33276385
New release 2.7.0rc3
2018-09-20 18:07:04 -07:00
Jordan Borean
6e6825e79f
append AWS region to test instance file ( #45877 )
...
(cherry picked from commit 582a4dfa13
)
2018-09-20 12:24:58 -07:00
Sandra McCann
0c81145fd3
[WIP] Backport/2.7/second batch ( #45927 )
...
* Update influxdb_database.py (#39984 )
(cherry picked from commit 049a462058
)
* Link to the Galaxy platforms list from the meta file template (#34046 )
(cherry picked from commit fa18d45eb3
)
* fix gce_backend_service examples for healthchecks (#31134 )
(cherry picked from commit e26d758d6f
)
* Clarify the creates and removes options (#45485 )
(cherry picked from commit bf90a44468
)
* lineinfile note belongs in changelog for 2.6, not 2.7 (#45517 )
(cherry picked from commit 228fee4f3a
)
* Update keycloak_client.py (#43547 )
(cherry picked from commit cb460dee74
)
* The keyword 'cloud' has been deprecated in favor of the 'profile' keyword by os-client-config. (#31389 )
(cherry picked from commit 17ca0a9bd9
)
* Clarified documentation for the unsafe_writes option (#27471 )
(cherry picked from commit dd5d191d7a
)
2018-09-20 14:10:39 -05:00
tterranigma
bf09c869a2
Update fileglob.py ( #45558 )
...
* Update fileglob.py
Closes #45557
* Update fileglob.py
(cherry picked from commit cc477ec920
)
2018-09-20 12:06:02 -07:00
Jordan Borean
7a6d873f0a
go back to FreeBSD 11.1 for tests due to 11.2 stability issues ( #45872 )
...
(cherry picked from commit a7d372c3ba
)
2018-09-20 12:04:08 -07:00
Sandra McCann
ceb474bb9e
[WIP] Backport/2.7/batch port ( #45859 )
...
Batch of docs backports:
* docs: Clarify include_task v import_tasks with conditionals (#43856 )
(cherry picked from commit 6be42a2a0e
)
* Add single quotes around package name (#45152 )
(cherry picked from commit 0d81386144
)
* prefer ansible_facts namespace and dict notation (#44980 )
(cherry picked from commit 44510448b0
)
* fix cherrypick conflict - scenario_guides
* Update implicit_localhost.rst (#45455 )
(cherry picked from commit f68cd1acc6
)
* updated fbsd install instructions (#45309 )
(cherry picked from commit e9c2695ce7
)
* Change "Defaulting Undefined Variables" (#41379 )
(cherry picked from commit e35c4be1c1
)
* adds license details to dev guide pages (#45574 )
(cherry picked from commit 6e68d77f6d
)
* FAQ: fix a typo, add link to 'vars' lookup (#42412 )
(cherry picked from commit 95649dc793
)
* Fix link and toctree (#45595 )
(cherry picked from commit 6999bf318f
)
* Improve the local toctree (and title) (#45590 )
(cherry picked from commit afea00fa9f
)
* Add undocumented configuration parameter and explain in porting guide (#36059 )
(cherry picked from commit a892a6ef03
)
* Simplify PPA installation for Ubuntu (#45690 )
(cherry picked from commit 78e9f452a5
)
* adding git+ssh uri scheme (#36025 )
(cherry picked from commit 84a4257774
)
* Add workaround for non-standard kerberos environments (#41465 )
(cherry picked from commit 4e532e0ad9
)
* Restore license agreement (#45809 )
(cherry picked from commit f430f60541
)
* partial cherry-pick - lenovo doc update PR 45483
2018-09-19 22:02:01 -05:00
Adrián
7cc699f068
Explain disk size in mount and add example ( #41681 )
...
* Explain disk size in mount and add example
- Explain mount with 8GB
- Add new example to start container with mount
* Removed trailing whitespace
(cherry picked from commit f85065dabf
)
2018-09-19 14:42:55 -07:00
Tom Paine
6b2c653a64
Update postgresql_user.py ( #45777 )
...
<!--- Your description here -->
Add expires example.
+label: docsite_pr
(cherry picked from commit 61f2791d95
)
2018-09-19 14:42:09 -07:00