Commit Graph

3503 Commits (411b2bf7d9026d1b41aea35b0cbff39e1553636c)
 

Author SHA1 Message Date
Michael DeHaan 970d06e03b Fix user example 12 years ago
Michael DeHaan 6a5df97393 Manpage documentation ALSO should be sorted 12 years ago
Michael DeHaan 626203a7c9 Module documentation should have options sorted 12 years ago
Michael DeHaan c96f2c968e Merge branch 'nigelm_freebsd' of git://github.com/nigelm/ansible into merge-service
Make things more reusable, correct some errors along the SSH key path

Conflicts:
	library/user
12 years ago
Michael DeHaan 49ad8631b4 Merge pull request #1517 from skvidal/devel
if a module returns failed in the results, don't fail unless failed is n...
12 years ago
Seth Vidal e19c81977d if a module returns failed in the results, don't fail unless failed is not false. 12 years ago
Chandler Latour f436a8c88b Added config option for default ask for ssh_pass 12 years ago
Brian Coca 8d1ed566da corrected mizpells environment
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Daniel Hokka Zakrisson e05e514861 Create a plugin loader system 12 years ago
Daniel Hokka Zakrisson 000d3832cc Make ansible.utils a package 12 years ago
Stavros Korokithakis 3616dffb68 Detect whether we're running in a virtualenv. 12 years ago
Michael DeHaan 4c156e4df8 Merge pull request #1502 from dhozac/improved-lookup-plugins
Improved lookup plugins
12 years ago
Michael DeHaan 025402c0bf Merge pull request #1507 from lorin/pretty-print-msg
Pretty-print "msg" when task fails
12 years ago
Michael DeHaan 4cc1ff4b21 Merge pull request #1508 from dhozac/host_vars-in-include
Return original string for non-matched vars
12 years ago
Nigel Metheringham cdfa81d905 Added some documentation to the classes 12 years ago
Stavros Korokithakis d9a377cbb1 Fix installing to virtualenvs. 12 years ago
Daniel Hokka Zakrisson 56314f7225 Add test case for non-existing variable in varReplaceWithItems 12 years ago
Daniel Hokka Zakrisson 07ba7e2013 Return original string for non-matched vars 12 years ago
Lorin Hochstein 1c5ac5cac8 Pretty-print "msg" when task fails
Several modules (e.g., pip) return stdout and stderr together in a "msg" variable (and the module development docs seem to suggest that the standard practice is to return status in this variable).

This change ensures that it is printed out with correct formatting (most importantly, with newlines appearing as newlines instead of \n).
12 years ago
Brian Coca 6877a88c7e added comment to example config to show usage of new sudo password asking option
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Michael DeHaan 4399d9c3cb Merge pull request #1505 from dhozac/delegate_to-port
Use default port if ansible_ssh_port is not set for the delegated node
12 years ago
Daniel Hokka Zakrisson fbda2d4628 Use default port if ansible_ssh_port is not set for the delegated node
Also add testcase for it.
12 years ago
Daniel Hokka Zakrisson c519d5dac0 Add a template lookup plugin
Requires that inject be passed to run
12 years ago
Daniel Hokka Zakrisson 37d9acc097 Make lookup API extensible and allow basedir to be passed
This allows using with_fileglob in play context, e.g.
- include: $item
  with_fileglob: tasks/*.yml
as well as prepares for other data to be passed.
12 years ago
Daniel Hokka Zakrisson 2c77cf1a49 Skip tasks with a with_* that is empty 12 years ago
Fabian Arrotin c5a66e96a2 Added the ansible_ssh_host and ansible_ssh_port variable in the patterns/inventory file 12 years ago
Michael DeHaan 4c4cc270fe Merge pull request #1496 from dhozac/varnish-init-script
Fix service module for varnish initscript in EPEL
12 years ago
Daniel Hokka Zakrisson 20775c0b73 Fix service module for varnish initscript in EPEL
It outputs 'dead but pid file exists'.
12 years ago
Brian Coca 604bf9f58a Added config option to control default of asking or not for sudo password
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Brian Coca 13f75e5a8e Now can handle rc.conf and init.d/rc.d based systems
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Dag Wieers 9268aa0289 Use return codes > 255 for Ansible-specific errors.
I had made and pushed this change after you already pulled the request.

@dhozac indicated that it would probably be better to use return codes > 255 for anything related to Ansible itself. Which makes sens :)
12 years ago
Michael DeHaan be300b562a pyflakes fixes (mostly unused imports, unused vars) 12 years ago
Michael DeHaan c0747b7baa pep8 fixes 12 years ago
Michael DeHaan 27e518a0b1 Rename 'domainname' to 'domain' 12 years ago
Michael DeHaan 9251709941 Merge pull request #1490 from sfromm/issue1484
Make sure ownership is set correctly for user's new ssh keys
12 years ago
Michael DeHaan ef4ca11282 Merge pull request #1489 from arrfab/my-branch
- Fixed some typos for the ansible config file in the man page
12 years ago
Michael DeHaan 768d293949 Merge pull request #1488 from dagwieers/lineinfile-create
Add option create= to lineinfile module
12 years ago
Michael DeHaan 91cf257e9c Merge pull request #1487 from skvidal/devel
fix up remove and fix fixme checking to see if pkg was removed
12 years ago
Michael DeHaan cceb99acd5 Simplify the group_by example a small bit 12 years ago
Michael DeHaan 0853ece810 Merge pull request #1474 from jhoekx/group-by-plugin-template
Add a group_by action plugin.
12 years ago
Michael DeHaan f9a6265fb2 Merge branch 'vars_files-list-no-default' of git://github.com/dhozac/ansible into devel 12 years ago
Michael DeHaan 6dceef3a5f Merge branch 'fix-var-in-var' of git://github.com/dhozac/ansible into devel 12 years ago
Serge van Ginderachter 1db563e064 Add domainname to ansible facts 12 years ago
Dag Wieers aef9a95c1c Merge pull request #2 from sergevanginderachter/dagwieers/lineinfile-create
Fix typo
12 years ago
Serge van Ginderachter 47d882f374 Fix typo 12 years ago
Dag Wieers 1e3dcfce4b Add option create= to lineinfile module
We use the lineinfile module to modify configuration files of a proprietary application. This application reads configuration options from files, but does not require those files to exist (if the default options are fine). However this application may modify the configuration file at will, so we cannot copy or template those files. And after a silent install the configuration may not exist (depending on the response file).

Whatever the case, during deployment we need to make sure some configuration options are set after the installation.

So the cleanest way to handle this situation is to allow the lineinfile module to create the file if it is missing (and this is the expected behavior). When I proposed this behavior, @sergevanginderachter needed the same functionality and was now working around it as well.
12 years ago
Stephen Fromm 4619e99443 Make sure ownership is set correctly for user's new ssh keys 12 years ago
Fabian Arrotin 96770a3057 - Fixed some typos for the ansible config file
- added the ANSIBLE_CONFIG environment variable
12 years ago
Daniel Hokka Zakrisson efe83daf19 Fix ${var.$other_var} and add test cases for it 12 years ago
Michael DeHaan f0000a89b0 Merge pull request #1480 from dagwieers/command-fix2
Use return codes > 255 for Ansible-specific errors.
12 years ago