Skip to content

Commit

Permalink
Merge pull request #402 from goneri/restore-playbooks-base-post.yaml-…
Browse files Browse the repository at this point in the history
…from-before-the-RAX-problem_19447

restore playbooks/base/post.yaml from before the RAX problem

Use version from ab2c7f6.
  • Loading branch information
2 parents 581046d + 2fdb959 commit 0d321ce
Showing 1 changed file with 22 additions and 27 deletions.
49 changes: 22 additions & 27 deletions playbooks/base/post.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
become: true
ignore_errors: yes


- hosts: all
tasks:
- block:
- include_role: name=fetch-output
when:
Expand All @@ -24,30 +21,28 @@
when: ansible_user_dir is defined

- hosts: localhost
roles:
- role: add-fileserver
fileserver: "{{ site_ansiblelogs }}"
- role: generate-zuul-manifest
- role: ara-report
# This depends-on https://review.openstack.org/577675
ara_report_run: True
ara_report_type: database
ara_report_path: "{{ zuul.executor.log_root }}/ara-report"
- role: log-classify
logclassify_model_store_url: https://ansible.softwarefactory-project.io/logs/classifiers
logclassify_zuul_web: https://ansible.softwarefactory-project.io/zuul/api
logclassify_model_dir: /var/lib/log-classify
logclassify_local_dir: "{{ zuul.executor.log_root }}"

- hosts: "ansible.softwarefactory-project.io"
gather_facts: false
tasks:
# Use a block because play vars doesn't take precedence on roles vars
- block:
- import_role: name=upload-log-classify-model
- import_role: name=upload-logs
- import_role: name=buildset-artifacts-location
- name: Run Zuul manifest role
include_role:
name: generate-zuul-manifest

- name: Set zuul-log-path fact
include_role:
name: set-zuul-log-path-fact
vars:
zuul_log_path_shard_build: true

- name: Run upload-logs-swift role
no_log: true
include_role:
name: upload-logs-swift
vars:
zuul_log_compress: true
zuul_log_url: "https://ansible.softwarefactory-project.io/logs"
zuul_logserver_root: /var/www/logs
zuul_log_partition: true
zuul_log_container: ansible
zuul_log_cloud_config: "{{ item }}"
zuul_log_delete_after: 7776000
with_random_choice:
- "{{ rackspace_dfw_clouds_yaml }}"
- "{{ rackspace_iad_clouds_yaml }}"
- "{{ rackspace_ord_clouds_yaml }}"

0 comments on commit 0d321ce

Please sign in to comment.