Commit Graph

3181 Commits (9c095b72b9e93f4363fcee493323313c4445c17d)
 

Author SHA1 Message Date
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
Michael DeHaan 47b1315ac7 Reinstate Ctrl+C handling 12 years ago
Michael DeHaan ca4fb043ef Merge pull request #1433 from jpmens/doc_user
fix DOCUMENTATION for user
12 years ago
Jan-Piet Mens 82955606c4 fix DOCUMENTATION for user 12 years ago
Seth Vidal d8337dab06 tested and verified yum enable/disablerepo option for yum module 12 years ago
Seth Vidal d89d07550f first cut at yum module with enable/disable repo 12 years ago
Michael DeHaan 9626111d5b Merge pull request #1427 from bleader/devel
mount: update example with mandatory option
12 years ago
Michael DeHaan bfa66ba9ed Merge pull request #1429 from nigelm/nigelm_doc_tweaks
Fix $last_result documentation and spelling tweaks - issue #1420
12 years ago
Michael DeHaan cf4bcde220 Merge pull request #1430 from sfromm/issue1425
Document ssh_key options are in version 0.9
12 years ago
Stephen Fromm 5d8c130a7f Document ssh_key options are in version 0.9 12 years ago
Nigel Metheringham ccd8d7c287 Spelling fixes 12 years ago
Nigel Metheringham dd5629cd51 Correct $last_result example in playbooks doc 12 years ago
bleader e16e3fb4ca mount: update example with mandatory option
- 'state' is required, but wasn't in example

Signed-off-by: bleader <bleader@ratonland.org>
12 years ago
Michael DeHaan f9a2f4687e Merge pull request #1426 from jpmens/docs_examples1
Reformat code: examples consistently
12 years ago
Jan-Piet Mens feab57e270 Reformat code: examples consistently
- added terse syntax to modules.rst
 - added description of special variables to template module
12 years ago
Michael DeHaan a4af4a7049 Since we are not needing to pass runner through the multiprocessing queue, just use
multiprocessing.pool.  Pushing so it can get wider testing.
12 years ago
Michael DeHaan 856dd5a9aa Don't pass runner instance through the mulitprocessing queue, fix temp dir removal 12 years ago
Michael DeHaan 51d8e042df update changelog 12 years ago
Michael DeHaan ce413ab01d Merge pull request #1416 from skvidal/devel
make --limit take a , as a separator as well as ; or :
12 years ago
Seth Vidal d63fa6f026 make --limit take a , as a separator as well as ; or : 12 years ago
Michael DeHaan 8afa3abd41 Merge pull request #1413 from pas256/devel
Inventory script to gracefully handle AWS being down
12 years ago
Michael DeHaan ae351b71b6 Merge pull request #1414 from sfromm/issue1412
Help git module work when working in 'no branch' scenario
12 years ago
Stephen Fromm 769bd9125a Help git module work when working in 'no branch' scenario
Detect when on a 'no branch' branch.  If so, checkout the HEAD branch
as reported by 'git remote show <remote>'.  That should put the repo
back on a branch such that git can then merge changes as necessary.
In addition, removed hard-coded references to origin and replaced
with remote var.
12 years ago
Peter Sankauskas 60c69e9845 Allowing the EC2 inventory script to gracefully handle AWS API issues 12 years ago
Michael DeHaan 109632e3bc Revert "Vars specified via CLI have the highest priority."
Reverting as this as reported allows some variables to clobber each other.
We'll work on a different fix.

This reverts commit c5469f6367.
12 years ago
Michael DeHaan 5020af0a45 Merge pull request #1404 from dagwieers/doc-fix1
Clarify how only_if works, also combined with with_items
12 years ago
Dag Wieers 7d990fa167 Clarify how only_if works, also combined with with_items
- The old documentation stated not to quote the variable in the function, which is obviously wrong. When using lists or integers, we have to quote otherwise the startswith() method will trip over its non-existence.
- It was unclear that the only_if statement is processed for each item when doing with_items, so I added an example making it crystal clear how this can be used in your advantage (or why a non-existing list variable can break your logic if you expected the only_if to be processed once before running the task)
12 years ago
Michael DeHaan 52f2ed5fe1 Merge pull request #1399 from dhozac/set-delegate-for-alias
Fix ansible_ssh_host again
12 years ago
Daniel Hokka Zakrisson 1449c8ac67 Fix ansible_ssh_host again
This time with unit tests to ensure it keeps working.
12 years ago
Daniel Hokka Zakrisson c9c5fc1456 Merge varFind and varLookup 12 years ago
Michael DeHaan 572c66b7f6 Add a bit more info about tests to CONTRIBUTING 12 years ago
Michael DeHaan 3c6d9972fe clarify message about name of configuration parameter 12 years ago
Michael DeHaan 4fd14ac3e7 Merge pull request #1396 from nigelm/nigelm_doc_tweaks
Added some info on the unit tests requirements
12 years ago
Nigel Metheringham cc30eb74e2 Added some info on the unit tests requirements 12 years ago
Michael DeHaan dad331d0a5 update changelog 12 years ago
Michael DeHaan cbc12f0dba Various performance streamlining and making the file features usable in all modules without daisy chaining. 12 years ago
Michael DeHaan 60b9316ad8 Merge pull request #1393 from baalexander/devel
Adds release date for Cathedral
12 years ago
Brandon Alexander ce7656d9cd Adds release date for Cathedral
I also prepended each single digit month with a 0 for the dates to line up. Feel free to change that :)
12 years ago
Michael DeHaan 4104478abd Added 'script', a module that can push and insantly run a remote script. Replaces the need to copy+command.
This is a bit of a rough draft, some error handling still needs to be added.
12 years ago
Michael DeHaan 7e2d6c0050 Clarify first_available_file is only for copy/template 12 years ago
Michael DeHaan 019f775a93 DWIM the paths for first_available_file 12 years ago