- 10 Sep, 2012 1 commit
-
-
Ansible support configuration in: ``` ~/.ansible.cfg /etc/ansible/ansible.cfg ``` this patch add current user (usefull where user have some different projects) with the oreder: ``` ./ansible.cfg ~/.ansible.cfg /etc/ansible/ansible.cfg ```
Marco Vito Moscaritolo committed
-
- 08 Sep, 2012 9 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
setup not python24 compatible in 0.7
Michael DeHaan committed -
Fix postgresql_user bug
Michael DeHaan committed -
Fix regex that allows passwords to get into syslog, use journal if available.
Michael DeHaan committed -
Have ansible respect private_key_file option
Michael DeHaan committed -
add import sys to virt module b/c it needs it if the libvirt python
Michael DeHaan committed -
Matt Coddington committed
-
- 07 Sep, 2012 17 commits
-
-
Install action_plugins
Michael DeHaan committed -
Daniel Hokka Zakrisson committed
-
If I create a database from scratch and assign permissions by doing: - name: ensure database is created action: postgresql_db db=$dbname - name: ensure django user has access action: postgresql_user db=$dbname user=$dbuser priv=ALL password=$dbpassword Then it fails with the error: File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 565, in <module> main() File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 273, in main changed = grant_privileges(cursor, user, privs) or changed File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 174, in grant_privileges changed = grant_func(cursor, user, name, privilege)\ File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 132, in grant_database_privilege prev_priv = get_database_privileges(cursor, user, db) File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 118, in get_database_privileges r = re.search('%s=(C?T?c?)/[a-z]+\,?' % user, datacl) File "/usr/lib/python2.7/re.py", line 142, in search return _compile(pattern, flags).search(string) TypeError: expected string or buffer This fix fixes the problem by not executing the regex if the db query on pg_database returns None.
Lorin Hochstein committed -
module is missing
Seth Vidal committed -
The ansible command-line tool was ignoring the private_key_file option.
Lorin Hochstein committed -
The config file incorrectly mentions the --private-key-file flag. Should be --private-key
Lorin Hochstein committed -
Fix templates for non root sudo_user
Michael DeHaan committed -
When using template module, if a restrictive umask is set, the sudo_user won't be able to read the /tmp/ansible-dir/source file after it is copied across following _transfer_str I wonder if this behaviour shouldn't be abstracted somehow (as this correction also happens after put_file in the copy module too)
willthames committed -
Mark Theunissen committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Add support to removes control param
Michael DeHaan committed -
added support for custom port definition for postgresql_* modules
Michael DeHaan committed -
Add /proc/cmdline information to the default facts
Michael DeHaan committed -
Add support for RSA/DSA SSH host key detection in setup module for OS/X
Michael DeHaan committed -
Added to_yaml and from_yaml filters to Jinja environment.
Michael DeHaan committed
-
- 06 Sep, 2012 11 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
s/<8spaces>/<4spaces>/g
Jan-Piet Mens committed -
Timothy Appnel committed
-
Anastasis Andronidis committed
-
The use-case here is that based on information in the /proc/cmdline certain actions can be taken. A practical example in our case is that we have a play at the end of the provisioning phase that reboots the system. Since we don't want to accidentally reboot a system (or restart the network) on a production machine, having a way to separate an Anaconda post-install (sshd in chroot) with a normal system is a good way to make that distinction. --- - name: reboot hosts: all tasks: - action: command init 6 only_if: "not '${ansible_cmdline.BOOT_IMAGE}'.startswith('$')" A practical problem here is the fact that we cannot simply check whether it is set or empty: --- - name: reboot hosts: all tasks: - action: command init 6 only_if: "'${ansible_cmdline.BOOT_IMAGE}'" If ansible_cmdline was a string, a simple only_if: "'${ansible_cmdline}'.find(' BOOT_IMAGE=')" was an option, but still not very "beautiful" :-/ This implementation uses shlex.split() and uses split(sep, maxsplit=1).
Dag Wieers committed
-
- 05 Sep, 2012 2 commits
-
-
Daniel Hokka Zakrisson committed
-
Piotr Kweclich committed
-