diff --git a/jenkins.yml b/jenkins.yml index 2d81245..a6ed42d 100644 --- a/jenkins.yml +++ b/jenkins.yml @@ -49,3 +49,15 @@ - name: Stop multipathd logging when running on VM ansible.builtin.import_tasks: file: tasks/stop-multipathd-syslog.yml + + - name: Install Jenkins + ansible.builtin.import_role: + name: geerlingguy.jenkins + vars: + jenkins_package_state: present + jenkins_hostname: jenkins.hayaworld.local + jenkins_home: /var/lib/jenkins + jenkins_http_port: 8080 + jenkins_java_options: "-Djenkins.install.runSetupWizard=false" + tags: + - jenkins diff --git a/requirements.yml b/requirements.yml index 9f3f682..fef5eeb 100644 --- a/requirements.yml +++ b/requirements.yml @@ -3,6 +3,7 @@ roles: - name: brianhartsock.avahi - name: mrlesmithjr.netplan - name: geerlingguy.docker + - name: geerlingguy.jenkins collections: - name: alvistack.gitlab