Commit Graph

10650 Commits (2d402ab5ca62abbaf3eeddab478d6f540f2ca017)
 

Author SHA1 Message Date
James Cammarata df877f2e79 Check module_path permissions when creating ssh_wrapper for git
If the module directory is not writable/executable to the current user
(most likely because of a sudo to a non-root user), the ssh_wrapper
will be created in the default location for mkstemp() calls. To facilitate
the deletion of these new files, a new mechanism for cleaning up files
created by the module was also added.

Fixes #7375
11 years ago
Michael DeHaan 3b8a35d65e Merge pull request #7406 from specnazzz/fix-python24
Fix known_hosts.py to work on older versions of python
11 years ago
telsacolton 06963c7826 Make file hardlink error message reasonble
When we hard-link a file, and the link path already exists, give the link path in the error message instead of the source
11 years ago
telsacolton 0d8104b8b7 Give reasonable error when symlink fails
When a symlink fails because the path already exists and force=no, we should output path in the error message instead of source.
11 years ago
James Cammarata 79731ce491 Evaluate changed_when only if task is not skipped
Fixes #7405
11 years ago
James Cammarata 67d8df0e32 During vsphere config check attempt cast before marking values missing
Fixes #7385
11 years ago
Michal Mach 60451c20ab Fix known_hosts.py to work on older versions of python 11 years ago
James Cammarata 7faecd54b0 Merge pull request #7388 from jimi-c/issue_7384_vars_files_include
Pass vars_files on to included playbooks too
11 years ago
James Cammarata 154ef942eb Merge pull request #7404 from jimi-c/issue_7363_docker_names
Make sure the docker data has a "Names" field before using it
11 years ago
James Cammarata e623911df6 Merge branch 'bcoca-file_new_dirs_perms' into devel 11 years ago
James Cammarata a9311a5dcb Merge branch 'file_new_dirs_perms' of https://github.com/bcoca/ansible into bcoca-file_new_dirs_perms 11 years ago
James Cammarata bf405ef7a8 Merge pull request #7400 from etehtsea/patch-1
Fix env splitting in docker module
11 years ago
James Cammarata 56515a38d5 Only chown on atomic move if the uid/gid don't match the src/tmp file
This is a corner case for remote file systems that don't support
chown() and where the source and destination for the atomic_move
are on that remote file system.

