Misc TODOs and fixes

This commit is contained in:
Geoffrey Frogeye 2021-06-27 21:10:04 +02:00
parent 647fd78ae2
commit 121f629bdb
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
6 changed files with 10 additions and 1 deletions

View file

@ -6,3 +6,4 @@ library=plugins/modules
[ssh_connection]
pipelining = True # does not work with requiretty in /etc/sudoers
ssh_args=-o ForwardAgent=yes # no need for installing/configuring/unlocking SSH/GPG keys on the host to be able to git clone extensions

View file

@ -1,2 +1,3 @@
- name: install dotfiles
command: "{{ ansible_user_dir }}/.dotfiles/config/scripts/dotfiles install"
# TODO A python module to do that, so without an handler

View file

@ -16,6 +16,7 @@
dest: "{{ ansible_user_dir }}/.dotfiles"
update: "{{ not has_forge_access }}"
notify: install dotfiles
# TODO Put actual dotfiles in a subdirectory of the repo, so we don't have to put everything in config
- name: Register as Ansible collection
file:

View file

@ -8,3 +8,4 @@ User=
AmbiantCapabilities=
# It's not pretty, but other script only work with systemd or call resolvconf with -p,
# which doesn't work without a local DNS resolver
# TODO Local DNS resolver sounds nice anyway

View file

@ -361,3 +361,5 @@
# $ sudoedit /etc/default/grub
# Add resume=UUID=<UUID-of-swap-partition> to GRUB_CMDLINE_LINUX_DEFAULT
# $ sudo grub-mkconfig -o /boot/grub/grub.cfg
# TODO udevil

View file

@ -101,7 +101,10 @@ unset _i_prefer
# Needed because xterm/urxvt won't use the last color, needed for vim
## GPG
# Update TTY
# Makes the last open terminal the ones that receives the pinentry message (if
# not run from a terminal with DESKTOP)
# TODO Only run if gpg-agent is started?
# TODO Make a command out of this for easy management (and maybe remove the below)
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null