Brian Coca
bb7d33adbc
moved become password handlingn to base class
11 years ago
James Cammarata
4b28a51f25
Don't fail outright when a play has an empty hosts list
11 years ago
James Cammarata
30c1a2d861
Have group/host var file loading check for YAML extensions too
...
Fixes #11132
11 years ago
Brian Coca
423f1233c8
removed typo file
11 years ago
Brian Coca
c87591f76f
updated to new exec_command signature
11 years ago
Brian Coca
b76dbb01cc
generalized prereqs check
...
added vaultfile class for action and lookup plugin usage
11 years ago
Brian Coca
9116ff1c28
replaced removed pager_print for print
11 years ago
Brian Coca
98f5534d9c
adaptaed to new exec signature
...
should fix #11275
11 years ago
Brian Coca
6c884c9e39
Merge pull request #11271 from sivel/build-play-method
...
Allow AdHocCLI to be more flexible for overriding
11 years ago
Brian Coca
dcf81e3ffe
removed useless comments
11 years ago
Matt Martz
1d55e193c1
Expose the TaskQueueManager to self
11 years ago
Matt Martz
670894e2bd
Move building the play_ds into a method, that can be overridden
11 years ago
Brian Coca
8ae58f7ea3
fixed executable, correctly this time
11 years ago
Brian Coca
f576d29b6b
allow for any non string iterable in listify
11 years ago
Brian Coca
1ce1c52f6f
centralized bad password handling, fixed outputing of become method
11 years ago
Brian Coca
b89071e485
now detects incorrect password with sudo and su (at least in english)
11 years ago
Brian Coca
be8d797c23
fixed su prompt function reference
11 years ago
Brian Coca
872448e9e8
updated connection info update_vars to only update if data is not alreayd present
...
aslo added comment clarifying why we do this
11 years ago
Brian Coca
956937b110
made executable shell configurable again
11 years ago
Brian Coca
580993fef7
enabled initial support for password prompt on become
...
- moved check prompt/password functions to connection, make more senes there
- TODO: consider moving make_become to connection from connection_info
- removed executable param that was never overriden outside of connection info
11 years ago
Brian Coca
bac35ae773
set correct become mehotds for plugin
...
fixed mixup with remote password vs become_password
11 years ago
Brian Coca
ff443d4534
added note to figurte out correct var udpate on connection_info
11 years ago
Brian Coca
c3ccf26b70
added become check back to connections
11 years ago
Brian Coca
de82c953f2
added privilege escalation special var mapping
11 years ago
Brian Coca
a248678518
initial become support to ssh plugin
...
- password prompt detection and incorrect passwrod detection to connection info
- sudoable flag to avoid become on none pe'able commands
11 years ago
Brian Coca
a267f93c83
removed incorrect assumption on become user being set
11 years ago
Brian Coca
ff15f374ad
fixed new become settings, rearranged constants to find PE related vars easier
11 years ago
Brian Coca
e7abe06440
added first_found to template
11 years ago
Brian Coca
8ee4c7266c
corrected original_file code path to use actually use data from original file
11 years ago
Brian Coca
491761f880
added note to add faf deprecation
11 years ago
Brian Coca
a6ca133da8
got first_available working with copy
11 years ago
Brian Coca
aca125d03e
Merge pull request #11252 from sivel/deprecated-warning
...
Display a warning when using a deprecated module
11 years ago
Matt Martz
9ed3e2ef48
Display a warning when using a deprecated module
11 years ago
Toshio Kuratomi
d315f6e22c
Fix Etcd constructor
11 years ago
Toshio Kuratomi
77c76e632e
Switch etcd and url lookup plugins to verify ssl certificates
11 years ago
Toshio Kuratomi
4161d78a94
Split the fetch_url() function into fetch_url and open_url().
...
open_url() is suitable for use outside of a module environment. Will
let us use open_url to do SSL cert verification in other, non-module
code.
11 years ago
Brian Coca
e07dde1a3c
Merge pull request #11251 from sivel/issue/11244
...
Require passlib over crypt in password_hash for Mac OS X/Darwin. Fixes #11244
i was almost done with my patch ... but I like yours better
11 years ago
Matt Martz
a4e2d1eb62
Require passlib over crypt in password_hash for Mac OS X/Darwin. Fixes #11244
11 years ago
Brian Coca
aaab69cae9
brought back terms testing as with_ is not only way to call and we cannot guarantee terms is a list otherwise.
11 years ago
Toshio Kuratomi
c346788194
Slight optimization of how we squash loops. Add dnf to the list of modules for which we squash.
...
Fixes #11235
11 years ago
Brian Coca
aed429554d
better checks to ensure listify emits a non string iterable
11 years ago
Brian Coca
c8fde467b5
Merge pull request #11163 from sivel/ssh-private-key-fixme
...
Re-introduce ssh connection private key support
11 years ago
Brian Coca
f174682e19
facts should now not be overriten with NA option unless they are NA
...
this way we don't need a break per distro that matched already with
the python default functions
11 years ago
Brian Coca
4098e8283e
several fixes to template
...
- now obeys global undefined var setting and allows override (mostly for with_ )
- moved environment instanciation to init instead of each template call
- removed hardcoded template token matching and now use actually configured tokens, now it won't break if someone changes default configs in ansible.cfg
- made reenetrant template calls now pass the same data it got, dictionary and lists were loosing existing and new params
- moved fail_on_undeinfed parameter to template call, as it should only realky be set to false on specific templates and not globally
- added overrides, which will allow template to implement jinja2 header override features
- added filter list to overrides to disallow possibly insecure ones, TODO: check if this is still needed as facts should not be templated anymore
- TODO: actually implement jinja2 header overrides
11 years ago
Brian Coca
7291f9e965
removed cruft
...
made sure it does not fail on undefined
11 years ago
Brian Coca
f29c1c7452
respect undefined config setting
11 years ago
Brian Coca
40336b50af
removed redundant string check
...
added playbook path lookup
11 years ago
Brian Coca
7306a5397e
simplified function, always attempt to template, always check if string before return, should avoid most cases of strings being passed to lookups
11 years ago
Brian Coca
aa6e204b6e
Merge pull request #11115 from jhawkesworth/second_go_at_fixing_1404
...
Part fix for https://github.com/ansible/ansible-modules-core/issues/1404 (replaces #11086 )
11 years ago
Brian Coca
f2934eeb0a
Merge pull request #11226 from resmo/for-ansible
...
cloudstack: cleanup, remove unused parts
11 years ago