Toshio Kuratomi
512825455e
Make ohai and facter work via module_utils Fact classes rather than in the setup module
9 years ago
Brian Coca
923548f6d5
removed test_infra from setup as it fails when using --tags
9 years ago
nitzmahone
6c835b2600
ensure assert and fail work before we test anything else
9 years ago
Matt Davis
22344c5320
Merge pull request #14812 from mattclay/test-connection
...
Add tests for connection plugins.
9 years ago
Matt Martz
8aee648bc9
Add as dependency of the parsing make target
9 years ago
Matt Clay
49892b287b
Use vars to eliminate redundant test commands.
9 years ago
Matt Clay
ca62bc5db3
Add tests for connection plugins.
9 years ago
James Cammarata
80b10bd669
Moving creating of testing work dir out of dep role and into Makefile
9 years ago
Toshio Kuratomi
7160b40ab1
Fix the Makefile to run under dash (POSIX /bin/test syntax)
9 years ago
James Cammarata
8039ceee0f
Tweak block integration tests to also test the free strategy
9 years ago
James Cammarata
f4bd3be71f
Adding block integration tests
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
Sergii Korochkin
1325c21ca0
Adding support for scm-based role source urls (incl. integration test to cover it)
9 years ago
James Cammarata
12c0bb9414
Use --source instead of -e for awk in integration Makefile
9 years ago
James Cammarata
549bdb2503
Merge pull request #12804 from chrismeyersfsu/fix-test_non_destructive_makefile
...
allow env variable override of creds file
9 years ago
Chris Meyers
1b2d17b844
allow env variable override of creds file
...
This is important because there is an integration test, test_git, that
require an ssh key to clone a privileged github repo.
9 years ago
Marius Gedminas
04a7ef416e
Python 3: print function in a shell oneliner in Makefile
...
Fixes
File "<string>", line 1
import string,random; print 'ansible-testing-' + ''.join(random.choice(string.ascii_letters + string.digits) for _ in xrange(8));
^
SyntaxError: invalid syntax
when running integration tests with
. hacking/env-setup
. .tox/py35/bin/activate
make -C test/integration test_var_precedence
9 years ago
Brian Coca
f73329401b
galaxy updates
...
better error reporting on fetching errors
use scm if it exists over src
unified functions in requirements
simplified logic
added verbose to tests
cleanup code refs, unused options and dead code
moved get_opt to base class
fixes #11920
fixes #12612
fixes #10454
9 years ago
Brian Coca
5680a9fa32
removed redundant tests, adjusted makefile expected count
9 years ago
Brian Coca
e2ae3215f6
corrected no_log for items and skipped tasks
...
corrected output from default callback
added new tests for no_log loops
updated makefile test to check for both positive and negative occurrences of no_log
9 years ago
Brian Coca
5c39538a73
added no_log tests as per #12214
9 years ago
Brian Coca
01708cc824
added test for environment directive
9 years ago
Brian Coca
464a436f8f
fixed testplay host, included lookup path tests in all, added stage for easier debugging
9 years ago
Brian Coca
60803a1d3c
added lookup paths testing
9 years ago
James Cammarata
71867f9480
Remove vars attribute from base
...
Fixes #11779
9 years ago
James Cammarata
46f74a0d69
Re-adding --start-at-task test to unicode integration test
9 years ago
Pierre-Louis Bonicoli
aa23ea8462
tests: checks that handlers work with loops
9 years ago
Brian Coca
22165dd046
fixed bad parsing tests
9 years ago
Brian Coca
44aef347cb
enabled good parsing tests in parsing target
...
fixed test_good_parsing role
added raw duplicate parameters to test_good_parsing
9 years ago
Brian Coca
9c5a6d7b5a
fixed all references to old plugins/inventory to point at contrib/inventory
9 years ago
James Cammarata
f5baad4fb2
Removing unicode --start-at-task test for now as we haven't added that back into devel
9 years ago
James Cammarata
fe41f109a9
Merge branch 'v2_final' into devel_switch_v2
10 years ago
James Cammarata
4bc7703db3
Fixing some small bugs related to integration tests (v2)
10 years ago
James Cammarata
2bad888f28
Merge branch 'v2_final' into devel_switch_v2
...
Conflicts:
lib/ansible/inventory/__init__.py
lib/ansible/modules/core
lib/ansible/utils/__init__.py
lib/ansible/utils/module_docs.py
10 years ago
Toshio Kuratomi
a8d52e3e94
Have to setup the proper mime-types before importing SImpleHttpServer
10 years ago
Toshio Kuratomi
7af2632c87
Forgot to invoke wrapper instead of SimpleHttpServer
10 years ago
James Cammarata
b94e2a1f4e
Fixing bugs related to parsing and fixing up parsing integration tests (v2)
10 years ago
Chris Meyers
cf300da02c
azure changes to Makefile
10 years ago
Rene Moser
0588a0fdd9
cloudstack: integration tests
10 years ago
Jesse Rusak
652cd6cd5e
Fix --force-handlers, and allow it in plays and ansible.cfg
...
The --force-handlers command line argument was not correctly running
handlers on hosts which had tasks that later failed. This corrects that,
and also allows you to specify force_handlers in ansible.cfg or in a
play.
10 years ago
Brian Coca
f803c1e1f8
fix tag test that broke with new tag info displayed in list tasks
10 years ago
Toshio Kuratomi
9399290cca
Proper git commit of the new integration test
10 years ago
Toshio Kuratomi
89159951dc
Fix name of a task containing a template causing traceback
...
Workaround for #10321 Need to fix better in v2
10 years ago
Brian Coca
65c08d1364
added tests
...
refactored task selection into method
list-tasks now uses common method of task selection
always is now skippable if specified in --skip-tags
10 years ago
Brian Coca
788889225d
Merge pull request #10078 from sgargan/consul
...
Ansible support for Consul
10 years ago
Toshio Kuratomi
5d1e468bda
Don't bash TMPDIR env var unnecessarily. Other programs might rely on it
10 years ago
Toshio Kuratomi
5b279c1c15
Fix for v1 handling of unicode extra-vars
10 years ago
Steve Gargan
c02f114967
Initial commit of Ansible support for the Consul clustering framework ( http://consul.io ).
...
Submission includes support for
- creating and registering services and checks
- reading, writing and lookup for values in consul's kv store
- creating and manipulating sessions for distributed locking on values in the kv
- creating and manipulating ACLs for restricting access to the kv store
- inventory support that reads the Consul catalog and group nodes according to
- datacenters
- exposed services
- service availability
- arbitrary groupings from the kv store
This submission makes extensive use of the python-consul library and this is required
as a dependency and can be installed from pip.
The tests were written to target a vagrant cluster which can be setup by following the
instructions here http://github.com/sgargan/consul-vagrant
10 years ago
Matt Martz
f5d2f8e382
Add integration tests for the rax module
10 years ago
Toshio Kuratomi
07e483b0c0
Update core modules
10 years ago