- 30 Jul, 2012 7 commits
-
-
Output version string when --version is passed using optparse's version ...
Michael DeHaan committed -
env-setup no longer needs to be run from the ansible directory, it can b...
Michael DeHaan committed -
Fixes for OS X tests
Michael DeHaan committed -
as it is /bin/false on many systems but /usr/bin/false on OS X test/playbook1.yml now just does command true, rather than command /bin/true, again so that it works on OS X Changed from using which false to just using command false to make it simpler and also match how playbook1.yml works
willthames committed -
Will Thames committed
-
willthames committed
-
env-setup now takes a -q argument to run in quiet mode
willthames committed
-
- 29 Jul, 2012 5 commits
-
-
Rename: postgresql.yaml -> postgresql.yml
Michael DeHaan committed -
Lorin Hochstein committed
-
Postgres fixup
Michael DeHaan committed -
passwd -> password loginpass -> login_password loginuser -> login_user loginhost -> login_host Add an example playbook that shows how to use the modules.
Lorin Hochstein committed -
The apt parameter changed from update-cache to update_cache, but the error message still mentioned update-cache
Lorin Hochstein committed
-
- 28 Jul, 2012 5 commits
-
-
Tweak alias consistency a bit. 'package' has never been documented, but since it works, make it work in both places. 'name' is the preferred form. Similarly, take 'name' for the 'guest' argument to the 'virt' module.
Michael DeHaan committed -
Michael DeHaan committed
-
When sudoing to another user, the umask may be set such that the next user might not be able to read/execute the file. Deal with this.
Michael DeHaan committed -
If sudoing to a user other than root, the home directory of the original user is very unlikely to be readable by the sudoed to user, so just use tmp. Data will be readable by others (briefly before deletion) but never writeable.
Michael DeHaan committed -
Michael DeHaan committed
-
- 27 Jul, 2012 4 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-
An example of the new syntax: vars_prompt: - name: 'secret_variable_name" prompt: "Enter secret value: " private: "yes" - name: "nonsecret_variable_name" prompt: "Enter non-secret value: " private: "no"
Petros Moisiadis committed -
Add postgresql_db and postgresql_user module.
Michael DeHaan committed
-
- 26 Jul, 2012 4 commits
-
-
These modules are based on the mysql_db and mysql_user modules. Currently, the postgresql_user module can only grant all permissions on a database, fine-grained access has not been implemented yet.
Lorin Hochstein committed -
Update git module to handle branches better
Michael DeHaan committed -
This drops the branch option. The version option is overloaded to mean either a sha1, branch, or tag. This also adds the option 'remote' which defaults to 'origin'. clone() was simplified by removing the checkout operation. That happens later when switch_version() is called. Added the methods get_branches(), is_remote_branch(), and is_local_branch(). get_branches() returns an array listing all of the branches for the git repository. is_remote_branch() checks whether the arguments supplied correspond to a remote branch. Similarly, is_local_branch() checks for a local branch. The pull() method now checks to see if it is on the desired branch. If not, it checks out the requested branch and then does a pull. This should keep issue #604 still fixed. switch_version(), formerly switchver(), looks to see if it is checking out a branch. If a branch, it checks it out with the --track option. This type of checkout was in pull() before. Updated pull, clone, and switch_version to return (rc, out, err).
Stephen Fromm committed -
Michael DeHaan committed
-
- 27 Jul, 2012 4 commits
-
-
git module: Don't pass rc as separate arg to fail_json
Michael DeHaan committed -
Lorin Hochstein committed
-
Change modules to use credentials in my.cnf if they are available
Michael DeHaan committed -
Standardizing the apt module
Michael DeHaan committed
-
- 26 Jul, 2012 11 commits
-
-
Check file exists instead of relying on the exception. Leave the exception catch in, in case the file is deleted or some other issue crops up
Mark Theunissen committed -
Mark Theunissen committed
-
Mark Theunissen committed
-
Changing to read from a file pointer instead so that an exception is thrown if the file doesn't exist
Mark Theunissen committed -
1. Passing the module to the various functions so that they can use module.fail_json and module.exit_json methods inside. 2. Because of point 1, install and remove methods do not return anything. Instead, they use the module functions itself. 3. Move the import statement (for apt and apt_pkg) inside main function so on import error, we can use module.fail_json to print the error.
Nikhil Singh committed -
Nikhil Singh committed
-
Nikhil Singh committed
-
Things that happen inside multiprocessing shouldn't make side effects, ergo append ansible_facts only in playbook code. This technically means with_items calls can't continuously add facts I guess, but I can't see anyone ever trying that.
Michael DeHaan committed -
Michael DeHaan committed
-
in them if it looks like they are not tagged, because if that is the case, then we may just be gathering facts about them.
Michael DeHaan committed -
Michael DeHaan committed
-