Remove requirements project deployment from DevStack role

Change-Id: I2cd0d5f1b852714f39e00289d51c5c21d85752f2
This commit is contained in:
Federico Ressi 2021-10-27 09:55:57 +02:00
parent f7fd956ed2
commit c74e795f01
2 changed files with 0 additions and 35 deletions

View File

@ -1,34 +0,0 @@
---
- name: "check '{{ requirements_src_dir }}' exists"
stat:
path: '{{ requirements_src_dir }}'
delegate_to: localhost
register: check_requirements_src_dir_exists
- name: "ensure '{{ devstack_tobiko_dir }}' exists"
become: yes
become_user: root
file:
path: '{{ devstack_requirements_dir | realpath }}'
state: directory
mode: '0755'
owner: stack
group: stack
- name: "copy '{{ requirements_src_dir }}' to '{{ devstack_requirements_dir }}'"
become: yes
become_user: stack
synchronize:
group: no
owner: no
src: "{{ requirements_src_dir | realpath }}/."
dest: "{{ devstack_requirements_dir | realpath }}"
use_ssh_args: yes
recursive: yes
rsync_opts:
- '--exclude-from={{ tobiko_src_dir | realpath }}/.gitignore'
register: copy_requirements_src_dir
when: check_requirements_src_dir_exists.stat.isdir | default(False)

View File

@ -4,6 +4,5 @@
- include_tasks: ensure-stack-user.yaml - include_tasks: ensure-stack-user.yaml
- include_tasks: run-unstack.yaml - include_tasks: run-unstack.yaml
- include_tasks: deploy-devstack.yaml - include_tasks: deploy-devstack.yaml
- include_tasks: deploy-requirements.yaml
- include_tasks: deploy-tobiko.yaml - include_tasks: deploy-tobiko.yaml
- include_tasks: run-stack.yaml - include_tasks: run-stack.yaml