Toshio Kuratomi
ccbac66128
Revert "Make ansible doesn't parse template-like password in user's input ( #42275 )"
...
This reverts commit de40ac02a5
.
Passwords from the cli need to remain bytes on input otherwise we have
encoding problems when users input non-utf8
6 years ago
Brian Coca
a37f27a243
removed note from already removed 1.x api comment
...
fixes #39888
6 years ago
Jerry Chong
42f44b24c6
Fix NameError in pause module ( #42038 )
...
* Fix NameError in pause module
* Add comment and changelog
Co-authored-by: Jerry Chong <jchong@netbase.com>
6 years ago
Martin Krizek
cde3a03b32
Remove me from yum maintainers in BOTMETA ( #42631 )
6 years ago
Grzegorz Śliwiński
d6f20952fe
Fix ec2_asg metric* option's version introduction - refs #25168 ( #42626 )
...
Introduced in 404f9260d9
during 2.6, so version_added: 2.5 was incorrect.
6 years ago
Nilashish Chakraborty
fa624eba29
Fixed regex to pick correct items ( #42557 )
6 years ago
Will Thames
42eaa00371
Provide kubernetes definition diffs in check_mode ( #41471 )
...
Move dict_merge from azure_rm_resource module to
module_utils.common.dict_transformations and add tests.
Use dict_merge to provide a fairly realistic, reliable
diff output when k8s-based modules are run in check_mode.
Rename unit tests so that they actually run and reflect
the module_utils they're based on.
6 years ago
hitsumabushi
cf7a42b4f4
allow empty line in src template file ( #42493 )
6 years ago
Jordan Borean
940d4a0e89
win_reboot: fix 2.6 issues and better handle post reboot reboot ( #42330 )
...
* win_reboot: fix 2.6 issues and better handle post reboot reboot
* changed winrm _reset to reset
* Add handler to reset calls when .reset() throws an AnsibleError on older hosts
* Moving back to _reset to get the issue fixed
6 years ago
Toshio Kuratomi
780c8986af
Add boilerplate from __future__ and type declarations
6 years ago
Matt Clay
11d0eb04ce
Temporarily switch RHEL and Windows tests to AWS.
6 years ago
Andreas Calminder
577e66660d
Simple file locking feature ( #42024 )
...
* class for file locking feature
6 years ago
Marcos Alano
2d6bb2500e
Add support for espeak-ng. Closes #42438
6 years ago
Andrew Gaffney
824524c67a
Display task banner before showing file diff ( #42573 )
6 years ago
Matt Clay
8e26a58443
Revert "Temporarily switch RHEL and Windows tests to AWS."
...
This reverts commit c3134ce6e2
.
6 years ago
Matt Clay
2fbc2abf86
Fix openshift integration test requirements.
6 years ago
saidmu
52fe9aaf04
Update intro_inventory.rst
...
<!--- I think a colon is missing-->
+label: docsite_pr
6 years ago
Fabian von Feilitzsch
c0c8766903
Ensure openshift dependency is also installed on test runner ( #42582 )
6 years ago
Abhijeet Kasurde
ef67f580cc
VMware: Add scenario guide for renaming VM ( #42094 )
...
This adds new sceario guide for renaming an existing virtual machine
to new name.
Fixes : #42084
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Deepak Agrawal
8157fa0b01
run ovs tests on centos/rhel ( #42556 )
6 years ago
Matt Martz
8aea8901c3
Add config to fail on invalid task attributes. Fixes #42479
6 years ago
Brian Coca
937e710485
ensure 'text' source assumptions ( #42522 )
...
* ensure 'text' source assumptions
6 years ago
Brian Coca
1c08eb8b27
fix irc module to work with py3 ( #42267 )
...
* fix irc module to work with py3
fixes #42256
6 years ago
Brian Coca
4a7940c562
Ensure string types ( #42362 )
...
* actually enforce string types
* unquote after its text
* fixed incorrect template type
* fixing string showed error in template typing
6 years ago
Nathaniel Case
381263ad99
ios test cleanup pt 2 ( #42570 )
...
* Remove local from ios_config to avoid needing to add provider
* ios_smoke should test all with local to pick up the slack
6 years ago
Kevin Breit
a65d9257fd
Removed any temporary get_net() methods ( #42391 )
...
- Made appropriate changes where needed
6 years ago
Yuwei Zhou
e9bf3c70e6
disk fact should return create_option value ( #42398 )
6 years ago
Yanis Guenane
593f484d77
Fix E324 for vultr modules. ( #42464 )
6 years ago
Matt Clay
528de5b82f
Remove unwanted containers at CI job start.
6 years ago
Toshio Kuratomi
673c55f2ef
Separate some 255 exit codes that are not ssh errors
...
The ssh connection plugin is overzealous in thinking that error code 255
can only come from ssh. Python can return 255 in some circumstances and
error from php does as well.
6 years ago
Toshio Kuratomi
9350a81ae4
Port modules away from __file__
...
* __file__ won't work if we want to invoke modules via -m or if we
figure out how to keep modules from hitting the disk with pipelining.
* module.tmpdir is the new way to place a file where it will be cleaned
automatically.
Change format string to not depend on __file__:
* cloud/amazon/ec2_elb_lb.py
* cloud/amazon/elb_classic_lb.py
Use module.tempdir:
* packaging/os/apt.py
* files/unarchive.py
6 years ago
Dylan Silva
c227a0c8bb
Initial upload of roadmap for 2.7 ( #41845 )
...
* Initial upload of roadmap for 2.7
* Update ROADMAP_2_7.rst
* Uses regular quotes, rather than smart quotes
* Fix broken link
6 years ago
Sam Doran
7b0dea45e9
Update JSON Query filter examples ( #42432 )
...
* Update JSON Query filter examples
Correct syntax on one example
Add more examples of escaping
Change example to show joining list to string
6 years ago
Pilou
72d7a1eb5c
Setup module: use C() formatting function in parameter descriptions, add a task based example ( #42411 )
...
* setup module: use C() in parameters description
* setup module: use a task example
6 years ago
Matt Martz
abb05c98f3
Make sure we are comparing bytes extensions in inventory plugins ( #42475 )
...
* Ensure we are comparing text paths with extensions. Fixes #42118
* Add changelog
6 years ago
Brian Coca
8e1d223301
complete plugin docs ( #42355 )
...
* complete plugin docs
* add missing 'plugin' option
* user and password are now 'correctly' required
* added inventory source example and extension information for user
6 years ago
Brian Coca
b21c7c0232
create default status for when not provided
...
* also updated text to be 'plugin friendly' vs hardcoding modules
(cherry picked from commit 341a0f7b035588557d35fc12164a0f4031c786fe)
6 years ago
Brian Coca
2496fd35fb
added required missing field for common yaml fmt
6 years ago
Matt Martz
50905b980d
Support item label in v2_playbook_on_include ( #42478 )
...
* Support item label in v2_playbook_on_include. Fixes #42301
* test fixes
6 years ago
bpetit
9bd7bd5d46
[docs] Document requirements for `plan_file` option in terraform module ( #42514 )
...
plan_file is required if state: planned is used. This should be mentionned in the documentation.
+label: docsite_pr
6 years ago
Nathaniel Case
399d13d593
Update ios tests ( #42509 )
...
* 192.168.0.1/24 conflicts with management IP
* Images don't have the hostnames we expect
6 years ago
Zhikang Zhang
70e33ef92c
Make ios_vlan identify vlans starting with 9 ( #42247 )
...
* Make ios_vlan identify vlans starting with 9
* Add unit test for vlan id start with 9
6 years ago
Jakub Libosvar
26b0908270
openvswitch_db: Make 'key' parameter optional ( #42110 )
...
The OVSDB schema consists of typed columns. The 'key' parameter is
required only for columns with type of a 'map'. This patch makes 'key'
an optional parameter to allow setting values for other column types
like int.
Fixes #42108
6 years ago
Fabian von Feilitzsch
e9c7b513a1
[k8s] allow user to pass list of resources in to definition parameter ( #42377 )
...
* allow user to pass list of resources in to definition parameter
* Add new validator for list|dict|string
* use string_types instead of string
* state/force information is lost after the first item in the list
* Add tests
* Appease ansibot
6 years ago
Paul Neumann
dfb2b3fdd5
ios_facts: Report space of file systems ( #41850 )
...
* ios_facts: Report file system space
Parse total and free space from dir output. For this, add a hash
filesystems_info containing the keys spacetotal_kb and spacefree_kb.
* ios_facts: Add unit test for file system space reporting
* ios_facts: Add integration test for file system space reporting
6 years ago
Felix Fontein
dbb58b34c3
Version must be quoted (otherwise it is printed as 2.1) ( #42496 )
6 years ago
Dag Wieers
3c35b1dbc5
sefcontext: Improve documentation ( #42416 )
...
* sefcontext: Improve documentation
* Clarify why this module does not apply changes to filesystems
* Fix
* More clarity
6 years ago
Dag Wieers
0fbaf9940f
cobbler_sync: New module to sync Cobbler changes ( #39910 )
...
This module is required if you're using Cobbler for provisioning
systems using Ansible.
6 years ago
Dag Wieers
198b62b906
file: Recover from unexpectedly disappearing files ( #42281 )
6 years ago
Dag Wieers
8eb1e8c0e6
Ensure boolean value 'yes' is shown and add types ( #42361 )
...
And a few small cosmetic changes.
6 years ago