aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/debian_cloud_server
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-11-03 14:33:47 +0100
committerEgor Tensin <egor@tensin.name>2024-11-03 14:39:55 +0100
commitbdcabbe81fea5c159f3d7553860c7fdf51d8fec8 (patch)
tree5d95876a94ac3886ab407e16d2df88d2a323076c /roles/debian_cloud_server
parentv3.0.1 (diff)
downloadinfra-ansible-bdcabbe81fea5c159f3d7553860c7fdf51d8fec8.tar.gz
infra-ansible-bdcabbe81fea5c159f3d7553860c7fdf51d8fec8.zip
split out debian_server from debian_cloud_server
Additionally, some refactoring.
Diffstat (limited to '')
-rw-r--r--roles/debian_cloud_server/meta/main.yml9
-rw-r--r--roles/debian_server/defaults/main.yml (renamed from roles/debian_cloud_server/defaults/main.yml)3
2 files changed, 4 insertions, 8 deletions
diff --git a/roles/debian_cloud_server/meta/main.yml b/roles/debian_cloud_server/meta/main.yml
index 71d1bc2..937ec95 100644
--- a/roles/debian_cloud_server/meta/main.yml
+++ b/roles/debian_cloud_server/meta/main.yml
@@ -1,10 +1,5 @@
dependencies:
- role: cloud_init_wait
- - role: apt
+ - role: debian_server
vars:
- apt_packages: '{{ debian_cloud_server_packages }}'
- apt_unattended: true
- - role: sshd
- - role: firewall
- - role: linux_status
- - role: journald
+ debian_server_unattended_upgrades: true
diff --git a/roles/debian_cloud_server/defaults/main.yml b/roles/debian_server/defaults/main.yml
index 8fcd07e..80776a4 100644
--- a/roles/debian_cloud_server/defaults/main.yml
+++ b/roles/debian_server/defaults/main.yml
@@ -1,4 +1,4 @@
-debian_cloud_server_packages:
+debian_server_packages:
# Some common & useful packages:
- curl
- dnsutils
@@ -13,3 +13,4 @@ debian_cloud_server_packages:
- tmux
- vim
- wget
+debian_server_unattended_upgrades: false