James Cammarata
30a38f94ce
Create a special class of list FieldAttribute for splitting on commas
...
Which we're use on a case-by-case basis if we find people were actually
using comma-separated strings for list values outside of hosts. Support
for doing so is now deprecated and users should instead use the full
YAML syntax for lists of values.
Fixes #15291
9 years ago
Toshio Kuratomi
fcd6d7010d
Fixup perms dont rely on privileged user named root ( #15482 )
...
* Don't rely on username to check for root privileges
The SSH username isn't a reliable way to check if we've got root privileges on
the remote system (think "toor" on FreeBSD). Because of this check, Ansible
previously tried to use the fallback solutions for granting file access (ACLs,
world-readable files) even on systems where it had root privileges when the
remote username didn't match the literal string "root".
Instead of running checks on the username, just try using `chmod` in any case
and fall back to the previous "non-root" solution when that fails.
* Fail if we are root and changing ownership failed
Since this code is security sensitive we document exactly the expected
permissions of the temporary files once this function has run. That way
if a flaw is found in one end-result we know more precisely what scenarios
are affected and which are not.
9 years ago
Toshio Kuratomi
e893b65a9b
Don't pick up whole commented lines in the urlopen code-smell tests
9 years ago
Chris Houseknecht
2b7f4395d6
Allow to work with latest Azure Python SDK ( #15467 )
...
* Allow to work with latest Azure Python SDK
* Fixed so that errors are sent to stderr
9 years ago
jctanner
76f73dc81f
Change the raw module's detection of environment settings. ( #15535 )
...
The task_vars datastructure always contains an environment key,
so use the _task.environment property to look for a non-empty
list instead.
9 years ago
Chris Houseknecht
a6e83599d6
Merge pull request #15536 from chouseknecht/azure_common
...
Set the name of the user_agent in each mangement client.
9 years ago
chouseknecht
a79e9182e1
Set the name of the user_agent in each mangement client.
9 years ago
Kei Nohguchi
9d5b4fe212
openswitch.py: Use new ops.dc declarative Config(DC) module ( #15489 )
...
Instead of using the old OpenSwitch runconfig, we'll use
Mir's new ops.dc declarative config for the DC interaction
with OpenSwitch. This gives us the clearer separation between
ansible and the OpenSwitch, as well as the performance
improvement done inside the ops.dc module itself.
Squashed the original Mir's change into single commit.
Tested-by: Kei Nohguchi <kei@nohguchi.com>
9 years ago
Brian Coca
a76531ca3a
submodule ref update
9 years ago
Chris Houseknecht
335d76cc3d
Merge pull request #15528 from chouseknecht/azure_inventory
...
Rename azure inventory script and fix bug stopping AD user from worki…
9 years ago
chouseknecht
af5e4abf66
Rename azure inventory script. Fix bug preventing AD user login via environment vars.
9 years ago
Robin Roth
7a4e4c2b02
extend integration test for zypper_repository ( #15387 )
...
* include options refresh and priority introduced in ansible/ansible-modules-extras#1990
* test repo update both based on name and URL
* run on all suse flavors
* test overwriting repos by url or name
9 years ago
James Cammarata
772d659929
Updating CHANGELOG and extras submodule pointer for new kubernetes module
9 years ago
Toshio Kuratomi
de9e70e590
Merge pull request #15490 from robinro/enable-git-tests-depth-version-again
...
Revert "Disable new git tests until a fix for rhel6/7 is merged."
9 years ago
Toshio Kuratomi
bac47f6281
Update submodule refs
9 years ago
Brian Coca
7376405358
updated conditional docs
...
- added missing anchors
- clarified when/with interactions
- added examples for skipping loops on undefined vars
9 years ago
Chris Houseknecht
ba74f5f3e5
Adding docker doc frag ( #15494 )
9 years ago
Brian Coca
a5d79a39d5
Ensure action plugins remove tmp dirs created ( #15501 )
...
fixes #14917
9 years ago
Matt Davis
67e6bd18e4
Merge pull request #15488 from jctanner/AMC-32
...
WARN if the play or the task attempts to pass environment to the raw module
9 years ago
Rene Moser
8340f27302
doc: fix tpyos in changelog
9 years ago
Toshio Kuratomi
eac46a2aae
Add note about world-readable module changes when becoming an unprivileged user
9 years ago
Toshio Kuratomi
ffae10a312
Add ziploader to CHANGELOG
9 years ago
Toshio Kuratomi
6520312a65
Update submodule refs
9 years ago
Brian Coca
b1c3d2aacb
removed unused section regex, corrected group one
9 years ago
Toshio Kuratomi
54524a18fa
Merge pull request #15469 from abadger/ziploader-deux
...
Make ziploader handle python packages as well as python modules
9 years ago
Robin Roth
59bad647b6
Revert "Disable new git tests until a fix for rhel6/7 is merged."
...
This reverts commit 197d3dfe97
.
9 years ago
Toshio Kuratomi
5fc90058e4
Make ziploader handle python packages as well as python modules
9 years ago
James Tanner
095ec760ac
Provide a warning if the play or the task attempts to pass environment to the raw module.
...
Addresses ansible-modules-core/issues/32
9 years ago
ThomasSteinbach
c600ab81ee
Document connection types ( #15155 )
...
* first description of non ssh based connection types
* fixed formatting
9 years ago
Brian Coca
2cb24987e1
removed extra/reformated lines
9 years ago
Brian Coca
bdb46ad0cc
added new transparent vaulted copy feature
9 years ago
James Cammarata
b3aae33fcd
Updating CHANGELOG for some 2.1 features.
9 years ago
Brian Coca
37bf8e990c
added ec2 snaphost facts module to changelog
9 years ago
Toshio Kuratomi
03126f7097
Fix cut and paste error of test code
9 years ago
James Cammarata
f32592f092
Merge pull request #14400 from d3matt/FIX/paramiko_lecture
...
paramiko transport appears to hang if it gets a sudo lecture
9 years ago
Toshio Kuratomi
ee18af48ef
Merge pull request #15385 from bjne/mysql_unix_socket
...
mysql_*: enable mysql connection via unix socket
9 years ago
James Cammarata
a0dea1ac35
Fix var precedence bug introduced in ff9f5d7d
...
Fixes #14067
9 years ago
Toshio Kuratomi
7b5d2d3bec
Make sure that args are interpreted as utf8 on python3
9 years ago
Toshio Kuratomi
197d3dfe97
Disable new git tests until a fix for rhel6/7 is merged.
9 years ago
Toshio Kuratomi
e386a51cf8
Trnasform file name to bytes before opening it to avoid unicode errors if python tries to encode it implicitly
9 years ago
Alexandr Elhovenko
3014f78bb9
Fix typo in FAQ ( #15472 )
9 years ago
Toshio Kuratomi
0a31c24938
Merge pull request #15419 from nitzmahone/module_debug_arg_override
...
add _load_params debug overrides for module args/file passed on cmdline
9 years ago
Toshio Kuratomi
e6577ead30
Fix rst formatting
9 years ago
Toshio Kuratomi
596f6e0894
Update core submodule ref again for another git fix
9 years ago
Toshio Kuratomi
0e63f09d5a
Fix for apt module test failures
9 years ago
Brian Coca
33761efd19
Merge pull request #15417 from bcoca/copy_vaulted
...
Copy vaulted
9 years ago
Toshio Kuratomi
c8cb5e1042
Update submodule refs
9 years ago
Robin Roth
e8b1c4e14a
add test for git with both depth and version arguments ( #15471 )
...
* add test for ansible/ansible-modules-core#3456
combination of options version and depth
* add test of switching to older branch
9 years ago
Matt Davis
822f904aa6
Merge pull request #14813 from mattclay/lxd-plugin
...
Add lxd connection plugin.
9 years ago
James Cammarata
0e2f1b423d
Merge pull request #15455 from chemikadze/devel
...
Fix duplicate host with different uuid created after add_host
9 years ago