Compare commits
493 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 81879e9792 | |||
| 86947e6b9a | |||
| 1ad41e818c | |||
| c3c4bd2cfb | |||
| f1b6f5d204 | |||
| cee7642188 | |||
| 2f8d3fcf41 | |||
| 29e2454f7c | |||
| 316d3abb42 | |||
| 255a7dab7e | |||
| b7349b2ad4 | |||
| 7e32f1ffb0 | |||
| edae7b0524 | |||
| 47d52541a6 | |||
| faca969f17 | |||
| 24eb3c5c60 | |||
| eab6034c79 | |||
| 02a8121dea | |||
| 845776ed6a | |||
| d391e19fa3 | |||
| c91785665a | |||
| 64cea41f6b | |||
| 1cba0a753a | |||
| a96efa43f0 | |||
| 1469ec4487 | |||
| f8339bd9c0 | |||
| a22a283156 | |||
| d8778b30c3 | |||
| 6b3619da9e | |||
| 51a3d60991 | |||
| de12161dea | |||
| 3207e62504 | |||
| 295174b3fd | |||
| 16b354e835 | |||
| fa0af52765 | |||
| 42be0bd655 | |||
| f9b2f781a6 | |||
| 0e86eaf79e | |||
| b6d3599e00 | |||
| 82baf1c746 | |||
| 373e91fcf0 | |||
| 07403a2f92 | |||
| 6dca1d7784 | |||
| 177160d216 | |||
| c2a9cc43c0 | |||
| cef08640a4 | |||
| 1dab508cd4 | |||
| ce9f2e6147 | |||
| 476673f3e4 | |||
| 093ab2170d | |||
| 3dc806c371 | |||
| 28290ee1e5 | |||
| 642cd53857 | |||
| 84db20ea07 | |||
| dc21c0c0b0 | |||
| 99104c25ed | |||
| 73f63b3bce | |||
| 9389862d97 | |||
| f4da73280c | |||
| a08d0eab32 | |||
| b126a21963 | |||
| 709845436e | |||
| 50e6361c3f | |||
| 483226cdce | |||
| 1abd90e3e6 | |||
| f027f44ce4 | |||
| 33ccd3b78d | |||
| 6b13127830 | |||
| 264bc930ef | |||
| 8cd7970b98 | |||
| 985d0b8ac5 | |||
| 9138a95402 | |||
| 4156d01c01 | |||
| 7f29557016 | |||
| 0ee072fffc | |||
| 71ee1adf0b | |||
| b000c1633d | |||
| 90fe1be33a | |||
| d12dcfc3f6 | |||
| fda6fff39b | |||
| 3a14fe35e9 | |||
| bab062d639 | |||
| 12271999e2 | |||
| 23851bc8fe | |||
| 64b6637a6f | |||
| dfdc7ec90c | |||
| af18d3c451 | |||
| b17142358a | |||
| bc1d0f5e61 | |||
| 86eb3b5b98 | |||
| 68aa3e24a8 | |||
| ed5f0d5c45 | |||
| 58cd460952 | |||
| e3a2bf97a7 | |||
| 30acec79f4 | |||
| 3438429e22 | |||
| bb8bef623b | |||
| 4861a0580c | |||
| 01168541c8 | |||
| fa564e2ea8 | |||
| 82bedabb8c | |||
| e34ab2b7a4 | |||
| 0be3307bac | |||
| 5dfd7c181f | |||
| c78945d184 | |||
| 5201ffcf3a | |||
| 4fa4d13024 | |||
| d4152e161d | |||
| 7adc293f65 | |||
| 14a35eb002 | |||
| 02b63c4732 | |||
| 161ae2659c | |||
| 19dde1183f | |||
| d876421b41 | |||
| 7de09a4652 | |||
| ac2c1a89a8 | |||
| b0b9b4f7dd | |||
| 9ac8763df2 | |||
| f3d47e918b | |||
| bb2281c3e2 | |||
| 49de1f1c7c | |||
| 0742f00c29 | |||
| ccdf1a61c4 | |||
| eef35f19bc | |||
| 0dd8d73a38 | |||
| 953568e213 | |||
| fb551bf62c | |||
| 5153286719 | |||
| c63c4273df | |||
| 3362205f81 | |||
| ff467a2bdf | |||
| 35eec7b1b0 | |||
| 5f0d691716 | |||
| 080aa35c5b | |||
| e8a6bdc17a | |||
| 949ffe6da7 | |||
| a89cd5a30f | |||
| 5273fc76c9 | |||
| 2f55215db2 | |||
| 0812b87def | |||
| 67c75af4fe | |||
| 4b85940bd8 | |||
| 40db4a9cdb | |||
| 7229a9895f | |||
| 999674e7f0 | |||
| 3bac8a23d1 | |||
| a59c0dca2d | |||
| 71ad7da2f8 | |||
| c18eb52ade | |||
| e6ed883ffd | |||
| 951572bec1 | |||
| 01c0a6d699 | |||
| 8a240ed54d | |||
| 1293076d7b | |||
| 44088ef64d | |||
| 009a3b34bc | |||
| 08324198da | |||
| 5bacb732ce | |||
| f94ee89545 | |||
| 37da0b2cec | |||
| 414ee4759d | |||
| 6cf1814105 | |||
| 853236d650 | |||
| 1bf3d54e01 | |||
| b8cc4a3046 | |||
| 21a0f0e782 | |||
| 39e959eb0c | |||
| aaae3eb2c1 | |||
| 5c76043964 | |||
| 0dc15986c2 | |||
| 6cfdd9f466 | |||
| f17cd83826 | |||
| ffe80a14f6 | |||
| be05dcdbfb | |||
| b5c69b83ca | |||
| c963ef1dfb | |||
| fb8f18dcde | |||
| c901f2c3c4 | |||
| c5df4c538d | |||
| 1c9551f93d | |||
| 136da25bbf | |||
| 1626b4c5cb | |||
| 96b57a5c7a | |||
| 916b1e34bd | |||
| 8a40514d2b | |||
| 376b199c05 | |||
| 18f07e828e | |||
| a9128b9fb0 | |||
| 702820d673 | |||
| 238939b523 | |||
| b5a887aa5e | |||
| 039cde8460 | |||
| 914eea8361 | |||
| f0a706e4a0 | |||
| cb347c2096 | |||
| f4081c2d97 | |||
| 719b99a96e | |||
| c91139bde3 | |||
| 1d60d34b82 | |||
| 816eee2c1e | |||
| 47f2352d33 | |||
| 2d39ad036e | |||
| c204214df4 | |||
| 025c183307 | |||
| 3b2a0de548 | |||
| ab1834f035 | |||
| bac6f99608 | |||
| 1a4604361f | |||
| b618339c32 | |||
| b14c45a16c | |||
| 7812c065f4 | |||
| 44ae37d78b | |||
| 0e933f76ba | |||
| ce16286dee | |||
| 17cd01589a | |||
| 57c25636d8 | |||
| d130c166ad | |||
| 5a0e016b4b | |||
| a636562818 | |||
| 69568b4ca8 | |||
| b47bf26c67 | |||
| 7d936c12fd | |||
| f1db8985e3 | |||
| 46c217feda | |||
| ee45520e05 | |||
| f7c5c466be | |||
| dcdd8c2544 | |||
| 441e6fdcc1 | |||
| d82c5fb55f | |||
| 7690659f7f | |||
| 28ed7f722e | |||
| 429c8f50fe | |||
| 682e4957d4 | |||
| 24d7ccd182 | |||
| 20fc17a55f | |||
| 940eb3ae47 | |||
| 20c1cf41a4 | |||
| 7269eb5413 | |||
| 7f4945a8f1 | |||
| a2c2dffceb | |||
| 62914e04be | |||
| c0b0dd7e6e | |||
| b2381cfac9 | |||
| 8810e9f9e2 | |||
| 2eb148e727 | |||
| 0629fd96bd | |||
| c085cae991 | |||
| 02bd829dd2 | |||
| 60e7f43998 | |||
| da07b58c3b | |||
| 977f094741 | |||
| 3a02228b00 | |||
| ff5073c10b | |||
| 377540348c | |||
| f16bb4daf4 | |||
| e841e7b53d | |||
| 97a3e59ce8 | |||
| 30c1a1933e | |||
| dcc37b6eb9 | |||
| c982295f6c | |||
| 9a2e192e8a | |||
| 3eb5e27d6e | |||
| f5df17ca51 | |||
| d46ed88fa3 | |||
| 4fe7671d34 | |||
| f3b5e0359f | |||
| e9d42babbf | |||
| ebc35bd79f | |||
| 42183e562a | |||
| c888058973 | |||
| 4546057fc8 | |||
| 0e48544ae1 | |||
| 4ffc75ab44 | |||
| 10fd0251e8 | |||
| c32c354995 | |||
| 4dee2c6d24 | |||
| 5c6b492482 | |||
| a0f38bdab5 | |||
| a6cf9af1bf | |||
| 24324cbca8 | |||
| 7ce940cb41 | |||
| 4fb485a155 | |||
| e295888117 | |||
| 0183f2fc87 | |||
| 37748d219c | |||
| 8b5f2c3ae7 | |||
| 970e6542b5 | |||
| 6d287de9bc | |||
| cc51d93f1b | |||
| 54d06d042e | |||
| 76d71f034e | |||
| b0b23d5a91 | |||
| f35f7e2e54 | |||
| 4389e2175a | |||
| 0aa2aaa175 | |||
| cfe86582f2 | |||
| 7842b99106 | |||
| 434d9b2f2a | |||
| 5d19738af6 | |||
| 86f37620e6 | |||
| ecc706f122 | |||
| 6d07cec588 | |||
| 09e61f29e9 | |||
| e575f655c1 | |||
| 83194a0a99 | |||
| 26de4f9749 | |||
| 083d2a6ad7 | |||
| c481a5bf4a | |||
| 85e227d338 | |||
| 1d01543e34 | |||
| 18b575b593 | |||
| b1b93c7a22 | |||
| cf28d22211 | |||
| 190cdd3a29 | |||
| ccde3dc66b | |||
| ee523beb8e | |||
| 93b75558bb | |||
| 10038a423b | |||
| 19fe83d786 | |||
| ac56230d5b | |||
| b6276fe4a4 | |||
| b6810eb37c | |||
| 2703be8368 | |||
| 2388126bdf | |||
| 3cfbc2791f | |||
| f5bc8457e4 | |||
| 6a27a4251e | |||
| 7601f1c153 | |||
| 2de895a07b | |||
| 4215feeb5e | |||
| 80c0693116 | |||
| da801283ee | |||
| 5eef5f629e | |||
| df1aaab3df | |||
| 6ea0fccfe2 | |||
| 2409ae5f27 | |||
| f81229c85c | |||
| 14cccb9488 | |||
| 8b0c46a51a | |||
| 0e4a7a5abc | |||
| d7e9f24741 | |||
| fe528af1e0 | |||
| 8da4113ec0 | |||
| f360df4e10 | |||
| 0dec6db43f | |||
| 2c788b6748 | |||
| 4b80f8c8e3 | |||
| 637c9b3c5f | |||
| bc08cf12ea | |||
| 547be8c957 | |||
| 01b6f02a80 | |||
| ff1aa50fdb | |||
| 3a72e271ad | |||
| 07ed487427 | |||
| 8715f96af0 | |||
| 2293463320 | |||
| d2c72040b5 | |||
| d9bd76dc8a | |||
| 62b43ea28d | |||
| e340d849a1 | |||
| 9f0f66137f | |||
| 8a4736d89d | |||
| 1c9b197119 | |||
| 0a07068054 | |||
| 4fb5aa00a6 | |||
| a1d1276b6e | |||
| d81ed54ae6 | |||
| 649403c3a1 | |||
| 4ae2f96902 | |||
| ac2ff94d43 | |||
| 6e86b317a9 | |||
| 61f95149b9 | |||
| 35b290f0c9 | |||
| 11c7ddcb70 | |||
| 742e15d03b | |||
| 37df3796e1 | |||
| 7cce4dfbb0 | |||
| dc66eb07d0 | |||
| 2368c2e30b | |||
| 918d45f957 | |||
| ab1b602053 | |||
| 518c90dc68 | |||
| 0d40e4bd23 | |||
| adba21d8d2 | |||
| e85c485129 | |||
| 8712f0f7f4 | |||
| 8f93a0ec67 | |||
| 73bc121e11 | |||
| f28abce4a2 | |||
| 3d88063c40 | |||
| 2474a4c9bd | |||
| aa703eddef | |||
| d34ed1d942 | |||
| 2a33276385 | |||
| 6e6825e79f | |||
| 0c81145fd3 | |||
| bf09c869a2 | |||
| 7a6d873f0a | |||
| ceb474bb9e | |||
| 7cc699f068 | |||
| 6b2c653a64 | |||
| 2008e9d28c | |||
| e881ea8957 | |||
| af4971fd1a | |||
| 98e31e98c8 | |||
| 79cebbf933 | |||
| 92f7429fb6 | |||
| 934190f02e | |||
| 9b4bb04d07 | |||
| 23f70d9745 | |||
| 0c411eeca6 | |||
| 6fe6d04489 | |||
| eb882a144b | |||
| b52148d65d | |||
| 25349b89dd | |||
| 186f4effd3 | |||
| e16d36f0f7 | |||
| 9a0f1d8915 | |||
| 426d4bf8d6 | |||
| c1d8efa469 | |||
| c41681b888 | |||
| 99171a9c6f | |||
| c8fe1126a1 | |||
| 4a8a931d0f | |||
| 59a2d880bc | |||
| 66cfb3d91e | |||
| f3b394cf4c | |||
| 4c080f649b | |||
| d9d1c40932 | |||
| d559213b31 | |||
| f2d5954d11 | |||
| 89ab0b5d32 | |||
| d956b6c64e | |||
| e354047258 | |||
| 47410bdf5c | |||
| 07b87c2ab7 | |||
| e74a681337 | |||
| b8c053ad1f | |||
| 3e14a34744 | |||
| 1301d4edc8 | |||
| e7e345da7e | |||
| 2fcae8b367 | |||
| 351bb3dd9a | |||
| fdb9c6d5af | |||
| 0202339461 | |||
| 283859ec88 | |||
| c96a440063 | |||
| d8c687f638 | |||
| 26a96c72b2 | |||
| 08542720e5 | |||
| 0e2642e392 | |||
| c60baf0ca7 | |||
| 55eebfc6b7 | |||
| d3225b0494 | |||
| 22f50e416d | |||
| 6391f4f4c3 | |||
| 0c6c29900d | |||
| f0eebf9187 | |||
| 66759810a0 | |||
| 6d49cd643c | |||
| c89d9d5c8f | |||
| cc4854fdad | |||
| 264c7c22fb | |||
| 37d977c3b8 | |||
| 03cdcc7d58 | |||
| 3b46dd144b | |||
| c1c9d88ebc | |||
| 2a8ffbc0ed | |||
| ceb90f6632 | |||
| 25025d8246 | |||
| ddb6471d64 | |||
| c5f6aa69a1 | |||
| 055c3e8d0d | |||
| 82f8c2add9 | |||
| e857157072 | |||
| 576700a8a1 | |||
| e47f53e4ff | |||
| b73a7bbf39 | |||
| 3514a5d1b9 | |||
| cc5d880a61 | |||
| f9cf4b2d8a | |||
| 07161cf6d3 | |||
| bebda470a1 | |||
| 6586d6faff | |||
| 0a7d5ebd73 | |||
| 1d06a86481 | |||
| 4fff85d66f | |||
| 8a8da98546 | |||
| 097aaeb733 | |||
| 77ed7545fa | |||
| 8323524e9f | |||
| 9376c41c61 | |||
| f414424735 |
26
.coveragerc
Normal file
26
.coveragerc
Normal file
@ -0,0 +1,26 @@
|
||||
# This configuration file is used for manual execution of coverage
|
||||
# as well as for tests run through ansible-test.
|
||||
|
||||
[run]
|
||||
branch = True
|
||||
|
||||
# Enable concurrency. This also enables parallel mode, which results in
|
||||
# multiple coverage files being created. Concurrency allows us to collect
|
||||
# results from multiple tests simultaneously, as well as supporting multiple
|
||||
# test runs, such as from integration tests.
|
||||
concurrency = multiprocessing
|
||||
parallel = True
|
||||
|
||||
# When running tests through ansible-test, this option is overridden by
|
||||
# the COVERAGE_FILE environment variable. This option is present for
|
||||
# convenience when running coverage manually from this directory.
|
||||
data_file = test/results/coverage/coverage
|
||||
|
||||
# Don't collect or report code coverage from files matching these patterns.
|
||||
omit =
|
||||
*/python*/dist-packages/*
|
||||
*/python*/site-packages/*
|
||||
*/python*/distutils/*
|
||||
*/pyshared/*
|
||||
*/pytest
|
||||
*/AnsiballZ_*.py
|
||||
1729
.github/BOTMETA.yml
vendored
1729
.github/BOTMETA.yml
vendored
File diff suppressed because it is too large
Load Diff
59
.github/ISSUE_TEMPLATE.md
vendored
59
.github/ISSUE_TEMPLATE.md
vendored
@ -1 +1,58 @@
|
||||
Please raise issues via the [new interface](https://github.com/ansible/ansible/issues/new/choose)
|
||||
<!---
|
||||
Verify first that your issue/request is not already reported on GitHub.
|
||||
THIS FORM WILL BE READ BY A MACHINE, COMPLETE ALL SECTIONS AS DESCRIBED.
|
||||
Also test if the latest release, and devel branch are affected too.
|
||||
ALWAYS add information AFTER (OUTSIDE) these html comments.
|
||||
Otherwise it may end up being automatically closed by our bot. -->
|
||||
|
||||
##### SUMMARY
|
||||
<!--- Explain the problem briefly -->
|
||||
|
||||
##### ISSUE TYPE
|
||||
<!--- Pick one below and delete the rest -->
|
||||
- Bug Report
|
||||
- Feature Idea
|
||||
- Documentation Report
|
||||
|
||||
##### COMPONENT NAME
|
||||
<!--- Insert, BELOW THIS COMMENT, the name of the module, plugin, task or feature.
|
||||
Do not include extra details here, e.g. "vyos_command" not "the network module vyos_command" or the full path-->
|
||||
|
||||
##### ANSIBLE VERSION
|
||||
<!--- Paste, BELOW THIS COMMENT, verbatim output from "ansible --version" between quotes below -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
##### CONFIGURATION
|
||||
<!--- If using Ansible 2.4 or above, paste, BELOW THIS COMMENT, the results of "ansible-config dump --only-changed"
|
||||
Otherwise, mention any settings you have changed/added/removed in ansible.cfg
|
||||
(or using the ANSIBLE_* environment variables).-->
|
||||
|
||||
##### OS / ENVIRONMENT
|
||||
<!--- Mention, BELOW THIS COMMENT, the OS you are running Ansible from, and the OS you are
|
||||
managing, or say "N/A" for anything that is not platform-specific.
|
||||
Also mention the specific version of what you are trying to control,
|
||||
e.g. if this is a network bug the version of firmware on the network device.-->
|
||||
|
||||
##### STEPS TO REPRODUCE
|
||||
<!--- For bugs, show exactly how to reproduce the problem, using a minimal test-case.
|
||||
For new features, show how the feature would be used. -->
|
||||
|
||||
<!--- Paste example playbooks or commands between quotes below -->
|
||||
```yaml
|
||||
|
||||
```
|
||||
|
||||
<!--- You can also paste gist.github.com links for larger files -->
|
||||
|
||||
##### EXPECTED RESULTS
|
||||
<!--- What did you expect to happen when running the steps above? -->
|
||||
|
||||
##### ACTUAL RESULTS
|
||||
<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->
|
||||
|
||||
<!--- Paste verbatim command output between quotes below -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
49
.github/ISSUE_TEMPLATE/bug_report.md
vendored
49
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -1,54 +1,61 @@
|
||||
---
|
||||
name: 🐛 Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
<!--- Verify first that your issue is not already reported on GitHub -->
|
||||
<!--- Also test if the latest release and devel branch are affected too -->
|
||||
<!--- Complete *all* sections as described, this form is processed automatically -->
|
||||
|
||||
<!---
|
||||
Verify first that your issue/request is not already reported on GitHub.
|
||||
THIS FORM WILL BE READ BY A MACHINE, COMPLETE ALL SECTIONS AS DESCRIBED.
|
||||
Also test if the latest release, and devel branch are affected too.
|
||||
ALWAYS add information AFTER (OUTSIDE) these html comments.
|
||||
Otherwise it may end up being automatically closed by our bot. -->
|
||||
|
||||
##### SUMMARY
|
||||
<!--- Explain the problem briefly below -->
|
||||
<!--- Explain the problem briefly -->
|
||||
|
||||
##### ISSUE TYPE
|
||||
- Bug Report
|
||||
- Bug Report
|
||||
|
||||
##### COMPONENT NAME
|
||||
<!--- Write the short name of the module, plugin, task or feature below, use your best guess if unsure -->
|
||||
<!--- Insert, BELOW THIS COMMENT, the name of the module, plugin, task or feature.
|
||||
Do not include extra details here, e.g. "vyos_command" not "the network module vyos_command" or the full path-->
|
||||
|
||||
##### ANSIBLE VERSION
|
||||
<!--- Paste verbatim output from "ansible --version" between quotes -->
|
||||
```paste below
|
||||
<!--- Paste, BELOW THIS COMMENT, verbatim output from "ansible --version" between quotes below -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
##### CONFIGURATION
|
||||
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
|
||||
```paste below
|
||||
|
||||
```
|
||||
<!--- If using Ansible 2.4 or above, paste, BELOW THIS COMMENT, the results of "ansible-config dump --only-changed"
|
||||
Otherwise, mention any settings you have changed/added/removed in ansible.cfg
|
||||
(or using the ANSIBLE_* environment variables).-->
|
||||
|
||||
##### OS / ENVIRONMENT
|
||||
<!--- Provide all relevant information below, e.g. target OS versions, network device firmware, etc. -->
|
||||
|
||||
<!--- Mention, BELOW THIS COMMENT, the OS you are running Ansible from, and the OS you are
|
||||
managing, or say "N/A" for anything that is not platform-specific.
|
||||
Also mention the specific version of what you are trying to control,
|
||||
e.g. if this is a network bug the version of firmware on the network device.-->
|
||||
|
||||
##### STEPS TO REPRODUCE
|
||||
<!--- Describe exactly how to reproduce the problem, using a minimal test-case -->
|
||||
<!--- For bugs, show exactly how to reproduce the problem, using a minimal test-case.
|
||||
For new features, show how the feature would be used. -->
|
||||
|
||||
<!--- Paste example playbooks or commands between quotes below -->
|
||||
```yaml
|
||||
|
||||
```
|
||||
|
||||
<!--- HINT: You can paste gist.github.com links for larger files -->
|
||||
<!--- You can also paste gist.github.com links for larger files -->
|
||||
|
||||
##### EXPECTED RESULTS
|
||||
<!--- Describe what you expected to happen when running the steps above -->
|
||||
|
||||
<!--- What did you expect to happen when running the steps above? -->
|
||||
|
||||
##### ACTUAL RESULTS
|
||||
<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->
|
||||
<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->
|
||||
|
||||
<!--- Paste verbatim command output between quotes -->
|
||||
```paste below
|
||||
<!--- Paste verbatim command output between quotes below -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
57
.github/ISSUE_TEMPLATE/documentation_report.md
vendored
57
.github/ISSUE_TEMPLATE/documentation_report.md
vendored
@ -1,38 +1,61 @@
|
||||
---
|
||||
name: 📝 Documentation Report
|
||||
about: Ask us about docs
|
||||
|
||||
---
|
||||
<!--- Verify first that your improvement is not already reported on GitHub -->
|
||||
<!--- Also test if the latest release and devel branch are affected too -->
|
||||
<!--- Complete *all* sections as described, this form is processed automatically -->
|
||||
|
||||
<!---
|
||||
Verify first that your issue/request is not already reported on GitHub.
|
||||
THIS FORM WILL BE READ BY A MACHINE, COMPLETE ALL SECTIONS AS DESCRIBED.
|
||||
Also test if the latest release, and devel branch are affected too.
|
||||
ALWAYS add information AFTER (OUTSIDE) these html comments.
|
||||
Otherwise it may end up being automatically closed by our bot. -->
|
||||
|
||||
##### SUMMARY
|
||||
<!--- Explain the problem briefly below, add suggestions to wording or structure -->
|
||||
|
||||
<!--- HINT: Did you know the documentation has an "Edit on GitHub" link on every page ? -->
|
||||
<!--- Explain the problem briefly -->
|
||||
|
||||
##### ISSUE TYPE
|
||||
- Documentation Report
|
||||
- Documentation Report
|
||||
|
||||
##### COMPONENT NAME
|
||||
<!--- Write the short name of the rst file, module, plugin, task or feature below, use your best guess if unsure -->
|
||||
<!--- Insert, BELOW THIS COMMENT, the name of the module, plugin, task or feature.
|
||||
Do not include extra details here, e.g. "vyos_command" not "the network module vyos_command" or the full path-->
|
||||
|
||||
##### ANSIBLE VERSION
|
||||
<!--- Paste verbatim output from "ansible --version" between quotes -->
|
||||
```paste below
|
||||
<!--- Paste, BELOW THIS COMMENT, verbatim output from "ansible --version" between quotes below -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
##### CONFIGURATION
|
||||
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
|
||||
```paste below
|
||||
<!--- If using Ansible 2.4 or above, paste, BELOW THIS COMMENT, the results of "ansible-config dump --only-changed"
|
||||
Otherwise, mention any settings you have changed/added/removed in ansible.cfg
|
||||
(or using the ANSIBLE_* environment variables).-->
|
||||
|
||||
##### OS / ENVIRONMENT
|
||||
<!--- Mention, BELOW THIS COMMENT, the OS you are running Ansible from, and the OS you are
|
||||
managing, or say "N/A" for anything that is not platform-specific.
|
||||
Also mention the specific version of what you are trying to control,
|
||||
e.g. if this is a network bug the version of firmware on the network device.-->
|
||||
|
||||
##### STEPS TO REPRODUCE
|
||||
<!--- For bugs, show exactly how to reproduce the problem, using a minimal test-case.
|
||||
For new features, show how the feature would be used. -->
|
||||
|
||||
<!--- Paste example playbooks or commands between quotes below -->
|
||||
```yaml
|
||||
|
||||
```
|
||||
|
||||
##### OS / ENVIRONMENT
|
||||
<!--- Provide all relevant information below, e.g. OS version, browser, etc. -->
|
||||
<!--- You can also paste gist.github.com links for larger files -->
|
||||
|
||||
##### ADDITIONAL INFORMATION
|
||||
<!--- Describe how this improves the documentation, e.g. before/after situation or screenshots -->
|
||||
##### EXPECTED RESULTS
|
||||
<!--- What did you expect to happen when running the steps above? -->
|
||||
|
||||
<!--- HINT: You can paste gist.github.com links for larger files -->
|
||||
##### ACTUAL RESULTS
|
||||
<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->
|
||||
|
||||
<!--- Paste verbatim command output between quotes below -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
52
.github/ISSUE_TEMPLATE/feature_request.md
vendored
52
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@ -1,25 +1,61 @@
|
||||
---
|
||||
name: ✨ Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
<!--- Verify first that your feature was not already discussed on GitHub -->
|
||||
<!--- Complete *all* sections as described, this form is processed automatically -->
|
||||
|
||||
<!---
|
||||
Verify first that your issue/request is not already reported on GitHub.
|
||||
THIS FORM WILL BE READ BY A MACHINE, COMPLETE ALL SECTIONS AS DESCRIBED.
|
||||
Also test if the latest release, and devel branch are affected too.
|
||||
ALWAYS add information AFTER (OUTSIDE) these html comments.
|
||||
Otherwise it may end up being automatically closed by our bot. -->
|
||||
|
||||
##### SUMMARY
|
||||
<!--- Describe the new feature/improvement briefly below -->
|
||||
<!--- Explain the problem briefly -->
|
||||
|
||||
##### ISSUE TYPE
|
||||
- Feature Idea
|
||||
- Feature Idea
|
||||
|
||||
##### COMPONENT NAME
|
||||
<!--- Write the short name of the module, plugin, task or feature below, use your best guess if unsure -->
|
||||
<!--- Insert, BELOW THIS COMMENT, the name of the module, plugin, task or feature.
|
||||
Do not include extra details here, e.g. "vyos_command" not "the network module vyos_command" or the full path-->
|
||||
|
||||
##### ADDITIONAL INFORMATION
|
||||
<!--- Describe how the feature would be used, why it is needed and what it would solve -->
|
||||
##### ANSIBLE VERSION
|
||||
<!--- Paste, BELOW THIS COMMENT, verbatim output from "ansible --version" between quotes below -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
##### CONFIGURATION
|
||||
<!--- If using Ansible 2.4 or above, paste, BELOW THIS COMMENT, the results of "ansible-config dump --only-changed"
|
||||
Otherwise, mention any settings you have changed/added/removed in ansible.cfg
|
||||
(or using the ANSIBLE_* environment variables).-->
|
||||
|
||||
##### OS / ENVIRONMENT
|
||||
<!--- Mention, BELOW THIS COMMENT, the OS you are running Ansible from, and the OS you are
|
||||
managing, or say "N/A" for anything that is not platform-specific.
|
||||
Also mention the specific version of what you are trying to control,
|
||||
e.g. if this is a network bug the version of firmware on the network device.-->
|
||||
|
||||
##### STEPS TO REPRODUCE
|
||||
<!--- For bugs, show exactly how to reproduce the problem, using a minimal test-case.
|
||||
For new features, show how the feature would be used. -->
|
||||
|
||||
<!--- Paste example playbooks or commands between quotes below -->
|
||||
```yaml
|
||||
|
||||
```
|
||||
|
||||
<!--- HINT: You can also paste gist.github.com links for larger files -->
|
||||
<!--- You can also paste gist.github.com links for larger files -->
|
||||
|
||||
##### EXPECTED RESULTS
|
||||
<!--- What did you expect to happen when running the steps above? -->
|
||||
|
||||
##### ACTUAL RESULTS
|
||||
<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->
|
||||
|
||||
<!--- Paste verbatim command output between quotes below -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
38
.github/PULL_REQUEST_TEMPLATE.md
vendored
38
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -1,23 +1,33 @@
|
||||
##### SUMMARY
|
||||
<!--- Describe the change below, including rationale and design decisions -->
|
||||
<!--- Describe the change, including rationale and design decisions -->
|
||||
|
||||
<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
|
||||
<!--- If you are fixing an existing issue, please include "Fixes #nnn" in your
|
||||
commit message and your description; but you should still explain what
|
||||
the change does.-->
|
||||
|
||||
##### ISSUE TYPE
|
||||
<!--- Pick one below and delete the rest -->
|
||||
- Bugfix Pull Request
|
||||
- Docs Pull Request
|
||||
- Feature Pull Request
|
||||
- New Module Pull Request
|
||||
<!--- Pick one below and delete the rest: -->
|
||||
- Feature Pull Request
|
||||
- New Module Pull Request
|
||||
- Bugfix Pull Request
|
||||
- Docs Pull Request
|
||||
|
||||
##### COMPONENT NAME
|
||||
<!--- Write the short name of the module, plugin, task or feature below -->
|
||||
<!--- Name of the module, plugin, task or feature -->
|
||||
|
||||
##### ADDITIONAL INFORMATION
|
||||
<!--- Include additional information to help people understand the change here -->
|
||||
<!--- A step-by-step reproduction of the problem is helpful if there is no related issue -->
|
||||
|
||||
<!--- Paste verbatim command output below, e.g. before and after your change -->
|
||||
```paste below
|
||||
##### ANSIBLE VERSION
|
||||
<!--- Paste verbatim output from "ansible --version" between quotes below -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
|
||||
##### ADDITIONAL INFORMATION
|
||||
<!--- Include additional information to help people understand the change here.
|
||||
For bugs that don't have a linked bug report, a step-by-step reproduction
|
||||
of the problem is helpful. -->
|
||||
|
||||
<!--- Paste verbatim command output below, e.g. before and after your change -->
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
15
.github/SECURITY.md
vendored
15
.github/SECURITY.md
vendored
@ -1,15 +0,0 @@
|
||||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
Ansible applies security fixes according to the 3-versions-back support
|
||||
policy. Please find more information in [our docs](
|
||||
https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#release-status
|
||||
).
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
We encourage responsible disclosure practices for security
|
||||
vulnerabilities. Please read our [policies for reporting bugs](
|
||||
https://docs.ansible.com/ansible/devel/community/reporting_bugs_and_features.html#reporting-a-bug
|
||||
) if you want to report a security issue that might affect Ansible.
|
||||
16
.gitignore
vendored
16
.gitignore
vendored
@ -34,8 +34,6 @@ docs/docsite/*.html
|
||||
docs/docsite/htmlout
|
||||
docs/docsite/rst/cli/ansible-*.rst
|
||||
docs/docsite/rst/cli/ansible.rst
|
||||
docs/docsite/rst/dev_guide/collections_galaxy_meta.rst
|
||||
docs/docsite/rst/dev_guide/testing/sanity/index.rst.new
|
||||
docs/docsite/rst/modules/*.rst
|
||||
docs/docsite/rst/playbooks_directives.rst
|
||||
docs/docsite/rst/plugins_by_category.rst
|
||||
@ -79,8 +77,15 @@ ansible.egg-info/
|
||||
# Release directory
|
||||
packaging/release/ansible_release
|
||||
/.cache/
|
||||
/test/results/
|
||||
/test/integration/cloud-config-aws.yml
|
||||
/test/results/coverage/*=coverage.*
|
||||
/test/results/coverage/coverage*
|
||||
/test/results/reports/coverage*.xml
|
||||
/test/results/reports/coverage*/
|
||||
/test/results/bot/*.json
|
||||
/test/results/junit/*.xml
|
||||
/test/results/logs/*.log
|
||||
/test/results/data/*.json
|
||||
/test/integration/inventory.remote
|
||||
/test/integration/inventory.networking
|
||||
/test/integration/inventory.winrm
|
||||
/test/integration/cloud-config-aws.yml
|
||||
@ -98,6 +103,3 @@ test/units/.coverage.*
|
||||
/test/integration/cloud-config-azure.yml
|
||||
/SYMLINK_CACHE.json
|
||||
changelogs/.plugin-cache.yaml
|
||||
.ansible-test-timeout.json
|
||||
# ansible-test temporary metadata file for use with delgation
|
||||
/metadata-*.json
|
||||
|
||||
34
MANIFEST.in
34
MANIFEST.in
@ -2,36 +2,24 @@ include README.rst
|
||||
include COPYING
|
||||
include SYMLINK_CACHE.json
|
||||
include requirements.txt
|
||||
include .coveragerc
|
||||
include shippable.yml
|
||||
recursive-include docs *
|
||||
exclude docs/docsite/rst_warnings
|
||||
recursive-exclude docs/docsite/_build *
|
||||
recursive-exclude docs/docsite/_extensions *.pyc *.pyo
|
||||
include tox.ini
|
||||
include bin/ansible-test
|
||||
include examples/hosts
|
||||
include examples/ansible.cfg
|
||||
include examples/scripts/ConfigureRemotingForAnsible.ps1
|
||||
include examples/scripts/upgrade_to_ps3.ps1
|
||||
recursive-include lib/ansible/executor/powershell *.ps1
|
||||
recursive-include lib/ansible/module_utils/csharp *.cs
|
||||
recursive-include lib/ansible/module_utils/powershell *.psm1
|
||||
recursive-include lib/ansible/modules/windows *.ps1
|
||||
recursive-include lib/ansible/galaxy/data *.yml *.j2 README.md ansible.cfg inventory .git_keep
|
||||
recursive-include lib/ansible/config *.yml
|
||||
recursive-include licenses *.txt
|
||||
recursive-include lib/ansible/executor/powershell *
|
||||
recursive-include lib/ansible/module_utils/powershell *
|
||||
recursive-include lib/ansible/modules *
|
||||
recursive-include lib/ansible/galaxy/data *
|
||||
recursive-include docs *
|
||||
recursive-include licenses *
|
||||
recursive-include packaging *
|
||||
recursive-include test/ansible_test *.py Makefile
|
||||
recursive-include test/integration *
|
||||
recursive-include test/lib/ansible_test/config *.template
|
||||
recursive-include test/lib/ansible_test/_data *.cfg *.ini *.json *.ps1 *.psd1 *.py *.sh *.txt *.yml coveragerc inventory
|
||||
recursive-include test/lib/ansible_test/_data/injector ansible ansible-config ansible-connection ansible-console ansible-doc ansible-galaxy ansible-playbook ansible-pull ansible-test ansible-vault pytest
|
||||
recursive-include test/lib/ansible_test/_data/sanity/validate-modules validate-modules
|
||||
recursive-include test/sanity *.json *.py *.txt
|
||||
exclude test/sanity/code-smell/botmeta.*
|
||||
recursive-include test/units *
|
||||
recursive-include test *
|
||||
include Makefile
|
||||
include MANIFEST.in
|
||||
include changelogs/CHANGELOG*.rst
|
||||
include contrib/README.md
|
||||
recursive-include contrib/inventory *.py *.ini *.yml *.yaml
|
||||
recursive-include hacking/build_library *.py
|
||||
include hacking/build-ansible.py
|
||||
recursive-include contrib/inventory *
|
||||
|
||||
42
Makefile
42
Makefile
@ -3,8 +3,6 @@
|
||||
# Makefile for Ansible
|
||||
#
|
||||
# useful targets:
|
||||
# make clean ---------------- clean up
|
||||
# make webdocs -------------- produce ansible doc at docs/docsite/_build/html
|
||||
# make sdist ---------------- produce a tarball
|
||||
# make srpm ----------------- produce a SRPM
|
||||
# make rpm ----------------- produce RPMs
|
||||
@ -12,6 +10,7 @@
|
||||
# make deb ------------------ produce a DEB
|
||||
# make docs ----------------- rebuild the manpages (results are checked in)
|
||||
# make tests ---------------- run the tests (see https://docs.ansible.com/ansible/devel/dev_guide/testing_units.html for requirements)
|
||||
# make pyflakes, make pep8 -- source code checks
|
||||
|
||||
########################################################
|
||||
# variable section
|
||||
@ -19,7 +18,6 @@
|
||||
NAME = ansible
|
||||
OS = $(shell uname -s)
|
||||
PREFIX ?= '/usr/local'
|
||||
SDIST_DIR ?= 'dist'
|
||||
|
||||
# This doesn't evaluate until it's called. The -D argument is the
|
||||
# directory of the target file ($@), kinda like `dirname`.
|
||||
@ -31,10 +29,9 @@ ASCII2MAN = rst2man.py $< $@
|
||||
else
|
||||
ASCII2MAN = @echo "ERROR: rst2man from docutils command is not installed but is required to build $(MANPAGES)" && exit 1
|
||||
endif
|
||||
GENERATE_CLI = docs/bin/generate_man.py
|
||||
|
||||
PYTHON=python
|
||||
GENERATE_CLI = hacking/build-ansible.py generate-man
|
||||
|
||||
SITELIB = $(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
||||
|
||||
# fetch version from project release.py as single source-of-truth
|
||||
@ -51,7 +48,7 @@ RELEASE ?= 1
|
||||
|
||||
# Get the branch information from git
|
||||
ifneq ($(shell which git),)
|
||||
GIT_DATE := $(shell git log -n 1 --format="%ci")
|
||||
GIT_DATE := $(shell git log -n 1 --format="%ai")
|
||||
GIT_HASH := $(shell git log -n 1 --format="%h")
|
||||
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD | sed 's/[-_.\/]//g')
|
||||
GITINFO = .$(GIT_HASH).$(GIT_BRANCH)
|
||||
@ -60,7 +57,7 @@ GITINFO = ""
|
||||
endif
|
||||
|
||||
ifeq ($(shell echo $(OS) | egrep -c 'Darwin|FreeBSD|OpenBSD|DragonFly'),1)
|
||||
DATE := $(shell date -j -r $(shell git log -n 1 --format="%ct") +%Y%m%d%H%M)
|
||||
DATE := $(shell date -j -r $(shell git log -n 1 --format="%at") +%Y%m%d%H%M)
|
||||
CPUS ?= $(shell sysctl hw.ncpu|awk '{print $$2}')
|
||||
else
|
||||
DATE := $(shell date --utc --date="$(GIT_DATE)" +%Y%m%d%H%M)
|
||||
@ -172,6 +169,18 @@ authors:
|
||||
%.1: %.1.rst lib/ansible/release.py
|
||||
$(ASCII2MAN)
|
||||
|
||||
.PHONY: loc
|
||||
loc:
|
||||
sloccount lib library bin
|
||||
|
||||
.PHONY: pep8
|
||||
pep8:
|
||||
$(ANSIBLE_TEST) sanity --test pep8 --python $(PYTHON_VERSION) $(TEST_FLAGS)
|
||||
|
||||
.PHONY: pyflakes
|
||||
pyflakes:
|
||||
pyflakes lib/ansible/*.py lib/ansible/*/*.py bin/*
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@echo "Cleaning up distutils stuff"
|
||||
@ -221,20 +230,9 @@ install_manpages:
|
||||
gzip -9 $(wildcard ./docs/man/man1/ansible*.1)
|
||||
cp $(wildcard ./docs/man/man1/ansible*.1.gz) $(PREFIX)/man/man1/
|
||||
|
||||
.PHONY: sdist_check
|
||||
sdist_check:
|
||||
$(PYTHON) packaging/sdist/check-link-behavior.py
|
||||
|
||||
.PHONY: sdist
|
||||
sdist: sdist_check clean docs
|
||||
_ANSIBLE_SDIST_FROM_MAKEFILE=1 $(PYTHON) setup.py sdist --dist-dir=$(SDIST_DIR)
|
||||
|
||||
# Official releases generate the changelog as the last commit before the release.
|
||||
# Snapshots shouldn't result in new checkins so the changelog is generated as
|
||||
# part of creating the tarball.
|
||||
.PHONY: snapshot
|
||||
snapshot: sdist_check clean docs changelog
|
||||
_ANSIBLE_SDIST_FROM_MAKEFILE=1 $(PYTHON) setup.py sdist --dist-dir=$(SDIST_DIR)
|
||||
sdist: clean docs
|
||||
$(PYTHON) setup.py sdist
|
||||
|
||||
.PHONY: sdist_upload
|
||||
sdist_upload: clean docs
|
||||
@ -242,7 +240,7 @@ sdist_upload: clean docs
|
||||
|
||||
.PHONY: changelog
|
||||
changelog:
|
||||
PYTHONPATH=./lib packaging/release/changelogs/changelog.py release -vv && PYTHONPATH=./lib packaging/release/changelogs/changelog.py generate -vv
|
||||
packaging/release/changelogs/changelog.py release -vv && packaging/release/changelogs/changelog.py generate -vv
|
||||
|
||||
.PHONY: rpmcommon
|
||||
rpmcommon: sdist
|
||||
@ -301,7 +299,7 @@ rpm: rpmcommon
|
||||
--define "_srcrpmdir %{_topdir}" \
|
||||
--define "_specdir $(RPMSPECDIR)" \
|
||||
--define "_sourcedir %{_topdir}" \
|
||||
--define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \
|
||||
--define "_rpmfilename $(RPMNVR).%%{ARCH}.rpm" \
|
||||
--define "__python `which $(PYTHON)`" \
|
||||
--define "upstream_version $(VERSION)" \
|
||||
--define "rpmversion $(RPMVERSION)" \
|
||||
|
||||
88
README.rst
88
README.rst
@ -1,13 +1,27 @@
|
||||
|PyPI version| |Docs badge| |Chat badge| |Build Status| |Code Of Conduct| |Mailing Lists| |License|
|
||||
|PyPI version| |Docs badge| |Chat badge| |Build Status|
|
||||
|
||||
*******
|
||||
Ansible
|
||||
*******
|
||||
|
||||
Ansible is a radically simple IT automation system. It handles
|
||||
configuration management, application deployment, cloud provisioning,
|
||||
ad-hoc task execution, network automation, and multi-node orchestration. Ansible makes complex
|
||||
changes like zero-downtime rolling updates with load balancers easy. More information on `the Ansible website <https://ansible.com/>`_.
|
||||
configuration-management, application deployment, cloud provisioning,
|
||||
ad-hoc task-execution, and multinode orchestration -- including
|
||||
trivializing things like zero-downtime rolling updates with load
|
||||
balancers.
|
||||
|
||||
Read the documentation and more at https://ansible.com/
|
||||
|
||||
You can find installation instructions
|
||||
`here <https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html>`_ for a
|
||||
variety of platforms.
|
||||
|
||||
Most users should probably install a released version of Ansible from ``pip``, a package manager or
|
||||
our `release repository <https://releases.ansible.com/ansible/>`_. `Officially supported
|
||||
<https://www.ansible.com/ansible-engine>`_ builds of Ansible are also available. Some power users
|
||||
run directly from the development branch - while significant efforts are made to ensure that
|
||||
``devel`` is reasonably stable, you're more likely to encounter breaking changes when running
|
||||
Ansible this way.
|
||||
|
||||
Design Principles
|
||||
=================
|
||||
@ -25,21 +39,6 @@ Design Principles
|
||||
* Be usable as non-root.
|
||||
* Be the easiest IT automation system to use, ever.
|
||||
|
||||
Use Ansible
|
||||
===========
|
||||
|
||||
You can install a released version of Ansible via ``pip``, a package manager, or
|
||||
our `release repository <https://releases.ansible.com/ansible/>`_. See our
|
||||
`installation guide <https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html>`_ for details on installing Ansible
|
||||
on a variety of platforms.
|
||||
|
||||
Red Hat offers supported builds of `Ansible Engine <https://www.ansible.com/ansible-engine>`_.
|
||||
|
||||
Power users and developers can run the ``devel`` branch, which has the latest
|
||||
features and fixes, directly. Although it is reasonably stable, you are more likely to encounter
|
||||
breaking changes when running the ``devel`` branch. We recommend getting involved
|
||||
in the Ansible community if you want to run the ``devel`` branch.
|
||||
|
||||
Get Involved
|
||||
============
|
||||
|
||||
@ -48,35 +47,51 @@ Get Involved
|
||||
kinds of ways to contribute to and interact with the project,
|
||||
including mailing list information and how to submit bug reports and
|
||||
code to Ansible.
|
||||
* Join a `Working Group
|
||||
<https://github.com/ansible/community/wiki>`_, an organized community devoted to a specific technology domain or platform.
|
||||
* Submit a proposed code update through a pull request to the ``devel`` branch.
|
||||
* Talk to us before making larger changes
|
||||
* All code submissions are done through pull requests to the ``devel`` branch.
|
||||
* Feel free to talk to us before making larger changes
|
||||
to avoid duplicate efforts. This not only helps everyone
|
||||
know what is going on, it also helps save time and effort if we decide
|
||||
know what's going on, it also helps save time and effort if we decide
|
||||
some changes are needed.
|
||||
* For a list of email lists, IRC channels and Working Groups, see the
|
||||
* Users list:
|
||||
`ansible-project <https://groups.google.com/group/ansible-project>`_
|
||||
* Development list:
|
||||
`ansible-devel <https://groups.google.com/group/ansible-devel>`_
|
||||
* Announcement list:
|
||||
`ansible-announce <https://groups.google.com/group/ansible-announce>`_
|
||||
-- read only
|
||||
* irc.freenode.net: #ansible
|
||||
* For the full list of Email Lists, IRC channels see the
|
||||
`Communication page <https://docs.ansible.com/ansible/latest/community/communication.html>`_
|
||||
|
||||
Branch Info
|
||||
===========
|
||||
|
||||
* The ``devel`` branch corresponds to the release actively under development.
|
||||
* The ``stable-2.X`` branches correspond to stable releases.
|
||||
* Create a branch based on ``devel`` and set up a `dev environment <https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general.html#common-environment-setup>`_ if you want to open a PR.
|
||||
* See the `Ansible release and maintenance <https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html>`_ page for information about active branches.
|
||||
* Releases are named after Led Zeppelin songs. (Releases prior to 2.0
|
||||
were named after Van Halen songs.)
|
||||
* The ``devel`` branch corresponds to the release actively under
|
||||
development.
|
||||
* The ``stable-2.x`` branches exist for current releases.
|
||||
* Various release-X.Y branches exist for previous releases.
|
||||
* For information about the active branches see the
|
||||
`Ansible release and maintenance <https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html>`_ page.
|
||||
* We'd love to have your contributions, read the `Community
|
||||
Guide <https://docs.ansible.com/ansible/latest/community>`_ for notes on
|
||||
how to get started.
|
||||
|
||||
Roadmap
|
||||
=======
|
||||
|
||||
Based on team and community feedback, an initial roadmap will be published for a major or minor version (ex: 2.7, 2.8).
|
||||
Based on team and community feedback, an initial roadmap will be published for a major or minor version (ex: 2.0, 2.1).
|
||||
Subminor versions will generally not have roadmaps published.
|
||||
|
||||
The `Ansible Roadmap page <https://docs.ansible.com/ansible/devel/roadmap/>`_ details what is planned and how to influence the roadmap.
|
||||
|
||||
Authors
|
||||
=======
|
||||
|
||||
Ansible was created by `Michael DeHaan <https://github.com/mpdehaan>`_
|
||||
and has contributions from over 4000 users (and growing). Thanks everyone!
|
||||
(michael.dehaan/gmail/com) and has contributions from over 3700 users
|
||||
(and growing). Thanks everyone!
|
||||
|
||||
`Ansible <https://www.ansible.com>`_ is sponsored by `Red Hat, Inc.
|
||||
<https://www.redhat.com>`_
|
||||
@ -84,7 +99,7 @@ and has contributions from over 4000 users (and growing). Thanks everyone!
|
||||
License
|
||||
=======
|
||||
|
||||
GNU General Public License v3.0 or later
|
||||
GNU General Public License v3.0
|
||||
|
||||
See `COPYING <COPYING>`_ to see the full text.
|
||||
|
||||
@ -96,12 +111,3 @@ See `COPYING <COPYING>`_ to see the full text.
|
||||
:target: https://app.shippable.com/projects/573f79d02a8192902e20e34b
|
||||
.. |Chat badge| image:: https://img.shields.io/badge/chat-IRC-brightgreen.svg
|
||||
:target: https://docs.ansible.com/ansible/latest/community/communication.html
|
||||
.. |Code Of Conduct| image:: https://img.shields.io/badge/code%20of%20conduct-Ansible-silver.svg
|
||||
:target: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html
|
||||
:alt: Ansible Code of Conduct
|
||||
.. |Mailing Lists| image:: https://img.shields.io/badge/mailing%20lists-Ansible-orange.svg
|
||||
:target: https://docs.ansible.com/ansible/latest/community/communication.html#mailing-list-information
|
||||
:alt: Ansible mailing lists
|
||||
.. |License| image:: https://img.shields.io/badge/license-GPL%20v3.0-brightgreen.svg
|
||||
:target: COPYING
|
||||
:alt: Repository License
|
||||
|
||||
@ -1 +0,0 @@
|
||||
../lib/ansible/cli/scripts/ansible_cli_stub.py
|
||||
163
bin/ansible
Executable file
163
bin/ansible
Executable file
@ -0,0 +1,163 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com>
|
||||
#
|
||||
# This file is part of Ansible
|
||||
#
|
||||
# Ansible is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Ansible is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
########################################################
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
__requires__ = ['ansible']
|
||||
try:
|
||||
import pkg_resources
|
||||
except Exception:
|
||||
# Use pkg_resources to find the correct versions of libraries and set
|
||||
# sys.path appropriately when there are multiversion installs. But we
|
||||
# have code that better expresses the errors in the places where the code
|
||||
# is actually used (the deps are optional for many code paths) so we don't
|
||||
# want to fail here.
|
||||
pass
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from ansible.errors import AnsibleError, AnsibleOptionsError, AnsibleParserError
|
||||
from ansible.module_utils._text import to_text
|
||||
|
||||
|
||||
# Used for determining if the system is running a new enough python version
|
||||
# and should only restrict on our documented minimum versions
|
||||
_PY3_MIN = sys.version_info[:2] >= (3, 5)
|
||||
_PY2_MIN = (2, 6) <= sys.version_info[:2] < (3,)
|
||||
_PY_MIN = _PY3_MIN or _PY2_MIN
|
||||
if not _PY_MIN:
|
||||
raise SystemExit('ERROR: Ansible requires a minimum of Python2 version 2.6 or Python3 version 3.5. Current version: %s' % ''.join(sys.version.splitlines()))
|
||||
|
||||
|
||||
class LastResort(object):
|
||||
# OUTPUT OF LAST RESORT
|
||||
def display(self, msg, log_only=None):
|
||||
print(msg, file=sys.stderr)
|
||||
|
||||
def error(self, msg, wrap_text=None):
|
||||
print(msg, file=sys.stderr)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
display = LastResort()
|
||||
|
||||
try: # bad ANSIBLE_CONFIG or config options can force ugly stacktrace
|
||||
import ansible.constants as C
|
||||
from ansible.utils.display import Display
|
||||
except AnsibleOptionsError as e:
|
||||
display.error(to_text(e), wrap_text=False)
|
||||
sys.exit(5)
|
||||
|
||||
cli = None
|
||||
me = os.path.basename(sys.argv[0])
|
||||
|
||||
try:
|
||||
display = Display()
|
||||
display.debug("starting run")
|
||||
|
||||
sub = None
|
||||
target = me.split('-')
|
||||
if target[-1][0].isdigit():
|
||||
# Remove any version or python version info as downstreams
|
||||
# sometimes add that
|
||||
target = target[:-1]
|
||||
|
||||
if len(target) > 1:
|
||||
sub = target[1]
|
||||
myclass = "%sCLI" % sub.capitalize()
|
||||
elif target[0] == 'ansible':
|
||||
sub = 'adhoc'
|
||||
myclass = 'AdHocCLI'
|
||||
else:
|
||||
raise AnsibleError("Unknown Ansible alias: %s" % me)
|
||||
|
||||
try:
|
||||
mycli = getattr(__import__("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
|
||||
except ImportError as e:
|
||||
# ImportError members have changed in py3
|
||||
if 'msg' in dir(e):
|
||||
msg = e.msg
|
||||
else:
|
||||
msg = e.message
|
||||
if msg.endswith(' %s' % sub):
|
||||
raise AnsibleError("Ansible sub-program not implemented: %s" % me)
|
||||
else:
|
||||
raise
|
||||
|
||||
try:
|
||||
args = [to_text(a, errors='surrogate_or_strict') for a in sys.argv]
|
||||
except UnicodeError:
|
||||
display.error('Command line args are not in utf-8, unable to continue. Ansible currently only understands utf-8')
|
||||
display.display(u"The full traceback was:\n\n%s" % to_text(traceback.format_exc()))
|
||||
exit_code = 6
|
||||
else:
|
||||
cli = mycli(args)
|
||||
cli.parse()
|
||||
exit_code = cli.run()
|
||||
|
||||
except AnsibleOptionsError as e:
|
||||
cli.parser.print_help()
|
||||
display.error(to_text(e), wrap_text=False)
|
||||
exit_code = 5
|
||||
except AnsibleParserError as e:
|
||||
display.error(to_text(e), wrap_text=False)
|
||||
exit_code = 4
|
||||
# TQM takes care of these, but leaving comment to reserve the exit codes
|
||||
# except AnsibleHostUnreachable as e:
|
||||
# display.error(str(e))
|
||||
# exit_code = 3
|
||||
# except AnsibleHostFailed as e:
|
||||
# display.error(str(e))
|
||||
# exit_code = 2
|
||||
except AnsibleError as e:
|
||||
display.error(to_text(e), wrap_text=False)
|
||||
exit_code = 1
|
||||
except KeyboardInterrupt:
|
||||
display.error("User interrupted execution")
|
||||
exit_code = 99
|
||||
except Exception as e:
|
||||
if C.DEFAULT_DEBUG:
|
||||
# Show raw stacktraces in debug mode, It also allow pdb to
|
||||
# enter post mortem mode.
|
||||
raise
|
||||
have_cli_options = cli is not None and cli.options is not None
|
||||
display.error("Unexpected Exception, this is probably a bug: %s" % to_text(e), wrap_text=False)
|
||||
if not have_cli_options or have_cli_options and cli.options.verbosity > 2:
|
||||
log_only = False
|
||||
if hasattr(e, 'orig_exc'):
|
||||
display.vvv('\nexception type: %s' % to_text(type(e.orig_exc)))
|
||||
why = to_text(e.orig_exc)
|
||||
if to_text(e) != why:
|
||||
display.vvv('\noriginal msg: %s' % why)
|
||||
else:
|
||||
display.display("to see the full traceback, use -vvv")
|
||||
log_only = True
|
||||
display.display(u"the full traceback was:\n\n%s" % to_text(traceback.format_exc()), log_only=log_only)
|
||||
exit_code = 250
|
||||
finally:
|
||||
# Remove ansible tmpdir
|
||||
shutil.rmtree(C.DEFAULT_LOCAL_TMP, True)
|
||||
|
||||
sys.exit(exit_code)
|
||||
@ -1 +0,0 @@
|
||||
../lib/ansible/cli/scripts/ansible_connection_cli_stub.py
|
||||
323
bin/ansible-connection
Executable file
323
bin/ansible-connection
Executable file
@ -0,0 +1,323 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright: (c) 2017, Ansible Project
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
|
||||
__metaclass__ = type
|
||||
__requires__ = ['ansible']
|
||||
|
||||
try:
|
||||
import pkg_resources
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
import fcntl
|
||||
import hashlib
|
||||
import os
|
||||
import signal
|
||||
import socket
|
||||
import sys
|
||||
import time
|
||||
import traceback
|
||||
import errno
|
||||
import json
|
||||
|
||||
from contextlib import contextmanager
|
||||
|
||||
from ansible import constants as C
|
||||
from ansible.module_utils._text import to_bytes, to_text
|
||||
from ansible.module_utils.six import PY3
|
||||
from ansible.module_utils.six.moves import cPickle, StringIO
|
||||
from ansible.module_utils.connection import Connection, ConnectionError, send_data, recv_data
|
||||
from ansible.module_utils.service import fork_process
|
||||
from ansible.playbook.play_context import PlayContext
|
||||
from ansible.plugins.loader import connection_loader
|
||||
from ansible.utils.path import unfrackpath, makedirs_safe
|
||||
from ansible.utils.display import Display
|
||||
from ansible.utils.jsonrpc import JsonRpcServer
|
||||
|
||||
|
||||
def read_stream(byte_stream):
|
||||
size = int(byte_stream.readline().strip())
|
||||
|
||||
data = byte_stream.read(size)
|
||||
if len(data) < size:
|
||||
raise Exception("EOF found before data was complete")
|
||||
|
||||
data_hash = to_text(byte_stream.readline().strip())
|
||||
if data_hash != hashlib.sha1(data).hexdigest():
|
||||
raise Exception("Read {0} bytes, but data did not match checksum".format(size))
|
||||
|
||||
# restore escaped loose \r characters
|
||||
data = data.replace(br'\r', b'\r')
|
||||
|
||||
return data
|
||||
|
||||
|
||||
@contextmanager
|
||||
def file_lock(lock_path):
|
||||
"""
|
||||
Uses contextmanager to create and release a file lock based on the
|
||||
given path. This allows us to create locks using `with file_lock()`
|
||||
to prevent deadlocks related to failure to unlock properly.
|
||||
"""
|
||||
|
||||
lock_fd = os.open(lock_path, os.O_RDWR | os.O_CREAT, 0o600)
|
||||
fcntl.lockf(lock_fd, fcntl.LOCK_EX)
|
||||
yield
|
||||
fcntl.lockf(lock_fd, fcntl.LOCK_UN)
|
||||
os.close(lock_fd)
|
||||
|
||||
|
||||
class ConnectionProcess(object):
|
||||
'''
|
||||
The connection process wraps around a Connection object that manages
|
||||
the connection to a remote device that persists over the playbook
|
||||
'''
|
||||
def __init__(self, fd, play_context, socket_path, original_path, ansible_playbook_pid=None):
|
||||
self.play_context = play_context
|
||||
self.socket_path = socket_path
|
||||
self.original_path = original_path
|
||||
|
||||
self.fd = fd
|
||||
self.exception = None
|
||||
|
||||
self.srv = JsonRpcServer()
|
||||
self.sock = None
|
||||
|
||||
self.connection = None
|
||||
self._ansible_playbook_pid = ansible_playbook_pid
|
||||
|
||||
def start(self, variables):
|
||||
try:
|
||||
messages = list()
|
||||
result = {}
|
||||
|
||||
messages.append('control socket path is %s' % self.socket_path)
|
||||
|
||||
# If this is a relative path (~ gets expanded later) then plug the
|
||||
# key's path on to the directory we originally came from, so we can
|
||||
# find it now that our cwd is /
|
||||
if self.play_context.private_key_file and self.play_context.private_key_file[0] not in '~/':
|
||||
self.play_context.private_key_file = os.path.join(self.original_path, self.play_context.private_key_file)
|
||||
self.connection = connection_loader.get(self.play_context.connection, self.play_context, '/dev/null',
|
||||
ansible_playbook_pid=self._ansible_playbook_pid)
|
||||
self.connection.set_options(var_options=variables)
|
||||
self.connection._connect()
|
||||
|
||||
self.connection._socket_path = self.socket_path
|
||||
self.srv.register(self.connection)
|
||||
messages.extend(sys.stdout.getvalue().splitlines())
|
||||
messages.append('connection to remote device started successfully')
|
||||
|
||||
self.sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||
self.sock.bind(self.socket_path)
|
||||
self.sock.listen(1)
|
||||
messages.append('local domain socket listeners started successfully')
|
||||
except Exception as exc:
|
||||
result['error'] = to_text(exc)
|
||||
result['exception'] = traceback.format_exc()
|
||||
finally:
|
||||
result['messages'] = messages
|
||||
self.fd.write(json.dumps(result))
|
||||
self.fd.close()
|
||||
|
||||
def run(self):
|
||||
try:
|
||||
while self.connection.connected:
|
||||
signal.signal(signal.SIGALRM, self.connect_timeout)
|
||||
signal.signal(signal.SIGTERM, self.handler)
|
||||
signal.alarm(self.connection.get_option('persistent_connect_timeout'))
|
||||
|
||||
self.exception = None
|
||||
(s, addr) = self.sock.accept()
|
||||
signal.alarm(0)
|
||||
|
||||
signal.signal(signal.SIGALRM, self.command_timeout)
|
||||
while True:
|
||||
data = recv_data(s)
|
||||
if not data:
|
||||
break
|
||||
|
||||
signal.alarm(self.connection.get_option('persistent_command_timeout'))
|
||||
resp = self.srv.handle_request(data)
|
||||
signal.alarm(0)
|
||||
|
||||
send_data(s, to_bytes(resp))
|
||||
|
||||
s.close()
|
||||
|
||||
except Exception as e:
|
||||
# socket.accept() will raise EINTR if the socket.close() is called
|
||||
if hasattr(e, 'errno'):
|
||||
if e.errno != errno.EINTR:
|
||||
self.exception = traceback.format_exc()
|
||||
else:
|
||||
self.exception = traceback.format_exc()
|
||||
|
||||
finally:
|
||||
# allow time for any exception msg send over socket to receive at other end before shutting down
|
||||
time.sleep(0.1)
|
||||
|
||||
# when done, close the connection properly and cleanup the socket file so it can be recreated
|
||||
self.shutdown()
|
||||
|
||||
def connect_timeout(self, signum, frame):
|
||||
msg = 'persistent connection idle timeout triggered, timeout value is %s secs.\nSee the timeout setting options in the Network Debug and ' \
|
||||
'Troubleshooting Guide.' % self.connection.get_option('persistent_connect_timeout')
|
||||
display.display(msg, log_only=True)
|
||||
raise Exception(msg)
|
||||
|
||||
def command_timeout(self, signum, frame):
|
||||
msg = 'command timeout triggered, timeout value is %s secs.\nSee the timeout setting options in the Network Debug and Troubleshooting Guide.'\
|
||||
% self.connection.get_option('persistent_command_timeout')
|
||||
display.display(msg, log_only=True)
|
||||
raise Exception(msg)
|
||||
|
||||
def handler(self, signum, frame):
|
||||
msg = 'signal handler called with signal %s.' % signum
|
||||
display.display(msg, log_only=True)
|
||||
raise Exception(msg)
|
||||
|
||||
def shutdown(self):
|
||||
""" Shuts down the local domain socket
|
||||
"""
|
||||
if os.path.exists(self.socket_path):
|
||||
try:
|
||||
if self.sock:
|
||||
self.sock.close()
|
||||
if self.connection:
|
||||
self.connection.close()
|
||||
except:
|
||||
pass
|
||||
finally:
|
||||
if os.path.exists(self.socket_path):
|
||||
os.remove(self.socket_path)
|
||||
setattr(self.connection, '_socket_path', None)
|
||||
setattr(self.connection, '_connected', False)
|
||||
display.display('shutdown complete', log_only=True)
|
||||
|
||||
|
||||
def main():
|
||||
""" Called to initiate the connect to the remote device
|
||||
"""
|
||||
rc = 0
|
||||
result = {}
|
||||
messages = list()
|
||||
socket_path = None
|
||||
|
||||
# Need stdin as a byte stream
|
||||
if PY3:
|
||||
stdin = sys.stdin.buffer
|
||||
else:
|
||||
stdin = sys.stdin
|
||||
|
||||
# Note: update the below log capture code after Display.display() is refactored.
|
||||
saved_stdout = sys.stdout
|
||||
sys.stdout = StringIO()
|
||||
|
||||
try:
|
||||
# read the play context data via stdin, which means depickling it
|
||||
vars_data = read_stream(stdin)
|
||||
init_data = read_stream(stdin)
|
||||
|
||||
if PY3:
|
||||
pc_data = cPickle.loads(init_data, encoding='bytes')
|
||||
variables = cPickle.loads(vars_data, encoding='bytes')
|
||||
else:
|
||||
pc_data = cPickle.loads(init_data)
|
||||
variables = cPickle.loads(vars_data)
|
||||
|
||||
play_context = PlayContext()
|
||||
play_context.deserialize(pc_data)
|
||||
display.verbosity = play_context.verbosity
|
||||
|
||||
except Exception as e:
|
||||
rc = 1
|
||||
result.update({
|
||||
'error': to_text(e),
|
||||
'exception': traceback.format_exc()
|
||||
})
|
||||
|
||||
if rc == 0:
|
||||
ssh = connection_loader.get('ssh', class_only=True)
|
||||
ansible_playbook_pid = sys.argv[1]
|
||||
cp = ssh._create_control_path(play_context.remote_addr, play_context.port, play_context.remote_user, play_context.connection, ansible_playbook_pid)
|
||||
|
||||
# create the persistent connection dir if need be and create the paths
|
||||
# which we will be using later
|
||||
tmp_path = unfrackpath(C.PERSISTENT_CONTROL_PATH_DIR)
|
||||
makedirs_safe(tmp_path)
|
||||
|
||||
lock_path = unfrackpath("%s/.ansible_pc_lock_%s" % (tmp_path, play_context.remote_addr))
|
||||
socket_path = unfrackpath(cp % dict(directory=tmp_path))
|
||||
|
||||
with file_lock(lock_path):
|
||||
if not os.path.exists(socket_path):
|
||||
messages.append('local domain socket does not exist, starting it')
|
||||
original_path = os.getcwd()
|
||||
r, w = os.pipe()
|
||||
pid = fork_process()
|
||||
|
||||
if pid == 0:
|
||||
try:
|
||||
os.close(r)
|
||||
wfd = os.fdopen(w, 'w')
|
||||
process = ConnectionProcess(wfd, play_context, socket_path, original_path, ansible_playbook_pid)
|
||||
process.start(variables)
|
||||
except Exception:
|
||||
messages.append(traceback.format_exc())
|
||||
rc = 1
|
||||
|
||||
if rc == 0:
|
||||
process.run()
|
||||
else:
|
||||
process.shutdown()
|
||||
|
||||
sys.exit(rc)
|
||||
|
||||
else:
|
||||
os.close(w)
|
||||
rfd = os.fdopen(r, 'r')
|
||||
data = json.loads(rfd.read())
|
||||
messages.extend(data.pop('messages'))
|
||||
result.update(data)
|
||||
|
||||
else:
|
||||
messages.append('found existing local domain socket, using it!')
|
||||
conn = Connection(socket_path)
|
||||
conn.set_options(var_options=variables)
|
||||
pc_data = to_text(init_data)
|
||||
try:
|
||||
messages.extend(conn.update_play_context(pc_data))
|
||||
except Exception as exc:
|
||||
# Only network_cli has update_play context, so missing this is
|
||||
# not fatal e.g. netconf
|
||||
if isinstance(exc, ConnectionError) and getattr(exc, 'code', None) == -32601:
|
||||
pass
|
||||
else:
|
||||
result.update({
|
||||
'error': to_text(exc),
|
||||
'exception': traceback.format_exc()
|
||||
})
|
||||
|
||||
messages.append(sys.stdout.getvalue())
|
||||
result.update({
|
||||
'messages': messages,
|
||||
'socket_path': socket_path
|
||||
})
|
||||
|
||||
sys.stdout = saved_stdout
|
||||
if 'exception' in result:
|
||||
rc = 1
|
||||
sys.stderr.write(json.dumps(result))
|
||||
else:
|
||||
rc = 0
|
||||
sys.stdout.write(json.dumps(result))
|
||||
|
||||
sys.exit(rc)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
display = Display()
|
||||
main()
|
||||
@ -1 +0,0 @@
|
||||
../test/lib/ansible_test/_data/cli/ansible_test_cli_stub.py
|
||||
15
bin/ansible-test
Executable file
15
bin/ansible-test
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python
|
||||
# PYTHON_ARGCOMPLETE_OK
|
||||
"""Primary entry point for ansible-test."""
|
||||
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
|
||||
__metaclass__ = type
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'test', 'runner')))
|
||||
import lib.cli
|
||||
lib.cli.main()
|
||||
File diff suppressed because it is too large
Load Diff
985
changelogs/CHANGELOG-v2.7.rst
Normal file
985
changelogs/CHANGELOG-v2.7.rst
Normal file
@ -0,0 +1,985 @@
|
||||
========================================
|
||||
Ansible 2.7 "In the Light" Release Notes
|
||||
========================================
|
||||
|
||||
.. contents:: Topics
|
||||
|
||||
|
||||
v2.7.4
|
||||
======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
| Release Date: 2018-11-30
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- powershell - add ``lib/ansible/executor/powershell`` to the packaging data
|
||||
|
||||
v2.7.3
|
||||
======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
| Release Date: 2018-11-29
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- Document Path and Port are mutually exclusive parameters in wait_for module.
|
||||
- Puppet module remove ``--ignorecache`` to allow Puppet 6 support
|
||||
- dnf properly support modularity appstream installation via overloaded group modifier syntax
|
||||
- proxmox_kvm - fix exception.
|
||||
- win_security_policy - warn users to use win_user_right instead when editing ``Privilege Rights``
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- Fix the issue that FTD HTTP API retries authentication-related HTTP requests.
|
||||
- Fix the issue that module fails when the Swagger model does not have required fields.
|
||||
- Fix the issue with comparing string-like objects.
|
||||
- Fix using omit on play keywords (https://github.com/ansible/ansible/issues/48673)
|
||||
- Windows - prevent sensitive content from appearing in scriptblock logging (CVE 2018-16859)
|
||||
- apt_key - Disable TTY requirement in GnuPG for the module to work correctly when SSH pipelining is enabled (https://github.com/ansible/ansible/pull/48580)
|
||||
- better error message when bad type in config, deal with EVNAR= more gracefully https://github.com/ansible/ansible/issues/22470
|
||||
- configuration retrieval would fail on non primed plugins
|
||||
- cs_template - Fixed a KeyError on state=extracted.
|
||||
- docker_container - fix idempotency problems with docker-py caused by previous ``init`` idempotency fix.
|
||||
- docker_container - fix interplay of docker-py version check with argument_spec validation improvements.
|
||||
- docker_network - ``driver_options`` containing Python booleans would cause Docker to throw exceptions.
|
||||
- ec2_group - Fix comparison of determining which rules to purge by ignoring descriptions - https://github.com/ansible/ansible/issues/47904
|
||||
- pip module - fix setuptools/distutils replacement (https://github.com/ansible/ansible/issues/47198)
|
||||
- sysvinit - enabling a service should use "defaults" if no runlevels are specified
|
||||
|
||||
v2.7.2
|
||||
======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
| Release Date: 2018-11-15
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- Fix documentation for cloning template.
|
||||
- Parsing plugin filter may raise TypeError, gracefully handle this exception and let user know about the syntax error in plugin filter file.
|
||||
- Scenario guide for VMware HTTP API usage.
|
||||
- Update plugin filter documentation.
|
||||
- fix yum and dnf autoremove input sanitization to properly warn user if invalid options passed and update documentation to match
|
||||
- improve readability and fix privileges names on vmware scenario_clone_template.
|
||||
- k8s - updated module documentation to mention how to avoid SSL validation errors
|
||||
- yum - when checking for updates, now properly include Obsoletes (both old and new) package data in the module JSON output, fixes https://github.com/ansible/ansible/issues/39978
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- ACME modules support `POST-as-GET <https://community.letsencrypt.org/t/acme-v2-scheduled-deprecation-of-unauthenticated-resource-gets/74380>`__ and will be able to access Let's Encrypt ACME v2 endpoint after November 1st, 2019.
|
||||
- Add force disruptive option nxos_instal_os module (https://github.com/ansible/ansible/pull/47694).
|
||||
- Avoid misleading PyVmomi error if requests import fails in vmware module utils.
|
||||
- Fix argument spec for NetApp modules that are using the old version
|
||||
- Fix consistency issue in grafana_dashboard module where the module would detect absence of 'dashboard' key on dashboard create but not dashboard update.
|
||||
- Fix idempotency issues when setting BIOS attributes via redfish_config module (https://github.com/ansible/ansible/pull/47462)
|
||||
- Fix issue getting output from failed ios commands when ``check_rc=False``
|
||||
- Fix issue with HTTP redirects with redfish_facts module (https://github.com/ansible/ansible/pull/45704)
|
||||
- Fix the password lookup when run from a FIPS enabled system. FIPS forbids the use of md5 but we can use sha1 instead. https://github.com/ansible/ansible/issues/47297
|
||||
- Fix trailing command in net_neighbors nxos_facts (https://github.com/ansible/ansible/pull/47548).
|
||||
- Fixed an issue where ``os_router`` would attempt to recreate router, because lack of ``enabled_snat`` parameter was treated as difference, if default Neutron policy for snat is set. (https://github.com/ansible/ansible/issues/29903)
|
||||
- Fixes issues with source and destination location for na_ontap_snapmirror
|
||||
- Handle exception when there is no snapshot available in virtual machine or template while cloning using vmware_guest.
|
||||
- Provides flexibility when retrieving redfish facts by not assuming that certains keys exist. Checks first if key exists before attempting to read from it.
|
||||
- Restore timeout in set_vm_power_state operation in vmware_guest_powerstate module.
|
||||
- aci_access_port_to_interface_policy_leaf_profile - Support missing policy_group
|
||||
- aci_interface_policy_leaf_policy_group - Support missing aep
|
||||
- aci_switch_leaf_selector - Support empty policy_group
|
||||
- ansible-galaxy - support yaml extension for meta file (https://github.com/ansible/ansible/pull/46505)
|
||||
- assert - add 'success_msg' to valid args (https://github.com/ansible/ansible/pull/47030)
|
||||
- delegate_to - Fix issue where delegate_to was upplied via ``apply`` on an include, where a loop was present on the include
|
||||
- django_manage - Changed the return type of the changed variable to bool.
|
||||
- docker_container - ``init`` and ``shm_size`` are now checked for idempotency.
|
||||
- docker_container - do not fail when removing a container which has ``auto_remove: yes``.
|
||||
- docker_container - fix ``ipc_mode`` and ``pid_mode`` idempotency if the ``host:<container-name>`` form is used (as opposed to ``host:<container-id>``).
|
||||
- docker_container - fix ``paused`` option (which never worked).
|
||||
- docker_container - fixing race condition when ``detach`` and ``auto_remove`` are both ``true``.
|
||||
- docker_container - refactored minimal docker-py/API version handling, and fixing such handling of some options.
|
||||
- docker_container - some docker versions require containers to be unpaused before stopping or removing. Adds check to do this when docker returns a corresponding error on stopping or removing.
|
||||
- docker_swarm - making ``advertise_addr`` optional, as it was already documented.
|
||||
- docker_swarm_service - The ``publish``.``mode`` parameter was being ignored if docker-py version was < 3.0.0. Added a parameter validation test.
|
||||
- docker_volume - ``labels`` now work (and are a ``dict`` and no longer a ``list``).
|
||||
- ec2_instance: - Fixed issue where ebs_optimized was considered sub-option of the network parameter. (https://github.com/ansible/ansible/issues/48159)
|
||||
- fix mail notification module when using starttls and py3.7
|
||||
- ini_file: Options within no sections aren't included, deleted or modified. These are just unmanged. This pull request solves this. (see https://github.com/ansible/ansible/pull/44324)
|
||||
- ldap_attr map to list (https://github.com/ansible/ansible/pull/48009)
|
||||
- lvg - fixed an idempotency regression in the lvg module (https://github.com/ansible/ansible/issues/47301)
|
||||
- net_put - fix when net_put module leaves temp files in some network OS cases e.g. routerOS
|
||||
- nxos_evpn_vni check_mode (https://github.com/ansible/ansible/pull/46612).
|
||||
- ovirt_host_network - Fix type conversion (https://github.com/ansible/ansible/pull/47617).
|
||||
- ovirt_host_pm - Bug fixes for power management (https://github.com/ansible/ansible/pull/47659).
|
||||
- pamd: fix state: args_present idempotence (see https://github.com/ansible/ansible/issues/47197)
|
||||
- pamd: fix state: updated idempotence (see https://github.com/ansible/ansible/issues/47083)
|
||||
- pamd: update regex to allow leading dash and retain EOF newline (see https://github.com/ansible/ansible/issues/47418)
|
||||
- pip - idempotence in check mode now works correctly.
|
||||
- reboot - change default reboot time command to prevent hanging on certain systems (https://github.com/ansible/ansible/issues/46562)
|
||||
- redfish_config - do not automatically reboot when scheduling a BIOS configuration job
|
||||
- remove rendundant path uniquifying in inventory plugins. This removes use of md5 hashing and fixes inventory plugins when run in FIPS mode.
|
||||
- replace renamed exceptions in multiple openstack modules
|
||||
- uri - Ensure the ``uri`` module supports async (https://github.com/ansible/ansible/issues/47660)
|
||||
- user - do not report changes every time when setting password_lock (https://github.com/ansible/ansible/issues/43670)
|
||||
- user - properly remove expiration when set to a negative value (https://github.com/ansible/ansible/issues/47114)
|
||||
- user - remove warning when creating a disabled account with '!' or '*' in the password field (https://github.com/ansible/ansible/issues/46334)
|
||||
- vmware_host - fixes the retry mechanism of AddHost task.
|
||||
- vultr - fixed the handling of an inconsistency in the response from Vultr API when it returns an unexpected empty list instead a empty dict.
|
||||
- vultr_server_facts - fixed facts gathering fails if firewall is enabled.
|
||||
- win_uri - stop junk output from being returned to Ansible - https://github.com/ansible/ansible/issues/47998
|
||||
- yum - fix "package == version" syntax (https://github.com/ansible/ansible/pull/47744)
|
||||
|
||||
v2.7.1
|
||||
======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
| Release Date: 2018-10-25
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- Fix yum module to properly check for empty conf_file value
|
||||
- added capability to set the scheme for the consul_kv lookup.
|
||||
- added optional certificate and certificate verification for consul_kv lookups
|
||||
- dnf - properly handle modifying the enable/disable excludes data field
|
||||
- dnf appropriately handles disable_excludes repoid argument
|
||||
- dnf properly honor disable_gpg_check for local (on local disk of remote node) package installation
|
||||
- fix yum module to handle list argument optional empty strings properly
|
||||
- netconf_config - Make default_operation optional in netconf_config module (https://github.com/ansible/ansible/pull/46333)
|
||||
- win_nssm - Drop support of literal YAML dictionnary for ``app_parameters`` option. Use the ``key=value;`` string form instead
|
||||
- yum - properly handle proxy password and username embedded in url
|
||||
- yum/dnf - fail when space separated string of names (https://github.com/ansible/ansible/pull/47109)
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- Ansible JSON Decoder - Switch from decode to object_hook to support nested use of __ansible_vault and __ansible_unsafe (https://github.com/ansible/ansible/pull/45514)
|
||||
- Don't parse parameters and options when ``state`` is ``absent`` (https://github.com/ansible/ansible/pull/45700).
|
||||
- FieldAttribute - Do not use mutable defaults, instead allow supplying a callable for defaults of mutable types (https://github.com/ansible/ansible/issues/46824)
|
||||
- Fix an issue with the default telnet prompt handling. The value needs to be escaped otherwise it does not work when converted to bytes.
|
||||
- Fix calling deprecate with correct arguments (https://github.com/ansible/ansible/pull/46062).
|
||||
- Fix iterator to list conversion in ldap_entry module.
|
||||
- Fix nxos_ospf_vrf module auto-cost idempotency and module check mode (https://github.com/ansible/ansible/pull/47190).
|
||||
- Fix pip module so that it can recognize multiple extras
|
||||
- Fix prompt mismatch issue for ios (https://github.com/ansible/ansible/issues/47004)
|
||||
- Fix the issue with refreshing the token by storing Authorization header inside HttpApi connection plugin.
|
||||
- Fix the quoting of vhost and other names in rabbitmq_binding
|
||||
- Fix the win_reboot plugin so that the post_reboot_delay parameter is honored
|
||||
- Fixed an issue with ansible-doc -l failing when parsing some plugin documentation.
|
||||
- Fixed: Appropriate code to expand value was missing so assigning SSL certificate is not working as described in the documentation. https://github.com/ansible/ansible/pull/45830
|
||||
- Fixes an error that occurs when attempting to see if the netns already exists on the remote device. This change will now execute ``ip netns list`` and check if the desired namespace is in the output.
|
||||
- Give user better error messages and more information on verbose about inventory plugin behaviour
|
||||
- Hardware fact gathering now completes on Solaris 8. Previously, it aborted with error `Argument 'args' to run_command must be list or string`.
|
||||
- Ignore empty result of rabbitmqctl list_user_permissions.
|
||||
- In systemd module, allow scope to default to 'system'
|
||||
- In systemd module, fix check if a systemd+initd service is enabled - disabled in systemd means disabled
|
||||
- Only access EC2 volume tags when set
|
||||
- Only delete host key from redis in-memory cache if present.
|
||||
- PLUGIN_FILTERS_CFG - Ensure that the value is treated as type=path, and that we use the standard section of ``defaults`` instead of ``default`` (https://github.com/ansible/ansible/pull/45994)
|
||||
- Refactor virtual machine disk logic.
|
||||
- Restore SIGPIPE to SIG_DFL when creating subprocesses to avoid it being ignored under Python 2.
|
||||
- Rewrite get_resource_pool method for correct resource_pool selection.
|
||||
- The docker_* modules more uniformly check versions of docker-py/docker and (if necessary) the docker API.
|
||||
- Update callbacks to use Ansible's JSON encoder to avoid known serialization issues
|
||||
- Update the signatures of many cliconf plugins' get() methods to support the check_all paramter. Specifically, aireos, aruba, asa, ce, cnos, dellos6, dellos9, dellos10, edgeos, enos, exos, ironware, nos, onyx, routeros, slxos, and voss were updated. This fixes the cli_command module for these platforms
|
||||
- Vultr - fix for unreliable API behaviors resulting in timeouts (https://github.com/ansible/ansible/pull/45712/).
|
||||
- ansible-connection - Clean up socket files if playbook aborted before connection is started.
|
||||
- ansible-doc, removed local hardcoded listing, now uses the 'central' list from constants and other minor issues
|
||||
- aws_ec2 - fixed issue where cache did not contain the computed groups
|
||||
- aws_ssm_parameter_store - AWS Systems Manager Parameter Store may reach an internal limit before finding the expected parameter, causing misleading results. This is resolved by paginating the describe_parameters call.
|
||||
- azure_rm_deployment - fixed regression that prevents resource group from being created (https://github.com/ansible/ansible/issues/45941)
|
||||
- blockinfile - use bytes rather than a native string to prevent a stacktrace in Python 3 when writing to the file (https://github.com/ansible/ansible/issues/46237)
|
||||
- chroot connection - Support empty files with copying to target (https://github.com/ansible/ansible/issues/36725)
|
||||
- cs_instance - Fix docs and typo in examples (https://github.com/ansible/ansible/pull/46035).
|
||||
- cs_instance - Fix host migration without volume (https://github.com/ansible/ansible/pull/46115).
|
||||
- delegate_to - When templating ``delegate_to`` in a loop, don't use the task for a cache, return a special cache through ``get_vars`` allowing looping over a hostvar (https://github.com/ansible/ansible/issues/47207)
|
||||
- docker connection - Support empty files with copying to target (https://github.com/ansible/ansible/issues/36725)
|
||||
- docker_container - Fix idempotency problems with ``cap_drop`` and ``groups`` (when numeric group IDs were used).
|
||||
- docker_container - Fix type conversion errors for ``log_options``.
|
||||
- docker_container - Fixing various comparison/idempotency problems related to wrong comparisons. In particular, comparisons for ``command`` and ``entrypoint`` (both lists) no longer ignore missing elements during idempotency checks.
|
||||
- docker_container - Makes ``blkio_weight``, ``cpuset_mems``, ``dns_opts`` and ``uts`` options actually work.
|
||||
- docker_container - ``publish_ports: all`` was not used correctly when checking idempotency.
|
||||
- docker_container - fail if ``ipv4_address`` or ``ipv6_address`` is used with a too old docker-py version.
|
||||
- docker_container - fix ``memory_swappiness`` documentation.
|
||||
- docker_container - fix behavior of ``detach: yes`` if ``auto_remove: yes`` is specified.
|
||||
- docker_container - fix idempotency check for published_ports in some special cases.
|
||||
- docker_container - the behavior is improved in case ``image`` is not specified, but needed for (re-)creating the container.
|
||||
- docker_network - fixes idempotency issues (https://github.com/ansible/ansible/issues/33045) and name substring issue (https://github.com/ansible/ansible/issues/32926).
|
||||
- docker_service - correctly parse string values for the `scale` parameter https://github.com/ansible/ansible/pull/45508
|
||||
- docker_volume - fix ``force`` and change detection logic. If not both evaluated to ``True``, the volume was not recreated.
|
||||
- dynamic includes - Use the copied and merged task for calculating task vars in the free strategy (https://github.com/ansible/ansible/issues/47024)
|
||||
- ec2_group - There can be multiple security groups with the same name in different VPCs. Prior to 2.6 if a target group name was provided, the group matching the name and VPC had highest precedence. Restore this behavior by updated the dictionary with the groups matching the VPC last.
|
||||
- ec2_group - support EC2-Classic by not assuming security groups have VPCs.
|
||||
- ec2_metadata_facts - Parse IAM role name from metadata ARN instead of security credential field.
|
||||
- fetch_url did not always return lower-case header names in case of HTTP errors (https://github.com/ansible/ansible/pull/45628).
|
||||
- fix azure_rm_autoscale module can create a schedule with fixed start/end date (https://github.com/ansible/ansible/pull/47186)
|
||||
- fix flatten to properly handle multiple lists in lists https://github.com/ansible/ansible/issues/46343
|
||||
- get_url - improve code that parses checksums from a file so it is not fragile and reports a helpful error when no matching checksum is found
|
||||
- handlers - fix crash when handler task include tasks
|
||||
- jail connection - Support empty files with copying to target (https://github.com/ansible/ansible/issues/36725)
|
||||
- junos - fix terminal prompt regex (https://github.com/ansible/ansible/pull/47096)
|
||||
- k8s - allow kubeconfig or context to be set without the other
|
||||
- k8s_facts now returns a resources key in all situations
|
||||
- k8s_facts: fix handling of unknown resource types
|
||||
- kubectl connection - Support empty files with copying to target (https://github.com/ansible/ansible/issues/36725)
|
||||
- libvirt_lxc connection - Support empty files with copying to target (https://github.com/ansible/ansible/issues/36725)
|
||||
- lineinfile - fix index out of range error when using insertbefore on a file with only one line (https://github.com/ansible/ansible/issues/46043)
|
||||
- mail - Fix regression when sending mail without TLS/SSL
|
||||
- mysql_*, proxysql_* - PyMySQL (a pure-Python MySQL driver) is now a preferred dependency also supporting Python 3.X.
|
||||
- netconf_config - Fix in confirmed_commit capability in netconf_config modules (https://github.com/ansible/ansible/pull/46778)
|
||||
- netconf_config - Fix netconf module_utils dict changed size issue (https://github.com/ansible/ansible/pull/46778)
|
||||
- nmcli - fix syntax of vlan modification command (https://github.com/ansible/ansible/issues/42322)
|
||||
- nxos_file_copy fix for binary files (https://github.com/ansible/ansible/pull/46822).
|
||||
- openssl_csr - fix byte encoding issue on Python 3
|
||||
- openssl_pkcs12 - fix byte encoding issue on Python 3
|
||||
- os_router - ``enable_snat: no`` was ignored.
|
||||
- ovirt_host_network - check for empty user_opts (https://github.com/ansible/ansible/pull/47283).
|
||||
- ovirt_vm - Check next_run configuration update if exist (https://github.com/ansible/ansible/pull/47282/).
|
||||
- ovirt_vm - Fix initialization of cloud init (https://github.com/ansible/ansible/pull/47354).
|
||||
- ovirt_vm - Fix issue in SSO option (https://github.com/ansible/ansible/pull/47312).
|
||||
- ovirt_vm - Fix issue in setting the custom_compatibility_version to NULL (https://github.com/ansible/ansible/pull/47388).
|
||||
- pamd: add delete=False to NamedTemporaryFile() fixes OSError on module completion, and removes print statement from module code. (see https://github.com/ansible/ansible/pull/47281 and https://github.com/ansible/ansible/issues/47080)
|
||||
- pamd: use module.tmpdir for NamedTemporaryFile() (see https://github.com/ansible/ansible/pull/47133 and https://github.com/ansible/ansible/issues/36954)
|
||||
- postgresql_user - create pretty error message when creating a user without an encrypted password on newer PostgreSQL versions
|
||||
- psexec - Handle socket.error exceptions properly
|
||||
- psexec - give proper error message when the psexec requirements are not installed
|
||||
- psrp - Fix UTF-8 output - https://github.com/ansible/ansible/pull/46998
|
||||
- psrp - Fix issue when dealing with unicode values in the output for Python 2
|
||||
- reboot - add reboot_timeout parameter to the list of parameters so it can be used.
|
||||
- reboot - add support for OpenBSD
|
||||
- reboot - use correct syntax for fetching a value from a dict and account for bare Linux systems (https://github.com/ansible/ansible/pull/45607#issuecomment-422403177)
|
||||
- reboot - use unicode instead of bytes for stdout and stderr to match the type returned from low_level_execute()
|
||||
- roles - Ensure that we don't overwrite roles that have been registered (from imports) while parsing roles under the roles header (https://github.com/ansible/ansible/issues/47454)
|
||||
- route53 - fix CAA record ordering for idempotency.
|
||||
- ssh connection - Support empty files with piped transfer_method (https://github.com/ansible/ansible/issues/45426)
|
||||
- templar - Do not strip new lines in native jinja - https://github.com/ansible/ansible/issues/46743
|
||||
- unsafe - Add special casing to sets, to support wrapping elements of sets correctly in Python 3 (https://github.com/ansible/ansible/issues/47372)
|
||||
- use proper module_util to get Ansible version for Azure requests
|
||||
- user - add documentation on what underlying tools are used on each platform (https://github.com/ansible/ansible/issues/44266)
|
||||
- user module - do not pass ssh_key_passphrase on cmdline (CVE-2018-16837)
|
||||
- vmware - honor "wait_for_ip_address" when powering on a VM
|
||||
- vultr_server - fix diff for user data (https://github.com/ansible/ansible/pull/45753/).
|
||||
- vyos_facts - fix vyos_facts not returning version number issue (https://github.com/ansible/ansible/pull/39115)
|
||||
- win_copy - Fix issue where the dest return value would be enclosed in single quote when dest is a folder - https://github.com/ansible/ansible/issues/45281
|
||||
- win_nssm - Add missing space between parameters with ``app_parameters``
|
||||
- win_nssm - Correctly escape argument line when a parameter contains spaces, quotes or backslashes
|
||||
- win_nssm - Fix error when several services were given to the ``dependencies`` option
|
||||
- win_nssm - Fix extra space added in argument line with ``app_parameters`` or ``app_parameters_free_form`` when a parameter start by a dash and is followed by a period (https://github.com/ansible/ansible/issues/44079)
|
||||
- win_nssm - Fix service not started when ``state=started`` (https://github.com/ansible/ansible/issues/35442)
|
||||
- win_nssm - Fix several issues and idempotency problems (https://github.com/ansible/ansible/pull/44755)
|
||||
- winrm - Only use pexpect for auto kerb auth if it is installed and contains the required kwargs - https://github.com/ansible/ansible/issues/43462
|
||||
- zabbix_host - module was failing when zabbix host was updated with new interface and template depending on that interface at the same time
|
||||
- zone connection - Support empty files with copying to target (https://github.com/ansible/ansible/issues/36725)
|
||||
|
||||
v2.7.0
|
||||
======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
| Release Date: 2018-10-04
|
||||
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
|
||||
|
||||
|
||||
Major Changes
|
||||
-------------
|
||||
|
||||
- Allow config to enable native jinja types (https://github.com/ansible/ansible/pull/32738)
|
||||
- Extends `module_defaults` by adding a prefix to defaults `group/` which denotes a builtin or user-specified list of modules, such as `group/aws` or `group/gcp`
|
||||
- New keyword `ignore_unreachable` for plays and blocks. Allows ignoring tasks that fail due to unreachable hosts, and check results with `is unreachable` test.
|
||||
- New yumdnf module defines the shared argument specification for both yum and dnf modules and provides an entry point to share code when applicable
|
||||
- Remove support for simplejson (https://github.com/ansible/ansible/issues/42761)
|
||||
- Support for running an Ansible controller with Python-2.6 has been dropped. You can still manage machines which use Python-2.6 but you will have to manage them from a machine which has Python-2.7 or Python-3.5 or greater installed. See the `porting guide <https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.7.html>`_ if you need more information.
|
||||
- new yum action plugin enables the yum module to work with both yum3 and dnf-based yum4 by detecting the backend package manager and routing commands through the correct Ansible module for that python API
|
||||
- yum and dnf modules now at feature parity
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- ActionBase - removed deprecated _fixup_perms method (https://github.com/ansible/ansible/pull/44320)
|
||||
- Add `is_boto3_error_code` function to `module_utils/aws/core.py` to make it easier for modules to handle special AWS error codes.
|
||||
- Add use_backend to yum module/action plugin
|
||||
- Added PrivilegeUtil PowerShell module util to easily control Windows Privileges in a process
|
||||
- Added capability to skip ssl verification on zabbix host with dynamic inventory
|
||||
- Added inventory.any_unparsed_is_failed configuration setting. In an inventory with a static hosts file and (say) ec2.py, enabling this setting will cause a failure instead of a warning if ec2.py fails.
|
||||
- Added new filter to generate random MAC addresses from a given string acting as a prefix. Refer to the appropriate entry which has been added to user_guide playbook_filters.rst document.
|
||||
- Added the from_yaml_all filter to parse multi-document yaml strings. Refer to the appropriate entry which as been added to user_guide playbooks_filters.rst document.
|
||||
- Ansible-2.7 changes the Ansiballz strategy for running modules remotely so that invoking a module only needs to invoke python once per module on the remote machine instead of twice.
|
||||
- Better error handling for depsolve and transaction errors in DNF
|
||||
- Changed the prefix of all Vultr modules from vr to vultr (https://github.com/ansible/ansible/issues/42942).
|
||||
- Enable installroot tests for yum4(dnf) integration testing, dnf backend now supports that
|
||||
- Explicit encoding for the output of the template module, to be able to generate non-utf8 files from a utf-8 template. (https://github.com/ansible/proposals/issues/121)
|
||||
- File locking feature added, making it possible to gain exclusive access to given file through module_utils.common.file.FileLock (https://github.com/ansible/ansible/issues/29962)
|
||||
- Fix dnf handling of autoremove to be compatible with yum
|
||||
- Fix timer in exponential backoff algorithm in vmware.py.
|
||||
- Fixed group action idempotent transactions in dnf backend
|
||||
- Fixed group actions in check mode to report correct changed state
|
||||
- GCP Modules will do home path expansion on service account file paths
|
||||
- In Ansible-2.4 and above, Ansible passes the temporary directory a module should use to the module. This is done via a module parameter (_ansible_tmpdir). An earlier version of this which was also prototyped in Ansible-2.4 development used an environment variable, ANSIBLE_REMOTE_TMP to pass this information to the module instead. When we switched to using a module parameter, the environment variable was left in by mistake. Ansible-2.7 removes that variable. Any third party modules which relied on it should use the module parameter instead.
|
||||
- New config options `display_ok_hosts` and `display_failed_stderr` (along with the existing `display_skipped_hosts` option) allow more fine-grained control over the way that ansible displays output from a playbook (https://github.com/ansible/ansible/pull/41058)
|
||||
- Removed an unnecessary import from the AnsiballZ wrapper
|
||||
- Restore module_utils.basic.BOOLEANS variable for backwards compatibility with the module API in older ansible releases.
|
||||
- Setting file attributes (via the file module amongst others) now accepts + and - modifiers to add or remove individual attributes. (https://github.com/ansible/ansible/issues/33838)
|
||||
- Switch from zip to bc for certain package install/remove test cases in yum integration tests. The dnf depsolver downgrades python when you uninstall zip which alters the test environment and we have no control over that.
|
||||
- The acme_account and acme_certificate modules now support two backends: the Python cryptograpy module or the OpenSSL binary. By default, the modules detect if a new enough cryptography module is available and use it, with the OpenSSL binary being a fallback. If the detection fails for some reason, the OpenSSL binary backend can be explicitly selected by setting select_crypto_backend to openssl.
|
||||
- The apt, ec2_elb_lb, elb_classic_lb, and unarchive modules have been ported away from using __file__. This is futureproofing as__file__ won't work if we switch to using python -m to invoke modules in the future or if we figure out a way to make a module never touch disk for pipelining purposes.
|
||||
- The password_hash filter supports all parameters of passlib. This allows users to provide a rounds parameter. (https://github.com/ansible/ansible/issues/15326)
|
||||
- action plugins strictly accept valid parameters and report invalid parameters
|
||||
- allow user to customize default ansible-console prompt/msg default color
|
||||
- aws_caller_facts - The module now outputs the "account_alias" as well
|
||||
- aws_rds - Add new inventory plugin for RDS instances and clusters to match behavior in the ec2 inventory script.
|
||||
- command module - Add support for check mode when passing creates or removes arguments. (https://github.com/ansible/ansible/pull/40428)
|
||||
- dnf - group removal does not work if group was installed with Ansible because of dnf upstream bug https://bugzilla.redhat.com/show_bug.cgi?id=1620324
|
||||
- ec2_group - Add diff mode support with and without check mode. This feature is preview and may change when a common framework is adopted for AWS modules.
|
||||
- elasticsearch_plugin - Add the possibility to use the elasticsearch_plugin installation batch mode to install plugins with advanced privileges without user interaction.
|
||||
- gather_subset - removed deprecated functionality for using comma separated list with gather_subset (https://github.com/ansible/ansible/pull/44320)
|
||||
- get_url - implement [expend checksum format to <algorithm>:(<checksum>|<url>)] (https://github.com/ansible/ansible/issues/27617)
|
||||
- import_tasks - Do not allow import_tasks to transition to dynamic if the file is missing (https://github.com/ansible/ansible/issues/44822)
|
||||
- lineinfile - add warning when using an empty regexp (https://github.com/ansible/ansible/issues/29443)
|
||||
- onepassword/onepassword_raw - accept subdomain and vault_password to allow Ansible to unlock 1Password vaults
|
||||
- password_hash is not restricted to the subset provided by crypt.crypt (https://github.com/ansible/ansible/issues/17266)
|
||||
- passwordstore - Add backup option when overwriting password (off by default)
|
||||
- puppet - Add support for --debug, --verbose, --summarize https://github.com/ansible/ansible/issues/37986
|
||||
- puppet - Add support for setting logdest to both stdout and syslog via 'all'
|
||||
- replace copy.deepcopy in high workload areas with a custom function to improve performance (https://github.com/ansible/ansible/pull/44337)
|
||||
- roles - removed deprecated functionality for non YAML role specs (https://github.com/ansible/ansible/pull/44320)
|
||||
- roles - removed deprecated special casing functionality of connection, port, and remote_user for role params (https://github.com/ansible/ansible/pull/44320)
|
||||
- service - removed deprecated state=running (https://github.com/ansible/ansible/pull/44320)
|
||||
- shell module - Add support for check mode when passing creates or removes arguments. (https://github.com/ansible/ansible/pull/40428)
|
||||
- sns_topic - Port sns_topic module to boto3 and add an integration test suite.
|
||||
- ssh - reset connection will show a warning instead of failing for older OpenSSH versions
|
||||
- to_nice_json - specify separators to json.dumps to normalize the output between python2 and python3 (https://github.com/ansible/ansible/pull/42633)
|
||||
- user - backup shadow file on platforms where the module modifies it directly (https://github.com/ansible/ansible/issues/40696)
|
||||
- user module - add a sanity check for the user's password and a more helpful warning message (https://github.com/ansible/ansible/pull/43615)
|
||||
- vars_prompt - removed deprecated functionality supporting 'short form' for vars_prompt (https://github.com/ansible/ansible/pull/44320)
|
||||
- vault - removed deprecated functionality for insecure VaultAES class (https://github.com/ansible/ansible/pull/44320)
|
||||
- win_chocolatey - Add support for installing Chocolatey itself from a source feed
|
||||
- win_chocolatey - Add support for username and password on source feeds
|
||||
- win_chocolatey - Added ability to specify multiple packages as a list in 1 module invocation
|
||||
- win_chocolatey - Removed the need to manually escape double quotes in the proxy username and password
|
||||
- win_chocolatey - Will no longer upgrade Chocolatey in check mode
|
||||
- win_chocolatey - set the rc return value to always be returned, default to 0 https://github.com/ansible/ansible/issues/41758
|
||||
- win_disk_image - return a list of mount paths with the return value ``mount_paths``, this will always be a list and contain all mount points in an image
|
||||
- win_psexec - Added the ``session`` option to specify a session to start the process in
|
||||
- winrm - change the _reset() method to use reset() that is part of ConnectionBase
|
||||
|
||||
Deprecated Features
|
||||
-------------------
|
||||
|
||||
- Modules will no longer be able to rely on the __file__ attribute pointing to a real file. If your third party module is using __file__ for something it should be changed before 2.8. See the 2.7 porting guide for more information.
|
||||
- The `skippy`, `full_skip`, `actionable`, and `stderr` callback plugins have been deprecated in favor of config options that influence the behavior of the `default` callback plugin (https://github.com/ansible/ansible/pull/41058)
|
||||
- win_disk_image - the return value ``mount_path`` is deprecated and will be removed in 2.11, this can be accessed through ``mount_paths[0]`` instead.
|
||||
|
||||
Removed Features (previously deprecated)
|
||||
----------------------------------------
|
||||
|
||||
- The configuration toggle, ``merge_multiple_cli_tags``, has been removed. This setting controlled whether specifying ``--tags`` or ``--skip-tags`` multiple times on the commandline would merge the specified tags or use the old behaviour of overwriting the previous entry. The overwriting behaviour was deprecated in 2.3 and the default value of the config option became merge in 2.4.
|
||||
- ec2_facts - deprecated module removed (https://github.com/ansible/ansible/pull/44536)
|
||||
- s3 - deprecated module removed (https://github.com/ansible/ansible/pull/44537)
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- **Security Fix** - Some connection exceptions would cause no_log specified on a task to be ignored. If this happened, the task information, including any private information could have been displayed to stdout and (if enabled, not the default) logged to a log file specified in ansible.cfg's log_path. Additionally, sites which redirected stdout from ansible runs to a log file may have stored that private information onto disk that way as well. (https://github.com/ansible/ansible/pull/41414)
|
||||
- **Security Fix** - avoid loading host/group vars from cwd when not specifying a playbook or playbook base dir
|
||||
- **Security Fix** - avoid using ansible.cfg in a world writable dir.
|
||||
- Add ambiguous command check as the error message is not persistent on nexus devices (https://github.com/ansible/ansible/pull/45337).
|
||||
- Add argspec to aws_application_scaling_policy module to handle metric specifications, scaling cooldowns, and target values. https://github.com/ansible/ansible/pull/45235
|
||||
- Additional checks ensure that there is always a result of hashing passwords in the password_hash filter and vars_prompt, otherwise an error is returned. Some modules (like user module) interprets None as no password at all, which can be dangerous if the password given above is passed directly into those modules.
|
||||
- Allow arbitrary ``log_driver`` for docker_container (https://github.com/ansible/ansible/pull/33579).
|
||||
- Avoids deprecated functionality of passlib with newer library versions.
|
||||
- Changed the admin_users config option to not include "admin" by default as admin is frequently used for a non-privileged account (https://github.com/ansible/ansible/pull/41164)
|
||||
- Fix alt linux detection/matching
|
||||
- Fix an atomic_move error that is 'true', but misleading. Now we show all 3 files involved and clarify what happened.
|
||||
- Fix ec2_group support for multi-account and peered VPC security groups. Reported in https://github.com/ansible/ansible/issue/44788 and fixed in https://github.com/ansible/ansible/pull/45296
|
||||
- Fix ecs_taskdefinition handling of changed role_arn. If the task role in a ECS task definition changes ansible should create a new revsion of the task definition. https://github.com/ansible/ansible/pull/45317
|
||||
- Fix glob path of rc.d Some distribtuions like SUSE has the rc%.d directories under /etc/init.d
|
||||
- Fix health check parameter handling in elb_target_group per https://github.com/ansible/ansible/issues/43244 about health_check_port. Fixed in https://github.com/ansible/ansible/pull/45314
|
||||
- Fix lambda_policy updates when principal is an account number. Backport of https://github.com/ansible/ansible/pull/44871
|
||||
- Fix lxd module to be idempotent when the given configuration for the lxd container has not changed (https://github.com/ansible/ansible/pull/38166)
|
||||
- Fix python2.6 `nothing to repeat` nxos terminal plugin bug (https://github.com/ansible/ansible/pull/45271).
|
||||
- Fix s3_lifecycle module backwards compatibility without providing prefix. Blank prefixes regression was introduced in boto3 rewrite. https://github.com/ansible/ansible/pull/45318
|
||||
- Fix terminal plugin regex nxos, iosxr (https://github.com/ansible/ansible/pull/45135).
|
||||
- Fix the mount module's handling of swap entries in fstab (https://github.com/ansible/ansible/pull/42837)
|
||||
- Fixed an issue where ``ansible_facts.pkg_mgr`` would incorrectly set to ``zypper`` on Debian/Ubuntu systems that happened to have the command installed.
|
||||
- Fixed runtime module to be able to handle syslog_facility properly when python systemd module installed in a target system. (https://github.com/ansible/ansible/pull/41078)
|
||||
- Grafana dashboard module compatible with grafana 5 (https://github.com/ansible/ansible/pull/41249)
|
||||
- On Python2, loading config values from environment variables could lead to a traceback if there were nonascii characters present. Converted them to text strings so that no traceback will occur (https://github.com/ansible/ansible/pull/43468)
|
||||
- Remove spurious `changed=True` returns when ec2_group module is used with numeric ports. https://github.com/ansible/ansible/pull/45240
|
||||
- Support key names that contain spaces in ec2_metadata_facts module. https://github.com/ansible/ansible/pull/45313
|
||||
- The docker_* modules respect the DOCKER_* environment variables again (https://github.com/ansible/ansible/pull/42641).
|
||||
- The fix for `CVE-2018-10875 <https://access.redhat.com/security/cve/cve-2018-10875>`__ prints out a warning message about skipping a config file from a world writable current working directory. However, if the user explicitly specifies that the config file should be used via the ANSIBLE_CONFIG environment variable then Ansible would honor that but still print out the warning message. This has been fixed so that Ansible honors the user's explicit wishes and does not print a warning message in that circumstance.
|
||||
- The fix for `CVE-2018-10875 <https://access.redhat.com/security/cve/cve-2018-10875>`__ prints out a warning message about skipping a config file from a world writable current working directory. However, if the user is in a world writable current working directory which does not contain a config file, it should not print a warning message. This release fixes that extaneous warning.
|
||||
- The ssh connection plugin was categorizing all 255 exit statuses as an ssh error but modules can return exit code 255 as well. The connection plugin has now been changed to know that certain instances of exit code 255 are not ssh-related. (https://github.com/ansible/ansible/pull/41716)
|
||||
- allow custom endpoints to be used in the aws_s3 module (https://github.com/ansible/ansible/pull/36832)
|
||||
- allow gathering env exception to work even when injection is off
|
||||
- always correctly template no log for tasks https://github.com/ansible/ansible/issues/43294
|
||||
- ansible-galaxy - properly list all roles in roles_path (https://github.com/ansible/ansible/issues/43010)
|
||||
- authorized_key now have an option for following symlinks, default behaviour (False) can be changed by setting follow True/False
|
||||
- basic.py - catch ValueError in case a FIPS enabled platform raises this exception - https://github.com/ansible/ansible/issues/44447
|
||||
- become runas - changed runas process so it does not create a temporary file on the disk during execution
|
||||
- cloudfront_distribution - replace call to nonexistent method 'validate_distribution_id_from_caller_reference' with 'validate_distribution_from_caller_reference' and set the distribution_id variable to the distribution's 'Id' key.
|
||||
- corrected and clarified 'user' option deprecation in systemd module in favor of 'scope' option.
|
||||
- delegate_to - ensure if we get a non-Task object in _get_delegated_vars, we return early (https://github.com/ansible/ansible/pull/44934)
|
||||
- docker_container: fixing ``working_dir`` idempotency problem (https://github.com/ansible/ansible/pull/42857)
|
||||
- docker_container: makes unit parsing for memory sizes more consistent, and fixes idempotency problem when ``kernel_memory`` is set (see https://github.com/ansible/ansible/pull/16748 and https://github.com/ansible/ansible/issues/42692)
|
||||
- ec2_group - Sanitize the ingress and egress rules before operating on them by flattening any lists within lists describing the target CIDR(s) into a list of strings. Prior to Ansible 2.6 the ec2_group module accepted a list of strings, a list of lists, or a combination of strings and lists within a list. https://github.com/ansible/ansible/pull/45594
|
||||
- ec2_vpc_route_table - check the origin before replacing routes. Routes with the origin 'EnableVgwRoutePropagation' may not be replaced.
|
||||
- elasticsearch_plugin - Improve error messages and show stderr of elasticsearch commands
|
||||
- elb_application_lb - Fix a dangerous behavior of deleting an ELB if state was omitted from the task. Now state defaults to 'present', which is typical throughout AWS modules.
|
||||
- elb_target_group - cast target ports to integers before making API calls after the key 'Targets' is in params.
|
||||
- file module - The touch subcommand had its diff output broken during the 2.6.x development cycle. The patch to fix that broke check mode. This is now fixed (https://github.com/ansible/ansible/issues/42111)
|
||||
- file module - The touch subcommand had its diff output broken during the 2.6.x development cycle. This is now fixed (https://github.com/ansible/ansible/issues/41755)
|
||||
- fix async for the aws_s3 module by adding async support to the action plugin (https://github.com/ansible/ansible/pull/40826)
|
||||
- fix azure storage blob cannot create blob container in non-public azure cloud environment. (https://github.com/ansible/ansible/issues/35223)
|
||||
- fix azure_rm_autoscale module can use dict to identify target (https://github.com/ansible/ansible/pull/45477)
|
||||
- fix decrypting vault files for the aws_s3 module (https://github.com/ansible/ansible/pull/39634)
|
||||
- fix default SSL version for docker modules https://github.com/ansible/ansible/issues/42897
|
||||
- fix for the bundled selectors module (used in the ssh and local connection plugins) when a syscall is restarted after being interrupted by a signal (https://github.com/ansible/ansible/issues/41630)
|
||||
- fix mail module for python 3.7.0 (https://github.com/ansible/ansible/pull/44552)
|
||||
- fix nxos_facts indefinite hang for text based output (https://github.com/ansible/ansible/pull/45845).
|
||||
- fix the enable_snat parameter that is only supposed to be used by an user with the right policies. https://github.com/ansible/ansible/pull/44418
|
||||
- fix the remote tmp folder permissions issue when becoming a non admin user - https://github.com/ansible/ansible/issues/41340, https://github.com/ansible/ansible/issues/42117
|
||||
- fixed typo in config that prevented keys matching
|
||||
- fixes docker_container check and debug mode (https://github.com/ansible/ansible/pull/42380)
|
||||
- flatten filter - use better method of type checking allowing flattening of mutable and non-mutable sequences (https://github.com/ansible/ansible/pull/44331)
|
||||
- gce_net - Fix sorting of allowed ports (https://github.com/ansible/ansible/pull/41567)
|
||||
- get_url - Don't re-download files unnecessarily when force=no (https://github.com/ansible/ansible/issues/45491)
|
||||
- get_url - fix the bug that get_url does not change mode when checksum matches (https://github.com/ansible/ansible/issues/29614)
|
||||
- get_url - support remote checksum files with paths specified with leading dots (`./path/to/file`)
|
||||
- get_url / uri - Use custom rfc2822 date format function instead of locale specific strftime (https://github.com/ansible/ansible/issues/44857)
|
||||
- improved block docs
|
||||
- improves docker_container idempotency (https://github.com/ansible/ansible/pull/44808)
|
||||
- include - Change order of where the new block is inserted with apply so that apply args are not applied to the include also (https://github.com/ansible/ansible/pull/44912)
|
||||
- includes - ensure we do not double register handlers from includes to prevent exception (https://github.com/ansible/ansible/issues/44848)
|
||||
- inventory - When using an inventory directory, ensure extension comparison uses text types (https://github.com/ansible/ansible/pull/42475)
|
||||
- loop - Ensure that a loop with a when condition that evaluates to false and delegate_to, will short circuit if the loop references an undefined variable. This matches the behavior in the same scenario without delegate_to (https://github.com/ansible/ansible/issues/45189)
|
||||
- loop - Ensure we only cache the loop when the task had a loop and delegate_to was templated (https://github.com/ansible/ansible/issues/44874)
|
||||
- made irc module python3 compatible https://github.com/ansible/ansible/issues/42256
|
||||
- nclu - no longer runs net on empty lines in templates (https://github.com/ansible/ansible/pull/43024)
|
||||
- nicer message when we are missing interpreter
|
||||
- password_hash does not hard-code the salt-length, which fixes bcrypt in connection with passlib as bcrypt requires a salt with length 22.
|
||||
- pause - do not set stdout to raw mode when redirecting to a file (https://github.com/ansible/ansible/issues/41717)
|
||||
- pause - nest try except when importing curses to gracefully fail if curses is not present (https://github.com/ansible/ansible/issues/42004)
|
||||
- plugins/inventory/openstack.py - Do not create group with empty name if region is not set
|
||||
- preseve delegation info on nolog https://github.com/ansible/ansible/issues/42344
|
||||
- remove ambiguity when it comes to 'the source'
|
||||
- script inventory plugin - Don't pass file_name to DataLoader.load, which will prevent misleading error messages (https://github.com/ansible/ansible/issues/34164)
|
||||
- urls - Only assume GET method if data is empty, otherwise POST
|
||||
- user - Strip trailing comments in /etc/default/passwd (https://github.com/ansible/ansible/pull/43931)
|
||||
- user - fix bug that resulted in module always reporting a change when specifiying the home directory on FreeBSD (https://github.com/ansible/ansible/issues/42484)
|
||||
- user - use correct attribute name in FreeBSD for creat_home (https://github.com/ansible/ansible/pull/42711)
|
||||
- vars_prompt - properly template play level variables in vars_prompt (https://github.com/ansible/ansible/issues/37984)
|
||||
- vars_prompt with encrypt does not require passlib for the algorithms supported by crypt.
|
||||
- vault - fix error message encoding, and ensure we present a friendlier error when the EDITOR is missing (https://github.com/ansible/ansible/pull/44423)
|
||||
- win_chocolatey - enable TLSv1.2 support when downloading the Chocolatey installer https://github.com/ansible/ansible/issues/41906
|
||||
- win_chocolatey - fix issue where state=downgrade would upgrade a package if no version was set
|
||||
- win_domain - ensure the Netlogon service is up and running after promoting host to controller - https://github.com/ansible/ansible/issues/39235
|
||||
- win_domain - fixes typo in one of the AD cmdlets https://github.com/ansible/ansible/issues/41536
|
||||
- win_domain_computer - fixed deletion of computer active directory object that have dependent objects (https://github.com/ansible/ansible/pull/44500)
|
||||
- win_domain_controller - ensure the Netlogon service is up and running after promoting host to controller - https://github.com/ansible/ansible/issues/39235
|
||||
- win_group_membership - fix intermittent issue where it failed to convert the ADSI object to the .NET object after using it once
|
||||
- win_iis_webapppool - redirect some module output to null so Ansible can read the output JSON https://github.com/ansible/ansible/issues/40874
|
||||
- win_lineinfile - changed `-Path` to `-LiteralPath` so that square brackes in the path are interpreted literally - https://github.com/ansible/ansible/issues/44508
|
||||
- win_psexec - changed code to not escape the command option when building the args - https://github.com/ansible/ansible/issues/43839
|
||||
- win_reboot - fix for handling an already scheduled reboot and other minor log formatting issues
|
||||
- win_reboot - fix issue when overridding connection timeout hung the post reboot uptime check - https://github.com/ansible/ansible/issues/42185 https://github.com/ansible/ansible/issues/42294
|
||||
- win_reboot - handle post reboots when running test_command - https://github.com/ansible/ansible/issues/41713
|
||||
- win_say - fix syntax error in module and get tests working
|
||||
- win_security_policy - allows an empty string to reset a policy value https://github.com/ansible/ansible/issues/40869
|
||||
- win_updates - Fixed issue where running win_updates on async fails without any error
|
||||
- win_updates - fixed module return value is lost in error in some cases (https://github.com/ansible/ansible/pull/42647)
|
||||
- win_uri: Fix support for JSON output when charset is set
|
||||
- win_user - Use LogonUser to validate the password as it does not rely on SMB/RPC to be available https://github.com/ansible/ansible/issues/24884
|
||||
- win_wait_for - fix issue where timeout doesn't wait unless state=drained - https://github.com/ansible/ansible/issues/43446
|
||||
- winrm - ensure pexpect is set to not echo the input on a failure and have a manual sanity check afterwards https://github.com/ansible/ansible/issues/41865
|
||||
- winrm - running async with become on a Server 2008 or 2008 R2 host will now work
|
||||
|
||||
New Plugins
|
||||
-----------
|
||||
|
||||
Callback
|
||||
~~~~~~~~
|
||||
|
||||
- counter_enabled - adds counters to the output items (tasks and hosts/task)
|
||||
- logdna - Sends playbook logs to LogDNA
|
||||
- splunk - Sends task result events to Splunk HTTP Event Collector
|
||||
|
||||
Connection
|
||||
~~~~~~~~~~
|
||||
|
||||
- psrp - Run tasks over Microsoft PowerShell Remoting Protocol
|
||||
|
||||
Inventory
|
||||
~~~~~~~~~
|
||||
|
||||
- tower - Ansible dynamic inventory plugin for Ansible Tower.
|
||||
|
||||
Lookup
|
||||
~~~~~~
|
||||
|
||||
- cpm_metering - Get Power and Current data from WTI OOB/Combo and PDU devices
|
||||
- cpm_status - Get status and parameters from WTI OOB and PDU devices.
|
||||
- grafana_dashboard - list or search grafana dashboards
|
||||
- nios_next_network - Return the next available network range for a network-container
|
||||
|
||||
Strategy
|
||||
~~~~~~~~
|
||||
|
||||
- host_pinned - Executes tasks on each host without interruption
|
||||
|
||||
New Modules
|
||||
-----------
|
||||
|
||||
Cloud
|
||||
~~~~~
|
||||
|
||||
amazon
|
||||
^^^^^^
|
||||
|
||||
- aws_eks_cluster - Manage Elastic Kubernetes Service Clusters
|
||||
- cloudformation_stack_set - Manage groups of CloudFormation stacks
|
||||
- elb_target_facts - Gathers which target groups a target is associated with.
|
||||
- rds_instance - Manage RDS instances
|
||||
|
||||
azure
|
||||
^^^^^
|
||||
|
||||
- azure_rm_appgateway - Manage Application Gateway instance.
|
||||
- azure_rm_appserviceplan - Manage App Service Plan
|
||||
- azure_rm_appserviceplan_facts - Get azure app service plan facts.
|
||||
- azure_rm_autoscale - Manage Azure autoscale setting.
|
||||
- azure_rm_autoscale_facts - Get Azure Auto Scale Setting facts.
|
||||
- azure_rm_containerregistry_facts - Get Azure Container Registry facts.
|
||||
- azure_rm_mysqldatabase_facts - Get Azure MySQL Database facts.
|
||||
- azure_rm_mysqlserver_facts - Get Azure MySQL Server facts.
|
||||
- azure_rm_postgresqldatabase_facts - Get Azure PostgreSQL Database facts.
|
||||
- azure_rm_postgresqlserver_facts - Get Azure PostgreSQL Server facts.
|
||||
- azure_rm_route - Manage Azure route resource.
|
||||
- azure_rm_routetable - Manage Azure route table resource.
|
||||
- azure_rm_routetable_facts - Get route table facts.
|
||||
- azure_rm_sqlfirewallrule - Manage Firewall Rule instance.
|
||||
- azure_rm_trafficmanagerendpoint - Manage Azure Traffic Manager endpoint.
|
||||
- azure_rm_trafficmanagerendpoint_facts - Get Azure Traffic Manager endpoint facts
|
||||
- azure_rm_trafficmanagerprofile - Manage Azure Traffic Manager profile.
|
||||
- azure_rm_trafficmanagerprofile_facts - Get Azure Traffic Manager profile facts
|
||||
- azure_rm_virtualmachine_facts - Get virtual machine facts.
|
||||
- azure_rm_webapp - Manage Web App instance.
|
||||
- azure_rm_webapp_facts - Get azure web app facts.
|
||||
|
||||
cloudstack
|
||||
^^^^^^^^^^
|
||||
|
||||
- cs_disk_offering - Manages disk offerings on Apache CloudStack based clouds.
|
||||
|
||||
docker
|
||||
^^^^^^
|
||||
|
||||
- docker_swarm - Manage Swarm cluster
|
||||
- docker_swarm_service - docker swarm service
|
||||
|
||||
google
|
||||
^^^^^^
|
||||
|
||||
- gcp_compute_address_facts - Gather facts for GCP Address
|
||||
- gcp_compute_backend_bucket_facts - Gather facts for GCP BackendBucket
|
||||
- gcp_compute_backend_service_facts - Gather facts for GCP BackendService
|
||||
- gcp_compute_disk_facts - Gather facts for GCP Disk
|
||||
- gcp_compute_firewall_facts - Gather facts for GCP Firewall
|
||||
- gcp_compute_forwarding_rule_facts - Gather facts for GCP ForwardingRule
|
||||
- gcp_compute_global_address_facts - Gather facts for GCP GlobalAddress
|
||||
- gcp_compute_global_forwarding_rule_facts - Gather facts for GCP GlobalForwardingRule
|
||||
- gcp_compute_health_check_facts - Gather facts for GCP HealthCheck
|
||||
- gcp_compute_http_health_check_facts - Gather facts for GCP HttpHealthCheck
|
||||
- gcp_compute_https_health_check_facts - Gather facts for GCP HttpsHealthCheck
|
||||
- gcp_compute_image_facts - Gather facts for GCP Image
|
||||
- gcp_compute_instance_facts - Gather facts for GCP Instance
|
||||
- gcp_compute_instance_group_facts - Gather facts for GCP InstanceGroup
|
||||
- gcp_compute_instance_group_manager_facts - Gather facts for GCP InstanceGroupManager
|
||||
- gcp_compute_instance_template_facts - Gather facts for GCP InstanceTemplate
|
||||
- gcp_compute_network_facts - Gather facts for GCP Network
|
||||
- gcp_compute_route_facts - Gather facts for GCP Route
|
||||
- gcp_compute_router - Creates a GCP Router
|
||||
- gcp_compute_router_facts - Gather facts for GCP Router
|
||||
- gcp_compute_ssl_certificate_facts - Gather facts for GCP SslCertificate
|
||||
- gcp_compute_ssl_policy - Creates a GCP SslPolicy
|
||||
- gcp_compute_ssl_policy_facts - Gather facts for GCP SslPolicy
|
||||
- gcp_compute_subnetwork_facts - Gather facts for GCP Subnetwork
|
||||
- gcp_compute_target_http_proxy_facts - Gather facts for GCP TargetHttpProxy
|
||||
- gcp_compute_target_https_proxy_facts - Gather facts for GCP TargetHttpsProxy
|
||||
- gcp_compute_target_pool_facts - Gather facts for GCP TargetPool
|
||||
- gcp_compute_target_ssl_proxy_facts - Gather facts for GCP TargetSslProxy
|
||||
- gcp_compute_target_tcp_proxy_facts - Gather facts for GCP TargetTcpProxy
|
||||
- gcp_compute_target_vpn_gateway - Creates a GCP TargetVpnGateway
|
||||
- gcp_compute_target_vpn_gateway_facts - Gather facts for GCP TargetVpnGateway
|
||||
- gcp_compute_url_map_facts - Gather facts for GCP UrlMap
|
||||
- gcp_compute_vpn_tunnel - Creates a GCP VpnTunnel
|
||||
- gcp_compute_vpn_tunnel_facts - Gather facts for GCP VpnTunnel
|
||||
- gcp_spanner_database - Creates a GCP Database
|
||||
- gcp_spanner_instance - Creates a GCP Instance
|
||||
- gcp_sql_database - Creates a GCP Database
|
||||
- gcp_sql_instance - Creates a GCP Instance
|
||||
- gcp_sql_user - Creates a GCP User
|
||||
|
||||
online
|
||||
^^^^^^
|
||||
|
||||
- online_user_facts - Gather facts about Online user.
|
||||
|
||||
openstack
|
||||
^^^^^^^^^
|
||||
|
||||
- os_coe_cluster_template - Add/Remove COE cluster template from OpenStack Cloud
|
||||
- os_listener - Add/Delete a listener for a load balancer from OpenStack Cloud
|
||||
- os_loadbalancer - Add/Delete load balancer from OpenStack Cloud
|
||||
- os_member - Add/Delete a member for a pool in load balancer from OpenStack Cloud
|
||||
- os_pool - Add/Delete a pool in the load balancing service from OpenStack Cloud
|
||||
|
||||
scaleway
|
||||
^^^^^^^^
|
||||
|
||||
- scaleway_image_facts - Gather facts about the Scaleway images available.
|
||||
- scaleway_ip_facts - Gather facts about the Scaleway ips available.
|
||||
- scaleway_organization_facts - Gather facts about the Scaleway organizations available.
|
||||
- scaleway_security_group_facts - Gather facts about the Scaleway security groups available.
|
||||
- scaleway_server_facts - Gather facts about the Scaleway servers available.
|
||||
- scaleway_snapshot_facts - Gather facts about the Scaleway snapshots available.
|
||||
- scaleway_volume - Scaleway volumes management module
|
||||
- scaleway_volume_facts - Gather facts about the Scaleway volumes available.
|
||||
|
||||
vmware
|
||||
^^^^^^
|
||||
|
||||
- vmware_about_facts - Provides information about VMware server to which user is connecting to
|
||||
- vmware_category - Manage VMware categories
|
||||
- vmware_category_facts - Gather facts about VMware tag categories
|
||||
- vmware_deploy_ovf - Deploys a VMware virtual machine from an OVF or OVA file
|
||||
- vmware_guest_boot_facts - Gather facts about boot options for the given virtual machine
|
||||
- vmware_guest_boot_manager - Manage boot options for the given virtual machine
|
||||
- vmware_guest_custom_attribute_defs - Manage custom attributes definitions for virtual machine from VMWare
|
||||
- vmware_guest_custom_attributes - Manage custom attributes from VMWare for the given virtual machine
|
||||
- vmware_guest_move - Moves virtual machines in vCenter
|
||||
- vmware_host_ntp_facts - Gathers facts about NTP configuration on an ESXi host
|
||||
- vmware_host_ssl_facts - Gather facts of ESXi host system about SSL
|
||||
- vmware_local_role_facts - Gather facts about local roles on an ESXi host
|
||||
|
||||
vultr
|
||||
^^^^^
|
||||
|
||||
- vultr_block_storage - Manages block storage volumes on Vultr.
|
||||
- vultr_block_storage_facts - Gather facts about the Vultr block storage volumes available.
|
||||
- vultr_dns_domain_facts - Gather facts about the Vultr DNS domains available.
|
||||
- vultr_firewall_group_facts - Gather facts about the Vultr firewall groups available.
|
||||
- vultr_network - Manages networks on Vultr.
|
||||
- vultr_network_facts - Gather facts about the Vultr networks available.
|
||||
- vultr_os_facts - Gather facts about the Vultr OSes available.
|
||||
- vultr_plan_facts - Gather facts about the Vultr plans available.
|
||||
- vultr_region_facts - Gather facts about the Vultr regions available.
|
||||
- vultr_server_facts - Gather facts about the Vultr servers available.
|
||||
- vultr_ssh_key_facts - Gather facts about the Vultr SSH keys available.
|
||||
- vultr_startup_script_facts - Gather facts about the Vultr startup scripts available.
|
||||
- vultr_user_facts - Gather facts about the Vultr user available.
|
||||
|
||||
Clustering
|
||||
~~~~~~~~~~
|
||||
|
||||
k8s
|
||||
^^^
|
||||
|
||||
- k8s_facts - Describe Kubernetes (K8s) objects
|
||||
|
||||
Crypto
|
||||
~~~~~~
|
||||
|
||||
- certificate_complete_chain - Complete certificate chain given a set of untrusted and root certificates
|
||||
- openssl_pkcs12 - Generate OpenSSL PKCS#12 archive.
|
||||
|
||||
acme
|
||||
^^^^
|
||||
|
||||
- acme_account_facts - Retrieves information on ACME accounts
|
||||
- acme_certificate_revoke - Revoke certificates with the ACME protocol
|
||||
- acme_challenge_cert_helper - Prepare certificates required for ACME challenges such as C(tls-alpn-01)
|
||||
|
||||
Identity
|
||||
~~~~~~~~
|
||||
|
||||
- onepassword_facts - Fetch facts from 1Password items
|
||||
|
||||
ipa
|
||||
^^^
|
||||
|
||||
- ipa_config - Manage Global FreeIPA Configuration Settings
|
||||
- ipa_vault - Manage FreeIPA vaults
|
||||
|
||||
Monitoring
|
||||
~~~~~~~~~~
|
||||
|
||||
zabbix
|
||||
^^^^^^
|
||||
|
||||
- zabbix_host_facts - Gather facts about Zabbix host
|
||||
|
||||
Net Tools
|
||||
~~~~~~~~~
|
||||
|
||||
- netcup_dns - manage Netcup DNS records
|
||||
|
||||
nios
|
||||
^^^^
|
||||
|
||||
- nios_a_record - Configure Infoblox NIOS A records
|
||||
- nios_cname_record - Configure Infoblox NIOS CNAME records
|
||||
- nios_mx_record - Configure Infoblox NIOS MX records
|
||||
- nios_naptr_record - Configure Infoblox NIOS NAPTR records
|
||||
- nios_ptr_record - Configure Infoblox NIOS PTR records
|
||||
- nios_srv_record - Configure Infoblox NIOS SRV records
|
||||
- nios_txt_record - Configure Infoblox NIOS txt records
|
||||
|
||||
Network
|
||||
~~~~~~~
|
||||
|
||||
aci
|
||||
^^^
|
||||
|
||||
- aci_interface_policy_ospf - Manage OSPF interface policies (ospf:IfPol)
|
||||
|
||||
cli
|
||||
^^^
|
||||
|
||||
- cli_command - Run a cli command on cli-based network devices
|
||||
- cli_config - Push text based configuration to network devices over network_cli
|
||||
|
||||
exos
|
||||
^^^^
|
||||
|
||||
- exos_config - Manage Extreme Networks EXOS configuration sections
|
||||
- exos_facts - Collect facts from devices running Extreme EXOS
|
||||
|
||||
f5
|
||||
^^
|
||||
|
||||
- bigip_appsvcs_extension - Manage application service deployments
|
||||
- bigip_cli_alias - Manage CLI aliases on a BIG-IP
|
||||
- bigip_cli_script - Manage CLI scripts on a BIG-IP
|
||||
- bigip_device_auth - Manage system authentication on a BIG-IP
|
||||
- bigip_device_facts - Collect facts from F5 BIG-IP devices
|
||||
- bigip_firewall_dos_profile - Manage AFM DoS profiles on a BIG-IP
|
||||
- bigip_firewall_policy - Manage AFM security firewall policies on a BIG-IP
|
||||
- bigip_firewall_rule - Manage AFM Firewall rules
|
||||
- bigip_firewall_rule_list - Manage AFM security firewall policies on a BIG-IP
|
||||
- bigip_monitor_dns - Manage DNS monitors on a BIG-IP
|
||||
- bigip_profile_http - Manage HTTP profiles on a BIG-IP
|
||||
- bigip_profile_http_compression - Manage HTTP compression profiles on a BIG-IP
|
||||
- bigip_profile_oneconnect - Manage OneConnect profiles on a BIG-IP
|
||||
- bigip_profile_persistence_src_addr - Manage source address persistence profiles
|
||||
- bigip_remote_role - Manage remote roles on a BIG-IP
|
||||
- bigip_software_image - Manage software images on a BIG-IP
|
||||
- bigip_software_install - Install software images on a BIG-IP
|
||||
- bigip_tunnel - Manage tunnels on a BIG-IP
|
||||
- bigiq_utility_license_assignment - Manage utility license assignment on BIG-IPs from a BIG-IQ
|
||||
|
||||
fortimanager
|
||||
^^^^^^^^^^^^
|
||||
|
||||
- fmgr_provisioning - Provision devices via FortiMananger
|
||||
|
||||
ftd
|
||||
^^^
|
||||
|
||||
- ftd_configuration - Manages configuration on Cisco FTD devices over REST API
|
||||
- ftd_file_download - Downloads files from Cisco FTD devices over HTTP(S)
|
||||
- ftd_file_upload - Uploads files to Cisco FTD devices over HTTP(S)
|
||||
|
||||
meraki
|
||||
^^^^^^
|
||||
|
||||
- meraki_config_template - Manage configuration templates in the Meraki cloud
|
||||
- meraki_device - Manage devices in the Meraki cloud
|
||||
- meraki_mr_l3_firewall - Manage MR access point layer 3 firewalls in the Meraki cloud
|
||||
- meraki_mx_l3_firewall - Manage MX appliance layer 3 firewalls in the Meraki cloud
|
||||
- meraki_ssid - Manage wireless SSIDs in the Meraki cloud
|
||||
- meraki_switchport - Manage switchports on a switch in the Meraki cloud
|
||||
- meraki_vlan - Manage VLANs in the Meraki cloud
|
||||
|
||||
nos
|
||||
^^^
|
||||
|
||||
- nos_command - Run commands on remote devices running Extreme Networks NOS
|
||||
- nos_config - Manage Extreme Networks NOS configuration sections
|
||||
- nos_facts - Collect facts from devices running Extreme NOS
|
||||
|
||||
nxos
|
||||
^^^^
|
||||
|
||||
- nxos_rpm - Install patch or feature rpms on Cisco NX-OS devices.
|
||||
|
||||
onyx
|
||||
^^^^
|
||||
|
||||
- onyx_igmp - Configures IGMP globl parameters
|
||||
|
||||
opx
|
||||
^^^
|
||||
|
||||
- opx_cps - CPS operations on networking device running Openswitch (OPX)
|
||||
|
||||
panos
|
||||
^^^^^
|
||||
|
||||
- panos_set - Execute arbitrary commands on a PAN-OS device using XPath and element
|
||||
|
||||
routeros
|
||||
^^^^^^^^
|
||||
|
||||
- routeros_command - Run commands on remote devices running MikroTik RouterOS
|
||||
|
||||
slxos
|
||||
^^^^^
|
||||
|
||||
- slxos_lldp - Manage LLDP configuration on Extreme Networks SLX-OS network devices.
|
||||
|
||||
voss
|
||||
^^^^
|
||||
|
||||
- voss_command - Run commands on remote devices running Extreme VOSS
|
||||
- voss_facts - Collect facts from remote devices running Extreme VOSS
|
||||
|
||||
Remote Management
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
cobbler
|
||||
^^^^^^^
|
||||
|
||||
- cobbler_sync - Sync Cobbler
|
||||
- cobbler_system - Manage system objects in Cobbler
|
||||
|
||||
cpm
|
||||
^^^
|
||||
|
||||
- cpm_user - Get various status and parameters from WTI OOB and PDU devices
|
||||
|
||||
redfish
|
||||
^^^^^^^
|
||||
|
||||
- redfish_command - Manages Out-Of-Band controllers using Redfish APIs
|
||||
- redfish_config - Manages Out-Of-Band controllers using Redfish APIs
|
||||
- redfish_facts - Manages Out-Of-Band controllers using Redfish APIs
|
||||
|
||||
ucs
|
||||
^^^
|
||||
|
||||
- ucs_ntp_server - Configures NTP server on Cisco UCS Manager
|
||||
- ucs_storage_profile - Configures storage profiles on Cisco UCS Manager
|
||||
- ucs_timezone - Configures timezone on Cisco UCS Manager
|
||||
- ucs_uuid_pool - Configures server UUID pools on Cisco UCS Manager
|
||||
|
||||
Storage
|
||||
~~~~~~~
|
||||
|
||||
emc
|
||||
^^^
|
||||
|
||||
- emc_vnx_sg_member - Manage storage group member on EMC VNX
|
||||
|
||||
ibm
|
||||
^^^
|
||||
|
||||
- ibm_sa_host - Adds hosts to or removes them from IBM Spectrum Accelerate storage systems.
|
||||
- ibm_sa_pool - Handles pools on an IBM Spectrum Accelerate storage array.
|
||||
- ibm_sa_vol - Handle volumes on an IBM Spectrum Accelerate storage array
|
||||
|
||||
netapp
|
||||
^^^^^^
|
||||
|
||||
- na_elementsw_access_group - NetApp Element Software Manage Access Groups
|
||||
- na_elementsw_account - NetApp Element Software Manage Accounts
|
||||
- na_elementsw_admin_users - NetApp Element Software Manage Admin Users
|
||||
- na_elementsw_backup - NetApp Element Software Create Backups
|
||||
- na_elementsw_check_connections - NetApp Element Software Check connectivity to MVIP and SVIP.
|
||||
- na_elementsw_cluster - NetApp Element Software Create Cluster
|
||||
- na_elementsw_cluster_pair - NetApp Element Software Manage Cluster Pair
|
||||
- na_elementsw_drive - NetApp Element Software Manage Node Drives
|
||||
- na_elementsw_ldap - NetApp Element Software Manage ldap admin users
|
||||
- na_elementsw_network_interfaces - NetApp Element Software Configure Node Network Interfaces
|
||||
- na_elementsw_node - NetApp Element Software Node Operation
|
||||
- na_elementsw_snapshot - NetApp Element Software Manage Snapshots
|
||||
- na_elementsw_snapshot_restore - NetApp Element Software Restore Snapshot
|
||||
- na_elementsw_snapshot_schedule - NetApp Element Software Snapshot Schedules
|
||||
- na_elementsw_vlan - NetApp Element Software Manage VLAN
|
||||
- na_elementsw_volume - NetApp Element Software Manage Volumes
|
||||
- na_elementsw_volume_clone - NetApp Element Software Create Volume Clone
|
||||
- na_elementsw_volume_pair - NetApp Element Software Volume Pair
|
||||
- na_ontap_autosupport - NetApp ONTAP manage Autosupport
|
||||
- na_ontap_cg_snapshot - NetApp ONTAP manage consistency group snapshot
|
||||
- na_ontap_cluster_peer - NetApp ONTAP Manage Cluster peering
|
||||
- na_ontap_command - NetApp ONTAP Run any cli command
|
||||
- na_ontap_disks - NetApp ONTAP Assign disks to nodes
|
||||
- na_ontap_dns - NetApp ONTAP Create, delete, modify DNS servers.
|
||||
- na_ontap_fcp - NetApp ONTAP Start, Stop and Enable FCP services.
|
||||
- na_ontap_firewall_policy - NetApp ONTAP Manage a firewall policy
|
||||
- na_ontap_gather_facts - NetApp information gatherer
|
||||
- na_ontap_motd - Setup motd on cDOT
|
||||
- na_ontap_node - NetApp ONTAP Rename a node.
|
||||
- na_ontap_snapmirror - NetApp ONTAP Manage SnapMirror
|
||||
- na_ontap_software_update - NetApp ONTAP Update Software
|
||||
- na_ontap_svm_options - NetApp ONTAP Modify SVM Options
|
||||
- na_ontap_vserver_peer - NetApp ONTAP Vserver peering
|
||||
- netapp_e_alerts - NetApp E-Series manage email notification settings
|
||||
- netapp_e_asup - NetApp E-Series manage auto-support settings
|
||||
- netapp_e_auditlog - NetApp E-Series manage audit-log configuration
|
||||
- netapp_e_global - NetApp E-Series manage global settings configuration
|
||||
- netapp_e_iscsi_interface - NetApp E-Series manage iSCSI interface configuration
|
||||
- netapp_e_iscsi_target - NetApp E-Series manage iSCSI target configuration
|
||||
- netapp_e_ldap - NetApp E-Series manage LDAP integration to use for authentication
|
||||
- netapp_e_mgmt_interface - NetApp E-Series management interface configuration
|
||||
- netapp_e_syslog - NetApp E-Series manage syslog settings
|
||||
|
||||
purestorage
|
||||
^^^^^^^^^^^
|
||||
|
||||
- purefb_facts - Collect facts from Pure Storage FlashBlade
|
||||
|
||||
System
|
||||
~~~~~~
|
||||
|
||||
- java_keystore - Create or delete a Java keystore in JKS format.
|
||||
- python_requirements_facts - Show python path and assert dependency versions
|
||||
- reboot - Reboot a machine
|
||||
|
||||
Web Infrastructure
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
ansible_tower
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
- tower_credential_type - Create, update, or destroy custom Ansible Tower credential type.
|
||||
- tower_inventory_source - create, update, or destroy Ansible Tower inventory source.
|
||||
- tower_settings - Modify Ansible Tower settings.
|
||||
- tower_workflow_template - create, update, or destroy Ansible Tower workflow template.
|
||||
|
||||
Windows
|
||||
~~~~~~~
|
||||
|
||||
- win_chocolatey_config - Manages Chocolatey config settings
|
||||
- win_chocolatey_feature - Manages Chocolatey features
|
||||
- win_chocolatey_source - Manages Chocolatey sources
|
||||
- win_wait_for_process - Waits for a process to exist or not exist before continuing.
|
||||
- win_xml - Add XML fragment to an XML parent
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- Document Path and Port are mutually exclusive parameters in wait_for module.
|
||||
5
changelogs/fragments/16748-docker_container-memory.yaml
Normal file
5
changelogs/fragments/16748-docker_container-memory.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
bugfixes:
|
||||
- "docker_container: makes unit parsing for memory sizes more consistent, and
|
||||
fixes idempotency problem when ``kernel_memory`` is set (see
|
||||
https://github.com/ansible/ansible/pull/16748 and
|
||||
https://github.com/ansible/ansible/issues/42692)"
|
||||
@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- Fixed role's hash_params behavior to not union (https://github.com/ansible/ansible/issues/20596).
|
||||
@ -1,4 +0,0 @@
|
||||
bugfixes:
|
||||
- TaskQueueManager - Ensure ``has_dead_workers`` can function, by using the
|
||||
correct reference, and only allow an exit code of 0.
|
||||
(https://github.com/ansible/ansible/issues/29124)
|
||||
@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- rabbitmq_policy - Add full check for rabbit policy changes (https://github.com/ansible/ansible/issues/29264)
|
||||
@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- add purge_tags parameter to s3_bucket to allow preservation of existing tags when updating tags.
|
||||
@ -1,3 +0,0 @@
|
||||
bugfixes:
|
||||
- uri - Handle multiple Content-Type headers correctly
|
||||
(https://github.com/ansible/ansible/pull/31238)
|
||||
2
changelogs/fragments/32738-native-jinja-types.yaml
Normal file
2
changelogs/fragments/32738-native-jinja-types.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
major_changes:
|
||||
- Allow config to enable native jinja types (https://github.com/ansible/ansible/pull/32738)
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Rewrite get_resource_pool method for correct resource_pool selection.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "Allow arbitrary ``log_driver`` for docker_container (https://github.com/ansible/ansible/pull/33579)."
|
||||
@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- getent - add service parameter to getent to lookup specified service
|
||||
2
changelogs/fragments/34863-rabbitmq_user_unpack_fix.yaml
Normal file
2
changelogs/fragments/34863-rabbitmq_user_unpack_fix.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Ignore empty result of rabbitmqctl list_user_permissions.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Only delete host key from redis in-memory cache if present.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Refactor virtual machine disk logic.
|
||||
@ -1,3 +0,0 @@
|
||||
---
|
||||
bugfixes:
|
||||
- "os_quota - fix failure to set compute or network quota when volume service is not available"
|
||||
2
changelogs/fragments/42042-inventory_with_no_region.yaml
Normal file
2
changelogs/fragments/42042-inventory_with_no_region.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- plugins/inventory/openstack.py - Do not create group with empty name if region is not set
|
||||
8
changelogs/fragments/42170-acme-backend-selection.yaml
Normal file
8
changelogs/fragments/42170-acme-backend-selection.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
minor_changes:
|
||||
- "The acme_account and acme_certificate modules now support two backends:
|
||||
the Python cryptograpy module or the OpenSSL binary. By default, the
|
||||
modules detect if a new enough cryptography module is available and
|
||||
use it, with the OpenSSL binary being a fallback. If the detection
|
||||
fails for some reason, the OpenSSL binary backend can be explicitly
|
||||
selected by setting select_crypto_backend to openssl."
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "nmcli - fix syntax of vlan modification command (https://github.com/ansible/ansible/issues/42322)"
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "fixes docker_container check and debug mode (https://github.com/ansible/ansible/pull/42380)"
|
||||
3
changelogs/fragments/42456-consul_kv-lookup.yaml
Normal file
3
changelogs/fragments/42456-consul_kv-lookup.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
minor_changes:
|
||||
- added capability to set the scheme for the consul_kv lookup.
|
||||
- added optional certificate and certificate verification for consul_kv lookups
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "The docker_* modules respect the DOCKER_* environment variables again (https://github.com/ansible/ansible/pull/42641)."
|
||||
2
changelogs/fragments/42647-win_updates.yaml
Normal file
2
changelogs/fragments/42647-win_updates.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- win_updates - fixed module return value is lost in error in some cases (https://github.com/ansible/ansible/pull/42647)
|
||||
4
changelogs/fragments/42669-add_ssl_zabbix_inventory.yaml
Normal file
4
changelogs/fragments/42669-add_ssl_zabbix_inventory.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
minor_changes:
|
||||
- Added capability to skip ssl verification
|
||||
on zabbix host with dynamic inventory
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "docker_container: fixing ``working_dir`` idempotency problem (https://github.com/ansible/ansible/pull/42857)"
|
||||
2
changelogs/fragments/43024-nclu-empty-net-commands.yaml
Normal file
2
changelogs/fragments/43024-nclu-empty-net-commands.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- nclu - no longer runs net on empty lines in templates (https://github.com/ansible/ansible/pull/43024)
|
||||
2
changelogs/fragments/43931-strip-trailing-comments.yml
Normal file
2
changelogs/fragments/43931-strip-trailing-comments.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- user - Strip trailing comments in /etc/default/passwd (https://github.com/ansible/ansible/pull/43931)
|
||||
2
changelogs/fragments/43997-docker_network-inspect.yaml
Normal file
2
changelogs/fragments/43997-docker_network-inspect.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "docker_network - fixes idempotency issues (https://github.com/ansible/ansible/issues/33045) and name substring issue (https://github.com/ansible/ansible/issues/32926)."
|
||||
@ -0,0 +1,4 @@
|
||||
---
|
||||
bugfixes:
|
||||
- "ini_file: Options within no sections aren't included, deleted or modified. These are just unmanged. This pull request solves this.
|
||||
(see https://github.com/ansible/ansible/pull/44324)"
|
||||
2
changelogs/fragments/44500-win_domain_computer.yaml
Normal file
2
changelogs/fragments/44500-win_domain_computer.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- win_domain_computer - fixed deletion of computer active directory object that have dependent objects (https://github.com/ansible/ansible/pull/44500)
|
||||
2
changelogs/fragments/44508-win_lineinfile.yaml
Normal file
2
changelogs/fragments/44508-win_lineinfile.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- win_lineinfile - changed `-Path` to `-LiteralPath` so that square brackes in the path are interpreted literally - https://github.com/ansible/ansible/issues/44508
|
||||
2
changelogs/fragments/44552-mail-py370-compat.yml
Normal file
2
changelogs/fragments/44552-mail-py370-compat.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- fix mail module for python 3.7.0 (https://github.com/ansible/ansible/pull/44552)
|
||||
@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- dnsmadeeasy - force the date to be rendered with C (POSIX system default) locale as English short date names are required by API
|
||||
10
changelogs/fragments/44755-win_nssm_fixes.yaml
Normal file
10
changelogs/fragments/44755-win_nssm_fixes.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
bugfixes:
|
||||
- win_nssm - Fix several issues and idempotency problems (https://github.com/ansible/ansible/pull/44755)
|
||||
- win_nssm - Fix service not started when ``state=started`` (https://github.com/ansible/ansible/issues/35442)
|
||||
- win_nssm - Correctly escape argument line when a parameter contains spaces, quotes or backslashes
|
||||
- win_nssm - Add missing space between parameters with ``app_parameters``
|
||||
- win_nssm - Fix extra space added in argument line with ``app_parameters`` or ``app_parameters_free_form`` when a parameter start by a dash and is followed by a period (https://github.com/ansible/ansible/issues/44079)
|
||||
- win_nssm - Fix error when several services were given to the ``dependencies`` option
|
||||
|
||||
minor_changes:
|
||||
- win_nssm - Drop support of literal YAML dictionnary for ``app_parameters`` option. Use the ``key=value;`` string form instead
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "improves docker_container idempotency (https://github.com/ansible/ansible/pull/44808)"
|
||||
@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- xml - Introduce ``insertbefore`` and ``insertafter`` to specify the position (https://github.com/ansible/ansible/pull/44811)
|
||||
2
changelogs/fragments/44988-acme-post-as-get.yaml
Normal file
2
changelogs/fragments/44988-acme-post-as-get.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "ACME modules support `POST-as-GET <https://community.letsencrypt.org/t/acme-v2-scheduled-deprecation-of-unauthenticated-resource-gets/74380>`__ and will be able to access Let's Encrypt ACME v2 endpoint after November 1st, 2019."
|
||||
2
changelogs/fragments/45151-fix-os-exception.yaml
Normal file
2
changelogs/fragments/45151-fix-os-exception.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- replace renamed exceptions in multiple openstack modules
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- vmware - honor "wait_for_ip_address" when powering on a VM
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Fix iterator to list conversion in ldap_entry module.
|
||||
2
changelogs/fragments/45501-get_url-better_checksums.yaml
Normal file
2
changelogs/fragments/45501-get_url-better_checksums.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- get_url - support remote checksum files with paths specified with leading dots (`./path/to/file`)
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- docker_service - correctly parse string values for the `scale` parameter https://github.com/ansible/ansible/pull/45508
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Fix the quoting of vhost and other names in rabbitmq_binding
|
||||
2
changelogs/fragments/45628-fetch_url-error-headers.yaml
Normal file
2
changelogs/fragments/45628-fetch_url-error-headers.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "fetch_url did not always return lower-case header names in case of HTTP errors (https://github.com/ansible/ansible/pull/45628)."
|
||||
@ -1,2 +0,0 @@
|
||||
bugfixes:
|
||||
- cowsay - Fix issue with an empty cow_whitelist (https://github.com/ansible/ansible/issues/45631)
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "Don't parse parameters and options when ``state`` is ``absent`` (https://github.com/ansible/ansible/pull/45700)."
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "Fix issue with HTTP redirects with redfish_facts module (https://github.com/ansible/ansible/pull/45704)"
|
||||
3
changelogs/fragments/45712-45753-vultr-timeout.yml
Normal file
3
changelogs/fragments/45712-45753-vultr-timeout.yml
Normal file
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- Vultr - fix for unreliable API behaviors resulting in timeouts (https://github.com/ansible/ansible/pull/45712/).
|
||||
- vultr_server - fix diff for user data (https://github.com/ansible/ansible/pull/45753/).
|
||||
@ -0,0 +1,4 @@
|
||||
bugfixes:
|
||||
- "Fixed: Appropriate code to expand value was missing so assigning SSL
|
||||
certificate is not working as described in the documentation.
|
||||
https://github.com/ansible/ansible/pull/45830"
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "os_router - ``enable_snat: no`` was ignored."
|
||||
2
changelogs/fragments/46044-puppet-puppet6-fix.yaml
Normal file
2
changelogs/fragments/46044-puppet-puppet6-fix.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- Puppet module remove ``--ignorecache`` to allow Puppet 6 support
|
||||
2
changelogs/fragments/46049-route53-caa-ordering.txt
Normal file
2
changelogs/fragments/46049-route53-caa-ordering.txt
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "route53 - fix CAA record ordering for idempotency."
|
||||
3
changelogs/fragments/46115-46035-cs_instance-fixes.yml
Normal file
3
changelogs/fragments/46115-46035-cs_instance-fixes.yml
Normal file
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- cs_instance - Fix host migration without volume (https://github.com/ansible/ansible/pull/46115).
|
||||
- cs_instance - Fix docs and typo in examples (https://github.com/ansible/ansible/pull/46035).
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "Provides flexibility when retrieving redfish facts by not assuming that certains keys exist. Checks first if key exists before attempting to read from it."
|
||||
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- In systemd module, allow scope to default to 'system'
|
||||
- In systemd module, fix check if a systemd+initd service is enabled - disabled in systemd means disabled
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "docker_container - the behavior is improved in case ``image`` is not specified, but needed for (re-)creating the container."
|
||||
@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- vmware_cluster_facts now supports tag facts (https://github.com/ansible/ansible/issues/46458).
|
||||
@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- vmware_host_facts now supports tag facts (https://github.com/ansible/ansible/issues/46461).
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "zabbix_host - module was failing when zabbix host was updated with new interface and template depending on that interface at the same time"
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "docker_container - ``publish_ports: all`` was not used correctly when checking idempotency."
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "docker_container - fix idempotency check for published_ports in some special cases."
|
||||
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- Parsing plugin filter may raise TypeError, gracefully handle this exception and let user know about the syntax error in plugin filter file.
|
||||
2
changelogs/fragments/46665-plugin_filter_doc_fix.yaml
Normal file
2
changelogs/fragments/46665-plugin_filter_doc_fix.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- Update plugin filter documentation.
|
||||
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- Fix documentation for cloning template.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- templar - Do not strip new lines in native jinja - https://github.com/ansible/ansible/issues/46743
|
||||
@ -0,0 +1,3 @@
|
||||
---
|
||||
bugfixes:
|
||||
- Only access EC2 volume tags when set
|
||||
2
changelogs/fragments/46961_fix_aws_ec2_cache.yaml
Normal file
2
changelogs/fragments/46961_fix_aws_ec2_cache.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- aws_ec2 - fixed issue where cache did not contain the computed groups
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- assert - add 'success_msg' to valid args (https://github.com/ansible/ansible/pull/47030)
|
||||
2
changelogs/fragments/47046-docker-versions.yaml
Normal file
2
changelogs/fragments/47046-docker-versions.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "The docker_* modules more uniformly check versions of docker-py/docker and (if necessary) the docker API."
|
||||
2
changelogs/fragments/47096-junos-terminal-regex-fix.yml
Normal file
2
changelogs/fragments/47096-junos-terminal-regex-fix.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- junos - fix terminal prompt regex (https://github.com/ansible/ansible/pull/47096)
|
||||
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- yum/dnf - fail when space separated string of names (https://github.com/ansible/ansible/pull/47109)
|
||||
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- Scenario guide for VMware HTTP API usage.
|
||||
4
changelogs/fragments/47133-pamd_use_module_tmpdir.yml
Normal file
4
changelogs/fragments/47133-pamd_use_module_tmpdir.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
bugfixes:
|
||||
- "pamd: use module.tmpdir for NamedTemporaryFile()
|
||||
(see https://github.com/ansible/ansible/pull/47133 and https://github.com/ansible/ansible/issues/36954)"
|
||||
2
changelogs/fragments/47198-fix-setuptools-distutils.yaml
Normal file
2
changelogs/fragments/47198-fix-setuptools-distutils.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "pip module - fix setuptools/distutils replacement (https://github.com/ansible/ansible/issues/47198)"
|
||||
@ -0,0 +1,5 @@
|
||||
---
|
||||
bugfixes:
|
||||
- "pamd: add delete=False to NamedTemporaryFile() fixes OSError on module completion, and
|
||||
removes print statement from module code.
|
||||
(see https://github.com/ansible/ansible/pull/47281 and https://github.com/ansible/ansible/issues/47080)"
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "docker_container - fix ``memory_swappiness`` documentation."
|
||||
3
changelogs/fragments/47300-ios-check_rc.yaml
Normal file
3
changelogs/fragments/47300-ios-check_rc.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
bugfixes:
|
||||
- Fix issue getting output from failed ios commands when ``check_rc=False``
|
||||
2
changelogs/fragments/47307-handler-include-task.yml
Normal file
2
changelogs/fragments/47307-handler-include-task.yml
Normal file
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "handlers - fix crash when handler task include tasks"
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Avoid misleading PyVmomi error if requests import fails in vmware module utils.
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "docker_container - fail if ``ipv4_address`` or ``ipv6_address`` is used with a too old docker-py version."
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user