packstack/playbooks/packstack-post-compute.yaml
Joel Capitao 8a5700cd1e Add CentOS Stream 9 preview support
CentOS is publishing some preview composes of CentOS Stream 9. In RDO,
we are working to get ready for it ASAP.

This patch is proposing some changes needed for current status of
CentOS9 so that i can use this patch for it:

- Set rsync to be executed without xinetd (xinetd is not in CS9)
- Added the creation of initiatorname.iscsi using openstacklib::iscsid

It's also creating packstack-centos9 and packstack-multinode-centos9
base jobs so that we can start running packstack jobs in third-party
zuul servers.

Change-Id: I64edd1876ccc32f98ab2330024d9ab513f42a158
2021-10-05 15:11:21 +02:00

21 lines
462 B
YAML

- hosts: compute
name: store compute node logs
tasks:
- file:
path: /tmp/logs
state: directory
mode: 0755
- file:
path: /tmp/compute
state: directory
mode: 0755
- shell:
cmd: |
source {{ ansible_user_dir }}/src/opendev.org/x/packstack/tools/copy-logs.sh
recover_default_logs
mv /tmp/logs/* /tmp/compute
mv /tmp/compute /tmp/logs
become: true