aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa/tasks
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2018-01-31 01:20:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-31 01:20:05 +0000
commitbce23c34f221cdd9a41608c6505b359d99963afe (patch)
tree395fc2d49c8fd39305722cbcc1f84bb9572a173f /deploy/adapters/ansible/roles/config-osa/tasks
parente7f4a7321e549f88c461714dc0c9f24f925928e3 (diff)
parent68b619f36911eaf3deef8b8a3ec1ec655e86adf7 (diff)
Merge "Collect log from rsyslog container"
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/tasks')
-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 7fd43945..8bb56656 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