system-config/playbooks/service-review-dev.yaml
Monty Taylor e5e925d715 Switch back to docker for gerrit and nodepool-builder
We rolled out review-dev with podman and it worked fine for us. It
worked less fine for nodepool-builder, although we still might be
able to solve it. Maybe right now isn't the time to do this switch.
Gitea, gitea-lb and zuul-registry all use docker instead of podman.

The only thing running with podman right now is review-dev. We can
do a manual cleanup of podman there before runnign this to keep
things simple:

  - stop gerrit service
  - uninstall podman and podman-compose
  - uninstall podman ppa config
  - uninstall pip3

Then let ansible install docker and docker compose up.

Story: #2007407
Task: #39062
Change-Id: I9bf99b18559d49d11ba99a96f02a4a45a4f65a86
2020-03-15 23:26:49 +00:00

20 lines
1.2 KiB
YAML

- hosts: "review-dev:!disabled"
name: "Configure gerrit on review-dev"
roles:
- install-docker
- role: gerrit
gerrit_ssh_rsa_key_contents: "{{ gerrit_dev_ssh_rsa_key_contents }}"
gerrit_ssh_rsa_pubkey_contents: "{{ gerrit_dev_ssh_rsa_pubkey_contents }}"
gerrit_project_ssh_rsa_key_contents: "{{ gerrit_dev_project_ssh_rsa_key_contents }}"
gerrit_project_ssh_rsa_pubkey_contents: "{{ gerrit_dev_project_ssh_rsa_pubkey_contents }}"
gerrit_replication_ssh_rsa_key_contents: "{{ gerrit_dev_replication_ssh_rsa_key_contents }}"
gerrit_replication_ssh_rsa_pubkey_contents: "{{ gerrit_dev_replication_ssh_rsa_pubkey_contents }}"
gerrit_database_config_section: "{{ gerrit_dev_database_config_section }}"
gerrit_lp_access_token: "{{ gerrit_dev_lp_access_token }}"
gerrit_lp_access_secret: "{{ gerrit_dev_lp_access_secret }}"
gerrit_lp_consumer_key: "{{ gerrit_dev_lp_consumer_key }}"
gerrit_storyboard_token: "{{ gerrit_dev_storyboard_token }}"
gerrit_email_private_key: "{{ gerrit_dev_email_private_key }}"
gerrit_mysql_host: "{{ gerrit_dev_mysql_host }}"
gerrit_mysql_password: "{{ gerrit_dev_mysql_password }}"