diff options
Diffstat (limited to '')
-rw-r--r-- | roles/debian_server/README.md | 2 | ||||
-rw-r--r-- | roles/debian_server/defaults/main.yml (renamed from roles/debian_cloud_server/defaults/main.yml) | 3 | ||||
-rw-r--r-- | roles/debian_server/meta/main.yml | 9 |
3 files changed, 13 insertions, 1 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_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 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 |