Skip to content
Snippets Groups Projects
Commit 493b8253 authored by Baptiste DE RENZO's avatar Baptiste DE RENZO
Browse files

Merge branch 't37692-fix-lint' into 'main'

Fix lint, Refs #37692

See merge request sys/ansible-public!44
parents 7ad617a3 47a0a37e
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@
src: lxc-net.host_bridge
dest: /etc/default/lxc-net
mode: "644"
- name: Ask confirmation
ansible.builtin.pause:
prompt: |
......
---
- name: mscontroller restart
ansible.builtin.command:
cmd: mscontroller.py restart
- name: restart nginx
ansible.builtin.systemd:
name: nginx
......
......@@ -116,7 +116,8 @@
tags: mediaserver-synchronize
- name: configure email sender address
notify: mscontroller restart
notify:
- restart mediaserver
ansible.builtin.lineinfile:
path: /etc/mediaserver/msconf.py
backup: true
......
---
- name: postmap sasl
ansible.builtin.command: postmap hash:/etc/postfix/sasl-passwords
# we want to generate db file at every execution
changed_when: false
- name: postmap generic
ansible.builtin.command: postmap hash:/etc/postfix/generic
# we want to generate db file at every execution
changed_when: false
- name: postmap virtual
ansible.builtin.command: postmap hash:/etc/postfix/virtual
# we want to generate db file at every execution
changed_when: false
- name: newaliases
ansible.builtin.command: newaliases
# we want to generate aliases at every execution
changed_when: false
- name: restart postfix
ansible.builtin.service:
......
......@@ -14,6 +14,8 @@
- name: update locale
ansible.builtin.command: locale-gen
# we want to execute locale generation at every execution
changed_when: false
- name: restart cron
ansible.builtin.service:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment