Skip to content

Commit

Permalink
🐛 Fix apcupsd
Browse files Browse the repository at this point in the history
  • Loading branch information
anarion80 committed Oct 12, 2024
1 parent 2d19bca commit d0704c6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/apcupsd/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ apcupsd_annoy: 300
apcupsd_annoydelay: 60
apcupsd_nologon: "disable"
apcupsd_killdelay: 0
apcupsd_device: "/dev/ttyUSB0"
10 changes: 10 additions & 0 deletions roles/apcupsd/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@ provisioner:
group_vars:
all:
apcupsd_enabled: true
apcupsd_data_directory: /tmp/apcupsd
platforms:
- name: instance
image: geerlingguy/docker-ubuntu2204-ansible:latest
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /var/run/docker.sock:/var/run/docker.sock
- /tmp:/tmp:rw
privileged: true
pre_build_image: true

0 comments on commit d0704c6

Please sign in to comment.