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 - vim
- unattended-upgrades - unattended-upgrades
- apt-listchanges - apt-listchanges
- sudo-ldap
- name: Configure FZF for Bash - name: Configure FZF for Bash
ansible.builtin.lineinfile: ansible.builtin.lineinfile:

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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