diff --git a/roles/build-docker-image/tasks/push.yaml b/roles/build-docker-image/tasks/push.yaml index e37d9ea80..0b8191934 100644 --- a/roles/build-docker-image/tasks/push.yaml +++ b/roles/build-docker-image/tasks/push.yaml @@ -5,13 +5,13 @@ lineinfile: path: /etc/hosts state: present - regex: "^{{ buildset_registry.host }}\tzuul-jobs.buildset_registry$" - line: "{{ buildset_registry.host }}\tzuul-jobs.buildset_registry" + regex: "^{{ buildset_registry.host }}\tzuul-jobs.buildset-registry$" + line: "{{ buildset_registry.host }}\tzuul-jobs.buildset-registry" insertafter: EOF when: buildset_registry.host | ipaddr - name: Set buildset_registry alias variable when using ip set_fact: - buildset_registry_alias: zuul-jobs.buildset_registry + buildset_registry_alias: zuul-jobs.buildset-registry when: buildset_registry.host | ipaddr - name: Set buildset_registry alias variable when using name set_fact: diff --git a/roles/use-buildset-registry/tasks/main.yaml b/roles/use-buildset-registry/tasks/main.yaml index 97c5bb9ce..16c445058 100644 --- a/roles/use-buildset-registry/tasks/main.yaml +++ b/roles/use-buildset-registry/tasks/main.yaml @@ -5,13 +5,13 @@ lineinfile: path: /etc/hosts state: present - regex: "^{{ buildset_registry.host }}\tzuul-jobs.buildset_registry$" - line: "{{ buildset_registry.host }}\tzuul-jobs.buildset_registry" + regex: "^{{ buildset_registry.host }}\tzuul-jobs.buildset-registry$" + line: "{{ buildset_registry.host }}\tzuul-jobs.buildset-registry" insertafter: EOF when: buildset_registry.host | ipaddr - name: Set buildset_registry alias variable when using ip set_fact: - buildset_registry_alias: zuul-jobs.buildset_registry + buildset_registry_alias: zuul-jobs.buildset-registry when: buildset_registry.host | ipaddr - name: Set buildset_registry alias variable when using name set_fact: