permission denied when enable_kolla_dev_mod

non-root user has no permission to create directory under /opt
directory. use "become: true" to resolve it.

Change-Id: I155efc4b1e0691da0aaf6ef19ca709e9dc2d9168
This commit is contained in:
wu.chunyang 2020-06-07 19:25:20 +08:00
parent 6394ab660e
commit 3e9a648601
34 changed files with 39 additions and 0 deletions

View File

@ -1,5 +1,6 @@
---
- name: Cloning aodh source repository for development
become: true
git:
repo: "{{ aodh_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning barbican source repository for development
become: true
git:
repo: "{{ barbican_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning blazar source repository for development
become: true
git:
repo: "{{ blazar_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning ceilometer source repository for development
become: true
git:
repo: "{{ ceilometer_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/ceilometer"

View File

@ -1,5 +1,6 @@
---
- name: Cloning cinder source repository for development
become: true
git:
repo: "{{ cinder_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning cloudkitty source repository for development
become: true
git:
repo: "{{ cloudkitty_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning congress source repository for development
become: true
git:
repo: "{{ congress_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning cyborg source repository for development
become: true
git:
repo: "{{ cyborg_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning designate source repository for development
become: true
git:
repo: "{{ designate_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning freezer source repository for development
become: true
git:
repo: "{{ freezer_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"
@ -7,6 +8,7 @@
version: "{{ freezer_source_version }}"
- name: Cloning freezer-api source repository for development
become: true
git:
repo: "{{ freezer_api_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/freezer-api"

View File

@ -1,5 +1,6 @@
---
- name: Cloning source repositories for development
become: true
git:
repo: "{{ glance_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning source repositories for development
become: true
git:
repo: "{{ heat_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning Horizon source repositories for development
become: true
git:
repo: "{{ horizon_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"
@ -7,6 +8,7 @@
version: "{{ horizon_source_version }}"
- name: Cloning murano-dashboard source repositories for development
become: true
git:
repo: "{{ murano_dashboard_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/murano-dashboard"

View File

@ -1,5 +1,6 @@
---
- name: Cloning ironic source repository for development
become: true
git:
repo: "{{ ironic_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"
@ -7,6 +8,7 @@
version: "{{ ironic_source_version }}"
- name: Cloning ironic-inspector source repository for development
become: true
git:
repo: "{{ ironic_inspector_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/ironic-inspector"

View File

@ -1,5 +1,6 @@
---
- name: Cloning keystone source repository for development
become: true
git:
repo: "{{ keystone_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning kuryr source repository for development
become: true
git:
repo: "{{ kuryr_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"
@ -7,6 +8,7 @@
version: "{{ kuryr_source_version }}"
- name: Cloning kuryr-libnetwork source repository for development
become: true
git:
repo: "{{ kuryr_libnetwork_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ libnetwork_project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning magnum source repository for development
become: true
git:
repo: "{{ magnum_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning manila source repository for development
become: true
git:
repo: "{{ manila_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning masakari source repository for development
become: true
git:
repo: "{{ masakari_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"
@ -7,6 +8,7 @@
version: "{{ masakari_source_version }}"
- name: Cloning masakarimonitors source repository for development
become: true
git:
repo: "{{ masakarimonitors_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/masakarimonitors"

View File

@ -1,5 +1,6 @@
---
- name: Cloning mistral source repository for development
become: true
git:
repo: "{{ mistral_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning source repositories for development
become: true
git:
repo: "{{ murano_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning neutron source repository for development
become: true
git:
repo: "{{ neutron_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning nova source repository for development
become: true
git:
repo: "{{ nova_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning nova source repository for development
become: true
git:
repo: "{{ nova_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning placement source repository for development
become: true
git:
repo: "{{ placement_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning qinling source repository for development
become: true
git:
repo: "{{ qinling_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning sahara source repository for development
become: true
git:
repo: "{{ sahara_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning senlin source repository for development
become: true
git:
repo: "{{ senlin_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning solum source repository for development
become: true
git:
repo: "{{ solum_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning source repositories for development
become: true
git:
repo: "{{ tacker_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning trove source repository for development
become: true
git:
repo: "{{ trove_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning vitrage source repository for development
become: true
git:
repo: "{{ vitrage_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning watcher source repository for development
become: true
git:
repo: "{{ watcher_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

@ -1,5 +1,6 @@
---
- name: Cloning zun source repository for development
become: true
git:
repo: "{{ zun_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"