Commit Graph

18202 Commits (f99ed97c4048dea177533c3555acf58cd79715a4)
 

Author SHA1 Message Date
James Cammarata 699a854bf3 Fixing bugs in play iteration and strategies
* Fixed a bug in PlayIterator when ITERATING_ALWAYS, where the block
  was advanced but the incorrect data structure elements were cleared
* Cleaned up the logic of is_failed() in PlayIterator
* Fixed a bug in the free strategy which had not been updated to use
  the base strategy _execute_meta() method
* Stopped strategies from using is_failed() to determine if tasks should
  still be fetched for a host

Fixes #14040
9 years ago
James Cammarata 8039ceee0f Tweak block integration tests to also test the free strategy 9 years ago
James Cammarata 5466510edb Removing .out file for integration tests and adding to .gitignore 9 years ago
James Cammarata f4bd3be71f Adding block integration tests 9 years ago
James Cammarata f3b691ccaf Adding .retry files to .gitignore 9 years ago
James Cammarata da9ae14ff6 Adding new feature - meta: clear_host_errors
Allows for the clearing of any failed/unreachable hosts
9 years ago
Brian Coca c433289a8b clarified how block applies directives to tasks
previous text could be interpreted as the block itself doing the evaluation and skipping
9 years ago
Dag Wieers dc48d27dd2 Defined JSON booleans in global context for python eval()
We define 'false' and 'true' as variables so that python eval() recognizes them as False and True.

This fixes #14291.
9 years ago
Brian Coca 26cd465068 Merge pull request #14281 from dagwieers/fix-first-found-list
Handle when the lookup-plugin is used in jinja-style
9 years ago
Dag Wieers dee5dba82a Handle when the lookup-plugin is used in jinja-style
This fixes #14190.
9 years ago
Brian Coca dc6f0c1290 avoid logging color codes 9 years ago
Brian Coca 4f93b17c54 Merge pull request #14155 from towolf/fix_difflist_return_value
Fix handling of difflist containing multiple before/after pairs
9 years ago
Tobias Wolf c902f926ca Do not print empty diffs with _display.display() 9 years ago
Tobias Wolf 28169492f9 Do not insert newlines when diff is empty 9 years ago
Tobias Wolf 67594e8ec2 Fix handling of difflist containing multiple before/after pairs
Commit ansible/ansible@c337293 introduced a difflist feature. The return
value was not adequately outdented to append any diff after the first.
9 years ago
Peter Sprygada 4bda4a13e5 initial add of action plugin net_template
The net_config local action handles templating for network configuration
file.  It will also allow network device configurations to be backed up
to the control host

