88492a9656
While I93dcc57aff63b91dab475b0c114b278324434e41 did the right thing, it
didn't do it in the right place.
This patch adds the creation without removing the misplaced code, so
that we can do an easy backport to Train.
A follow-up will be the actual revert of the other change.
Change-Id: Id937389e4eda5c1fc4634ab14695390a09300468
Closes-Bug: #1856278
(cherry picked from commit f7a3560065)
21 lines
986 B
YAML
21 lines
986 B
YAML
- name: Deploy step tasks for step 0
|
|
debug:
|
|
msg: Use --start-at-task 'Deploy step tasks for step 0' to resume from this task
|
|
when: "tripleo_minor_update is not defined or tripleo_minor_update != 'true'"
|
|
- name: Ensure /var/log/journal exists
|
|
file: path=/var/log/journal state=directory mode=0750 owner=root group=root setype=var_log_t
|
|
- name: Create /var/lib/container-puppet
|
|
no_log: True
|
|
file: path=/var/lib/container-puppet state=directory setype=container_file_t selevel=s0 recurse=true
|
|
- name: Write container-puppet.py
|
|
no_log: True
|
|
copy: src=docker_puppet_script.yaml dest=/var/lib/container-puppet/container-puppet.py force=yes mode=0600
|
|
- name: Write container-puppet.sh
|
|
no_log: True
|
|
copy: src=container_puppet_script.yaml dest=/var/lib/container-puppet/container-puppet.sh force=yes mode=0755 setype=container_file_t
|
|
|
|
{%- for role in roles %}
|
|
- import_tasks: {{role.name}}/deploy_steps_tasks.yaml
|
|
when: tripleo_role_name == '{{role.name}}'
|
|
{%- endfor %}
|