Commit graph

8040 commits

Author SHA1 Message Date
Brian Coca
400a1aa49a didnt make 1.5 ... lets see 2014-03-01 22:28:51 -05:00
Brian Coca
f475de2316 hopefully last batch of fixes
- removed previous 'typification' of input as it needs it is typed by
  module as strings and needs to be output as strings, making it
  useless.
- now checks for vtype and value against None when question is specified
- simplified set_selections as vtype and value should have a string
  value going in.
- added example of querying questions for a package
- added module requirement of question,vtype and value being required
  together.
2014-02-09 20:47:01 -05:00
Brian Coca
a1de284dba made changes as per feedback:
- field names are more consistent with debconf
- values are now 'booleanized' or accepted as list/set objects when
  pertinent
- updated docs to reflect all of the above and debconf cli tools
  required
2014-02-09 17:46:18 -05:00
Brian Coca
0233584343 fixed main() issue created in prev fix, now values are empty string if they were None
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
2014-02-06 11:59:37 -05:00
Brian Coca
de956c57fe changes names to name in example 2014-02-05 18:28:17 -05:00
Brian Coca
453d473728 fixes as per feedback 2014-02-05 18:08:01 -05:00
Brian Coca
35980ef329 making pylint happier
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-23 14:09:15 -05:00
Brian Coca
c2c0d9bcd7 corrected my grammar (again Mikhail)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-23 13:48:53 -05:00
Brian Coca
555f12c59a did some minor refactoring on docs and fixed spelling mistakes (thanks
Mikhail)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-23 13:35:27 -05:00
Brian Coca
821aa432a6 corrected indentation and now handles non existing previous key (not
just changed existing)

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-20 12:50:06 -05:00
Brian Coca
307ab1f561 and it was supposed to be a dict
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-19 17:22:05 -05:00
Brian Coca
fd78916a73 fixed typo for showing diff
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-19 17:21:00 -05:00
Brian Coca
175d6346a2 debconf package
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-19 16:54:02 -05:00
James Tanner
1ef9930b80 Addresses #5341 Expand home directories when searching for roles in ansible-playbook 2013-12-18 23:31:03 -05:00
James Tanner
c0aa02144f Addresses #5341 expand home directories for role_path in ansible.cfg 2013-12-18 23:22:44 -05:00
James Tanner
5d022182fe Fixes #5341 Use constants.py to set the roles directory 2013-12-18 22:40:58 -05:00
James Tanner
982c9394b2 Add example4 to the docsite AWS guide 2013-12-18 21:05:10 -05:00
James Tanner
78346eb358 Fix current version in docsite index.rst 2013-12-18 21:01:20 -05:00
James Tanner
adfe3ad74c Add 1.4.2 notes to changelog 2013-12-18 20:48:33 -05:00
James Tanner
4a20055a59 Add the ansible-galaxy command 2013-12-18 20:15:37 -05:00
jctanner
3e53fbc139 Merge pull request #5336 from psftw/devel
fix typo in synchronize module
2013-12-18 13:56:56 -08:00
Peter Salvatore
12cb1afdc8 fix typo in synchronize module 2013-12-18 13:06:35 -08:00
Michael DeHaan
3f81c3c416 Merge pull request #5162 from JensRantil/fix-corrupt-module-outputs
More don't catch `SystemExit`
2013-12-18 05:13:34 -08:00
Michael DeHaan
f8c197ba24 Merge pull request #5312 from willthames/ec2_tag_enforce_state
Make state=present the default for ec2_tag
2013-12-18 05:08:50 -08:00
willthames
46a5f8c656 Make state=present the default for ec2_tag
Using `ec2_tag` module without the state argument
currently results in:
```
failed: [127.0.0.1] => {"failed": true, "parsed": false}
```
This fix makes `state=present` the default
2013-12-18 13:40:41 +10:00
jctanner
d3f94fe606 Merge pull request #5303 from mohangk/rds_postgres
Adds postgres support for Ansible RDS module
2013-12-17 14:56:21 -08:00
jctanner
320d41149a Merge pull request #5289 from rstrox/devel
rax: import novaclient.exceptions for cs.images.find
2013-12-17 14:04:05 -08:00
jctanner
acf73bc336 Merge pull request #5225 from prometheanfire/devel
tests depend on the default encoding being utf8
2013-12-17 12:46:05 -08:00
jctanner
4209b8a953 Merge pull request #5203 from sivel/irc-rfc-loops
Improve IRC module. Fixes #5186
2013-12-17 11:46:17 -08:00
jctanner
ea8cd62b19 Merge pull request #5259 from mvo5/bugfix/improve-error-on-invalid-vars-file
improve error on invalid vars file (if its a list instead of a dict)
2013-12-17 11:12:53 -08:00
jctanner
93c15a41dc Merge pull request #5274 from veeti/easy_install_chdir
Fix permission error when using easy_install through sudo
2013-12-17 10:11:31 -08:00
jctanner
60e7a72829 Merge pull request #5321 from jeromew/ansible_ssh_alt
ssh_alt - only trigger 'fatal' when returncode == 255 (interpreted as 'c...
2013-12-17 08:58:31 -08:00
jeromew
e4a3f49fa2 ssh_alt - only trigger 'fatal' when returncode == 255 (interpreted as 'could no connect') 2013-12-17 11:42:00 -05:00
jctanner
d7109d7811 Merge pull request #5163 from JensRantil/fix-issue-5026
`env-setup` fix for zsh <= 4.3.10
2013-12-17 08:32:26 -08:00
jctanner
cd3144af5d Merge pull request #5178 from cavassin/devel
Prevents UnicodeEncodeError
2013-12-16 13:23:16 -08:00
James Tanner
f3a4705a9c Revert "Merge pull request #4874 from leth/editable_install"
This reverts commit 15b89b45e1, reversing
changes made to 3d836a1ab7.
2013-12-16 15:57:03 -05:00
jctanner
53a3671df4 Merge pull request #5160 from JensRantil/fix-issue-5159
Fixes #5159 `file` module: Don't catch `SystemExit`
2013-12-16 12:17:33 -08:00
jctanner
7182486fd2 Merge pull request #5099 from tartansandal/postgresql_db_check_mode
postgres_db CHECKMODE changed status
2013-12-16 11:39:16 -08:00
jctanner
15b89b45e1 Merge pull request #4874 from leth/editable_install
Fix setup.py to work with 'pip install -e .'
2013-12-16 11:22:45 -08:00
Troy C
038d030404 catch exposed cs.exceptions instead of novaclient 2013-12-16 09:33:29 -06:00
jctanner
3d836a1ab7 Merge pull request #5247 from jeromew/ansible_ssh_alt
ssh_alt.py / decrease # of ssh roundtrips
2013-12-16 07:08:35 -08:00
Mohan Krishnan
1dd2510e76 Adds postgres support for Ansible RDS module 2013-12-16 15:51:41 +08:00
Michael DeHaan
f96f69ece3 Update CONTRIBUTING.md 2013-12-15 11:53:54 -05:00
Michael DeHaan
7ff430f461 Update README.md 2013-12-15 11:50:18 -05:00
Michael DeHaan
49667a40c8 Merge pull request #5298 from sa2ajj/minor-docsite-fixes
Minor docsite fixes
2013-12-15 08:32:46 -08:00
Mikhail Sobolev
6569fb8455 fixed a reference to AWX site 2013-12-15 13:12:20 +02:00
Mikhail Sobolev
4448a64069 add seealso to developing_inventory 2013-12-15 13:09:43 +02:00
Troy C
3007a8af7e import novaclient.exceptions for cs.images.find
cs.images.find(human_id= throws novaclient.exceptions.NotFound,
resulting in the try/except block with
image = cs.images.find(name=image)  being skipped. catching
novaclient.exception.NotFound allows images to be specified with the
human readable name.

Example:
  tasks:
    - name: Server build request
      local_action:
        module: rax
        region: DFW
        image: Ubuntu 12.04 LTS (Precise Pangolin)

Also, the import is placed after try: import pyrax, because pyrax
imports novaclient and should fail if novaclient is missing.
2013-12-13 16:27:21 -06:00
Jens Rantil
1b6019f6e0 module(file): Fail instead of exit on exception 2013-12-13 21:34:19 +01:00
Jens Rantil
f4aa808b8d module(file): state what went wrong on exception 2013-12-13 21:33:19 +01:00