Commit graph

14105 commits

Author SHA1 Message Date
Mohamed Hazem
bb3f50361e Replaced --start-at with --start-at-task 2015-04-05 20:47:22 +03:00
James Cammarata
e82ba723e2 Fixing multiple v2 bugs 2015-04-05 01:07:47 -05:00
Brian Coca
4bc79a746a more fine tunnign on verbosity 2015-04-04 16:26:05 -04:00
Brian Coca
b1e6aaa790 implemented verbosity, added 5th level and now can see how many plays per playbooko if -vvvvv 2015-04-04 15:54:54 -04:00
Brian Coca
5531b84360 moved ad-hoc to use display 2015-04-04 15:21:42 -04:00
Brian Coca
af97e732a0 updated ansible-playbook to use display, fixed issues breaking display class 2015-04-04 15:14:40 -04:00
Brian Coca
e6e69c0894 finished implementing list-hosts, started adding list-tasks/list-tags
but getting just task names and have to adjust for having blocks.
2015-04-04 10:25:55 -04:00
Brian Coca
2eb2a41d05 renamed get_entries to get_plays 2015-04-04 10:24:03 -04:00
Toshio Kuratomi
349ecf6efe Add a vault test to data_loader test and some additional yaml tests to parsing/yaml/test_loader 2015-04-03 11:39:56 -07:00
Brian Coca
c5fdabdb26 Merge pull request #10614 from wenottingham/patch-4
Update intro_windows.rst
2015-04-03 14:27:41 -04:00
Bill Nottingham
7e3b3b6ebe Update intro_windows.rst
Add a bit about what Windows versions PS3 is actually available for.
2015-04-03 14:26:45 -04:00
Brian Coca
30b5af30d5 Merge pull request #10613 from wenottingham/patch-3
Update intro_windows.rst
2015-04-03 14:24:42 -04:00
Bill Nottingham
22608939eb Update intro_windows.rst
Refer to PowerShell consistently.
2015-04-03 14:23:04 -04:00
Brian Coca
3c6fdebfe3 made listhosts play output name more consistent internally 2015-04-03 13:49:00 -04:00
Brian Coca
a811c8841e now listhosts shows the same info as v1 2015-04-03 13:42:05 -04:00
James Cammarata
41d9bfde07 Moving the Display() instantiation outside of v2 classes 2015-04-03 12:17:01 -05:00
Brian Coca
ada86dafaf added listhosts draft
fixed assert from list to new yaml ansible object
taskqueue is now None when just listing
2015-04-03 13:02:42 -04:00
Matt Martz
d5eb4df23e Add ability to specify using ssh_args in synchronize 2015-04-03 09:42:20 -05:00
Brian Coca
e719bf765d switched to use cross platform os.sep, added diff output to copy 2015-04-03 09:20:19 -04:00
Brian Coca
20b4492704 started implementing 'list options' 2015-04-03 04:51:16 -04:00
Brian Coca
2ade17e2f5 v2 changed empty inventory to warning that only localhost is available 2015-04-03 04:50:44 -04:00
Brian Coca
0f8bc038ec changed to use display as utils.warning doesnt exist in v2 2015-04-03 00:25:09 -04:00
Brian Coca
25f071b64c fixed called to find plugin, transport is not needed as suffixes are passed 2015-04-03 00:01:32 -04:00
Brian Coca
7a81167b06 brought v2 find plugins up 2 date with v1, also added exception handling for whne there is a permissions issue 2015-04-02 23:59:48 -04:00
Brian Coca
92e400eb6d fixed minor issues with openstack docs not being valid yaml 2015-04-02 21:08:17 -04:00
James Cammarata
469a1250b6 Moving new patch action plugin over to v2 2015-04-02 16:22:07 -05:00
Brian Coca
cd81666e3e Merge pull request #10607 from sivel/no-install-via-homebrew
Don't recommend installing ansible via homebrew
2015-04-02 16:35:45 -04:00
Matt Martz
fa076591c9 Don't recommend installing ansible via homebrew 2015-04-02 15:30:37 -05:00
Brian Coca
02b03cfdf5 Merge pull request #10593 from bcoca/backup_ioerror
capture IOErrors on backup_local (happens on non posix filesystems)
2015-04-02 15:55:20 -04:00
Brian Coca
ee1af1b14e Merge pull request #10559 from bcoca/become_constants_fix
removed folding sudo/su to become logic from constants
2015-04-02 15:51:58 -04:00
Brian Coca
278c1e6514 Merge pull request #10514 from bcoca/fix_password_template_error
now ansible ignores tempate errors on passwords
2015-04-02 15:50:58 -04:00
Brian Coca
42b7321d4b Merge pull request #10587 from bcoca/fix_unrelated_lookup_fail
dont break everything when one of the vars in inject does not template
2015-04-02 15:49:18 -04:00
Toshio Kuratomi
5808b68d35 Update module pointers 2015-04-02 12:41:30 -07:00
Toshio Kuratomi
2cddb093f5 Add AnsibleList for keeping track of line numbers in lists parsed from yaml 2015-04-02 12:37:02 -07:00
Toshio Kuratomi
369bf0d214 No longer need AnsibleComposer 2015-04-02 12:35:50 -07:00
Toshio Kuratomi
b4f16a5e2a Merge pull request #10605 from ansible/v2-pyyaml-c-2
Port v2 to use the C version of pyyaml instead of pure python
2015-04-02 11:45:40 -07:00
Toshio Kuratomi
d277c6b821 Few more py3 cleanups 2015-04-02 11:41:18 -07:00
Toshio Kuratomi
ac6b7045db A little py3 compat, side effect of making this work under profile 2015-04-02 11:41:13 -07:00
Toshio Kuratomi
bfae708bbf Port v2 to the PyYAML C extension 2015-04-02 11:21:55 -07:00
James Cammarata
811a906332 Fixing the synchronize action plugin for v2 2015-04-02 11:54:45 -05:00
James Cammarata
34aba2dd9a Fixing dupe option for -u in v2 2015-04-02 11:26:42 -05:00
James Cammarata
0603b9c62c Merge branch 'v2_fixing' into devel
Conflicts:
	v2/ansible/playbook/helpers.py
