mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
anubis: add group/user
Normally the fedora anubis package uses systemd's DynamicUser, which is fine, but we need to setup a env file only readable by anubis because it contains a private key. So, just add group/user here and the unit will use those instead. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -6,6 +6,23 @@
|
||||
tags:
|
||||
- anubis
|
||||
|
||||
- name: Add anubis group
|
||||
ansible.builtin.group:
|
||||
name: anubis
|
||||
state: present
|
||||
tags:
|
||||
- config
|
||||
- anubis
|
||||
|
||||
- name: Add anubis user
|
||||
ansible.builtin.user:
|
||||
name: anubis
|
||||
group: anubis
|
||||
system: yes
|
||||
tags:
|
||||
- config
|
||||
- anubis
|
||||
|
||||
- name: Install httpd config for backend listener
|
||||
ansible.builtin.copy:
|
||||
src: "httpd/{{ item }}"
|
||||
|
||||
Reference in New Issue
Block a user