diff --git a/tasks/repository_install/Suse.yml b/tasks/repository_install/Suse.yml index ed97d53..b2cf458 100644 --- a/tasks/repository_install/Suse.yml +++ b/tasks/repository_install/Suse.yml @@ -1 +1,6 @@ --- +- name: Jenkins Repository + community.general.zypper_repository: + name: jenkins + repo: "{{ jenkins_zypper_repo_url }}" + state: present diff --git a/vars/Suse.yml b/vars/Suse.yml index 5492822..d86a46a 100644 --- a/vars/Suse.yml +++ b/vars/Suse.yml @@ -1,3 +1,6 @@ --- jenkins_requirements: [] + jenkins_config_service_path: /etc/sysconfig/jenkins + +jenkins_zypper_repo_url: https://pkg.jenkins.io/opensuse-stable/?ssl_verify=no