feat(ansible): Migrate Ubuntu Jammy III.
[csit.git] / fdio.infra.ansible / roles / jenkins_job_health_exporter / tasks / main.yaml
index 5dbe476..55cbea9 100644 (file)
@@ -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: