Commit Graph

6812 Commits (9b5fb9ad6bf57225e4ad761bbaafa930a9c40847)
 

Author SHA1 Message Date
James Cammarata 06090b5cb6 Merge pull request #4040 from ngrilly/devel
Update documentation about Jinja2 expressions in playbooks
11 years ago
James Cammarata 4a30bac78b Corrected example for lineinfile due to ': ' on line
Closes #3992
11 years ago
James Cammarata c093bd4f4f Merge pull request #3975 from jimi1283/role_defaults_docs
Adding documentation for role default variables
11 years ago
James Cammarata 2cbf28385a Move check for accelerate mode deeper to account for ansible_connection
Fixes #4045
11 years ago
Aurélien Bompard 5a949dcafc Module postgresql_privs: fix default arguments
Defaults arguments must not be added to the connection keywords, as
the other postgresql modules already do.

Closes #4043
11 years ago
James Cammarata 20b0dc4abd Check for an empty executable passed into the accelerate plugin
This was breaking at least the script module, so it would seem best
to check for it and set it to the default executable value
11 years ago
Nicolas Grilly aaafd9b608 Update documentation about Jinja2 expressions in playbooks 11 years ago
James Cammarata 4bf506f683 Always run the accelerate module as the user specified in the play
Currently, the accelerate daemon will be run as the sudo_user if
specified, which is incorrect.
11 years ago
James Cammarata f04af9118e When putting a file in accelerated mode, make sure it's chowned correctly 11 years ago
Scott Sturdivant 68bffb1233 Don't force accelerate connection for local actions. 11 years ago
Tom Dymond 11c2378259 Add option to specify the MySQL server port 11 years ago
James Cammarata f6e1bdabea Ensure ports are set correctly in accelerate module 11 years ago
James Cammarata eae0cb5d81 Merge pull request #4029 from guersam/patch-1
Fix: raise correct error in accelerate mode
11 years ago
Jell a47f2674a4 Add crypt scheme to htpasswd params 11 years ago
willthames fe70ed94e3 Expand tilde in paths in file module 11 years ago
guersam 64db327411 Fix: raise correct error in accelerate mode 11 years ago
TERAOKA Yoshinori 43464b6243 fix get_db_info
using pg_roles instead of pg_user
if database owner is a role (not user) then it can not select form pg_user table.
11 years ago
James Cammarata 7e849ac7e0 Merge pull request #4015 from sergevanginderachter/changeflatlog
fix flattened plugin name in changelog
11 years ago
kavink a075ec9831 Bug fix for a crash, when any_errors_fatal is true
Reported by Rumen:

TASK: [fail FAIL] *************************************************************
skipping: [hostname.com]
failed: [hostname.com] => {"failed": true}
msg: Failed as requested from task
Traceback (most recent call last):
  File "/usr/local/bin/ansible-playbook", line 268, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/local/bin/ansible-playbook", line 208, in main
    pb.run()
  File "/Library/Python/2.7/site-packages/ansible/playbook/__init__.py", line 262, in run
    if not self._run_play(play):
  File "/Library/Python/2.7/site-packages/ansible/playbook/__init__.py", line 580, in _run_play
    if (hosts_count - len(host_list)) > int((play.max_fail_pct)/100.0 * hosts_count):
TypeError: object of type 'NoneType' has no len()
11 years ago
Stephen Fromm d704b55860 Support using paramiko to set up accelerate connection
Adds original_transport attribute to Runner to track what the original
transport was before it is changed to 'accelerate'.
If using paramiko in original_transport, uses ParamikoConnection.  If
not, falls back to SSHConnection like before.
11 years ago
James Cammarata fff497a1ae Make sure the accelerated port is set to a sane value 11 years ago
James Cammarata cc21e5c90c Adding hostvars to injected variables in accelerate ssh runner
Also some minor cleanup of some fb* variables and functions, which
were remnants of the old fireball2 name

Fixes #4021
11 years ago
James Cammarata 7b13b1e03e Minor fix to dependency dupe patch 11 years ago
James Cammarata 16258edd7a Merge branch 'devel-duplicates2' of https://github.com/smoothify/ansible into smoothify-devel-duplicates2 11 years ago
James Cammarata a202adcae1 Merge branch 'doublecallback' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-doublecallback 11 years ago
smoothify 5337397abd Second Attempt: Ensure duplicate roles are not loaded in the case of a missing meta/main.yml file. 11 years ago
James Cammarata c0fecf87d1 Increase default socket timeout to 5 minutes 11 years ago
James Cammarata 2c6baf6845 Merge branch 'devel-duplicates' of https://github.com/smoothify/ansible into smoothify-devel-duplicates 11 years ago
smoothify 0411ea2867 Ensure duplicate roles are not loaded in the case of a missing meta/main.yml file. 11 years ago
James Cammarata 82ed1b8d97 Updated CHANGELOG with accelerated mode/role defaults updates 11 years ago
Serge van Ginderachter 1de6094d22 fix flattened plugin name in changelog 11 years ago
James Cammarata d27372ff08 Modified ec2_elb doc per issue #3849 11 years ago
John Florian c8a5aabf39 Added -f/--force option to ansible-pull 11 years ago
James Cammarata 4eedfa46a2 Merge branch 'devel' of https://github.com/mhite/ansible into mhite-devel 11 years ago
James Cammarata 2e49d2003d Fix bug where accelerate keyword was not checked for boolean value
The play was just checking for the presence of the keyword in the
YAML datastructure, and not the value of the field, so doing something
like variable substitution was always causing the play to be accelerated
11 years ago
James Cammarata 2696135b3b Display error during launch of accelerated daemon
* also minor tweak to the # of retries in the connection attempt

Fixes #4012
11 years ago
James Cammarata 8a016bb374 Adding the facility to the accelerate daemon syslog calls 11 years ago
James Cammarata 7c1c9b3d10 Fix message in utils related to python-keyczar and fireball/acc mode 11 years ago
James Cammarata 53c2f4c1bb Fix race condition on creating the temp directory for ControlPersist
Fixes #3943
11 years ago
James Cammarata 26a8d4ce9f Added 'reloaded' state to list of states checked for bounced services
Fixes #3556
11 years ago
Serge van Ginderachter a351c25c59 Introduce open-iscsi module to manage targets on the initiator. 11 years ago
James Cammarata ff203dda45 Adding docs for the new accelerated mode 11 years ago
James Cammarata d05c61d1f0 Merge branch 'devel' into fireball2
Conflicts:
	lib/ansible/playbook/__init__.py
	lib/ansible/playbook/play.py
11 years ago
James Cammarata 50f54f6bda Making variable names more descriptive for the default variables work 11 years ago
James Cammarata 02b7b79d7e Re-adding capability of tasks to see a unique view of their own defaults 11 years ago
Marcus McCurdy 46ff02bc57 Makes pervious lineinfile fix more explicit 11 years ago
Serge van Ginderachter 8abb49bd78 fix debian release version 11 years ago
James Pharaoh 137a32ca36 make rds handle vpc security groups properly 11 years ago
James Pharaoh dc5ffb688c fix for rds region variable 11 years ago
Michael DeHaan 6dd3505c9e Merge pull request #3987 from succhiello/feature/fix_extra_vars_json_docs
fix JSON extra vars quotation.
11 years ago