- 07 Sep, 2012 11 commits
-
-
Daniel Hokka Zakrisson 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 -
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 7 commits
-
-
Daniel Hokka Zakrisson committed
-
Piotr Kweclich committed
-
Execute action only if specified file using param removes exist (execute reverse control of creates). Some usage eg.: ```yaml - name: enable apache2 default websites action: command /usr/sbin/a2ensite $item creates=/etc/apache2/sites-enabled/$item with_items: - default - default-ssl - name: disable apache2 default websites action: command /usr/sbin/a2dissite $item removes=/etc/apache2/sites-enabled/$item with_items: - default - default-ssl ```
Marco Vito Moscaritolo committed -
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
- 06 Sep, 2012 1 commit
-
-
Fixed a parsing HEAD problem, when ansible is checked out as a submodule
Michael DeHaan committed
-
- 05 Sep, 2012 2 commits
-
-
Anastasis Andronidis committed
-
Michael DeHaan committed
-
- 04 Sep, 2012 8 commits
-
-
Michael DeHaan committed
-
Use `get_bin_path` properly for supervisorctl module
Michael DeHaan committed -
Keep result pristine for ignore_errors
Michael DeHaan committed -
Daniel Hokka Zakrisson committed
-
Anastasis Andronidis committed
-
Anastasis Andronidis committed
-
Daniel Hokka Zakrisson committed
-