Parameterize manage-projects logging output

Change-Id: If4c456957fdce308ccafee0dfad8b627a85ea796
This commit is contained in:
Monty Taylor 2020-03-30 13:49:55 -05:00
parent b94a2c5b96
commit bde5860f57
3 changed files with 3 additions and 2 deletions

View File

@ -20,3 +20,4 @@ gerrit_container_volumes:
gerrit_database_type: MYSQL
gerrit_project_config_base: /opt/project-config
gerrit_project_creator_user: openstack-project-creator
gerrit_manage_projects_args: "-v -l /var/log/manage_projects.log"

View File

@ -2,4 +2,4 @@
command: "docker pull {{ gerrit_container_image }}"
- name: Run manage-projects
command: /usr/local/bin/manage-projects
command: "/usr/local/bin/manage-projects {{ gerrit_manage_projects_args }}"

View File

@ -23,4 +23,4 @@ exec docker run --rm --net=host -u root \
-v/home/gerrit2/review_site/etc/ssh_project_rsa_key:/home/gerrit2/review_site/etc/ssh_project_rsa_key \
-v/home/gerrit2/projects.ini:/home/gerrit2/projects.ini \
-v/var/log:/var/log \
{{ gerrit_container_image }} manage-projects -v -l /var/log/manage_projects.log
{{ gerrit_container_image }} manage-projects $@