Daniel Hokka Zakrisson
07ba7e2013
Return original string for non-matched vars
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
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
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
Michael DeHaan
730031ec1f
Merge pull request #1479 from wzzrd/selinux
...
More useful error message for if not HAVE_SELINUX
12 years ago
Dag Wieers
8d4f9febd8
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
Seth Vidal
49dce05cdd
fix up remove and fix fixme checking to see if pkg was removed
12 years ago
Michael DeHaan
9a12873166
Merge pull request #1477 from skvidal/devel
...
add check that vars plugins are not handing back None
12 years ago
Michael DeHaan
08cc961dcf
Merge pull request #1475 from dagwieers/errors-fix
...
Missing errors-import causes traceback
12 years ago
Seth Vidal
7c1e0de141
fix removal case where first pkg in a list is not installed at all
...
and the next one gets ignored despite being installed.
also clean up unnecessary second check.
12 years ago
Seth Vidal
3fcc591f18
add check that vars plugins are not handing back None
12 years ago
Maxim Burgerhout
82cc382c6a
More useful error message for if not HAVE_SELINUX
12 years ago
Dag Wieers
3728b2f459
Missing errors-import causes traceback
12 years ago
Jeroen Hoekx
b336d40101
Add a group_by action plugin.
12 years ago
Michael DeHaan
ea8cb0b2e9
Merge pull request #1472 from jhoekx/action-host-letter
...
Send a host to runner executor instead of a letter.
12 years ago
Jeroen Hoekx
f963db6c2a
Fix output of pause plugin.
12 years ago
Jeroen Hoekx
77162e95e4
Send a host to runner executor instead of a letter.
...
Discovered in #1463 .
12 years ago
Daniel Hokka Zakrisson
e72fdccd87
Allow vars_files sequences without a default
12 years ago
Michael DeHaan
fb27cb45e1
Merge pull request #1465 from dhozac/no-default-file-args
...
Don't add file module arguments by default
12 years ago
Daniel Hokka Zakrisson
55a1473d50
Don't add file module arguments by default
...
This allows the postgresql_db module to work properly, as it uses
an argument named owner that conflicts with the file module.
12 years ago
Michael DeHaan
457cdb2be0
Add note about when you still have to use only_if
12 years ago
Michael DeHaan
2ae090b1db
Update 'who uses' page
12 years ago
Michael DeHaan
21258dcc66
Added 'when' as a shortcut around only_if.
12 years ago
Michael DeHaan
a768e9a9ff
Fix for sudo defaults if sudo is passed in via --extra-vars
12 years ago
Michael DeHaan
7d7ff9d616
Fixup setup.py path
12 years ago
Michael DeHaan
7f6aa2d3d5
Config parameter rename
12 years ago
Michael DeHaan
6ba30170dd
Make group_vars and host_vars available to usr/bin/ansible, and make vars_plugins exist
12 years ago
Michael DeHaan
e04dab904a
Use previous proven multiprocessing logic as the simplification didn't have the same Ctrl-C handling and may
...
be subject to race issues, though still don't pass Runner to each. Still seems performant.
12 years ago
Michael DeHaan
03f303fba3
Merge pull request #1460 from dhozac/init-sftp-paramiko
...
Initialize sftp variable to fix error on transferless session
12 years ago
Daniel Hokka Zakrisson
1052dd9c8f
Initialize sftp variable to fix error on transferless session
12 years ago