| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Reads the directory_mode param as 'raw' type to mirror the same behavior as mode.
This'll cause non-quoted values to be represented as an int, rather than a str.
Covered by 'assert recursive copied directories mode' test.
Fixes #24202
|
|
|
|
| |
copy action plugin only. Fixes #23591 (#24732)
|
|
|
| |
Fixes #19437
|
| |
|
| |
|
|
|
|
| |
Fixes #23501
|
|
|
|
|
| |
These were discovered on python3 with fetch code that fails on errors. Probably could be
provoked with particular sets of arguments to stat as well.
|
|
|
|
|
| |
Makes delegated local rsync work even if ansible_host or ansible_ssh_host is set.
Makes local rsync work when no ssh is installed.
|
|
|
|
|
|
|
|
| |
* fixed RETURN docs for remaining modules
* updated proxymysql_mysql_users 'sample' to yaml dict
* fixed whitespace errors
|
| |
|
|
|
| |
Updated create default value to True to match documentation (and common sense).
|
|
|
|
| |
- md5 fails if the file is not a regular file ( symlink, dir,..)
|
| |
|
|
|
|
|
|
|
|
| |
Recent Python3 versions require open() to specify binary mode if the data is anything other than text.
Python3: Use int() instead of long() in unarchive
Changes long() to int() for CRC values in the unarchive module. Affects unarchiving of zip files. Since CRC values in zipfile are 32 bits the behaviour should be unchanged even in Python 2.
|
| |
|
|
|
|
| |
Makes it possible again to pass more than one argument via ssh_args to the synchronize module.
|
|
|
|
|
|
| |
* added option to toggle off autodevaulting
* fixes per feedbazck
|
|
|
|
|
|
|
|
|
|
| |
(#22573)
* synchronize: Convert cmd to list and fix handling of the copy_links argument
Converting cmd from str to list stops the pain of argument quoting/escaping.
* synchronize: Update imports according to #pullrequestreview-28758614
|
|
|
|
| |
This reverts commit a9c3a452f04df12c24294aba7066c10096d1e0d6.
|
|
|
|
| |
Fixes #22111
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change to the template action plugin make template use the
platform's native newline_sequence for Jinja.
We also added the option `newline_sequence` to change the newline
sequence using by Jinja if you need to use another newline sequence than
the platform default.
This was previously discussed in
https://github.com/ansible/ansible/issues/16255#issuecomment-278289414
And also relates to issue #21128
|
| |
|
|
|
|
|
| |
From 3d09c94faeaa52075055f23744d8b52581c59bb2 Mon Sep 17 00:00:00 2001
Evan Kaufman <evan@digitalflophouse.com>
|
| |
|
|
|
|
|
| |
Add parameters 'after' and 'before' to limit the replacement/remove of
lines to a certain section of the file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes to the metadata format were approved here:
https://github.com/ansible/proposals/issues/54
* Update documentation to the new metadata format
* Changes to metadata-tool to account for new metadata
* Add GPL license header
* Add upgrade subcommand to upgrade metadata version
* Change default metadata to the new format
* Fix exclusion of non-modules from the metadata report
* Fix ansible-doc for new module metadata
* Exclude metadata version from ansible-doc output
* Fix website docs generation for the new metadata
* Update metadata schema in valiate-modules test
* Update the metadata in all modules to the new version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix module doc fields
* More module docs corrections
* More module docs corrections
* More module docs corrections
* More module docs corrections
* correct aliases
* Review comments
* Must quote ':'
* More authors
* Use suboptions:
* restore type: bool
* type should be in the same place
* More tidyups
* authors
* Use suboptions
* revert
* remove duplicate author
* More issues post rebase
|
|
|
| |
* Document synchronize limitations around become and connections
|
|
|
|
|
|
|
|
| |
* Show diff when file: state=link changes the symlink target
* Integration test for symlink target change
* Also check soft link idempotency
|
|
|
|
| |
This fixes #21795
|
|
|
|
|
| |
(#22132)
* Fix #22130 (ini_file crash when destination file don't exists or is empty)
|
|
|
|
| |
This is the original iso_extract module from the ansible-provisioning project.
We are upstreaming all our modules, and this PR is part of that process.
|
|
|
|
|
| |
The usage of type='path' includes the expanduser call itself. This
patch removes its duplicate usage. Related to #12263
|
| |
|
|
|
|
|
| |
otherwise rsync will fail when trying to access a key with spaces:
fatal: [default]: FAILED! => {"changed": false, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --rsh 'ssh -i /home/user/Some Folder/.vagrant/machines/default/libvirt/private_key -S none -o StrictHostKeyChecking=no -o Port=22' --out-format='<<CHANGED>>%i %n%L' \"/etc/issue\" \"vagrant@192.168.121.10:/tmp/issue2\"", "failed": true, "msg": "Warning: Identity file /home/user/Some not accessible: No such file or directory.\nssh: Could not resolve hostname folder/.vagrant/machines/default/libvirt/private_key: No address associated with hostname\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(226) [sender=3.1.2]\n", "rc": 255}
|
| |
|
| |
|
|
|
|
|
|
| |
Removes the usage of the expanduser function because it is
being performed automatically by the type 'path' of the
path option.
|
|
|
|
|
|
| |
Related to #12263, this patch removes the usage of expanduser
in favor of the path 'type' for the module options of src and
dest
|
|
|
|
|
| |
With the addition of the 'path' type, the usage of expanduser
is redundant. This patch removes that extra usage.
|
|
|
|
|
|
|
|
|
| |
* Avoid having module documentation links to itself
A lot of modules use M(own_module) in their documentation causing a link
in the documentation to itself.
* Make note more clear now
|
| |
|
| |
|
|
|
| |
Default value is clearly False, fixed it to correct value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Reminder that lookup(‘file’) can be used
Sometimes the block of text does not easily fit into a playbook, so this acts as a reminder (or a prompt for anyone who hasn't used this before) that the content could be stored in an separate file.
I've also included `backup: yes` as I think this is a good example of where a backup might be needed.
* Correct the not so "smart quotes"
* Update blockinfile.py
Replace – with an an ASCII -
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update validate-modules
* Validates ANSIBLE_METADATA
* Ensures imports happen after documentation vars
* Some pep8 cleanup
* Clean up some left over unneeded code
* Update modules for new module guidelines and validate-modules checks
* Update imports for ec2_vpc_route_table and ec2_vpc_nat_gateway
|
| |
|
|
|
|
|
|
|
|
| |
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
|
| |
|