Commit Graph

6457 Commits (0411ea2867af48f9df4dcdb68921fe0535d4e156)
 

Author SHA1 Message Date
smoothify 0411ea2867 Ensure duplicate roles are not loaded in the case of a missing meta/main.yml file. 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
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
Michael DeHaan 6dd3505c9e Merge pull request #3987 from succhiello/feature/fix_extra_vars_json_docs
fix JSON extra vars quotation.
11 years ago
James Cammarata 266d2008d8 Reverting the role default variables change
Loading the default variables in _build_role_dependencies() lead to
a side-effect where those variables were over-riding inventory variables.
11 years ago
James Cammarata 47a89a57fa Fixing bug in playbook use of default variables in roles 11 years ago
kiri 633eda957d fix JSON extra vars quotation. 11 years ago
James Cammarata e0df5b5888 A couple more tweaks to role default variables/dependencies
* Default variables are now fed directly into roles, just like the
  other variables, so that roles see their unique values rather
  than those set at the global level.

* Role dependency duplicates are now determined by checking the params used
  when specifying them as dependencies rather than just on the name of the
  role. For example, the following would be included twice without having
  to specify "allow_duplicates: true":

  dependencies:
  - { role: foo, x: 1 }
  - { role: foo, x: 2 }
11 years ago
Michael DeHaan 6f76ccf10e Merge pull request #3981 from jerm/devel
Adding regions_exclude parameter to be able to do subtractive region exc...
11 years ago
Jeremy Price ad75350919 adding regions_exclude parameter to be able to do subtractive region exclusion. Defaults to us-gov-west-1 so as to not cause errors for people who don't have govcloud credentials but get it in their regions list 11 years ago
James Cammarata d69d5c294f Renaming fireball2 as 'accelerate' and removing old references 11 years ago
James Cammarata 736c8b19d3 Added ability to limit role dependencies to just one inclusion 11 years ago
James Cammarata 6f6efa268b Merge branch 'smoothify-defaults' into devel 11 years ago
James Cammarata 25e3eed519 Fixing a bug in variable precedence for roles and dependencies 11 years ago
James Cammarata 637d3070dc Allow default variables to be overridden by inventory variables 11 years ago
James Cammarata 9806f89a04 Revert "Construct the multiprocessing manager only once."
This reverts commit 1d13ec2da3.
11 years ago
James Cammarata 7d3ae9fc75 Fixing a few bugs related to fireball2
* ssh port not being picked up, always uses default of 22
* forgot to 'import time' in the fireball2 connection plugin
11 years ago
James Cammarata f66683863e Merge branch 'defaults' of https://github.com/smoothify/ansible into smoothify-defaults 11 years ago
Michael DeHaan 39fe40bb60 Merge pull request #3953 from melodous/issue-3908
Fix issue 3908. There was some ilegal operations over the sets
11 years ago
Michael DeHaan 1772b1b203 Merge pull request #3963 from djoreilly/quantum-net-doc
quantum_network: fix some doc mistakes
11 years ago
Darragh O'Reilly 993413e706 quantum_network: fix some doc mistakes
- tenant_name was missing.
- comments were on wrong tasks.
- error message had a reference to glance.
11 years ago
James Cammarata faf82bf841 Fix bug with fetch when using sudo: true
Fixes #3111
11 years ago
James Cammarata af1dd7075f Adding chunked file transfers to fireball2 11 years ago
James Cammarata 959138d00d Added accelerate_port to plays, and made it configurable 11 years ago
James Cammarata 167f185092 Initial support for running gather_facts through fireball2 11 years ago
James Cammarata b45342923c Initial support for sudoable commands over fireball2
Caveats:
* requiretty must be disabled in the sudoers config
* asking for a password doesn't work yet, so any sudoers users must
  be configured with NOPASSWD
* if not starting the daemon as root, the user running the daemon
  must have sudoers entries to allow them to run the command as the
  target sudo_user
11 years ago
James Cammarata 4b552457e7 Bail out correctly if socket.recv gets nothing (indicating a closed socket) 11 years ago
James Cammarata 86f01965cd Fireball2 module will now launch in a proper tmp path 11 years ago
James Cammarata 521e14a3ad Fireball2 mode working! 11 years ago
James Cammarata acc5d09351 Initial commit for the "fireball2" connection plugin
Still needs:
* chunked file transfer/receive
* should probably move all send/recv operations to separate
  functions to reduce code duplication
* initial connection setup over ssh? or do we handle that in runner?
11 years ago
James Cammarata fd2aabaa27 Initial work for the AES cipher class
This is based somewhat loosely on how Keyczar does things. Their
implementation does things in a much more generic way to allow for more
variance in how the cipher is created, but since we're only using one
key type most of our values are hard-coded. They also add a header to
their messages, which I am not doing (don't see the need for it
currently).
11 years ago
Michael DeHaan ffb4d480cf Merge pull request #3956 from jlafon/cloudformation
The cloudformation module argument spec should match the documentation.
11 years ago
Jharrod LaFon be57d7cc99 The cloudformation module argument spec should match the documentation, so that template_parameters is a required argument. 11 years ago
Raul Melo 461858e476 Fix issue 3908. There was some ilegal operations over the sets 11 years ago
Michael DeHaan 8ec806905d Merge pull request #3942 from jocelynj/gem
Correctly handle option user_install in gem module
11 years ago
Michael DeHaan 4ca5db0a57 Merge pull request #3861 from djoreilly/quantum_net_types
quantum_network should not default network provider type to local
11 years ago
Michael DeHaan cce7f485b8 Merge pull request #3946 from wincent/spelling-fix
Fix minor typo in playbook error message
11 years ago
Wincent Colaiuta fc4307a9c4 Fix minor typo in playbook error message 11 years ago
James Cammarata 88966e6558 Use AnsibleError instead of exit for errors in utils 11 years ago
James Cammarata a8984a6b2b Minor text corrections in the yum module documentation 11 years ago
James Cammarata 7625f40f99 Merge pull request #3941 from hnakamur/update_yum_doc_for_name_accepts_url_and_path
Add description and examples for the name parameter accepts a url or a l...
11 years ago