2015-04-02 01:25:53 -05:00
James Cammarata
785c0c0c8c V2 fixing bugs 2015-04-02 01:19:21 -05:00
Brian Coca
06c837cd87 Merge pull request #7487 from nirvinehh/devel
Clean non-printable chars from stdout instead of dropping the whole thin...
2015-04-01 21:36:03 -04:00
Toshio Kuratomi
69cf95bd0e Add __init__ to the yaml test dir 2015-04-01 15:00:50 -07:00
Toshio Kuratomi
e697de6076 Move AnsibleBaseBaseYAMLObject's position_info into a property 2015-04-01 14:54:22 -07:00
Toshio Kuratomi
05f1bed12b Use the node's start_mark to determine line and column.
* Elminates a lot of logic in the AnsibleComposer class.
* Update tests with new column offsets.  The rule should now be
  consistently: Column is the start of the entry's value (so for
  strings, the first non-space after the entry beginning, for dicts, the
  first character of the first key)
2015-04-01 13:51:01 -07:00
Toshio Kuratomi
b152275a36 Test line numbers and "fix" a bug in the scalar line counting 2015-04-01 12:18:53 -07:00
Toshio Kuratomi
4a5b37542d Merge pull request #10579 from ansible/v2-unicode-yaml
Change AnsibleConstructor for yaml to only return unicode strings
2015-04-01 09:39:53 -07:00
Toshio Kuratomi
c41b917162 Add a yaml constructor for unicode strings:
* Changes AnsibleConstructor so that only unicode strings are returned
  (no str type)
* Tracks line, column numbers for strings
* Adds unittests for AnsibleLoader (generic for all the yaml parsing)
2015-04-01 09:37:54 -07:00