Fixes #7372
11 years ago
James Cammarata 02d9c328af Merge branch 'ByteInternet-pass-basedir-to-runner-on-setup' into devel 11 years ago
James Cammarata 525e7339ed Merge branch 'pass-basedir-to-runner-on-setup' of https://github.com/ByteInternet/ansible into ByteInternet-pass-basedir-to-runner-on-setup 11 years ago
James Cammarata 769962f837 Merge pull request #7399 from SirScott/postgresql_user_doc_touchup
postgresql_user module documentation:  Clarify that the encrypted param must also be set.
11 years ago
James Cammarata 4e93b37abc Merge pull request #7393 from jimi-c/issue_7387_role_conditionals
Properly merge role conditionals in with pre-existing conditionals
11 years ago
Konstantin Shabanov ad9225895b Fix env splitting in docker module
ENV variable value could contain '=' (for example mysql://host/db?pool=10)
11 years ago
Scott Sturdivant 726dc1d2e8 Clarify that the encrypted param must also be set.
While the encrypted parameter's documentation clearly states that it needs to
be set, if you are focused on the password parameter's documentation, there's
nothing to draw your attention to the fact that encrypted may also need to be
set.
11 years ago
James Cammarata 85bd6810bb Pass vars_files on to included playbooks too
Fixes #7384
11 years ago
Allard Hoeve c5833f9869 Add missing basedir to Runner in _do_setup_step 11 years ago
James Cammarata 360ffc4dfd Properly merge role conditionals in with pre-existing conditionals
Fixes #7387
11 years ago
James Cammarata 19dbff916f Correctly cast the size_gb value for vpshere disks
Fixes #7385
11 years ago
James Cammarata 187619c7fe Use utils.combine_vars on vars_files data
Fixes #7345
11 years ago
James Cammarata 809b931640 Merge pull request #7382 from jimi-c/issue_7366_synchronize_inventory_dir
Do not base synchronize source on the inventory directory
11 years ago
James Cammarata d75eb03080 Merge pull request #7380 from carsongee/cg/quantum_ip_subnet
Fix missing variable initialization so an unspecified internal_network works
11 years ago
James Cammarata e17afa06ef Merge branch 'marcore-devel' into devel 11 years ago
Carson Gee e6fbd2d8cb Fix missing variable initialization so an unspecified internal_network runs 11 years ago
Marco Re 712f4a631c Update ssh.py
Convert to string to fix runtime error due to string concat in self.common_args += ["-o", "User="+self.user] when ansible_ssh_user is numeric
11 years ago
James Cammarata 41169666b0 Merge pull request #7373 from sivel/issue/7367
Handle ValueError during json.loads of json data from build
11 years ago
Matt Martz 92b77048dc Handle ValueError during json.loads of json data from build 11 years ago
Chris Church d725636469 Correctly initialize combined_cache for hosts if setup is skipped
Fixes #7364
11 years ago
James Cammarata bfc1201ecd Make sure the docker data has a "Names" field before using it
Fixes #7363
11 years ago
James Cammarata 38c2c60849 Do not base synchronize source on the inventory directory
Fixes #7366
11 years ago
James Cammarata ba9ecb6ae6 Merge pull request #7371 from mwarkentin/devel
Retinafy favicon.ico
11 years ago
Michael Warkentin 998c8e438f Retinafy favicon.ico 11 years ago
James Cammarata a6a1e240c6 Merge pull request #7355 from itiut/add-dots-to-valid-path-chars
Add dots to valid path characters
11 years ago
Yuichi TANIKAWA 2b644da4ca Add dots to valid path characters 11 years ago
James Cammarata 3bf890998b Merge pull request #7348 from adamchainz/patch-2
Fix grammar and value errors in cron documentation
11 years ago
James Cammarata fd27afdc0d Adding ansible_shell_type and basic environment construction on it
Previously we assumed the shell on the target systems were 'sh'-
compliant when formatting environment variables preceding command
strings. This patch corrects that by basing the target shell type
on the DEFAULT_EXECUTABLE setting, which can be overridden on a
per-host basis using the inventory variable 'ansible_shell_type'.

Fixes #7352
11 years ago
James Cammarata 62c4a15c73 Merge pull request #7346 from tongpu/devel
Add documentation for required parameter name to quantum_subnet
11 years ago
Michael DeHaan f247b93212 Add the start of a graphviz doc to illustrate variable precedence graphically. 11 years ago
James Cammarata 7c3dbd3cc6 Merge pull request #7350 from discordianfish/remove-ghost-state
Fix: Remove check for Ghost state
11 years ago
Johannes 'fish' Ziemke ea71c0c317 Fix: Remove check for Ghost state
This fixed the just committed change handling non existent Ghost state.
11 years ago
James Cammarata c97dec9d75 Merge pull request #7338 from discordianfish/remove-ghost-state
Remove check for Ghost state
11 years ago
James Cammarata 272db903e5 Adding an integration test for variable precedence 11 years ago
Johannes 'fish' Ziemke b9d9ef511f Remove check for Ghost state
This doesn't exist anymore and causes ansible to throw a KeyError
11 years ago
Adam Chainz 3497582581 Fix grammar and value errors in cron documentation 11 years ago
James Cammarata b78058022d Merge pull request #7342 from herbygillot/rds-params-fix
rds module: Fix undeclared reference to "params" when setting password in modify mode
11 years ago
Lukas Grossar 0aa4cb9a79 Add documentation for required parameter name to quantum_subnet 11 years ago