-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ceec36
commit 180dbb1
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,22 @@ jobs: | |
ansible-galaxy install -r requirements.yml | ||
cd .. | ||
ansible-playbook ansible-role-jenkins/playbook.yml | ||
opensuse-leap: | ||
runs-on: ubuntu-22.04 | ||
container: opensuse/leap:latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Install ansible | ||
run: | | ||
sudo apt-add-repository --yes --update ppa:ansible/ansible | ||
sudo apt-get update | ||
sudo apt-get install ansible -y | ||
ansible --version | ||
- name: Run playbook | ||
run: | | ||
ansible-galaxy install -r requirements.yml | ||
cd .. | ||
ansible-playbook ansible-role-jenkins/playbook.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
--- | ||
- name: Jenkins Repository | ||
community.general.zypper_repository: | ||
name: jenkins | ||
repo: "{{ jenkins_zypper_repo_url }}" | ||
state: present |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |