Fix parsec bug in f39
This commit is contained in:
parent
3ff69e504e
commit
79386b54ab
2
hosts
2
hosts
@ -6,7 +6,7 @@
|
|||||||
# Each Server should have a "vars" block like below to set individual settings for each
|
# Each Server should have a "vars" block like below to set individual settings for each
|
||||||
#
|
#
|
||||||
[bitb0x:vars]
|
[bitb0x:vars]
|
||||||
app_list=['bitcoin.yml','electrs.yml']
|
app_list=['bitcoin.yml']
|
||||||
ansible_user=b0xxy
|
ansible_user=b0xxy
|
||||||
ansible_password=b0xxy
|
ansible_password=b0xxy
|
||||||
#registry_url=git.boxxy.net/b0xxer/
|
#registry_url=git.boxxy.net/b0xxer/
|
||||||
|
|||||||
1
roles/config/files/parsec.conf
Normal file
1
roles/config/files/parsec.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
u parsec 983 "parsec user" /var/lib/parsec /sbin/nologin
|
||||||
@ -2,7 +2,21 @@
|
|||||||
# tasks file for config
|
# tasks file for config
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
- import_tasks: parsec-bug.yml
|
|
||||||
|
- name: Create /etc/sysusers.d directory
|
||||||
|
become: yes
|
||||||
|
become_method: sudo
|
||||||
|
ansible.builtin.file:
|
||||||
|
dest: /etc/sysusers.d
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: Fix parsec bug in Fedora-39
|
||||||
|
become: yes
|
||||||
|
become_method: sudo
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: parsec.conf
|
||||||
|
dest: /etc/sysusers.d/parsec.conf
|
||||||
|
setype: etc_t
|
||||||
|
|
||||||
- name: Enable Cockpit Service
|
- name: Enable Cockpit Service
|
||||||
become: yes
|
become: yes
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
# get user id: ls -ln /var/lib | grep parsec | grep -v dbus | awk '{print $3}'
|
|
||||||
# sudo mkdir /etc/sysusers.d
|
|
||||||
# echo "u parsec 983 \"parsec user\" /var/lib/parsec /sbin/nologin" | sudo tee /etc/sysusers.d/parsec.conf
|
|
||||||
# sudo chown -R parsec:parsec /var/lib/parsec
|
|
||||||
Loading…
x
Reference in New Issue
Block a user