summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2018-01-30 14:58:25 +0800
committerwutianwei <wutianwei1@huawei.com>2018-01-30 14:58:25 +0800
commit68b619f36911eaf3deef8b8a3ec1ec655e86adf7 (patch)
treee633cc0e9557a9013f4013f0fb5801b348d55249 /deploy/adapters/ansible/roles/config-osa/tasks/main.yml
parent7dfbe30d59e513da56fe34e3ffa44840a4c41ded (diff)
Collect log from rsyslog container
JIRA: COMPASS-579 the script collect-log.sh would be called by releng, after all the deploy and tests job are complete. Change-Id: Ic2604ca0650989bc13310377427694ededf75a9d Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/tasks/main.yml')
-rwxr-xr-xdeploy/adapters/ansible/roles/config-osa/tasks/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
index f9eef749..a6e9edc5 100755
--- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
@@ -332,6 +332,16 @@
when:
- "{{ hostvars[inventory_hostname]['groups']['controller'] | length < 2 }}"
+- name: copy collect-log.sh to /opt
+ copy:
+ src: collect-log.sh
+ dest: /opt/collect-log.sh
+
+- name: copy collect-log.yml to /opt
+ copy:
+ src: collect-log.yml
+ dest: /opt/collect-log.yml
+
# - name: change repore build
# lineinfile:
# dest: /etc/ansible/roles/repo_build/tasks/main.yml