Michael DeHaan
51083e48e9
remove duplicate code path as few will have git python installed
2012-08-08 20:19:32 -04:00
Michael DeHaan
fde329fb9e
Merge branch 'gitversion' of https://github.com/willthames/ansible into devel
2012-08-08 20:17:18 -04:00
Will Thames
9a50ed9b7b
Added git information to version string
...
Running ansible --version now outputs git information when the
repo lives in .git in the root of the ansible source (coping with the case
where the git info is elsewhere is left as an exercise).
This uses gitpython where installed, otherwise it interrogates the files
in the .git directory to get the same information.
The gitpython path could be removed, but then people might ask 'why did
you do it like this when gitpython exists'
2012-08-09 10:12:04 +10:00
Michael DeHaan
176bf3cbb5
Save extra chmod step if sudoing to root
2012-08-08 19:17:31 -04:00
Michael DeHaan
0f052f2fd0
Merge branch 'fix_chmod_for_sudo_user' of https://github.com/willthames/ansible into devel
2012-08-08 19:15:24 -04:00
Michael DeHaan
d451cc6463
Merge pull request #794 from mattupstate/apt_repository
...
add apt_repository module
2012-08-08 16:14:38 -07:00
Michael DeHaan
b378a94b7b
Merge pull request #796 from mattupstate/pip
...
add pip module
2012-08-08 16:13:32 -07:00
Michael DeHaan
82dfb11fb9
Merge pull request #807 from mattupstate/supervisorctl
...
Add supervisorctl module
2012-08-08 16:13:16 -07:00
Michael DeHaan
67205eb816
Merge pull request #795 from mattupstate/easy_install
...
Add easy_install module
2012-08-08 16:12:30 -07:00
Michael DeHaan
311d7c46ca
Merge pull request #806 from skvidal/devel
...
fix up yum state=latest with pkg groups
2012-08-08 16:11:41 -07:00
Michael DeHaan
fe65648ea5
Merge pull request #808 from sfromm/issue800
...
Make exception more specific (OSError) in setup module for selinux call
2012-08-08 16:11:04 -07:00
Seth Vidal
61e02d508c
add show-duplicates to reqpoquery to keep people who
...
want to install an old package happy.
2012-08-08 14:02:38 -04:00
Stephen Fromm
0cc73c930b
Make exception more specific (OSError) in setup module for selinux call
2012-08-08 08:56:12 -07:00
Matt Wright
34e0faaf4b
Add supervisorctl module
2012-08-08 10:59:46 -04:00
Matt Wright
15e9f1e15a
Update per ansible/ansible#794
2012-08-08 10:46:23 -04:00
Seth Vidal
ca63173bf0
missed the quotes
2012-08-08 10:43:45 -04:00
Matt Wright
2a68f5d0af
Updates per ansible/ansible#795
2012-08-08 10:38:27 -04:00
Seth Vidal
70eea69e79
fix up yum state=latest with pkg groups
2012-08-08 10:35:43 -04:00
Matt Wright
0116e53e48
Updates per ansible/ansible#796
2012-08-08 10:35:07 -04:00
Michael DeHaan
f757d659cc
Merge pull request #804 from sfromm/issue789
...
Abstract how to look up user password to be more flexible
2012-08-08 04:46:28 -07:00
Michael DeHaan
ae7e1928df
Merge pull request #790 from sfromm/fixgit
...
Fix error handling when switching versions
2012-08-08 04:44:43 -07:00
Michael DeHaan
7dd7755f4c
Merge pull request #802 from sfromm/issue800
...
Protect all selinux calls with try/except
2012-08-08 04:43:37 -07:00
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
Tim Bielawa
3937707117
Add 'polite' YAML syntax validation and hinting. Closes #798
2012-08-07 18:24:47 -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
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
1c9b43df1b
more whitespace
2012-08-06 21:00:21 -04: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
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
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