Commit Graph

19926 Commits (fe8258a378d6e729145afd15a4906ed53f1b6be4)
 

Author SHA1 Message Date
jlmitch5 caaffda496 Remove break word for docsite tables
This still allows the lines to wrap with lots of text, like comments cells.
8 years ago
Peter Sprygada 107c13759e changes Config class in network to only raise exceptions
The Config class should not call fail_json but simply raise exceptions
and allow the implementor to handle the exception
8 years ago
Toshio Kuratomi 39c543e356 Use find -exec + so that failures will be visible in find's exit code (#16389)
Fixes #16385
8 years ago
Matt Clay 7de23a1c5b Update opensuseleap Dockerfile.
- Do not update base image packages unnecessarily.
- Fix incorrect package names.
- Remove commented out RUN statements.
- Sort list of packages to install.
8 years ago
James Cammarata 4c1601e9f2 Take previously failed/unreachable hosts into account when checking the batch
Again, as we're carrying failed/unreachable hosts forward from play to play via
internal structures, we need to remember which ones had previously failed so that
unrelated host failures don't inflate the numbers for a given serial batch in the
PlaybookExecutor causing a premature exit.

Fixes #16364
8 years ago
James Cammarata aefa12a20f Merge pull request #13709 from traveloka/credstash-support-encr-context
Make credstash lookup plugin support encryption contexts
8 years ago
James Cammarata 15e648dd94 Fix handler listeners as a list
The listen statement on handlers should have supported a list, however
it was broken in the revision of the pub/sub feature based on the handler
revamp. This patch corrects the bug, so this works again:

- name: some handler
  ...
  listen:
  - some target
  - another target

Fixes #16378
8 years ago
jctanner b7f9037b5b Add test for multi-options in authorized_key (#16375)
Addresses https://github.com/ansible/ansible-modules-core/issues/1715
8 years ago
James Tanner b1d32e6e32 Update submodule refs 8 years ago
Ryan Brown 467062f488 Merge pull request #16286 from kwoodson/gce_instance_states
Adding instance_states to gce inventory to align with other inventories.
8 years ago
nitzmahone 2bf9f593b5 bump submodule refs 8 years ago
James Cammarata 96a96b0e97 Merge pull request #16360 from agaffney/old_style_module_args_quoting
Fix quoting of args for old-style modules
8 years ago
René Moser 80e52888a5 doc: fix typo, handler listen in v2.2 8 years ago
Nathaniel Case 5dccff29bf Network Module: EOS (#16158)
* add new module network

* move EOS to NetworkModule

* shell.py Python 3.x compatibility

* implements the Command class through the connection for eos

This implements a new Command class that specifies the cli command
and output format.  This removes the need to batch commands through
the connection

* initial add of netcmd module
8 years ago
James Cammarata 17447ff035 Fixing typo in base strategy code from handler listen feature merge 8 years ago
James Cammarata a026481396 Adding docs for handler listen feature and CHANGELOG entry for same 8 years ago
James Cammarata ca6ee4c789 FEATURE: handler listeners
Fixes ansible/proposals#8
8 years ago
James Cammarata 8218591fec Track notified handlers by object rather than simply their name
Due to the fact that roles may be instantiated with different sets of
params (multiple inclusions of the same role or via role dependencies),
simply tracking notified handlers by name does not work. This patch
changes the way we track handler notifications by using the handler
object itself instead of just the name, allowing for multiple internal
instances. Normally this would be bad, but we also modify the way we
search for handlers by first looking at the notifying tasks dependency
chain (ensuring that roles find their own handlers first) and then at
the main list of handlers, using the first match it finds.

This patch also modifies the way we setup the internal list of handlers,
which should allow us to correctly identify if a notified handler exists
more easily.

Fixes #15084
8 years ago
Benjamin Schwarze d82808a1b0 Remove download stats badge (#16358)
PyPI download stats have been disabled due to resource constraints (see Donald Stufft's comment, https://bitbucket.org/pypa/pypi/issues/396/download-stats-have-stopped-working-again#comment-27808922).

Thus the download stats badge counter does not show correct data.
8 years ago
Andrew Gaffney a64f7fd602 Fix quoting of args for old-style modules
This removes the extra layer of quotes around values in the 'args' file.
These quotes were there before the pipes.quote() call was added, but
were not removed, resulting in too much quoting.
8 years ago
jctanner 1db02dfb71 If decryption of a vaulted file failed, include the filename in the error. (#16329)
Fixes #16327
8 years ago
James Cammarata 8ee851cd95 Merge pull request #13460 from yesbox/devel
Adds support for converting a MAC address to an integer
8 years ago
James Cammarata 4bc85e150a Merge pull request #12807 from Lujeni/devel
Ansible-galaxy requirements support a include directive
8 years ago
James Cammarata 20754c1094 Allow groups to be specified using YAML list syntax for add_host
Fixes #12622
8 years ago
Zempashi af150ea43a Fix linux 'ip' stdout parsing. (#16170)
With network-manager in debian (stretch) and openvpn connection enabled
the output for ipv6 is different and include a 'peer' keyword.

Fixes #15448
8 years ago
Adrian Likins 2275a08b9a Merge pull request #16176 from natefoo/solaris-facts
Fix distro detection for Solaris derivatives
8 years ago
Nate Coraor 706778ee7f Fix distro detection for Solaris derivatives 8 years ago
nitzmahone 7bc3be64ae fix win_setup integration test to match fact name 8 years ago
art-at-sky 38590fbab9 Fix string coercion problem in error handling code 10:50 (#16270)
Manifests as the following stack trace
  File "/usr/local/Cellar/ansible/2.0.1.0/libexec/lib/python2.7/site-packages/ansible/utils/display.py", line 259, in error
      new_msg = u"ERROR! " + msg
      TypeError: coercing to Unicode: need string or buffer, AnsibleParserError found
8 years ago
Toshio Kuratomi 73fcf9ba6e Note that ZFS's acls won't work with Ansible's secure temp file code. 8 years ago
Mark Szymanski 2b0d0d0323 Allowing changed colour to be set properly from ansible.cfg (#16338) 8 years ago
Matt Martz a0e24ec579 Merge pull request #16346 from sivel/issue/16341-2
Rework the v2 API example to use a custom callback
8 years ago
Matt Martz ab65150a9e Rework the v2 API example to use a custom callback to better show how callbacks can be used for handling results 8 years ago
Matt Martz f9007d2d6d Merge pull request #16345 from sivel/issue/16341
Extend v2 API use example to show collecting results. Fixes #16341
8 years ago
Matt Martz eab10b2402 Extend v2 API use example to show collecting results. Fixes #16341 8 years ago
Kenny Woodson ebf1feb5bb Adding instance_states option to gce inventory 8 years ago
Toshio Kuratomi bef1971ffe Update core submodule for wait_for fix 8 years ago
Toshio Kuratomi 6cb8fdeaf2 Use find instead of -R for recursive setfacl (#16340)
(-R is not present on Solaris or freebsd setfacl)

Fixes #16322
8 years ago
James Tanner a5046a3ffe Update submodule refs 8 years ago
Sandra Wills f4724e55d3 Merge pull request #16330 from jlmitch5/patch-1
Fix table width on docsite
8 years ago
jlmitch5 e397d7d603 Fix table width on docsite
This makes it so that table columns break by word instead of in between words.  It also sets the minimum width of a column in the table to 100px, and makes tables horizontally scrollable on small screen sizes.
8 years ago
Matt Davis b0142f79ba Merge pull request #16319 from jhawkesworth/more-regedit-tests
windows: integration tests to cover https://github.com/ansible/ansible-modules-extras/pull/2436
8 years ago
Matt Davis 5900571273 Merge pull request #16296 from ccin2p3/hotfix/issue_16295
Properly template task names in free strategy
8 years ago
Matt Davis 9e2e2b1c54 Merge pull request #16279 from md5/show-facl-error
Show stderr when there is an error calling setfacl
8 years ago
= 9857af2b6e added further tests for win_regedit to cover the changes made
under https://github.com/ansible/ansible-modules-extras/pull/2436
8 years ago
nitzmahone 0a0b44baeb bump submodule refs 8 years ago
Toshio Kuratomi a3959644ee Change the default of module_set_locale to False. (#16313)
This makes Ansible no longer set LC_ALL for remote systems.  It is up to
the individual modules to set LC_ALL if they need it for screenscraping
the output from a program.

This is the 2.2 followup for #15138
8 years ago
Colin Hoglund 5a2b34e159 allow spaces before the filter string (#16312) 8 years ago
Toshio Kuratomi e088193599 Update submodule refs 8 years ago
Toshio Kuratomi 4ea5f77062 Merge pull request #16308 from abadger/synchronize-check-required
Check that required arguments src and dest are present.
8 years ago