remove literal usernames from config files

This commit is contained in:
Pim Kunis 2022-12-20 19:58:47 +01:00
parent 972940332b
commit 1bbbd8a952
5 changed files with 13 additions and 15 deletions

View file

@ -14,8 +14,6 @@
- fuzzy find - fuzzy find
- thunderbird config - thunderbird config
- some kind of tag setup with: bootstrap, update etc - some kind of tag setup with: bootstrap, update etc
- sync music collection
- nicotine+
Would like Ansible Vault to check in keypair for syncthing. Would like Ansible Vault to check in keypair for syncthing.
However, then I would need a password to unlock the vault. However, then I would need a password to unlock the vault.

View file

@ -22,11 +22,11 @@ private_chatrooms = False
command_aliases = {} command_aliases = {}
[transfers] [transfers]
incompletedir = /home/pim/.local/share/nicotine/incomplete incompletedir = /home/{{ ansible_user_id }}/.local/share/nicotine/incomplete
downloaddir = /home/pim/Music downloaddir = /home/{{ ansible_user_id }}/Music
uploaddir = /home/pim/.local/share/nicotine/received uploaddir = /home/{{ ansible_user_id }}/.local/share/nicotine/received
usernamesubfolders = False usernamesubfolders = False
shared = [('Music', '/home/pim/Music')] shared = [('Music', '/home/{{ ansible_user_id }}/Music')]
buddyshared = [] buddyshared = []
uploadbandwidth = 50 uploadbandwidth = 50
uselimit = False uselimit = False
@ -97,9 +97,9 @@ onematch = False
[logging] [logging]
debug = False debug = False
debugmodes = [] debugmodes = []
debuglogsdir = /home/pim/.local/share/nicotine/logs/debug debuglogsdir = /home/{{ ansible_user_id }}/.local/share/nicotine/logs/debug
logcollapsed = True logcollapsed = True
transferslogsdir = /home/pim/.local/share/nicotine/logs/transfers transferslogsdir = /home/{{ ansible_user_id }}/.local/share/nicotine/logs/transfers
rooms_timestamp = %H:%M:%S rooms_timestamp = %H:%M:%S
private_timestamp = %Y-%m-%d %H:%M:%S private_timestamp = %Y-%m-%d %H:%M:%S
log_timestamp = %Y-%m-%d %H:%M:%S log_timestamp = %Y-%m-%d %H:%M:%S
@ -107,8 +107,8 @@ privatechat = True
chatrooms = True chatrooms = True
transfers = False transfers = False
debug_file_output = False debug_file_output = False
roomlogsdir = /home/pim/.local/share/nicotine/logs/rooms roomlogsdir = /home/{{ ansible_user_id }}/.local/share/nicotine/logs/rooms
privatelogsdir = /home/pim/.local/share/nicotine/logs/private privatelogsdir = /home/{{ ansible_user_id }}/.local/share/nicotine/logs/private
readroomlogs = True readroomlogs = True
readroomlines = 15 readroomlines = 15
readprivatelines = 15 readprivatelines = 15

View file

@ -24,6 +24,6 @@
recurse: true recurse: true
state: directory state: directory
- name: Copy configuration file - name: Copy configuration file
copy: template:
src: "{{ role_path }}/files/strawberry.conf" src: "{{ role_path }}/templates/strawberry.conf.j2"
dest: ~/.config/strawberry/strawberry.conf dest: ~/.config/strawberry/strawberry.conf

View file

@ -86,7 +86,7 @@ group_by2=4
group_by3=0 group_by3=0
group_by_version=1 group_by_version=1
io_priority=3 io_priority=3
last_path=/home/pim/Music last_path=/home/{{ ansible_user_id }}/Music
mark_songs_unavailable=true mark_songs_unavailable=true
monitor=true monitor=true
overwrite_playcount=false overwrite_playcount=false

View file

@ -1,5 +1,5 @@
<configuration version="37"> <configuration version="37">
<folder id="6pgsm-opvsv" label="Sync" path="/home/pim/sync" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true"> <folder id="6pgsm-opvsv" label="Sync" path="/home/{{ ansible_user_id }}/sync" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
<filesystemType>basic</filesystemType> <filesystemType>basic</filesystemType>
<device id="IGS4TYV-TQ6X2CG-OE3M2RE-DKZWKQZ-HEKIGHT-C6EIGHL-CBP2ULE-M3WZ7QC" introducedBy=""> <device id="IGS4TYV-TQ6X2CG-OE3M2RE-DKZWKQZ-HEKIGHT-C6EIGHL-CBP2ULE-M3WZ7QC" introducedBy="">
<encryptionPassword></encryptionPassword> <encryptionPassword></encryptionPassword>
@ -43,7 +43,7 @@
<maxTotalSize>4096</maxTotalSize> <maxTotalSize>4096</maxTotalSize>
</xattrFilter> </xattrFilter>
</folder> </folder>
<folder id="gfx9s-zaxrt" label="Music" path="/home/pim/Music" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true"> <folder id="gfx9s-zaxrt" label="Music" path="/home/{{ ansible_user_id }}/Music" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
<filesystemType>basic</filesystemType> <filesystemType>basic</filesystemType>
<device id="IGS4TYV-TQ6X2CG-OE3M2RE-DKZWKQZ-HEKIGHT-C6EIGHL-CBP2ULE-M3WZ7QC" introducedBy=""> <device id="IGS4TYV-TQ6X2CG-OE3M2RE-DKZWKQZ-HEKIGHT-C6EIGHL-CBP2ULE-M3WZ7QC" introducedBy="">
<encryptionPassword></encryptionPassword> <encryptionPassword></encryptionPassword>