Toshio Kuratomi
28b86b1148
**Temporary**
...
The copy module has been failing since we changed the default of the
file module's follow parameter. Make this change to try to get tests
working and then we'll diagnose and fix this afterwards.
2017-11-06 07:56:01 -08:00
Strahinja Kustudic
769881198f
Sets sane defaults for follow in file modules ( #31430 )
...
* Sets sane defaults for follow in file modules
* Add a note in replace for removal of `follow` option
2017-11-03 17:13:58 -07:00
Dag Wieers
babc2354a5
lineinfile: pylint fixes and docs ( #30854 )
...
This PR includes;
- pylint fixes
- Documentation updates
2017-10-30 00:55:14 +01:00
Dag Wieers
2f8c88b687
file: pylint fixes and docs ( #30849 )
...
This PR includes;
- pylint fixes
- Documentation updates
2017-10-30 00:53:44 +01:00
Dag Wieers
a6415f9ad9
copy: pylint and docs ( #30847 )
...
This PR includes;
- pylint fixes
- Documentation updates
2017-10-30 00:52:45 +01:00
Dag Wieers
e365085644
acl: pylint fixes and docs ( #30841 )
...
This PR includes;
- pylint fixes
- Documentation updates
2017-10-30 00:52:10 +01:00
Dag Wieers
c46401e41f
tempfile: PEP8 compliancy, pylint and docs ( #30859 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-10-30 00:51:19 +01:00
Dag Wieers
f64a8f58a3
synchronize: PEP8 compliancy, pylint and docs ( #30858 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-10-30 00:49:47 +01:00
Dag Wieers
19c3c7fe44
blockinfile: PEP8 compliancy, pylint and docs ( #30845 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-10-30 00:43:18 +01:00
Dag Wieers
fb18e27d87
assemble: PEP8 compliancy, pylint and docs ( #30844 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-10-30 00:41:47 +01:00
Dag Wieers
0129b96065
archive: PEP8 compliancy, pylint and docs ( #30842 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-10-30 00:39:30 +01:00
otteydw
d2cb676c4c
Add a validate example to blockinfile. ( #32088 )
2017-10-25 15:11:49 +01:00
Colin Nolan
30822e5f91
Corrects examples in the `find` module. ( #31522 )
2017-10-12 09:43:18 +10:00
Toshio Kuratomi
75eed6a51a
Port arg specs from type='str' to type='path'
2017-10-09 21:15:56 -07:00
Dag Wieers
2b0e52b15c
I am officially done with the unarchive module
...
I'll leave it up to someone else to try and talk to a bunch of unhappy people.
Good luck to whoever wants to maintain this !
2017-09-28 10:58:57 +02:00
Dag Wieers
5175bd8ebd
replace: PEP8 compliancy, pylint and docs ( #30856 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-09-25 17:55:45 -04:00
Dag Wieers
989bd1f829
xattr: PEP8 compliancy, pylint and docs ( #30861 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-09-25 12:21:18 -04:00
Dag Wieers
04b5c17578
ini_file: PEP8 compliancy, pylint and docs ( #30851 )
...
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
2017-09-25 11:39:46 -04:00
Dag Wieers
5646d9960f
xml: pylint fixes and docs
...
This PR includes;
- pylint fixes
- Documentation updates
2017-09-25 17:13:26 +02:00
Marko Stanković
85649876d0
Add a note about the limitations of a namespace check
2017-09-16 17:37:12 +02:00
Marko Stanković
16ca412bd7
xml module: Improve error message for missing namespaces
2017-09-16 17:37:12 +02:00
Matt Clay
68aeaa58a8
Fix dangerous default args. ( #29839 )
2017-09-12 00:11:13 -07:00
Anton Baklanov
fcad4f38b4
Fixes #26793 : convert insert regex to_bytes before searching
2017-09-09 12:49:00 -07:00
Christopher Torgalson
7138742bcc
Clarifies File module docs re: absent state ( #28748 )
...
- The passage beginning "Note that file will not fail..." was slightly
unclear about the fact that it referred to the behavior of the module
when `state` is set to `absent`.
- Fixes #23203
2017-08-30 16:00:30 +02:00
Dag Wieers
9b31ca8d16
Small cleanup in return values ( #28693 )
2017-08-27 00:25:20 +02:00
Dag Wieers
357119f3b7
xml module: Improve documentation ( #28667 )
...
Missing bits and pieces, clarifications and examples.
This fixes #27951
This fixes #28119
This fixes cmprescott/ansible-xml#59
2017-08-25 23:53:38 +02:00
Dag Wieers
11c9756d9c
xml module: Make user interface much more restricted ( #28657 )
...
So the xml module has a lot of parameters that combined together do
specific things. however it does not really describe which parameters
are required together, or which ones are required.
This PR fixes that situation and makes it impossible to provide
confussing parameters combinations.
Also, `pretty_print` was used as a flag to modify the output, but also
as an action to reformat the file (without other change). This is
problematic the way it was designed. This fixes that too.
This fixes #28194
2017-08-25 15:01:24 +02:00
Nicolas Porcel
ba420c47cd
synchronize: Use private_key and ssh_user with delegate_to ( Fixes #16215 ) ( #21686 )
2017-08-24 21:09:15 -04:00
Dag Wieers
2634ef955a
xml module: Better change detection, improved tests ( #28460 )
...
This PR includes:
- Improvements to change-detection by comparing 2 objectified XML trees
- Implement better integration tests by comparing 2 files using copy
2017-08-25 02:07:58 +02:00
Dag Wieers
7a182fc43e
xml module: Add backup to pretty_print too ( #28604 )
2017-08-24 22:14:17 +02:00
Dag Wieers
967fbcb662
xml module: Add backup support ( #28595 )
...
This fixes #27949
2017-08-24 15:20:59 +02:00
Dag Wieers
d8429a69c5
xml module: Parse and evaluate xpath on input ( #28591 )
...
* xml module: Parse and evaluate xpath on input
This fixes cmprescott/ansible-xml#68
* Update error string
2017-08-24 14:09:26 +02:00
Dag Wieers
26d75144b2
xml module: Implement diff mode ( #28592 )
...
This fixes #27952
2017-08-24 14:05:13 +02:00
Rastislav Barlik
f0a6f1637b
Update xattr.py ( #28458 )
...
Fix wrong default value in documentation
2017-08-22 11:45:41 -04:00
nrwahl2
535ede4d15
Fixes #28444 : Renamed function print_match to match_print due to variable name conflict ( #28445 )
...
* Fixes #28444 : Renamed print_match function to match_print due to name conflict
* Rename `match_print` to `do_print_match`
I think this is less confusing.
2017-08-20 05:28:30 +02:00
Dag Wieers
b9cee65756
Original author wishes not to be notified by ansibot ( #28447 )
...
And moving maintainers to BOTMETA.yml as well.
2017-08-20 03:56:31 +02:00
David Kretch
beed59f303
Fix trailing space in ec2_vol example, fix 'the the' typos ( #28440 )
...
* Fix 'the the' typos, fix 'pahting' filename typo
* Change 'the the' typos to a single 'the'.
* Change `playbook_pahting.rst` to `playbook_pathing.rst`.
* Delete trailing space in ec2_vol example
Delete the trailing space in `instance: "{{ item.id }} "`, which makes the
example fail when run because it looks for instance "i-xxxx ".
2017-08-19 23:00:51 +02:00
Guillaume Coré
ccdea1c3b8
archive: allow ZIP64 by default ( #24200 )
...
allowZip64 is True by default since python 3.4,
see https://docs.python.org/3/library/zipfile.html#zipfile-objects
With python 2.7, when the file or folder to zip is >2G,
zipfile raises LargeZipFile.
This commit set allowZip64 to true.
Fixes #24125
2017-08-18 14:55:40 -04:00
Abhijeet Kasurde
a572de626c
Pep8 fixes for acl module ( #24666 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-08-18 14:31:16 -04:00
Mehran Kholdi
ecfa7f696d
Enforce `state='file'` in `copy` module
...
This was causing wrong behaviour when `prev_state` was `hard`-link,
since the `file` module tried to apply the same `state` on the new
file, causing unexpected errors.
Particularly, both `overlay` and `devicemapper` storage drivers in
docker use hardlinks to share files between layers. This causes
most ansible playbooks to fail when working with files from layers
below.
2017-08-17 18:16:17 -07:00
Toshio Kuratomi
f203ca7907
Update metadata to 1.1
2017-08-15 23:12:08 -07:00
Dag Wieers
f345ba5c38
More maintainers is a good thing, right ?
2017-08-14 23:50:21 +02:00
Evan Kaufman
767be93f77
Replace - Clarified regex docs ( #26727 )
...
* Clarified docs regarding multiline mode and negated character sets
Refs #26712
* Escaped newline
2017-08-14 14:25:08 -07:00
Pierre-Louis Bonicoli
e52096e78a
copy: grammar fix
2017-08-13 08:22:22 -07:00
Pierre-Louis Bonicoli
ed8279cce0
copy: fix YAML documentation format
2017-08-13 08:22:22 -07:00
Pierre-Louis Bonicoli
1f5c908370
copy: state behavior when dest is a nonexisting path
2017-08-13 08:22:22 -07:00
Pierre-Louis Bonicoli
16f2e47559
copy: use formatting options
2017-08-13 08:22:22 -07:00
Pierre-Louis Bonicoli
28eb9466c7
copy: document behavior related to dest creation
2017-08-13 08:22:22 -07:00
Marko Stanković
6e7cf7377b
xml: Add example with namespaces and clarify note ( #28113 )
...
* xml: Add example with namespaces and clarify note
* Correct the line length
2017-08-13 05:04:35 +02:00
T. Miller
93e1caccb7
ini_file: Match tabs before options ( #28102 )
2017-08-12 09:17:25 +02:00