Commit Graph

3021 Commits (23533b60e3490fde19e344329ae2000a724bcaa6)
 

Author SHA1 Message Date
Michael DeHaan 23533b60e3 update changelog 12 years ago
Michael DeHaan 5e2c2564bc Explicitly execute /bin/sh versus $SHELL because some folks have very incompatible/weird shells. We do not
execute modules through the shell, this is only for basic ops, so should be sufficient.
12 years ago
Michael DeHaan ff787146d1 stray debug 12 years ago
Michael DeHaan 24416b9e49 Remove stray debug message 12 years ago
Michael DeHaan 3257c5b61f Some caching improvements to paramiko which are still not yet fully leveraged
in playbook mode, since the Runner still closes abstract host connections completely
and does not have a LRU.
12 years ago
Michael DeHaan 4c83c274e0 Don't close paramiko SFTP multiple times in the same runner pass. Noticeable performance increase. 12 years ago
Michael DeHaan 8b50ad7e85 Fix for atomic_replace patch if file does not yet exist 12 years ago
Daniel Hokka Zakrisson 7a8009f979 When atomically replacing files, copy attributes 12 years ago
Michael DeHaan 523f2bf327 Merge pull request #1455 from bleader/devel
user module: fix typo in documentation
12 years ago
Michael DeHaan 19a5f86c2e Merge pull request #1452 from dhozac/with_items-as-plugin
Make with_items a lookup plugin
12 years ago
Michael DeHaan cbcc133cdd Merge pull request #1453 from sfromm/issue1211
Use shutil.copyfile so as to preserve file ownership in authorized_keys
12 years ago
Michael DeHaan 5b36e374d7 Merge pull request #1451 from dhozac/command-strip-newlines
Only strip trailing newlines from output, preserving other space
12 years ago
Michael DeHaan c17aad3a59 Merge pull request #1450 from jpmens/docs_contrib1
Move contrib to .rst into the main docsite
12 years ago
Michael DeHaan 9a141160a4 Merge pull request #1449 from dhozac/localhost-interpreters
Use the delegated host's interpreters
12 years ago
Michael DeHaan 06fa3e820d Merge pull request #1448 from jpmens/user_user1
User is alias for name in 'user' module
12 years ago
Michael DeHaan 347b0260c3 Merge varReplace cleanup and move code into new file 'template.py' so it's easier to keep template
code all together.
12 years ago
Michael DeHaan f8e946b71d Merge branch 'varfind-cleanups' of git://github.com/dhozac/ansible into devel 12 years ago
bleader 5a5751d1d0 user module: fix typo in documentation
tyep -> type

Signed-off-by: bleader <bleader@ratonland.org>
12 years ago
Stephen Fromm a033ad4d74 Use shutil.copyfile so as to preserve file ownership in authorized_keys 12 years ago
Daniel Hokka Zakrisson 2f05e95d8a Use lookup plugins for task include with_* 12 years ago
Daniel Hokka Zakrisson 026e251b94 Make with_items a lookup plugin 12 years ago
Michael DeHaan ffca0283b0 Closing pool explicitly may cause some exceptions on certain Pythons, disable for now. 12 years ago
Daniel Hokka Zakrisson 73cd3ef617 Only strip trailing newlines from output, preserving other space 12 years ago
Jan-Piet Mens 2d4e5ced90 Move contrib to .rst off the main docsite 12 years ago
Daniel Hokka Zakrisson 13a422261b Use the delegated host's interpreters 12 years ago
Jan-Piet Mens 89f28a98dd User is alias for name in 'user' module 12 years ago
Michael DeHaan 895715b65b Merge pull request #1445 from sfromm/issue1439
Skip check of primary group when checking other group membership
12 years ago
Michael DeHaan 27c38c357d Merge pull request #1444 from sfromm/issue1211
Write ssh key to temp file
12 years ago
Stephen Fromm 544dc76704 Create temp file in directory where ssh key lives 12 years ago
Stephen Fromm b2e94e53fc Write keys file to temp location to avoid potential corruption 12 years ago
Stephen Fromm e97916cfc1 Skip check of primary group when checking other group membership 12 years ago
Michael DeHaan f2a7ca9a36 Merge pull request #1435 from stijnopheide/mysql-grant
Mysql grant, take 2
12 years ago
Michael DeHaan 3e491513a9 Merge pull request #1432 from skvidal/devel
yum enablerepo/disablerepo option complete
12 years ago
Michael DeHaan bbe66e7610 Merge pull request #1437 from lorin/sudo-nonroot-bugfix
Fix chmod occurring as wrong user when sudo as non-root
12 years ago
Michael DeHaan 2191a4d519 Merge pull request #1436 from jhoekx/dsquare-uses-ansible
Add D square to who_uses_ansible.
12 years ago
Michael DeHaan 2dd6ee5f70 Merge pull request #1438 from dagwieers/selinux-module-fix
Resolve traceback when python-selinux is not installed
12 years ago
Michael DeHaan 56ae266855 Merge pull request #1440 from jpmens/latex1
DOCUMENTATION: LaTeX template is back
12 years ago
Michael DeHaan 9fca4eb241 Merge pull request #1441 from dhozac/better-error-missing-template
Improve the error message for missing files
12 years ago
Michael DeHaan 29e272eb67 Merge pull request #1442 from dhozac/dwim-fileglob
path_dwim the path given to with_fileglob
12 years ago
Daniel Hokka Zakrisson b1200c16df path_dwim the path given to with_fileglob 12 years ago
Daniel Hokka Zakrisson e216116807 Improve the error message for missing files 12 years ago
Jan-Piet Mens afa467e975 DOCUMENTATION: LaTeX template is back
ongoing work for the Booklet
12 years ago
Dag Wieers f4c4537327 Resolve traceback when python-selinux is not installed 12 years ago
Lorin Hochstein 38fdc24966 Fix chmod occurring as wrong user when sudo as non-root
If you sudo to a non-root user, you get a permission denied error.
Here's an example:

    $ ansible myserver.example.com -m postgresql_db -a "db=mydatabase" -u ubuntu -s -U postgres
    myserver.example.com | FAILED >> {
        "failed": true,
        "msg": "chmod: changing permissions of `/tmp/ansible-
        1351092257.96-157699143369671/postgresql_db': Operation not
        permitted\n/usr/bin/python: can't open file '/tmp/ansible-
        1351092257.96-157699143369671/postgresql_db': [Errno 13]
        Permission denied\n",
        "parsed": false
    }

The problem is that ansible is doing the chmod as the sudo user
when it should be doing it as the remote user.
12 years ago
Seth Vidal 0a153c6798 add comments that enablerepo/disablerepo are new in 0.9 12 years ago
Jeroen Hoekx b6ead4d9f8 Add D square to who_uses_ansible. 12 years ago
Stijn Opheide 733693ffdc - removed space escapes from MySQL SHOW GRANTS regex
- proper checking for with grant option (if this is not the only option the user has)
- added revoking of grant option
12 years ago
Stijn Opheide 6b92b69fe6 added the GRANT privilege for a mysql user (WITH GRANT OPTION) 12 years ago
Michael DeHaan f1f44843c3 close the pool. 12 years ago
Michael DeHaan 92ce8a0517 Refine new keyboard interrupt handling. Output still a bit gross. 12 years ago