Skip to content

Commit

Permalink
Issue #575: Make sure handler syntax is correct for compose v2.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Feb 4, 2024
1 parent 7c20fbd commit d4170cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ It should also work with Ubuntu for Pi, or Arch Linux, but has not been tested o
- `example.config.yml` to `config.yml`
5. Run the playbook: `ansible-playbook main.yml`

> **If running locally on the Pi**: You may encounter an error like "Error while fetching server API version". If you do, please either reboot or log out and log back in, then run the playbook again.
> **If running locally on the Pi**: You may encounter an error like "Error while fetching server API version" or "connect: permission denied". If you do, please either reboot or log out and log back in, then run the playbook again.
## Usage

Expand Down
8 changes: 4 additions & 4 deletions tasks/handlers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
community.docker.docker_compose_v2:
project_src: "{{ config_dir }}/pi-hole/"
build: never
restarted: true
state: restarted
become: false

- name: Restart internet-monitoring
community.docker.docker_compose_v2:
project_src: "{{ config_dir }}/internet-monitoring/"
build: never
restarted: true
state: restarted
become: false

- name: Restart shelly-plug-prometheus
community.docker.docker_compose_v2:
project_src: "{{ config_dir }}/shelly-plug-prometheus/"
build: never
restarted: true
state: restarted
become: false

- name: Restart starlink-exporter
community.docker.docker_compose_v2:
project_src: "{{ config_dir }}/starlink-exporter/"
build: never
restarted: true
state: restarted
become: false

0 comments on commit d4170cf

Please sign in to comment.