50 lines
2.2 KiB
YAML
50 lines
2.2 KiB
YAML
# Copyright 2025 Code Fox
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
---
|
|
|
|
# Disable unwanted services
|
|
ubuntu_disable_services:
|
|
- unattended-upgrades.service
|
|
- snapd.service
|
|
- snapd.socket
|
|
|
|
# Install these packages
|
|
ubuntu_install_packages:
|
|
- tmux
|
|
- bmon
|
|
- htop
|
|
- iotop-c
|
|
- vim
|
|
- python3-dev
|
|
- python3-pip
|
|
- build-essential
|
|
|
|
# Create these groups if they don't exist
|
|
ubuntu_groups:
|
|
- sudo
|
|
|
|
# Create these users if they don't exist
|
|
ubuntu_users:
|
|
- name: c0de
|
|
ssh_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCzsWYAbdyilcZThO2vAHA80bl2ZdCiKzKfCL0Bninf3HdUl4i6FyYH3fwyu3rxtgH7r/UoPNMnRdWrAlY5dw7srPmV46PPFiZToZota66c//eqLQTWTM/0dENwqxCjjD/a9U2xEXbb+uFHvO7erkmlI1B8SB+53NsvRWj6qLhRpTIQed6sGDhMWMgdkptC/AQzbBe/JbNuNBDoMvMERRvMGhxfIdspYIGLdyA6twZ8RaMNOrdYfw+MrpMhb+4QZdIroHDBbLI7govPhN4iUKOPvXsGaV4xf1DnZYMbEZgdFFf5+TiVEQ/Bn8Gpp0m5tE9SMNPm4NtgYPmrNbnOEUhH8PbwKm1dxo3VnYvYiLtBgOKS5uQ/LF8f73SBeWwnQS/uIVYjUhhP0mu9WnTo9oRzIrXxnCtkPBgopZS/y6nK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