diff options
author | Egor Tensin <egor@tensin.name> | 2024-11-03 14:33:47 +0100 |
---|---|---|
committer | Egor Tensin <egor@tensin.name> | 2024-11-03 14:39:55 +0100 |
commit | bdcabbe81fea5c159f3d7553860c7fdf51d8fec8 (patch) | |
tree | 5d95876a94ac3886ab407e16d2df88d2a323076c /roles/debian_server | |
parent | v3.0.1 (diff) | |
download | infra-ansible-bdcabbe81fea5c159f3d7553860c7fdf51d8fec8.tar.gz infra-ansible-bdcabbe81fea5c159f3d7553860c7fdf51d8fec8.zip |
split out debian_server from debian_cloud_server
Additionally, some refactoring.
Diffstat (limited to 'roles/debian_server')
-rw-r--r-- | roles/debian_server/README.md | 2 | ||||
-rw-r--r-- | roles/debian_server/defaults/main.yml | 16 | ||||
-rw-r--r-- | roles/debian_server/meta/main.yml | 9 |
3 files changed, 27 insertions, 0 deletions
diff --git a/roles/debian_server/README.md b/roles/debian_server/README.md new file mode 100644 index 0000000..ae55607 --- /dev/null +++ b/roles/debian_server/README.md @@ -0,0 +1,2 @@ +This is a meta-role, it simply pulls in other roles as dependencies. It's used +for general maintenance of all my Debian-based machines. diff --git a/roles/debian_server/defaults/main.yml b/roles/debian_server/defaults/main.yml new file mode 100644 index 0000000..80776a4 --- /dev/null +++ b/roles/debian_server/defaults/main.yml @@ -0,0 +1,16 @@ +debian_server_packages: + # Some common & useful packages: + - curl + - dnsutils + - git + - man-db + - ncat + - net-tools + - nmap + - rsync + - screen + - telnet + - tmux + - vim + - wget +debian_server_unattended_upgrades: false diff --git a/roles/debian_server/meta/main.yml b/roles/debian_server/meta/main.yml new file mode 100644 index 0000000..10d3eb8 --- /dev/null +++ b/roles/debian_server/meta/main.yml @@ -0,0 +1,9 @@ +dependencies: + - role: apt + vars: + apt_packages: '{{ debian_server_packages }}' + apt_unattended_upgrades: '{{ debian_server_unattended_upgrades }}' + - role: sshd + - role: firewall + - role: linux_status + - role: journald |