diff --git a/gerrit/defaults/main.yml b/gerrit/defaults/main.yml index 99a707f9..e4ac1e08 100644 --- a/gerrit/defaults/main.yml +++ b/gerrit/defaults/main.yml @@ -19,3 +19,4 @@ gerrit_db_hostname: localhost gerrit_db_password: '{{ psql_db_pwd }}' gerrit_smtp_server: localhost gerrit_ssh_port: 29419 + diff --git a/gerrit/templates/gerrit.config.j2 b/gerrit/templates/gerrit.config.j2 index 5474df79..13116122 100644 --- a/gerrit/templates/gerrit.config.j2 +++ b/gerrit/templates/gerrit.config.j2 @@ -23,3 +23,5 @@ listenUrl = proxy-{{ gerrit_http_proxy_protocol }}://127.0.0.1:{{ gerrit_http_port }}{{ gerrit_app_context }}/ [cache] directory = cache +[plugins] + plugins.allowRemoteAdmin = true