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
2013-08-28 11:14:58 -05:00
James Cammarata
4b552457e7
Bail out correctly if socket.recv gets nothing (indicating a closed socket)
2013-08-28 11:14:58 -05:00
James Cammarata
86f01965cd
Fireball2 module will now launch in a proper tmp path
2013-08-28 11:14:58 -05:00
James Cammarata
521e14a3ad
Fireball2 mode working!
2013-08-28 11:14:58 -05:00
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?
2013-08-28 11:14:58 -05:00
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).
2013-08-28 11:14:58 -05:00
Michael DeHaan
ffb4d480cf
Merge pull request #3956 from jlafon/cloudformation
...
The cloudformation module argument spec should match the documentation.
2013-08-28 07:29:35 -07:00
Jharrod LaFon
be57d7cc99
The cloudformation module argument spec should match the documentation, so that template_parameters is a required argument.
2013-08-27 15:09:30 -06:00
Raul Melo
461858e476
Fix issue 3908. There was some ilegal operations over the sets
2013-08-27 17:07:42 +02:00
Michael DeHaan
8ec806905d
Merge pull request #3942 from jocelynj/gem
...
Correctly handle option user_install in gem module
2013-08-27 06:00:06 -07:00
Michael DeHaan
4ca5db0a57
Merge pull request #3861 from djoreilly/quantum_net_types
...
quantum_network should not default network provider type to local
2013-08-27 05:57:21 -07:00
Michael DeHaan
cce7f485b8
Merge pull request #3946 from wincent/spelling-fix
...
Fix minor typo in playbook error message
2013-08-25 17:23:30 -07:00
Wincent Colaiuta
fc4307a9c4
Fix minor typo in playbook error message
2013-08-25 11:29:07 -07:00
James Cammarata
88966e6558
Use AnsibleError instead of exit for errors in utils
2013-08-25 11:46:45 -05:00
James Cammarata
a8984a6b2b
Minor text corrections in the yum module documentation
2013-08-24 21:46:41 -05:00
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...
2013-08-24 19:43:33 -07:00
James Cammarata
ceddc37f07
Fix for the cron module on FreeBSD
...
Apparently crontab on freebsd does not like the file path coming before
the "-u username" portion of the command to install the crontab
2013-08-24 21:37:10 -05:00
Jocelyn Jaubert
f958a5ac81
Correctly handle option user_install in gem module
2013-08-24 22:49:18 +02:00
Hiroaki Nakamura
aa9e05baa2
Add description and examples for the name parameter accepts a url or a local path to a rpm file.
2013-08-25 02:30:41 +09:00
Michael DeHaan
4a3b762afe
Update URLs and email address in setup.py
2013-08-24 11:25:02 -04:00
Marcin Płonka
61298e4703
Skipping facts not available on AIX WPARs
2013-08-24 07:24:05 +02:00
James Cammarata
a0447a5243
Merge branch 'bpennypacker-rb2' into devel
2013-08-23 20:19:40 -05:00
James Cammarata
2f6dcfe36f
Fixed small typo from the merge conflict in the route53 module
2013-08-23 13:40:57 -05:00
James Cammarata
7d69d1e289
Merge branch 'rb2' of https://github.com/bpennypacker/ansible into bpennypacker-rb2
2013-08-23 13:07:48 -05:00
Bruce Pennypacker
80ddb1aee6
Added wait parameter
2013-08-23 13:56:59 -04:00
James Cammarata
bb75050912
Merge branch 'rb2' of https://github.com/bpennypacker/ansible into bpennypacker-rb2
...
Conflicts:
library/cloud/route53
2013-08-23 11:36:45 -05:00
James Cammarata
deb5f027f0
Fixed up a few other pages that had the same versionadded error
2013-08-23 11:33:57 -05:00
James Cammarata
f8a54d162d
Fixing versionadded fields in the playbook doc
2013-08-23 11:04:06 -05:00
James Cammarata
4dc209f731
Merge branch 'add_tests_inventory' of https://github.com/mscherer/ansible into mscherer-add_tests_inventory
2013-08-23 08:52:02 -05:00
Michael Scherer
a0b73b18c3
add one last test, for combined range, which make ansible.inventory.expand_hosts
...
covered to 100%
2013-08-23 13:06:31 +02:00
Michael Scherer
64d35cb3b6
test that using non ordered range of char send a exception
2013-08-23 12:58:10 +02:00
Michael Scherer
4f69b63fec
add test for incorrect format in range host
2013-08-23 12:51:17 +02:00
Michael Scherer
835fdd1ec2
add test for missing end in host range
2013-08-23 12:42:26 +02:00
Michael Scherer
2aea8a6368
add a test to verify ansible detect invalid range
2013-08-23 12:29:38 +02:00
Michael Scherer
7fec9c3eba
add a test to cover bound stepping in inventory
2013-08-23 12:00:39 +02:00
James Cammarata
f40d39bc92
Minor formatting change
2013-08-22 23:35:23 -05:00
James Cammarata
e1b1d09210
Remove references to old-style variables
...
Fixes #3842
2013-08-22 23:33:18 -05:00
James Cammarata
1f42fd9964
Remove references to old-style variables
...
Fixes #3842
2013-08-22 23:29:13 -05:00
James Cammarata
8262f7bfac
Merge branch 'with_items_and_complex_args' of https://github.com/lberruti/ansible into lberruti-with_items_and_complex_args
2013-08-22 23:01:11 -05:00
James Cammarata
c4a7b1d2d2
Another CHANGELOG update
2013-08-22 22:08:05 -05:00
James Cammarata
d9be910e6e
Merge branch 'exit-3-on-dark' of https://github.com/j2sol/ansible into j2sol-exit-3-on-dark
2013-08-22 22:03:34 -05:00
James Cammarata
c32467b5ab
CHANGELOG updates for the 1.3 release
2013-08-22 21:26:03 -05:00
James Cammarata
1d98e7bc05
Cleaning up some pep8 issues in the pkgutil module
2013-08-22 20:21:02 -05:00
James Cammarata
b33cd0c44f
Added a note in the advanced playbooks section regarding YAML extra vars
2013-08-22 20:18:15 -05:00
Alek Storm
8c9f84f6f8
Parse --extra-vars as YAML (which includes JSON)
2013-08-22 16:43:15 -07:00
James Cammarata
dfbe1132d2
Merge branch 'allow_wildcard_yum' of https://github.com/mscherer/ansible into mscherer-allow_wildcard_yum
2013-08-22 16:20:10 -05:00
James Cammarata
268f171ee4
Merge branch 'feature/zabbix-inventory' of https://github.com/resmo/ansible into devel
2013-08-22 16:03:17 -05:00
René Moser
308026f234
improved zabbix inventory. added sys.exit(1) where needed, added some exception handling.
2013-08-22 23:02:32 +02:00
James Cammarata
7bd8c18fa7
Merge branch 'gitfix' of https://github.com/johanwiren/ansible into johanwiren-gitfix
2013-08-22 15:30:58 -05:00
Herby Gillot
c2f8215c06
ec2 inventory: Verify that a security group exists before trying to use its name as a key in inventory.
2013-08-22 15:29:15 -05:00