Skip to content

Instantly share code, notes, and snippets.

Avatar

Kevin P. Fleming kpfleming

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am kpfleming on github.
  • I am kpfleming (https://keybase.io/kpfleming) on keybase.
  • I have a public key whose fingerprint is 6143 1167 35E5 C998 0492 462C EC4D 86B8 24FD 3CBF

To claim this, I am signing this object:

@kpfleming
kpfleming / console.log
Last active Jan 26, 2021
DEBUG log of systemd-networkd startup which failed to set IPv6 proxy addresses
View console.log
root@net20:~# ip neigh show proxy
2607:5300:203:5215::1 dev ve-mail20 proxy
2607:5300:203:5215::1 dev ve-diw20 proxy
root@net20:~# ip neigh add proxy 2607:5300:203:5215:4::1 dev eno1
root@net20:~# ip neigh add proxy 2607:5300:203:5215:1::1 dev eno1
root@net20:~# ip neigh add proxy 2607:5300:203:5215:2::1 dev eno1
root@net20:~# ip neigh add proxy 2607:5300:203:5215:3::1 dev eno1
root@net20:~# ip neigh add proxy 2607:5300:203:5215:5::1 dev eno1
root@net20:~# ip neigh show proxy
2607:5300:203:5215:5::1 dev eno1 proxy
@kpfleming
kpfleming / handlers.yml
Last active Feb 14, 2021
Limit Ansible handler runs to once per playbook run
View handlers.yml
%YAML 1.2
---
- ansible.builtin.include_tasks: "{{ playbook_dir ~ '/imports/reload_service_handler.yml' }}"
vars:
unit_name: nginx
listen: reload_nginx
View ansible-test.yml
---
- name: test
hosts: balrog21
tasks:
- debug:
msg: "{{ 'admins' in (group_list | from_yaml | map(attribute='name')) }}"
vars:
group_list: '[{"name": "admins"}, {"name": "users"}]'