Toshio Kuratomi
b48be7c484
Update submodule refs for v2
2015-05-19 14:27:54 -07:00
Rene Moser
8da580a29c
basic: fix ValueError if value of a type='int' is not an int
...
With this fix, we get a friendly error message:
failed: [localhost] => {"failed": true}
msg: value of argument start_port is not of type int and we were unable to automatically convert
2015-05-19 11:51:56 -04:00
Brian Coca
9a88e0fc8e
removed empty choices from files
2015-05-19 10:46:44 -04:00
James Cammarata
21fa385ce7
Reorganizing plugin unit tests and adding start of strategy tests (v2)
2015-05-18 17:26:59 -07:00
Hugh Saunders
2e07567c16
Retry exec command via ssh_retry
...
This PR adds the option to retry failed ssh executions, if the failure
is caused by ssh itself, not the remote command. This can be helpful if
there are transient network issues. Retries are only implemented in the
openssh connection plugin and are disabled by default. Retries are
enabled by setting ssh_connection > retries to an integer greater
than 0.
Running a long series of playbooks, or a short playbook against a large
cluster may result in transient ssh failures, some examples logged
[here](https://trello.com/c/1yh6csEQ/13-ssh-errors ).
Ansible should be able to retry an ssh connection in order to survive
transient failures.
Ansible marks a host as failed the first time it fails to contact it.
2015-05-18 14:22:52 -07:00
Toshio Kuratomi
684e30a5f4
Update submodule refs
2015-05-18 09:00:16 -07:00
Brian Coca
16df2726ca
Merge pull request #11018 from tyll/ed25519
...
facts: Add ed25519 ssh pubkey
2015-05-18 08:15:11 -04:00
Toshio Kuratomi
8f71e47a73
Update core and extras module refs
2015-05-17 09:23:39 -07:00
James Cammarata
9aa8676bdd
More template unit tests for v2
2015-05-17 01:06:02 -05:00
Till Maas
02d784598f
facts: Simplify ssh key fetching
2015-05-15 22:36:13 +02:00
Till Maas
e7846343e5
facts: Add ed25519 ssh pubkey
2015-05-15 22:25:20 +02:00
Brian Coca
0913b8263c
made special treatment of certain filesystem for selinux configurable
2015-05-15 13:52:27 -04:00
Toshio Kuratomi
2e31a67532
Update module refs in v2
2015-05-15 10:42:41 -07:00
James Cammarata
ac7dce4631
Fixing broken set_extra_vars method after fixing unit tests (v2)
2015-05-15 10:45:55 -05:00
James Cammarata
48d62fd934
Cleaning up VariableManager tests (v2)
2015-05-14 20:10:31 -05:00
Toshio Kuratomi
b91ce29007
Go to next task when we get an error in linear
2015-05-13 12:52:51 -07:00
James Cammarata
b94e2a1f4e
Fixing bugs related to parsing and fixing up parsing integration tests (v2)
2015-05-13 11:27:12 -05:00
Brian Coca
b85ce38834
slight changes to error handling to align with v1
2015-05-13 11:15:32 -04:00
Toshio Kuratomi
079fca27a2
Update module refs for v2
2015-05-13 06:57:04 -07:00
James Cammarata
830225d9c1
Fix errors in subelements lookup plugin and associated tests (v2)
2015-05-12 15:09:03 -05:00
James Cammarata
4d999f8fe0
Fix logic error in parent attribute retrieval for blocks/roles (v2)
2015-05-12 15:08:35 -05:00
James Cammarata
b03b7892f8
Fix method of exiting task loop (v2)
2015-05-12 13:09:08 -05:00
Toshio Kuratomi
d0d0e9933f
Update module refs in v2
2015-05-12 11:05:58 -07:00
Serge van Ginderachter
9b646dea41
Add optional 'skip_missing' flag to subelements
2015-05-12 12:52:16 -05:00
James Cammarata
1ca8cb8553
Fixing up v2 unit tests
2015-05-12 12:24:57 -05:00
James Cammarata
361eb29146
Also make task_executor connect explicitly (v2)
2015-05-12 11:30:08 -05:00
James Cammarata
3697d6582f
Connection plugins no longer auto-connect (v2)
...
Also fixed a bug in ssh.py where an attribute was being inappropriately
initialized in the _connect() method instead of __init__()
2015-05-12 11:23:40 -05:00
Brian Coca
09605706d9
relly fix it this time
2015-05-12 12:26:20 -04:00
Brian Coca
12a800c0e7
fixed less opts issue
2015-05-12 12:24:32 -04:00
Brian Coca
8fdf9ae59b
moved module_doc_fragments to v2
2015-05-12 12:18:55 -04:00
James Cammarata
fd321355d6
Adding 'role_path' to VariableManager "magic" variables (v2)
2015-05-11 14:04:17 -05:00
James Cammarata
7b1c6fbab9
Fix playbook includes so tags are obeyed (v2)
2015-05-11 12:48:03 -05:00
James Cammarata
daf533c80e
V2 fixes
...
* PluginLoader class will now be more selective about loading some
plugin classes, if a required base class is specified (used to avoid
loading v1 plugins that have changed significantly in their apis)
* Added ability for the connection info class to read values from a
given hosts variables, to support "magic" variables
* Added some more magic variables to the VariableManager output
* Fixed a bug in the ActionBase class, where the module configuration
code was not correctly handling unicode
2015-05-11 11:29:48 -05:00
Toshio Kuratomi
f141ec9671
Update v2 module refs
2015-05-11 09:28:19 -07:00
Brian Coca
d1977dad23
started implementing syntax check
2015-05-08 19:19:03 -04:00
Toshio Kuratomi
7f21f270d9
Be more lenient in instance check: MutableMapping is more general than dict
2015-05-08 13:18:19 -07:00
Toshio Kuratomi
3a87b2727d
Fix format strings for python2.6
2015-05-08 13:11:04 -07:00
Brian Coca
56c9614e74
made playbook include taggable, removed unused conditional import
2015-05-08 14:26:06 -04:00
James Cammarata
0f1eb3cfc2
Better fix for serializing/deserializing cache plugins (v2)
2015-05-07 23:56:33 -05:00
James Cammarata
cd6d1f9221
Fix pickling errors with cache plugins (v2)
...
Fixes #10945
2015-05-07 21:15:02 -05:00
James Cammarata
198476e345
Cleaning up some portions of synchronize action plugin (v2)
2015-05-07 13:06:51 -05:00
James Cammarata
8db21f99b7
Set the inventory on the variable manager for the adhoc cli usage (v2)
2015-05-07 12:53:59 -05:00
Matt Martz
88e8ecb620
Actually get the synchronize action plugin to work
2015-05-07 12:27:30 -05:00
Matt Martz
4f4df29cb0
Add ability to specify using ssh_args in synchronize for v2
2015-05-07 11:38:15 -05:00
Toshio Kuratomi
cee7cd5d3b
Update v2 module refs
2015-05-07 08:29:04 -07:00
James Cammarata
1152c7327a
Fix serialization bug for plugins (v2)
2015-05-06 15:18:37 -05:00
James Cammarata
4f28a814ae
Return a list instead of tuple when password is specified to ssh connection plugin (v2)
2015-05-06 08:47:23 -05:00
Toshio Kuratomi
7733dc7bb5
Fix for new octal syntax
2015-05-06 06:41:16 -07:00
Toshio Kuratomi
79fe1901f6
Update module pointers for v2
2015-05-06 06:05:44 -07:00
James Cammarata
50542db0be
Make the default playbook name an empty string (v2)
2015-05-06 02:56:52 -05:00