More E208 (22)
Change-Id: I8cbb919c39bdb099eaec076c7bcf2ea0b84a6475
This commit is contained in:
parent
75a1623f12
commit
7325aca987
@ -7,6 +7,7 @@
|
||||
file:
|
||||
path: "{{ ansible_user_dir }}/zuul-output/logs/pods"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Save pod descriptions
|
||||
loop: "{{ podlist.stdout_lines | default([]) }}"
|
||||
@ -27,6 +28,7 @@
|
||||
file:
|
||||
path: "{{ ansible_user_dir }}/zuul-output/logs/kubelet"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Save kubelet logs
|
||||
shell: "journalctl -u kubelet &> {{ ansible_user_dir }}/zuul-output/logs/kubelet/kubelet.txt"
|
||||
|
@ -15,6 +15,7 @@
|
||||
file:
|
||||
path: "{{ ansible_user_dir }}/.kube"
|
||||
state: directory
|
||||
mode: 0700
|
||||
|
||||
- name: Setup zuul user kube config
|
||||
copy:
|
||||
|
@ -7,6 +7,7 @@
|
||||
file:
|
||||
state: directory
|
||||
path: "{{ bazelisk_target | dirname }}"
|
||||
mode: 0755
|
||||
when: bazelisk_installed.rc != 0
|
||||
|
||||
- name: Download bazelisk
|
||||
|
@ -5,6 +5,7 @@
|
||||
state: directory
|
||||
owner: "{{ ansible_user }}"
|
||||
group: "{{ ansible_user }}"
|
||||
mode: 0755
|
||||
- name: Clone devstack
|
||||
git:
|
||||
repo: https://opendev.org/openstack/devstack
|
||||
@ -14,6 +15,7 @@
|
||||
template:
|
||||
dest: /opt/devstack/local.conf
|
||||
src: local.conf.j2
|
||||
mode: 0644
|
||||
- name: Run devstack
|
||||
command: ./stack.sh
|
||||
args:
|
||||
|
@ -30,6 +30,7 @@
|
||||
[registries.block]
|
||||
registries = []
|
||||
dest: /etc/containers/registries.conf
|
||||
mode: 0644
|
||||
become: true
|
||||
- name: Set crio cgroup driver
|
||||
ini_file:
|
||||
@ -37,4 +38,5 @@
|
||||
section: crio.runtime
|
||||
option: cgroup_manager
|
||||
value: '"cgroupfs"'
|
||||
mode: 0644
|
||||
become: true
|
||||
|
@ -13,6 +13,7 @@
|
||||
copy:
|
||||
src: 00-nodesource.pref
|
||||
dest: /etc/apt/preferences.d/00-nodesource.pref
|
||||
mode: 0644
|
||||
become: yes
|
||||
|
||||
- name: Add all repositories
|
||||
|
@ -8,6 +8,7 @@
|
||||
copy:
|
||||
content: "{{ zj_item['data'] }}"
|
||||
dest: "{{ gpg_key_tempdir.path }}/key-{{ zj_idx }}.gpg"
|
||||
mode: 0644
|
||||
loop: "{{ repositories_keys }}"
|
||||
loop_control:
|
||||
loop_var: zj_item
|
||||
|
@ -8,6 +8,7 @@
|
||||
copy:
|
||||
content: "{{ zj_item['data'] }}"
|
||||
dest: "{{ gpg_key_tempdir.path }}/key-{{ zj_idx }}.gpg"
|
||||
mode: 0644
|
||||
loop: "{{ repositories_keys }}"
|
||||
loop_control:
|
||||
loop_var: zj_item
|
||||
|
@ -8,11 +8,13 @@
|
||||
file:
|
||||
path: "{{ ansible_env.HOME }}/.phoronix-test-suite"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Install config
|
||||
copy:
|
||||
src: user-config.xml
|
||||
dest: "{{ ansible_env.HOME }}/.phoronix-test-suite/user-config.xml"
|
||||
mode: 0644
|
||||
|
||||
- name: Ensure test results are cleaned
|
||||
file:
|
||||
@ -23,3 +25,4 @@
|
||||
file:
|
||||
path: "{{ ansible_env.HOME }}/test-results/"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
@ -40,6 +40,7 @@
|
||||
file:
|
||||
path: "{{ terraform_install_tempdir.path }}/{{ terraform_package }}"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Unarchive terraform
|
||||
unarchive:
|
||||
@ -51,12 +52,13 @@
|
||||
file:
|
||||
path: "{{ terraform_install_dir }}"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Install terraform
|
||||
copy:
|
||||
src: "{{ terraform_install_tempdir.path }}/{{ terraform_package }}/terraform"
|
||||
dest: "{{ terraform_install_dir }}/terraform"
|
||||
mode: '0755'
|
||||
mode: 0755
|
||||
owner: "{{ ansible_user }}"
|
||||
remote_src: yes
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
file:
|
||||
path: /tmp/zookeeper
|
||||
state: directory
|
||||
mode: 0755
|
||||
become: true
|
||||
|
||||
- name: Get and extract Zookeeper
|
||||
@ -29,6 +30,7 @@
|
||||
src: /opt/zookeeper/conf/zoo_sample.cfg
|
||||
dest: /opt/zookeeper/conf/zoo.cfg
|
||||
remote_src: true
|
||||
mode: 0644
|
||||
become: true
|
||||
|
||||
- name: Ensure Zookeeper not running
|
||||
|
Loading…
Reference in New Issue
Block a user