Commit Graph

27758 Commits (9a2b2200050279dca107f42addf3083e61628e7b)
 

Author SHA1 Message Date
Nehal J Wani ead0022255 Open temp file only once
mkstemp() returns a tuple containing an OS-level handle to an open file
(as would be returned by os.open()) and the absolute pathname of that
file, in that order.

This patch makes sure that the fd opened by tempfile.mkstemp() is
re-used and closed properly.
8 years ago
John R Barker 39af9b5a86 Make it clearer where the network tests live (#19242) 8 years ago
Dylan Silva cf83a235d5 Updated for 2.4 Roadmap
- Added in 2.4 roadmap page
- Updated top-level Roadmap to reflect new page
8 years ago
Fabio Alessandro Locati 470d1e3aea Remove unused quotes (#19207) 8 years ago
Fabio Alessandro Locati 4b9a65fd7c Improve quotes - notification/hall.py (#19166) 8 years ago
Fabio Alessandro Locati 64e4c2798c Improve quotes - notification/nexmo.py (#19168) 8 years ago
Fabio Alessandro Locati 5e9b763937 Remove useless quotes - notification/sns.py (#19169) 8 years ago
Fabio Alessandro Locati 3d15f622b0 Always run on localhost - notification/rocketchat.py (#19170) 8 years ago
Fabio Alessandro Locati cf5424e165 Remove useless quotes - monitoring/statusio_maintenance.py (#19173) 8 years ago
Kevin Burke 114e3cb7a4 Fix typos in git.py (#19186) 8 years ago
Evan Kaufman aaf13e07fe Handle byte/string conversion on read/write with text module_utils (#19188)
Fixes ansible/ansible-modules-core#5840, moved from ansible/ansible-modules-core#5847
8 years ago
Brian Coca 7a07a594f7 reword
(cherry picked from commit 72d6e7ef2ba59ec7b905f2438d27975f43ccfde5)
8 years ago
Brian Coca 76816c6fec added packing faq entry
(cherry picked from commit 02183a10feb255c692e5a5c1d9a6b77b1afe6344)
8 years ago
Vlad Glagolev 45b2f4b479 Source Mage GNU/Linux package manager support (#19072)
* added alpha version of the 'sorcery' module

* fully conforming YAML

* use bundled check for executables

* - codex_list(): use commands instead of checksums to get sorcery version and verify codex equality - renamed: - manage_depends() -> match_depends() - tocast -> cast_queue, todispel -> dispel_queue, needs_recast -> depends_ok - SORCERY_LOG -> SORCERY_LOG_DIR, SORCERY_STATE -> SORCERY_STATE_DIR - removed: - SORCERY_VERSION_FILE - CODEX - added commentary to match_depends() and manage_spells() - fixed bug about dropped dependency line for previously existed dependency - fixed bug about not fixing depends for the 'latest' state - simplified several code constructions

* cleaned up some docs

* do not use separate message for Codex update, rely on the 'changed' status instead

* use built-in list conversion (_check_type_list()) for spells

* corrected spell name extraction from list in match_depends()

* avoid non-matching dependencies line duplication in depends file

* added more complex playbook example

* tiny stylistic fix for docs

* replaced ternary construction with a regular statement

* replaced yet another ternary construction with a regular statement

* enable Python 2.4 compatibility by splitting try-finally block

* enable Python 2.4 compatibility by replacing 'with' statement with try-except+try-finally blocks

* unify spells' assign

* replaced one regex with startswith()

* go Ansible 2.1

* added dummy RETURN template

* go Ansible 2.2

* better clarify permissions' requirements

* - updated copyright years - fixed rebuild command bug - re-used run_command_environ_update dict for env var management

* handle Python 3.5

* Revert "handle Python 3.5"

This reverts commit 33a5a0eb64c1193318298e111f063cdd5f93b73a.

* handle Python 3.5 (2nd try)

* go Ansible 2.3

* clarity++
8 years ago
Fabio Alessandro Locati 9a9ee3a195 Improve YAML (#19174) 8 years ago
Fabio Alessandro Locati 4bfb83c966 Native YAML - notification/mqtt.py (#19164) 8 years ago
Alexandre Garnier 0f7abad38f Fix python 2.4 compatibility
`start` keyword of `enumerate` is only available since python 2.6
8 years ago
Chris Houseknecht 65491cc839 For docker add --blocking-io only when missing (#19171) 8 years ago
Irina Muchnik 9f58e69d63 Fix secure temp file creation (#19096)
* For realz this time

* Fix tempfile.mkstemp (#2)

* back to square one, removing temp file from the mix

* Adding temp back

* Adding tuple  back

* Adding another tuple back

* Trying to get around weird Jenkins behavior of blowing up when both .hpi and jpi file found

* Incorporating PR feedback

* Delete .hpi file instead of backing it up, some basic clean up

* Moving file deletion to the right location

* Blank lines. They always get me.
8 years ago
Fabio Alessandro Locati 2adde7a6d1 Remove unused quotes - notification/pushbullet.py (#19149) 8 years ago
Fabio Alessandro Locati c3887138c5 Remove unused quotes (#19150) 8 years ago
Fabio Alessandro Locati 261fad8fee Remove unused quotes - notification/hipchat.py (#19151) 8 years ago
Fabio Alessandro Locati 617e82fe8c Remove unused quotes - notification/twilio.py (#19152) 8 years ago
Fabio Alessandro Locati e788f13956 Remove unused quotes - files/unarchive.py (#19155) 8 years ago
Fabio Alessandro Locati 90a698c367 Remove unused quotes - notification/rocketchat.py (#19156) 8 years ago
Fabio Alessandro Locati 372352f35d Remove unused quotes - web_infrastructure/deploy_helper.py (#19157) 8 years ago
Fabio Alessandro Locati e32b0da0b0 Improve examples - monitoring/logicmonitor_facts.py (#19158) 8 years ago
Fabio Alessandro Locati a8fa008bbe Remove unused quotes - source_control/github_hooks.py (#19159) 8 years ago
Fabio Alessandro Locati b42cda4dd2 Remove deprecated example (#19161) 8 years ago
Chris Houseknecht b02491ba70 Add --blocking-io option when docker connection (#19140) 8 years ago
Rene Moser b1ea79af51 cloudstack: cs_role: doc fixes. 8 years ago
René Moser a8fc8249b4 cloudstack: new module cs_role (#19134) 8 years ago
Matt Clay 2cb6a10a0e Fix module names in module docs. 8 years ago
Matt Clay cd47cb2a15 Remove remnants of obsolete fireball mode. 8 years ago
Matt Clay ac7edef2be Fix modules with documentation errors. 8 years ago
Fabio Alessandro Locati 9a075b5917 Avoid using an object if it does not exists (#19058) 8 years ago
Fabio Alessandro Locati 28a12e8b27 Use dbus only if it is present (#19060) 8 years ago
Fabio Alessandro Locati 3b509b1095 Avoid extending a class if it does not exists (#19059) 8 years ago
Kash 6b1586748f Fixes #4538 passing int params as required by boto (#18999) 8 years ago
Adam Chainz 0e124c57c6 Fix link from dynamic inventory page to dev guide page (#18757) 8 years ago
Matt Clay bea8a3201d Remove obsolete files and instructions. (#19079)
* Remove obsolete `unify_repos.sh` script.
* Remove submodule update after checkout reference.
8 years ago
Jeffrey Cafferata 0b7764d572 Update galaxy.rst (#19003)
Converterd / fixed MarkDown URL to reStructuredText.
8 years ago
Yury V. Zaytsev 395b59ea6c Update ec2_vpc_peer.py (#19069)
Document `peering_id` module parameter.
8 years ago
José Sabater Montes 66ced41485 Add new Amazon EBS volume types. Fixes issue 4041 of ansible-modules-core 8 years ago
Adam Chainz 0b8aada1bc Cloudformation - allow re-using an existing template (#19009)
* Allow re-using an existing template when updating a stack by not passing 'template' or 'template_url'. This is a big one for me as our deploy process creates a new stack and then modifies the old one; to avoid changing the resources inside the old one, we have had to avoid using the Ansible module and use the AWS CLI instead in order to pass `--use-previous-template`.
* Split create and update logic into separate functions
* Remove dead `update` variable
8 years ago
Maarten Bezemer 7b4eb078c6 Leave current secutiry groups as-is if not provided (#19043) 8 years ago
Tom Paine 1d80f5cf0f Update ec2_group.py (#19033)
PR move of https://github.com/ansible/ansible-modules-core/pull/3588

##### ISSUE TYPE
- Docs Pull Request

##### COMPONENT NAME
ec2_group.py

##### ANSIBLE VERSION

```
ansible 2.0.2.0
  config file = /Users/tpai/src/cm-secure/ansible.cfg
  configured module search path = Default w/o overrides
```
##### SUMMARY

Make it clear you can specify the created group in the rules list, allowing idempotent use for group<->group networking rules.

This is a really useful feature that isn't obvious enough in the docs.
8 years ago
Andy Freeland cb9b5ab146 Include volume encryption status in 'ec2_vol_facts' module (#19017) 8 years ago
Robin Roth e18bc0d6f0 Add test for auto_import_keys in zypper_repository (#17898)
* tests the bug found in ansible/ansible-modules-extras#3086
8 years ago
Fabio Alessandro Locati ea46d5548b Native YAML - cloud/softlayer/sl_vm.py (#19056)
* Native YAML - cloud/softlayer/sl_vm.py

* Pointless to delegate/localaction, since we are already running on localhost
8 years ago