From 95fb2af4db9defbcb60bcd7d321dbd2ce277eac6 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 8 Jul 2022 07:55:08 +0000 Subject: feat(ansible): Migrate Ubuntu Jammy III. Signed-off-by: Peter Mikus Change-Id: I0e2d2efbb4e4c9ab9d66198eb15bc9e49fb06eb6 --- .../roles/jenkins_job_health_exporter/tasks/main.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'fdio.infra.ansible/roles/jenkins_job_health_exporter/tasks') diff --git a/fdio.infra.ansible/roles/jenkins_job_health_exporter/tasks/main.yaml b/fdio.infra.ansible/roles/jenkins_job_health_exporter/tasks/main.yaml index 5dbe476019..55cbea92de 100644 --- a/fdio.infra.ansible/roles/jenkins_job_health_exporter/tasks/main.yaml +++ b/fdio.infra.ansible/roles/jenkins_job_health_exporter/tasks/main.yaml @@ -2,36 +2,36 @@ # file: roles/jenkins_job_health_exporter/tasks/main.yaml - name: Conf - Jenkins Job Health Exporter Config - template: + ansible.builtin.template: src: "templates/jenkins-job-health-exporter.j2" dest: "/etc/jenkins-job-health-exporter.json" owner: "root" group: "root" mode: "0644" when: - - ansible_hostname == "s42-nomad" + - ansible_hostname == "s16-nomad" tags: - conf-jenkins-job-json - name: Inst - Jenkins Job Health Exporter Binary - get_url: + ansible.builtin.get_url: url: "{{ jenkins_job_health_exporter_url }}/{{ jenkins_job_health_exporter_version }}/jenkins-job-health-exporter" dest: "{{ jenkins_job_health_exporter_target_dir }}/jenkins-job-health-exporter" mode: "0755" when: - - ansible_hostname == "s42-nomad" + - ansible_hostname == "s16-nomad" tags: - inst-jenkins-job-binary - name: Inst - Jenkins Job Health Exporter Service - template: + ansible.builtin.template: src: "templates/jenkins-job-health-exporter.service.j2" dest: "/lib/systemd/system/jenkins-job-health-exporter.service" owner: "root" group: "root" mode: "0644" when: - - ansible_hostname == "s42-nomad" + - ansible_hostname == "s16-nomad" notify: - "Restart Jenkins Job Health Exporter" tags: -- cgit 1.2.3-korg