Commit Graph

7429 Commits (88083891bbf2229c2977111a303a89f73ecb9392)
 

Author SHA1 Message Date
Michael DeHaan 5031104c3a Finishing touches on template cleanup. 11 years ago
Michael DeHaan 1e85c7544b Further WIP on template cleanup. 11 years ago
Michael DeHaan 35cb9dc22f Work in progress about cleaning up template code. 11 years ago
Jimmy Tang 0568abeb14 check for ubuntu distribution first 11 years ago
Michael DeHaan baebe6da0a Merge pull request #4598 from awiddersheim/patch-1
Fixed typo in docsite/rst/playbooks_tags.rst
11 years ago
Eugene Archibald 145c0b8be1 Added ['date_time']['tz_offset'] using %z to get the time offset rather than time zone. 11 years ago
awiddersheim 9d141c5f34 Fixed typo in docsite/rst/playbooks_tags.rst 11 years ago
Patrick Michaud c1e241577c Allow generic django_management commands
This commit removes the restriction on django management commands.  If a command is unknown to the django installation, there will be a concise error produced.

for example:

  tasks:
    - name: invalid command
      django_manage: virtualenv="/valid/virtualenv" app_path="/valid/app_path" command="nowaydude"

Results in:

failed: [hostname] => {"cmd": "python manage.py nowaydude", "failed": true}
msg: stdout: Unknown command: 'nowaydude'
Type 'manage.py help' for usage.

:stderr: Unknown django command: nowaydude
11 years ago
Michael DeHaan 232eb9f8e6 Merge pull request #4595 from mscherer/fix_4563
fix logic in module host to add aliases even if none exist already, fix #4563
11 years ago
Michael DeHaan b5c34308dd Merge pull request #4594 from mscherer/fix_4587
fix distribution detection in apt_repository module, so it also work on mint as it work on Debian, partially fix #4587
11 years ago
Michael Scherer d5c290b513 fix logic in module host to add aliases even if none exist already, fix #4563
self._has_aliases is used to know if a alias already exist, but
the test we want is to know if we need to add a new alias, which
is stored in self.aliases
11 years ago
Michael Scherer 19bb44288e fix distribution detection in apt_repository module, so it also work
on Mint as it work on Debian, fix #4587.

PPAs are not supported however, since that's a Ubuntu specific feature
and mint is detected as a generic distribution and use a different
codename than the Ubuntu release it is based on, which mean that apt_repository
cannot add detect and add the proper url without a better heuristic.
11 years ago
Michael Scherer fc211ac1a0 setup module, replace ':' by '_' in interface name, fix #4586 11 years ago
Peter Sankauskas b793248df4 Now this disassociates EIPs from instances inside a VPC correctly. Time
for a PR.
11 years ago
Michael DeHaan 7b6d64d98c Merge pull request #4591 from bcoca/scriptnonrootsudosafe
now correctly changes script permission in all cases
11 years ago
James Tanner 3c4dd618e4 Fixes #4454 Make a temporary clean cnf file if unable to parse existing 11 years ago
Peter Sankauskas 0e459f65f0 First round of changes to the EIP module to get it to be able to work well inside a VPC, and to be able to delete EIPs as well 11 years ago
Brian Coca c476ed93ca now correctly changes script permission in all cases
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
11 years ago
Michael DeHaan 1d090b5b25 Merge pull request #4588 from maxamillion/maxamillion/docfix-changed_when
fix change_when example for False
11 years ago
Adam Miller 5b2338b2bf fix change_when example for False 11 years ago
James Tanner 8478e82647 Fixes #4583 enforce that vars_files is a list 11 years ago
jctanner 92edf99c80 Merge pull request #4562 from nimbis/devel
Adding aws_access_key and aws_secret_key aliases to ec2_group arguments
11 years ago
Michael Scherer f8b23e5721 add a default value for the -d option of ansible-pull
Thi permit to simplify the command line to use by using
a sensible default, and so reduce the number of incorrect
possible choices and setup needed. Among potential
incorrect choices is using a fixed directory in /tmp, which
could be problematic with a setup whose access is not
properly restricted.
11 years ago
Michael DeHaan b0f6e77f66 Merge pull request #4571 from tgerla/whitespace
add_group module: strip trailing/leading whitespace from comma-separated group names
11 years ago
Tim Gerla 51a1709253 add_group module: strip trailing/leading whitespace from comma-separated group names 11 years ago
James Tanner 242f20c297 Fixes #4402 wrong order for isinstance parameters in dnstxt.py 11 years ago
Brian Schott bdc8ea828e added aws_access_key and aws_secret_key aliases to ec2_group arguments 11 years ago
jctanner 12eaefb7e6 Merge pull request #4539 from sayap/git-sha1
git: Always return the before/after revisions, even in check mode.
11 years ago
Michael DeHaan 8666f8ea24 Merge pull request #4568 from mmoya/features
Improve change detection in mysql_variables
11 years ago
James Tanner 4f674ec522 Fixes #4554 Enumerate user homedir if not passed as an argument 11 years ago
Maykel Moya b90a250165 Improve change detection in mysql_variables
mysql_variables bindly executes a SET var = value query even when
the variable already has the requested value.

With this patch the query is executed only if the current value is
different to the requested one.
11 years ago
Thomas Ronner aee68511e6 Fix illegal set operation in FreeBSD section of user module. 11 years ago
Michael DeHaan 8a516d1479 Various standardization to the proposed gce_storage module to bring things in line with updates to the S3 module.
Some typo fixes.

Further testing required.
11 years ago
Michael DeHaan 4bdf3da25a Merge pull request #4333 from bennojoy/gcs
support for google cloud storage module
11 years ago
Michael DeHaan baa13a5cc7 Merge pull request #4395 from erjohnso/devel
adding Google Compute Engine modules and inventory plugin
11 years ago
Michael DeHaan ffaabc54bb Merge pull request #4559 from greenalto/fix_typo
Fix typo
11 years ago
Greg Karékinian 86f4e03bb5 Fix typo 11 years ago
Michael DeHaan 4484ba8a49 Merge pull request #4553 from mmoya/features
Do key validation only when key is provided
11 years ago
Maykel Moya 2592b2c3f9 Do key validation only when key is provided
key_id is optional, the previous code didn't handle the case of key_id
not specified
11 years ago
jctanner 6480945184 Merge pull request #4541 from Kami/improve_template_render_error_messages
Make errors which get thrown during template rendering more user-friendly
11 years ago
jctanner 7e8e186b3b Merge pull request #4517 from adfinis-sygroup/devel
Remove keys regardless of the options
11 years ago
jctanner c737f222d5 Merge pull request #4480 from joemaller/absent_path_fix
ignore src when file module state=absent
11 years ago
jctanner 51a1a54bfb Merge pull request #4428 from robparrott/devel
Properly handle DEFAULT section with ConfigParser in ini_file modules
11 years ago
James Tanner 23cbdba65e Fixes #4350 Create homedirectory if create=yes and directory is missing 11 years ago
Michael DeHaan 8a3f222d41 Merge pull request #4548 from stoned/ansible-doc-fix
Fix 'ansible-doc -l' runtime error following commit 4430d0f
11 years ago
Stoned Elipot c7217a8f1b Fix 'ansible-doc -l' runtime error following commit 4430d0f
skip "module" not found as plugin, id est directory
11 years ago
Michael DeHaan f9ac88c9da Merge pull request #4547 from stoned/find_plugin-fix
when searching for a plugin only look for a regular file
11 years ago
Michael DeHaan db7e4510f2 Merge pull request #4544 from mmoya/features
apt_key: Validate key_id and accept a leading '0x'
11 years ago
Stoned Elipot 4430d0f5a6 when searching for a plugin only look for a regular file 11 years ago
Michael DeHaan 1317ece644 Merge pull request #4543 from lorin/s3-walrus
s3: better check for walrus
11 years ago