Browse Source

Misc TODOs and fixes

master
Geoffrey Frogeye 1 year ago
parent
commit
121f629bdb
Signed by: geoffrey GPG Key ID: C72403E7F82E6AD8
  1. 1
      config/automatrop/ansible.cfg
  2. 1
      config/automatrop/roles/dotfiles/handlers/main.yml
  3. 1
      config/automatrop/roles/dotfiles/tasks/main.yml
  4. 1
      config/automatrop/roles/system/files/openvpn-client.service
  5. 2
      config/automatrop/roles/system/tasks/main.yml
  6. 5
      config/shell/shrc

1
config/automatrop/ansible.cfg

@ -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

1
config/automatrop/roles/dotfiles/handlers/main.yml

@ -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

1
config/automatrop/roles/dotfiles/tasks/main.yml

@ -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:

1
config/automatrop/roles/system/files/openvpn-client.service

@ -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

2
config/automatrop/roles/system/tasks/main.yml

@ -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

5
config/shell/shrc

@ -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

Loading…
Cancel
Save