Note: this plugin was originally named net_config but has been refactored to
net_template
9 years ago
Brian Coca 84f8241ff8 tag the setup task with always
fixes #14228
9 years ago
Toshio Kuratomi 5cd3f71792 Handle utf-8 in module short desc 9 years ago
Toshio Kuratomi 42e312d3bd Change $() into backticks. Backticks should work for both POSIX and non-POSIX compatible shells.
Fixes #14176
9 years ago
Toshio Kuratomi 147dba5d97 Merge pull request #14277 from ansible/default-shell-type
Establish sh as the default shell plugin.
9 years ago
Toshio Kuratomi 5b1d8cfd5c Establish sh as the default shell plugin.
This is a fix for one of the problems pointed out in #14176
9 years ago
Brian Coca c5b4e194fa Merge pull request #14251 from bcoca/ansible_pull_once
better fix for ansible-pull inventory handling
9 years ago
Brian Coca 8d4bc2003f better fix for ansible-pull inventory handling
now it mirrors what it did in previous versions
and properly uses inventory and limit options
9 years ago
Brian Coca d436c3c6ab Merge pull request #14271 from gtaylor/patch-1
Fix a note tag in the API docs.
9 years ago
Brian Coca b08f14531e Merge pull request #14257 from robinro/integration_test_ansible_pull
add integration test for ansible-pull
9 years ago
Matt Davis 200f958873 Merge pull request #14272 from bcoca/executable_connection_dependant
make executable setting connection dependent
9 years ago
Brian Coca 197bed6fd8 make executable setting connection dependant
winrm shoudl not use executable, rest should?
fixes #14233
9 years ago
Greg Taylor 96e22970ee Fix a note tag in the API docs. 9 years ago
Brian Coca 0e551e6d46 clarified ansible_shell_type description 9 years ago
James Cammarata b2c0abe998 Don't mark host as having gathered facts when peeking at next task
Fixes #14243
9 years ago
Kamil Szczygiel fa13aa8c00 rename param from skip_ssl to validate_certs 9 years ago
Brian Coca 6105c8c77c corrected name of inventory_hostnames lookup plugin 9 years ago
Robin Roth ed059ffca9 add integration test for ansible-pull
* this test includes the behavior described in #13688 and #13681
* it runs a minimal playbook and checks for correct use of inventory and limit
9 years ago
Brian Coca a584ab3420 Merge pull request #11113 from sysadmin75/11104_osx_facts_bridge
Fixes OSX fact gathering for the bridge interface.
9 years ago
Brian Coca 6c73aa7ad6 Merge pull request #14159 from bcoca/options_readable
added option groups to make --help readable
9 years ago
Brian Coca f628704a71 added option groups to make --help readable
Also moved -K to become to keep short option in view of removing the
separate sudo/su prompt options
9 years ago
Brian Coca eafc31f3f8 Merge pull request #14197 from bcoca/safer_data_load
load now does not modify the incomming data
9 years ago
Brian Coca e96101a9ac Merge pull request #14249 from bcoca/bare_handling
Bare handling
9 years ago
Brian Coca 9c4a00ad29 added ec2_dhcp_options module to changelog 9 years ago
Brian Coca 13c011c8fd added ec2_vol_facts to changelog 9 years ago
Brian Coca dc15eb806e deprecate all bare variable conversions (not debug)
now deprecation message appears with variable name in all spots where this occurs
debug's var= option is excluded as this is only place where bare variables shold actually
be accepted.
9 years ago
Brian Coca 28cf4bc00b fix incorrect environment processing
it was assumed it could only be a dict or string (it starts out as a list)
also a 2nd assumption that bare vars only would appear in one of the dict keys.

removed deprecation warnings from here as they should be signaled in the bare conversion itself.
9 years ago
Brian Coca 6a62ad6c4b hide internal params once used 9 years ago
Brian Coca e0ed88e668 normalize error message on src != dir when local
now action plugin returns same error as module
9 years ago
Matt Martz ddfab5faf1 Use isinstance type checks in bool filter so we can handle unsafe proxy objects. Fixes #14240 9 years ago
Peter Sprygada b2f1c0691d initial add of action plugin ops_template
Adds new local action ops_config for handling openswitch configurations using
either dc or cli based configurations.  Implements the common net_config
local action.

Note this refactors the ops_config plugin to ops_template
9 years ago
Peter Sprygada 4f2a75923e initial add of action plugin ios_template
Adds a new local action ios_config for working with cisco ios configuration
files.  Implements the common net_confing local action

Note this plugin was refactored from ios_config to ios_template
9 years ago
Peter Sprygada 54f7a7b6d2 initial add of action plugin nxos_template
Adds new local action for working with cisco nxos configurations.  Implemements
the net_config local action.

Note this action plugin was refactored from nxos_config to nxos_template
9 years ago
Peter Sprygada be82caefd2 initial add of action plugin eos_template
Adds a new local action for eos_config module to handle templating configs
and backing up running configurations.   Implements the local action
net_config

Note this action was refactored from eos_config to eos_template
9 years ago
Brian Coca 25f403d36d Merge pull request #14244 from anthonycrobinson/devel
Update example vpc_desitnation_variable example with working settings
9 years ago