====== Ansible ======
Notes, links to existing playbooks/roles/etc, stuff. Things.
===== Proxmox =====
* https://github.com/mozitat/ansible-role-proxmoxy
* ''proxmoxy__host_tuntap''
* ''proxmoxy__templates''
* ''proxmoxy__permission''
==== 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 =====
* https://github.com/philm/ansible_target
* many more I didn't noted here yet
===== 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 =====
* https://gitlab.com/facil/ansible/-/blob/master/roles/common/tasks/security.yml - fix $HOME chmod, umask, /root/.bash_history