- 17 Nov, 2012 6 commits
-
-
convert group module to be platform sub-classable
Michael DeHaan committed -
Add password support to -c ssh via sshpass
Michael DeHaan committed -
Use the configured remote_tmp even for root
Michael DeHaan committed -
Updates Arch linux packaging files
Michael DeHaan committed -
Added a requirement on euca2ools external package and ec2 url example
Michael DeHaan committed -
Romeo Theriault committed
-
- 16 Nov, 2012 4 commits
-
-
Daniel Hokka Zakrisson committed
-
Daniel Hokka Zakrisson committed
-
Fabian Arrotin committed
-
Added a README.md to explain the purpose of the directory Fixed dependencies in PKGBUILD Added patch to change python binary name for arch users, so they don't end up using python 3 (python links to python3 by default on arch linux).
Michel Blanc committed
-
- 15 Nov, 2012 2 commits
-
-
Fix for #1577 (python 2.4 compliance for mysql_user), tested only for syntax, please exercise MySQL fans!
Michael DeHaan committed -
Michael DeHaan committed
-
- 14 Nov, 2012 9 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Do not register variable if host has been skipped
Michael DeHaan committed -
Lookup plugin arguments need to be templated
Michael DeHaan committed -
Create a set of all the hosts in a group to prevent duplicates
Michael DeHaan committed -
Fixes #1516.
Daniel Hokka Zakrisson committed -
Daniel Hokka Zakrisson committed
-
- 13 Nov, 2012 19 commits
-
-
Executive summary: skipping a host corrupts a variable (when it is registered) We have a play existing out of multiple tasks that check a condition, if one of these tasks fails we want to skip all next tasks in the playbook. I noticed that if we skip a task because a certain condition is met, and this task has a register-attribute, I loose the value in the variable. Which means we cannot use that variable in subsequent tasks to evaluate because it was skipped: ``` - action: command test -d /some/directory register: task - action: command test -f /some/directory/file register: task only_if: '${task.rc} == 0' - action: do something else only_if: '${task.rc} == 0' ``` In the above example, if the second task is skipped (because the first failed), the third action will end with a "SyntaxError: invalid syntax" complaining about the unsubstituted ${task.rc} (even though it was set by the first task and used for skipping the second). The following play demonstrates the problem: ``` - name: Test register on ignored tasks hosts: all gather_facts: no vars: skip: true task: { 'rc': 666 } tasks: - action: debug msg='skip = ${skip}, task.rc = ${task.rc}' - name: Skip this task, just to test if task has changed action: command ls register: task only_if: '${skip} != True' - action: debug msg='skip = ${skip}, task.rc = ${task.rc}' - name: Now use task value action: command echo 'Works !' only_if: '${task.rc} == 0' ``` And the enclosed fix, fixes the above problem.
Dag Wieers committed -
Keep hostvars from being templated
Michael DeHaan committed -
Use all available vars for hosts:, user: and sudo_user:
Michael DeHaan committed -
Print the task name (if any) when complaining
Michael DeHaan committed -
Make parameterized playbook includes work with vars as a list
Michael DeHaan committed -
After spending 10 minutes to find which playbook had an action/local_action missing, I changed the error to include the task name (if set). The error eventually was caused because I added a name to a task, but the dash before the existing action was not removed.
Dag Wieers committed -
Daniel Hokka Zakrisson committed
-
Fixes #1610.
Daniel Hokka Zakrisson committed -
Daniel Hokka Zakrisson committed
-
Daniel Hokka Zakrisson committed
-
Try to ensure the entire value is quoted
Michael DeHaan committed -
add bsd md5 support to fetch module
Michael DeHaan committed -
Templating fixes and features
Michael DeHaan committed -
Daniel Hokka Zakrisson committed
-
Daniel Hokka Zakrisson committed
-
minor linux user module fixups
Michael DeHaan committed -
Daniel Hokka Zakrisson committed
-
Daniel Hokka Zakrisson committed
-
Previously, "a $ string $var" would not have gotten replaced at all.
Daniel Hokka Zakrisson committed
-