Add some more always_run to tasks that register variables.

This commit is contained in:
Kevin Fenzi 2015-12-15 19:03:37 +00:00
parent e6e5470746
commit 1ba59acc08

View file

@ -37,12 +37,14 @@
repo: https://github.com/os-autoinst/openQA-python-client.git
dest: /root/openQA-python-client
register: gitclient
always_run: true
- name: Check if python-client has ever been installed
command: "python -c 'import openqa_client'"
register: instclient
changed_when: "1 != 1"
failed_when: "1 != 1"
always_run: true
- name: Install openQA-python-client
command: "python setup.py install"
@ -57,12 +59,14 @@
repo: https://bitbucket.org/rajcze/openqa_fedora_tools
dest: /root/openqa_fedora_tools-dispatcher
register: gittools
always_run: true
- name: Check if openqa_fedora_tools has ever been installed
stat: path=/usr/bin/fedora-openqa-schedule
register: insttools
changed_when: "1 != 1"
failed_when: "1 != 1"
always_run: true
- name: Install openqa_fedora_tools
command: "python setup.py install"