Skip to content

Commit

Permalink
Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
sdarwin committed Apr 26, 2024
1 parent 68d71a5 commit 20993fe
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,25 @@ jobs:
fail-fast: false
matrix:
include:
- distro: centos7
playbook: converge.yml
# - distro: centos7
# playbook: converge.yml
- distro: centos8
playbook: converge.yml
- distro: debian9
playbook: converge.yml
# - distro: debian9
# playbook: converge.yml
- distro: debian10
playbook: converge.yml
- distro: ubuntu1604
- distro: rockylinux8
playbook: converge.yml
# - distro: ubuntu1604
# playbook: converge.yml
- distro: ubuntu1804
playbook: converge.yml
- distro: ubuntu2004
playbook: converge.yml
- distro: ubuntu2204
playbook: converge.yml
- distro: rockylinux8
- distro: ubuntu2404
playbook: converge.yml

steps:
Expand All @@ -76,7 +78,7 @@ jobs:
python-version: '3.x'

- name: Install test dependencies.
run: pip3 install ansible molecule[docker] docker
run: pip3 install ansible molecule-plugins[docker] docker

- name: Run Molecule tests.
run: molecule test
Expand Down
1 change: 1 addition & 0 deletions tasks/client_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@

- name: Install munin port from macports
ansible.builtin.shell: |
set -o pipefail
/opt/local/bin/port -N -v install munin | tee /tmp/munin-install.log
args:
executable: /bin/bash
Expand Down
6 changes: 3 additions & 3 deletions tasks/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
when: ansible_os_family == 'Debian'

- name: Install passlib
ansible.builtin.pip:
ansible.builtin.package:
name:
- passlib
changed_when: false
- python3-passlib
state: present

- name: Create cert (Redhat)
ansible.builtin.shell: "{{ make_dummy_cert_path }} {{ munin_ssl_cert }} ; chmod 640 {{ munin_ssl_cert }} ; chgrp {{ munin_web_user }} {{ munin_ssl_cert }}"
Expand Down
12 changes: 12 additions & 0 deletions vars/Ubuntu-24.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
# server
munin_packages:
- munin
- tree
- htop
- wget
- ssl-cert
- iputils-ping
- net-tools
- python3-pip
- python3-setuptools

0 comments on commit 20993fe

Please sign in to comment.