diff --git a/roles/common/tasks/main.yaml b/roles/common/tasks/main.yaml index fc597aa..865de63 100644 --- a/roles/common/tasks/main.yaml +++ b/roles/common/tasks/main.yaml @@ -76,6 +76,7 @@ - vim - unattended-upgrades - apt-listchanges + - sudo-ldap - name: Configure FZF for Bash ansible.builtin.lineinfile: diff --git a/roles/etherpad/handlers/main.yaml b/roles/etherpad/handlers/main.yaml index 82924a6..7aea6eb 100644 --- a/roles/etherpad/handlers/main.yaml +++ b/roles/etherpad/handlers/main.yaml @@ -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 diff --git a/roles/services/handlers/main.yaml b/roles/services/handlers/main.yaml index 125fc4d..fb69a73 100644 --- a/roles/services/handlers/main.yaml +++ b/roles/services/handlers/main.yaml @@ -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 diff --git a/roles/services/tasks/discord_bot.yaml b/roles/services/tasks/discord_bot.yaml index 186b8f8..1889db4 100644 --- a/roles/services/tasks/discord_bot.yaml +++ b/roles/services/tasks/discord_bot.yaml @@ -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: diff --git a/roles/services/tasks/ircbot.yaml b/roles/services/tasks/ircbot.yaml index e1e4649..e635302 100644 --- a/roles/services/tasks/ircbot.yaml +++ b/roles/services/tasks/ircbot.yaml @@ -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: diff --git a/roles/services/tasks/mastodon_spacestate.yaml b/roles/services/tasks/mastodon_spacestate.yaml index 97786f9..53f979e 100644 --- a/roles/services/tasks/mastodon_spacestate.yaml +++ b/roles/services/tasks/mastodon_spacestate.yaml @@ -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: diff --git a/roles/services/tasks/spacestated.yaml b/roles/services/tasks/spacestated.yaml index 54382f8..3cff5bb 100644 --- a/roles/services/tasks/spacestated.yaml +++ b/roles/services/tasks/spacestated.yaml @@ -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: diff --git a/roles/services/tasks/wifi_mqtt.yaml b/roles/services/tasks/wifi_mqtt.yaml index 688aeea..8bb8353 100644 --- a/roles/services/tasks/wifi_mqtt.yaml +++ b/roles/services/tasks/wifi_mqtt.yaml @@ -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: