Commit Graph

789 Commits (c0bd14095914287e0ad7ab73ad6a9927e0c5a7f4)

Author SHA1 Message Date
Yannig Perré c0bd140959 Add documentation for the ini lookup plugin. 9 years ago
Yannig Perré 733d40a77c When value does not exist, return default value instead of stopping ansible with an exception. 9 years ago
Yannig Perre c2968d6d84 New lookup plugin : ini. Can handle ini file and java properties file.
Can also read a list of value in a section using regexp.
9 years ago
Serge van Ginderachter b92d70c5b6 tests files extensions in group/host_vars dir
only files with extensions as per
C.YAML_FILENAME_EXTENSIONS should be parsed
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
Toshio Kuratomi b312e97a30 Think that integration tests are failing in json due to lack of json mimetype. Make a short wrapper to fix that. 10 years ago
Toshio Kuratomi 13253f9c68 Merge pull request #10565 from bcoca/with_sequence_expand
made sequence more flexible
10 years ago
Toshio Kuratomi 13578738bf Merge pull request #11014 from ansible/uri-integration
Uri integration tests
10 years ago
Brian Coca 78985e5c33 Merge pull request #11030 from resmo/feature/cloudstack_tests_cs_portforward
cloudstack: add tests for cs_portforward
10 years ago
Rene Moser 3916dc8f9e cloudstack: add tests for cs_portforward 10 years ago
Rene Moser 3d816402ba cloudstack: add tests for cs_firewall 10 years ago
Toshio Kuratomi 0f9ad9dad2 Update integration tests from @darkk to work with the current uri module code 10 years ago
Leonid Evdokimov 3383a7b37a tests: replace start-stop-daemon with async action 10 years ago
Leonid Evdokimov ae9ba4afa1 uri: provide raw_content, parse json without double-decoding. Fixes #7586
Regression potential:
 - `raw_content` is written to `dest` file instead of decoded `content`
 - `raw_content` doubles module reply
10 years ago
Rene Moser 9180ede6e0 cloudstack: add test for cs_account 10 years ago
Chris Meyers cf300da02c azure changes to Makefile 10 years ago
Chris Meyers efb190d5a5 add azure integration tests 10 years ago
Brian Coca 1071fa12ca Merge pull request #10908 from resmo/feature/cloudstack-tests
cloudstack: integration tests
10 years ago
Brian Coca 4d357a73f6 Merge pull request #10868 from jaypei/devel
Add lineinfile integration tests for quoted string
10 years ago
Rene Moser 0588a0fdd9 cloudstack: integration tests 10 years ago
Toshio Kuratomi da5e201b07 Change python-q into sharutils as the epel repo for centos6 is being funky. 10 years ago
Toshio Kuratomi 6a985b9c6b Add Fedora mysql vars so we get mariadb rather than mariadb-galera 10 years ago
Toshio Kuratomi 3ccc2ae299 Fix include test to keep type 10 years ago
Toshio Kuratomi 974731bec0 Fix filename of output file 10 years ago
Toshio Kuratomi 8d0ceeca91 Make template test work with both py2.6 and 2.7+ 10 years ago
Toshio Kuratomi fb96173d10 to_nice_json filter no longer has a trailing space when formatting dicts 10 years ago
jaypei 288fe1179a Add lineinfile integration tests for quoted string
Reference #10864
10 years ago
Carlos E. Garcia cfbfd38723 just a few spelling error changes 10 years ago
Toshio Kuratomi 6935d467eb Add tests for yum module taking lists of packages in various formats 10 years ago
Toshio Kuratomi a0def30c34 Add integration test for unarchive filelist feature 10 years ago
Toshio Kuratomi aab681bc2b Update core and extras module refs and add tests for an unarchive
problem that the update fixes:

https://github.com/ansible/ansible-modules-core/issues/1064
10 years ago
Toshio Kuratomi ed601f964d Merge pull request #10683 from timsutton/remove-old-git-integration-test
Git integration test: remove test for ambiguous .git/branches dir
10 years ago
Timothy Sutton 5f1ba589a5 Git integration test: remove test for ambiguous .git/branches dir
- '.git/branches' does not always exist, but the git integration
  tests always checks for this directory's existence so it always
  fails
- more info:
  - http://stackoverflow.com/questions/10398225/what-is-the-git-branches-folder-used-for
10 years ago
Brian Coca 67512aeeb6 Merge pull request #10618 from jder/force-handlers
Fix --force-handlers, and allow it in plays and ansible.cfg
10 years ago
Feanil Patel 0abcebf1e4 Don't convert numbers and booleans to strings.
Before this change if a variable was of type int or bool and the variable was referenced
by another variable, the type would change to string.

eg. defaults/main.yml
```
PORT: 4567
OTHER_CONFIG:
  secret1: "so_secret"
  secret2: "even_more_secret"

CONFIG:
  hostname: "some_hostname"
  port: "{{ PORT }}"
  secrets: "{{ OTHER_CONFIG }}"
```

If you output `CONFIG` to json or yaml, the port would get represented in the output as a
string instead of as a number, but secrets would get represented as a dictionary.  This is
a mis-match in behaviour where some "types" are retained and others are not.  This change
should fix the issue.

Update template test to also test var retainment.

Make the template changes in v2.
Update to only short-circuit for booleans and numbers.

Added an entry to the changelog.
10 years ago
Chris Church 42bd640d14 Update win_user tests to set a group on user creation. 10 years ago
Chris Church 56f4bf44f5 Add integration tests for win_user module. 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 2a8a302e7e fixed corner case when counting backwards, added test cases for count=0 and backwards counts 10 years ago
Toshio Kuratomi aaa25eb75c Make run_command() work when we get byte str with non-ascii characters (instead of unicode type like we were expecting)
Fix and test.

Fixes #10536
10 years ago
Brian Coca c49685b753 removed debug play from tests 10 years ago
Brian Coca a53cf9d6fa now correctly aplies add_host passed variables last to override existing vars. 10 years ago
Toshio Kuratomi e73b945900 Merge pull request #10112 from jsmartin/ec2_asg_rolling_integration_tests
Adds integration tests for new ec2_asg features
10 years ago
Toshio Kuratomi 98db6a232d Have selinux allow docker<=>nginx communication 10 years ago
Toshio Kuratomi 3c52c36629 Okay, let's see if these pauses are enough to get this passing 10 years ago
Toshio Kuratomi 2a967879fb Fix the removal of busybox image 10 years ago
Toshio Kuratomi c2fb0b8f9d Some debugging for why docker tests are failing in jenkins 10 years ago
Toshio Kuratomi f4c1260d03 Add more tests for private docker registries 10 years ago
Toshio Kuratomi 259744d5f4 Remove debug statements 10 years ago