diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-31 16:13:42 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-31 16:16:25 +0200 |
commit | 0a3675cb6497b70369120cdba0cfb0709d05d0df (patch) | |
tree | e9e5b8e90e00195da6d0440506672a0d43d2b815 | |
parent | use role dependencies where appropriate (diff) | |
download | infra-ansible-0a3675cb6497b70369120cdba0cfb0709d05d0df.tar.gz infra-ansible-0a3675cb6497b70369120cdba0cfb0709d05d0df.zip |
add a meta role debian_cloud_server
-rw-r--r-- | roles/debian_cloud_server/defaults/main.yml | 12 | ||||
-rw-r--r-- | roles/debian_cloud_server/meta/main.yml | 10 |
2 files changed, 22 insertions, 0 deletions
diff --git a/roles/debian_cloud_server/defaults/main.yml b/roles/debian_cloud_server/defaults/main.yml new file mode 100644 index 0000000..12eab69 --- /dev/null +++ b/roles/debian_cloud_server/defaults/main.yml @@ -0,0 +1,12 @@ +debian_cloud_server_packages: + # Some common & useful packages: + - curl + - dnsutils + - git + - man-db + - rsync + - screen + - telnet + - tmux + - vim + - wget diff --git a/roles/debian_cloud_server/meta/main.yml b/roles/debian_cloud_server/meta/main.yml new file mode 100644 index 0000000..65a5821 --- /dev/null +++ b/roles/debian_cloud_server/meta/main.yml @@ -0,0 +1,10 @@ +dependencies: + - role: cloud_init_wait + - role: apt + vars: + apt_extra_packages: '{{ debian_cloud_server_packages }}' + apt_unattended: true + - role: sshd + - role: firewall + - role: linux_status + - role: journald |