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 - name: Cloning aodh source repository for development
become: true
git: git:
repo: "{{ aodh_git_repository }}" repo: "{{ aodh_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}" dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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