Table of Contents

Ansible

Notes, links to existing playbooks/roles/etc, stuff. Things.

Proxmox

No subscription nag

- name: Disable login subscription message
  become: yes
  replace:
    path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
    regexp: "data.status !== 'Active'"
    replace: "false"

Docker + ansible

Users management

https://gitlab.com/facil/ansible/-/blob/master/roles/common/tasks/main.yml

- include: admin-account-present.yml user="{{ item }}"
  with_items: "{{ admin_accounts }}"
  when: inventory_hostname in item.hosts or 'all' in item.hosts
- include: admin-account-absent.yml user="{{ item }}"
  with_items: "{{ admin_accounts }}"
  when: inventory_hostname not in item.hosts and 'all' not in item.hosts

misc leechme