Commit Graph

21413 Commits (f68b49057f9ebdfb2c8cced556420b620875bfa9)
 

Author SHA1 Message Date
Sam Doran f68b49057f Add test cases for VyOS commands that don't honor paging settings (#18553)
* Add test cases for VyOS commands that don't honor paging settings

Testing for issue fixed in PR #18546

* Add provider line and fix indentation

For the way we invoke the tests we need to specify the `provider:` 
Also fix the indentation on `register:`
8 years ago
Brian Coca 6dece90a57 change to ~ instead of $HOME to avoid undefined (#18551)
fixes #16032
8 years ago
Andrea Tartaglia 62697ad77f Replaced iterkeys with 'for key in dict' for #18507 (#18538) 8 years ago
John R Barker d27e007fb1 Network docs fragments: fix copy paste errors (#18564) 8 years ago
René Moser 72f75fd9e0 cloudstack: add helpers to distinguish VMs not in VPC (#18560)
VMs in VPC and not in VPC can have an identical name. As a result VMs in a VPC must be sorted out if no VPC is given.
Due the API limitation, the only way is to check if the network of the VM is in a VPC.
8 years ago
Toshio Kuratomi 493fb4b665 Test that changing the flags on a mounted filesystem works (#18552)
* Test that changing the flags on a mounted filesystem works
8 years ago
Toshio Kuratomi 783a185f1c Update submodule ref for mount fixes 8 years ago
René Moser ff7051bab4 cloudstack: fix distinguish VPC and other networks (#18515) 8 years ago
Silvio Tomatis 2cfd6c6920 Change old recommendation about insecure variables (#18493)
* Change old recommendation about insecure variables

These warnings were relevant before ansible had the secure vault feature:
any secret put into a variable used to be a bad idea.

With the vault feature (available since ansible 1.5) it's no longer a bad
idea to use these variables, as long as they aren't stored in plain text.

* Update intro_inventory.rst

Minor edit
8 years ago
Tim Nelson c2cadd1578 Updated rax guide for handling RackConnect (#16101) 8 years ago
Bill Nottingham 7f30324489 update FAQ (#18472) 8 years ago
Valentin 710ede41ee Add link to licence file (COPYING) in README (#18521)
* Add link to licence file (COPYING) in README

* Update link
8 years ago
James Cammarata a83b00bbc0 Properly sort groups by name as well as depth when getting vars
Fixes #17243
8 years ago
James Cammarata f36926f8d3 With role params also keep special params in the ds as well as params
With 2.0, we decided to create a special list of param names which were
taken out of the role data structure and stored as params instead (connection,
port, and remote_user). This causes problems with inheritance of these params,
so we are now deprecating that while also keeping those keys in the ds so they
are brought in as attributes on the Role correctly.

Fixes #17395
8 years ago
Toshio Kuratomi 5984e3ee9b Update submodule refs 8 years ago
Ben Cordero a9a2f12adb openstack: iterate through nova addresses with six (#18408) 8 years ago
Matt Davis 4dba83afc5 disable win_async_wrapper success loop test to keep CI happy 8 years ago
jamessewell b91d4d884d Moved the _inventory.clear_group_dict_cache() from creating a group w… (#17766)
* Moved the _inventory.clear_group_dict_cache() from creating a group which doesn't exist, to adding members to the group.

* Update __init__.py

Update to use changed: block to catch all changes for cache clear as suggested
8 years ago
Matt Clay 4d616366c0 Update test to use keyserver.ubuntu.com. 8 years ago
Matt Davis 602bba4a82 retag win_async_wrapper test to run on module changes 8 years ago
Matt Davis d78ec1e760 bump submodule refs 8 years ago
Andrew Haines 200d6bdb23 Default include_role results to empty list in linear strategy plugin
Fixes #18544.

When a loop is over an empty list, the result is set to

    {'skipped_reason': u'No items in the list', 'skipped': True, 'changed': False}

which means that accessing `hr._result['results']` throws a `KeyError`.
8 years ago
Brian Coca aff5d9160a disable 'dense' callback in py26 8 years ago
James Cammarata 937d872f4b Return failed instead of raising an error when an include_vars file is missing
Fixes #18508
8 years ago
Ryan Groten f12d5b01c7 FreeIPA: Add support for nested hostgroups in FreeIPA (#14695) 8 years ago
Ganesh Nalawade f6437f1b6e Fix command typo in integration tests README file (#18539) 8 years ago
Brian Coca 461286f914 added new callback dense 8 years ago
Dag Wieers b7425b59ee Adapt callback functions to changes in 13f3cbaf3b 8 years ago
Dag Wieers 0036108c59 Implement destructor to ensure newline and terminal attributes
Also fixed a typo
8 years ago
Dag Wieers 2a8914e496 Reset VT100 attributes in case we get unexpected output 8 years ago
Dag Wieers cd6f577d91 Rename ansi to the more correct name vt100 8 years ago
Dag Wieers 893dc81b5e Implement our own detailed task output
Also:
- Streamline ANSI calls
- Implement v2_playbook_on_include
8 years ago
Dag Wieers 221a4e7014 Ensure we end with a newline in normal mode 8 years ago
Dag Wieers 7148023f59 Small fix so diff output starts on a new line 8 years ago
Dag Wieers 9a507b1f07 Don't try to be smart with cmd output ! 8 years ago
Dag Wieers 84e0420389 Make everything work magically !
- Support item-loops correctly
- Support notification handlers
8 years ago
Dag Wieers 589953c79b Assorted improvements
- Better switch between *dense* and *default*
- Reimplement C.COLOR* out of necessity (help!)
- Make verbose output more dense (clean up result)
- Implement our own dumper
- Improve delegation support
8 years ago
Dag Wieers 223c0011e0 Assorted fixes
- Implement delegate support
- Implement preliminary handler support
- Implement our own recap/summary (still fails)
8 years ago
Dag Wieers 1bf7e22756 Implement support for itemized tasks 8 years ago
Dag Wieers 14cfb2b230 Preliminary support for items, WIP 8 years ago
Dag Wieers 67c57a9b6b Improve readability 8 years ago
Dag Wieers 326bb24a89 Various improvements, now supports different verbosity levels 8 years ago
Dag Wieers fe6e4f8286 New "dense" callback plugin
The goal for the "dense" output is to only show changes and failures on-screen (the Unix-way).
However, since we still want to have a sense of progress, we use terminal capabilities to display progress.

 - On screen there should only be relevant stuff
    - How far are we ? (during run, last line)
    - What issues occured
    - What changes occured
    - Diff output

 - If verbosity increases, act as default output
   So that users can easily switch to default for troubleshooting

 - Leave previous task output on screen
   - If we would clear the line at the start of a task, there would often
     be no information at all
   - We use the cursor to indicate where in the task we are.
     Output after the prompt is the output of the previous task
   - Use the same color-conventions of Ansible

This is still a work in progress.
It was released to give a glimpse of what would be possible.

The Ansible callback mechanism currently does not have all the functionality we need to do this efficiently.
8 years ago
Scott Butler b5442577ce Docs edit for #18477. 8 years ago
Brano Zarnovican 96ddd29c7e random filter: added optional 'seed' parameter
implements #15621
8 years ago
Toshio Kuratomi ed00741a01 Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534)
* Replace pipes.quote for shlex_quote

* More migration of pipes.quote to shlex_quote

Note that we cannot yet move module code over.  Modules have six-1.4
bundled which does not have shlex_quote.  This shouldn't be a problem as
the function is still importable from pipes.quote.  It's just that this
has become an implementation detail that makes us want to import from
shlex instead.

Once we get rid of the python2.4 dependency we can update to a newer
version of bundled six module-side and then we're free to use
shlex_quote everywhere.
8 years ago
Brian Coca 5d043b65d3 fix for filter fix 8 years ago
Brian Coca 7c960d440f remove rsync path from returned facts 8 years ago
James Cammarata f7fe6dc19c Don't fail on missing vars files for delegated hosts
Fixes #17965
8 years ago
Dag Wieers 1ca4add91c Performance improvement using in-operator on dicts
Just a small cleanup for the existing occurrences.

Using the in-operator for hash lookups is faster than using .keys()
http://stackoverflow.com/questions/29314269/why-do-key-in-dict-and-key-in-dict-keys-have-the-same-output
8 years ago