diff --git a/roles/quay_installer/defaults/main.yml b/roles/quay_installer/defaults/main.yml index ed97d53..8c06ad0 100644 --- a/roles/quay_installer/defaults/main.yml +++ b/roles/quay_installer/defaults/main.yml @@ -1 +1,4 @@ --- +redis_image: docker.io/centos/redis-5-centos8 +postgres_image: docker.io/centos/postgresql-10-centos8 +quay_image: quay.io/projectquay/quay:latest diff --git a/roles/quay_installer/tasks/install-postgres-service.yaml b/roles/quay_installer/tasks/install-postgres-service.yaml index 2acb092..267b3a8 100644 --- a/roles/quay_installer/tasks/install-postgres-service.yaml +++ b/roles/quay_installer/tasks/install-postgres-service.yaml @@ -19,7 +19,7 @@ - name: Pull Postgres image containers.podman.podman_image: - name: docker.io/centos/postgresql-10-centos8 + name: "{{ postgres_image }}" - name: Start Postgres service systemd: diff --git a/roles/quay_installer/tasks/install-quay-service.yaml b/roles/quay_installer/tasks/install-quay-service.yaml index d6dd87c..d322671 100644 --- a/roles/quay_installer/tasks/install-quay-service.yaml +++ b/roles/quay_installer/tasks/install-quay-service.yaml @@ -28,7 +28,7 @@ - name: Pull Quay image containers.podman.podman_image: - name: quay.io/projectquay/quay:latest + name: "{{ quay_image }}" - name: Start Quay service systemd: diff --git a/roles/quay_installer/tasks/install-redis-service.yaml b/roles/quay_installer/tasks/install-redis-service.yaml index 11e1f70..c0dfe8f 100644 --- a/roles/quay_installer/tasks/install-redis-service.yaml +++ b/roles/quay_installer/tasks/install-redis-service.yaml @@ -5,9 +5,9 @@ - name: Copy Redis systemd service file template: src=../files/systemd/redis.service dest=/etc/systemd/system/quay-redis.service - - name: Pull Postgres image + - name: Pull Redis image containers.podman.podman_image: - name: docker.io/centos/redis-5-centos8 + name: "{{ redis_image }}" - name: Start Redis service systemd: