Stephen Fromm
49f3ab6757
Abstract how to look up user password to be more flexible
...
This adds user_password() to abstract how the user's password is looked
up. If spwd is not available, this will read the shadow file for the
user's shadow entry. This will then facilitate idempotent password
changes on hosts without spwd.
2012-08-07 23:57:17 -07:00
Will Thames
414eceb138
chmod needs more specific arguments to work with sudo_user
...
Basically if umask is set to something like 0007 then chmod +r and chmod +x
are not the same as chmod a+r and chmod a+x
Using os.path.basename rather than source.split should make ansible more
portable (and even if never ported, more readable)
2012-08-08 16:12:50 +10:00
Stephen Fromm
3fb3eae7b6
Protect all selinux calls with try/except
2012-08-07 22:57:44 -07:00
Michael DeHaan
fc330cafce
Merge pull request #799 from tbielawa/yamlvalidation
...
Add 'polite' YAML syntax validation and hinting
2012-08-07 15:59:09 -07:00
Jesse Andrews
2085ec0971
Update the RST as well
2012-08-07 15:49:10 -07:00
Jesse Andrews
2be8cbfa2b
correct test-module arguments
2012-08-07 15:43:40 -07:00
Tim Bielawa
3937707117
Add 'polite' YAML syntax validation and hinting. Closes #798
2012-08-07 18:24:47 -04:00
Jesse Andrews
d36fdb84b0
link ansible resources
...
Fix the link to ansible resources in moduledev and link to it
in the module list page.
2012-08-07 15:20:24 -07:00
Matt Wright
e028ce7c2e
Add apt_repository documentation
2012-08-07 17:08:58 -04:00
Matt Wright
2f9e3d141e
Add pip module documentation
2012-08-07 17:05:21 -04:00
Matt Wright
f1ae9eb98b
Add basic easy_install module documentation
2012-08-07 16:56:08 -04:00
Matt Wright
62297b608f
Add easy_install module
2012-08-07 16:41:34 -04:00
Matt Wright
bef4c1b955
add apt_repository module
2012-08-07 16:39:31 -04:00
Matt Wright
4de0e5de54
add pip module
2012-08-07 16:38:04 -04:00
Stephen Fromm
6265be3aee
Fix error handling when switching versions
...
git module used to check stderr for the string 'error' after calling
switch_version(). This changes that to just look at the return code to
determine whether the command failed. If the rc is not zero, the git
module will call fail_json().
The problem is that git checkout will summarize the commit message,
such as:
HEAD is now at ea38409... removing artificial error
When the string 'error' is the commit message, this check will
erroneously think the command failed.
This also removes the method switchLocalBranch() since it is no longer
used.
2012-08-07 11:20:14 -07:00
Tim Bielawa
fb5d2d10db
Refresh the use of 'note' to make it consistent.
2012-08-07 02:50:48 +00:00
Tim Bielawa
8328bb7d63
Lighter refresh of the Best Practices page.
2012-08-07 02:21:23 +00:00
Michael DeHaan
10387cb19c
Since master branch are named release-XX now, just link to examples on the devel branch.
2012-08-06 22:00:50 -04:00
Michael DeHaan
454de792f4
update changelog
2012-08-06 21:46:55 -04:00
Michael DeHaan
092f83e6f8
Merge pull request #781 from gottwald/devel-mysql-socketOption
...
login_unix_socket option for mysql modules
2012-08-06 18:45:36 -07:00
Michael DeHaan
b02faac712
Add list of releases
2012-08-06 21:32:49 -04:00
Michael DeHaan
51c4456c95
update RPM changelog
2012-08-06 21:19:04 -04:00
Michael DeHaan
66f240f578
update changelog
2012-08-06 21:15:39 -04:00
Michael DeHaan
d47a833a8d
Merge pull request #168 from marktheunissen/add-host-to-mysql-user
...
Adding the host
2012-08-06 18:12:58 -07:00
Mark Theunissen
866863c209
Adding the host
2012-08-06 20:03:20 -05:00
Michael DeHaan
1c9b43df1b
more whitespace
2012-08-06 21:00:21 -04:00
Michael DeHaan
6642d2447e
rebuild
2012-08-06 20:56:26 -04:00
Michael DeHaan
77e471650b
I actually forget.
2012-08-06 20:53:45 -04:00
Michael DeHaan
532381203e
Merge pull request #167 from marktheunissen/fix_mysql_docs
...
Fixing the MySQL docs
2012-08-06 17:52:34 -07:00
Michael DeHaan
faed4b5a33
whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added
...
in 0.6 release)
2012-08-06 20:07:02 -04:00
Michael DeHaan
0810f26095
whitespace
2012-08-06 20:02:02 -04:00
Michael DeHaan
a1b4123931
whitespace
2012-08-06 20:00:31 -04:00
Michael DeHaan
6ea022de01
docs build
2012-08-06 19:57:23 -04:00
Michael DeHaan
fd265b40b7
Release bump
2012-08-06 19:55:27 -04:00
Mark Theunissen
4d7f9fbb70
Fixing the MySQL docs
2012-08-03 10:31:43 -05:00
Michael DeHaan
08c1f96e4b
Fix some subtle behavior of how the get_url module chains into the file module, plus blend the results of daisy chain
...
operations in the correct order, so the file module results overlay the original module results, not the other way
around (which keeps any failure msg's intact)
2012-08-03 07:02:31 -04:00
Ingo Gottwald
891415e616
Added login_unix_socket option to mysql_user module
2012-08-03 12:35:18 +02:00
Ingo Gottwald
a2aa30f4e5
Added login_unix_socket option to mysql_db module
2012-08-03 12:34:55 +02:00
Michael DeHaan
f732aa3d1c
Add start of a glossary
2012-08-03 00:01:23 -04:00
Michael DeHaan
fa6aa5ef98
Added info about ignore_errors: True and added a user to the who uses page
2012-08-02 22:08:00 -04:00
Michael DeHaan
b9d8ca4f30
Merge pull request #166 from lorin/tasks-not-element
...
'tasks' should not be preceded by '-' in examples
2012-08-02 19:04:24 -07:00
Michael DeHaan
7e9e29011e
Add encoding lines to python modules such that they can take unicode options if they are fed them, since the
...
AnsibleModule stuff no longer base64 encodes for simplicity and speed reasons.
2012-08-02 21:29:10 -04:00
Michael DeHaan
ce01c3f7e7
Allow unicode transfer by not base64 encoding. Also: faster
2012-08-02 21:20:43 -04:00
Michael DeHaan
227dfc17f3
fix tree output
2012-08-02 20:42:32 -04:00
Michael DeHaan
05df6464ef
Make module args as unicode more or less not choke.
2012-08-02 20:29:18 -04:00
Michael DeHaan
b76efa39be
Fix some templating issues, needs testing with anti-unicode safeguard around shlex.split
2012-08-02 20:21:59 -04:00
Michael DeHaan
bd7de28a64
Merge pull request #778 from skvidal/devel
...
remove the tab I found
2012-08-02 16:54:42 -07:00
Seth Vidal
4d29cd6ee3
make virt module command= work again - better error handling should be in its
...
future
2012-08-02 17:46:21 -04:00
Seth Vidal
f924c96370
remove the tab I found
...
DIE TAB DIE
pep8
2012-08-02 17:26:04 -04:00
Michael DeHaan
0394ef776f
Merge pull request #776 from skvidal/devel
...
- add a check for repoquery so we can abort politely
2012-08-02 14:06:30 -07:00