ansible-homelab/cloud-init/ubuntu-archivebox.yml
2023-06-04 09:17:58 -05:00

34 lines
828 B
YAML

#cloud-config
package_update: true
package_upgrade: true
packages:
- curl
- git
- nodejs
- npm
- python3-dev
- python3-pip
- ripgrep
- wget
- xauth
- youtube-dl
users:
- name: archivebox
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIOmibToJQ8JZpSFLH3482oxvpD56QAfu4ndoofbew5t jas@si.local
sudo: 'ALL=(ALL) NOPASSWD: ALL'
shell: /bin/bash
lock_passwd: true
rsyslog:
configs:
- content: "*.* @10.0.0.41:514"
filename: 99-forward.conf
remotes:
moonshadow: 10.0.0.41
timezone: America/Chicago
runcmd:
- [ git, clone, https://gist.github.com/90c3b2fcc9d70cf06e9f3660e0d15a48.git, /tmp/vimrc ]
- [ cp, /tmp/vimrc/.vimrc, /root/.vimrc ]
- [ cp, /tmp/vimrc/.vimrc, /home/archivebox/.vimrc ]
- [ chown, archivebox:archivebox, /home/archivebox/.vimrc ]