Richard Poole
3090a45891
add option to ansible-vault to read new password from file for rekey
...
The --new-vault-password-file option works the same as
--vault-password-file but applies only to rekeying (when
--vault-password-file sets the old password). Also update the manpage
to document these options more fully.
2015-08-25 21:14:49 +05:30
Brian Coca
17b4b1f85c
added ability to limit in ansilbe pull
...
refactored the options a bit, new inventory_opts made sense to always group
fixes #7917
2015-08-18 03:17:58 -04:00
Brian Coca
9b61cf5840
implemented async tasks in adhoc v2
2015-08-16 20:05:10 -04:00
Brian Coca
92e2f54228
fixed issues with utf-8 encoding in docs, moved pager to use display class instad of bare prints
2015-08-14 22:00:48 -04:00
Abhijit Menon-Sen
8de70fa657
Disallow --forks 0
...
Without at least one worker process, things break:
Traceback (most recent call last):
File "/home/ams/extern/ansible/ansible/lib/ansible/executor/process/result.py", line 103, in run
result = self._read_worker_result()
File "/home/ams/extern/ansible/ansible/lib/ansible/executor/process/result.py", line 69, in _read_worker_result
(worker_prc, main_q, rslt_q) = self._workers[self._cur_worker]
IndexError: list index out of range
2015-08-02 14:10:45 +05:30
Abhijit Menon-Sen
1f2adb5e14
Show a better message when ansible.cfg is not found
...
Earlier we would say «Using as config file» if we didn't find one.
2015-08-01 19:44:20 +05:30
James Cammarata
698479a623
Add config file info to --version output
...
Fixes #10348
2015-07-23 15:32:39 -04:00
Brian Coca
fe91f7b506
moved read_vault_file to CLI from utils and renamed to clearer read_vault_password_file
2015-07-11 14:24:45 -04:00
James Cammarata
b520d5bc60
Lots of fixes for integration test bugs
2015-07-10 01:53:59 -04:00
Brian Coca
5f791329ce
now verbose mode shows config file used
2015-07-04 10:23:49 -04:00
Toshio Kuratomi
b11e69f3d0
Merge pull request #11452 from soarpenguin/devel
...
fix type error.
2015-07-01 12:41:05 -07:00
James Cammarata
dcb9b5a69f
Make --module-path work and expand tilde's in paths
...
Fixes #9937
Fixes #9949
2015-07-01 12:39:39 -04:00
Brian Coca
0a2a9557b8
now allows for users to use ^D to not input a password
...
fixes #11413
2015-07-01 05:22:49 -04:00
soarpenguin
c6ed1ff4ad
fix type error.
2015-07-01 12:16:01 +08:00
Brian Coca
9116ff1c28
replaced removed pager_print for print
2015-06-16 09:19:37 -04:00
Brian Coca
24b7c353cc
readjusted limit opts, makes no sense in adhoc when you already specify selection
...
changed pull to reflect this
2015-06-09 17:35:19 -04:00
Brian Coca
845d564d89
removed debug, moved limit to runtask instead section
2015-06-09 17:32:34 -04:00
Brian Coca
5aec5e5eb0
fixed ansible pull, reorged validate function for cli to be function specific like parser
...
added missing cmd_functions with run_cmd, mostly for ansible pull
2015-06-09 17:24:43 -04:00
Matt Martz
6519118106
Add missing import in ansible.cli
2015-06-02 14:11:16 -05:00
Brian Coca
47be5b4166
added missing ansibleoptionserror import and moved args check in playbook to after parser exists to allow for creating usage info
2015-06-02 11:03:17 -04: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
124a0d3519
now properly inherits from ansible.cfg sudo/su ask pass
...
fixes #10891
2015-05-04 16:45:43 -04:00
James Cammarata
ce3ef7f4c1
Making the switch to v2
2015-05-03 21:47:26 -05:00