Commit Graph

11329 Commits (e143d7dab732e2091bffb293184d7f0402518b9f)
 

Author SHA1 Message Date
James Cammarata eeb597360e Further safe_eval fixes 10 years ago
Marc Abramowitz 50ffa9e0e7 nova.py: Set defaults for OpenStack settings
- auth_system
- region_name

These are config settings that could be left out in many scenarios, but
the current code is requiring them. With this in place, I can get by
with this minimal .ini file:

```ini
[openstack]
version=1.1
auth_url=http://{keystone_host}:5000/v2.0
project_id=web
username={username}
api_key={password}
```
10 years ago
Marc Abramowitz 26cc0b3780 nova.py: indented and sorted JSON output 10 years ago
Adam Bowen c0da5f6bd3 Correct typo: 'receords' -> 'records'
I should read more than a sentence at a time when I'm correcting typos—sorry for the typo correction spam ;)
10 years ago
Adam Bowen 0c3d7f1bd8 Correct typo: 'additioanl' -> 'additional' 10 years ago
Marc Abramowitz 685fae4d9c nova.py: Remove DOCUMENTATION block
@mpdehaan said that nothing uses them at
https://github.com/ansible/ansible/pull/7988#issuecomment-47600006
10 years ago
dewey hylton 379e1a49cb fix swap translation on 4.x openbsd with 2.5.4 python 10 years ago
Michael DeHaan 14cf3c4d2a Merge pull request #7972 from mscherer/fix_lxc
libvirt_lxc: Fix exec_command prototype for the plugin
10 years ago
Michael DeHaan 2d53bc41ed Merge pull request #7981 from adamnbowen/patch-1
Correct typo: 'manaul' to 'manual'
10 years ago
Adam Bowen 61b107da34 Correct typo: 'manaul' to 'manual' 10 years ago
Michael DeHaan e013043f40 Merge pull request #7974 from msabramo/CODING_GUIDELINES_slash_to_backslash
CODING_GUIDELINES: Fix typo: / => \
10 years ago
Marc Abramowitz a1af6ca0c6 CODING_GUIDELINES: Fix typo: / => \ 10 years ago
Michael Scherer f0a7139290 Fix exec_command prototype for the plugin 10 years ago
Michael DeHaan 6fdf77f9fe Update guides.rst 10 years ago
James Cammarata 539426f612 Performance tuning inventory functions for large inventories 10 years ago
Hector Acosta d3268d05ec Correctly handle .repo files in zypper_repository module
Before the changes, removing a repository required a repo url. This shouldn't be required since zypper allows removing a repo based on its alias (mapped to name in this module).

The name variable was always required, which is misleading since repofiles provide their own alias. So a runtime check was added to avoid this confusion.

Additionaly, running this module on .repo files weren't idempotent. e.g

Before:
$ ./hacking/test-module -m library/packaging/zypper_repository -a "repo=http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo name=foo"
{"repo": "http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo", "state": "present", "changed": true}
$ ./hacking/test-module -m library/packaging/zypper_repository -a "repo=http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo name=foo"
{"msg": "Repository named 'devel_languages_python' already exists. Please use another alias.\n", "failed": true}

After:
$ ./hacking/test-module -m library/packaging/zypper_repository -a "repo=http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo"
{"repo": "http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo", "state": "present", "changed": true}
$ ./hacking/test-module -m library/packaging/zypper_repository -a "repo=http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo"
{"repo": "http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo", "state": "present", "changed": false}

Signed-off-by: Hector Acosta <hector.acosta@gmail.com>
10 years ago
James Cammarata 29434b06b8 Merge pull request #7942 from sidred10/devel
Fixed FreeBSD ports install issue
10 years ago
sid 08370b3caf Fixed FreeBSD ports install issue 10 years ago
James Cammarata 5c959e7a20 Merge pull request #7939 from PinGwynn/feature
portage: Successful exit if sync=yes and no package provided
10 years ago
Maxim Odinintsev 82c026387f Successfull exit if sync=yes and no package provided 10 years ago
Maxim Odinintsev a58912773d Success exit if sync=yes and no package provided 10 years ago
James Cammarata 05eb6aacec Merge pull request #7925 from devpopol/fixes/api_error
fixes the now-incorrect module for ApiError -- noticed since 0.3.2
10 years ago
James Cammarata 2305ac9881 Merge pull request #7930 from trbs/apt_key_fetch_url_failure_codes
apt_key clear message when downloading key returns an (http) error code
10 years ago
James Cammarata f5a4bd8af6 Backporting packaging updates from 1.6 branch 10 years ago
Michael DeHaan 86481c891d Update CHANGELOG.md 10 years ago
Michael DeHaan 4de8c8ebf0 Update RELEASES.txt 10 years ago
James Cammarata 35368e531b Additional fixes for safe_eval 10 years ago
Michael DeHaan 373fa0f722 Merge pull request #7934 from chrishepner/patch-1
Fix missing code block in playbook variables doc
10 years ago
Michael DeHaan f6c7e34527 Merge pull request #7931 from quiver/fix-yum-module-doc
In yum module example, use present/absent instead of installed/removed
10 years ago
Michael DeHaan a91ab1ed55 Merge pull request #7928 from timruffles/grammar
grammar fix
10 years ago
Michael DeHaan 42691685dd Merge pull request #7935 from mscherer/patch-1
Fix small typographic error
10 years ago
mscherer 5ca8482d51 Fix small typographic error 10 years ago
James Cammarata 5429b85b9f Change safe_eval to a strict white list 10 years ago
Chris Hepner 49f3a794b1 Fix missing code block in playbook variables doc
A code sample was not being rendered as a code block. This adds the preceding '::' reStructuredText markup.
10 years ago
George Yoshida 779c6cb7f8 In the yum module example, use present/absent instead of installed/removed 10 years ago
trbs dfc625a7df apt_key clear message when downloading key returns an (http) error code 10 years ago
Tim Ruffles 676f0a6e76 grammar fix 10 years ago
Stephen Paul Suarez 49cf5831c5 support old and new versions of APIError 10 years ago
Stephen Paul Suarez dfabf2707a fixes the now-incorrect module for ApiError
https://github.com/dotcloud/docker-py/blob/0.3.2/docker/errors.py
- ApiError is now(0.3.2) under the docker.errors
10 years ago
James Cammarata d8a7b49b59 Merge branch 'inventorytree' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-inventorytree 10 years ago
Matt Martz 19f5ce2c9c Allow --vault-password-file to work with a script as well as a flat file 10 years ago
James Cammarata 375edbd087 Check to make sure key exists in tag list before using it
Fixes #7910
10 years ago
James Cammarata 98f8438236 Updating the other classes in the group module to match #7249 10 years ago
James Cammarata bdd9b4cac4 Merge pull request #7249 from jfchevrette/implement-group-checking-if-state-present
Allow group module to handle check_mode properly when group.state=present and group already exists
10 years ago
James Cammarata 5951f14dcb Merge pull request #7915 from gitaarik/devel
Add examples for `shell` and `command` modules.
10 years ago
James Cammarata e4a4152f39 Merge pull request #7912 from adrienbrault/patch-1
Fix typo in playbook roles doc
10 years ago
James Cammarata 0fee40774d Merge pull request #7909 from Elemecca/t-apt-list
Restore #6484 (YAML lists in apt) reverted by c751168.
10 years ago
James Cammarata 1adb6dfa05 Remove redundant 'self.user or' added by 0f91add 10 years ago
Rik 59d98993eb Added examples to the command module 10 years ago
Rik 1146c09f9d Added examples to the shell module 10 years ago