Ignore errors on git task

This commit is contained in:
Mark Janssen 2024-07-31 21:18:50 +02:00
parent abc64144a8
commit 67087c4f48
Signed by: foobar
GPG key ID: D8674D8FC4F69BD2
8 changed files with 24 additions and 18 deletions

View file

@ -76,6 +76,7 @@
- vim
- unattended-upgrades
- apt-listchanges
- sudo-ldap
- name: Configure FZF for Bash
ansible.builtin.lineinfile:

View file

@ -2,7 +2,7 @@
- ansible.builtin.import_tasks:
file: ../../common/handlers/main.yaml
- name: restart etherpad
- name: Restart etherpad
ansible.builtin.systemd:
name: etherpad
state: restarted

View file

@ -2,55 +2,55 @@
- ansible.builtin.import_tasks:
file: ../../common/handlers/main.yaml
- name: restart irc-bot
- name: Restart irc-bot
ansible.builtin.systemd:
name: irc-bot
state: restarted
daemon_reload: true
- name: restart irc-photos
- name: Restart irc-photos
ansible.builtin.systemd:
name: irc-photos
state: restarted
daemon_reload: true
- name: restart irc-doorduino
- name: Restart irc-doorduino
ansible.builtin.systemd:
name: irc-doorduino
state: restarted
daemon_reload: true
- name: restart discord-bot
- name: Restart discord-bot
ansible.builtin.systemd:
name: discord-bot
state: restarted
daemon_reload: true
- name: restart siahsd
- name: Restart siahsd
ansible.builtin.systemd:
name: siahsd
state: restarted
daemon_reload: true
- name: restart spacestated
- name: Restart spacestated
ansible.builtin.systemd:
name: spacestated
state: restarted
daemon_reload: true
- name: restart mastodon-spacestate
- name: Restart mastodon-spacestate
ansible.builtin.systemd:
name: mastodon-spacestate
state: restarted
daemon_reload: true
- name: restart wifi-mqtt
- name: Restart wifi-mqtt
ansible.builtin.systemd:
name: wifi-mqtt
state: restarted
daemon_reload: true
- name: restart power-mqtt
- name: Restart power-mqtt
ansible.builtin.systemd:
name: power-mqtt
state: restarted

View file

@ -25,7 +25,8 @@
version: main
dest: /var/lib/discord-bot
accept_hostkey: yes
notify: restart discord-bot
notify: Restart discord-bot
ignore_errors: true
- name: Install service file
ansible.builtin.template:
@ -34,7 +35,7 @@
owner: root
group: root
mode: "0644"
notify: restart discord-bot
notify: Restart discord-bot
- name: Start discord-bot
ansible.builtin.systemd:

View file

@ -5,7 +5,8 @@
version: master
dest: /var/lib/irc-bot
accept_hostkey: yes
notify: restart irc-bot
ignore_errors: true
notify: Restart irc-bot
- name: Link irc-say
ansible.builtin.file:
@ -23,7 +24,7 @@
vars:
description: Bitlair IRC bot
exec: /bin/bash /var/lib/irc-bot/irc-bot
notify: restart irc-bot
notify: Restart irc-bot
- name: Start irc-bot
ansible.builtin.systemd:
@ -44,7 +45,7 @@
owner: root
group: root
mode: 0755
notify: restart irc-photos
notify: Restart irc-photos
- name: Install photos notification service
ansible.builtin.template:
@ -57,7 +58,7 @@
description: Bitlair IRC photos notification
requires: irc-bot.service
exec: /bin/bash /var/lib/irc-helpers/photos.sh
notify: restart irc-photos
notify: Restart irc-photos
- name: Start irc-photos
ansible.builtin.systemd:
@ -73,7 +74,7 @@
owner: root
group: root
mode: 0755
notify: restart irc-doorduino
notify: Restart irc-doorduino
- name: Install doorduino notification service
ansible.builtin.template:
@ -86,7 +87,7 @@
description: Bitlair IRC doorduino notification
requires: irc-bot.service
exec: /bin/bash /var/lib/irc-helpers/doorduino.sh
notify: restart irc-doorduino
notify: Restart irc-doorduino
- name: Start irc-doorduino
ansible.builtin.systemd:

View file

@ -12,6 +12,7 @@
dest: /var/lib/mastodon-spacestate
accept_hostkey: yes
notify: Restart mastodon-spacestate
ignore_errors: true
- name: Install config
ansible.builtin.template:

View file

@ -25,6 +25,7 @@
dest: /var/lib/spacestated/spacestated
accept_hostkey: yes
notify: Restart spacestated
ignore_errors: true
- name: Install service file
ansible.builtin.template:

View file

@ -13,6 +13,7 @@
dest: /var/lib/wifi-mqtt
accept_hostkey: yes
notify: Restart wifi-mqtt
ignore_errors: true
- name: Install service file
ansible.builtin.template: