From 58aa89cba7956372b98c26f6bb679c488f017560 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 8 Oct 2020 19:20:34 +0100 Subject: [PATCH 1/1] Remove unused roles --- roles/aws.rb | 33 --------------------------------- roles/g5solutions.rb | 28 ---------------------------- 2 files changed, 61 deletions(-) delete mode 100644 roles/aws.rb delete mode 100644 roles/g5solutions.rb diff --git a/roles/aws.rb b/roles/aws.rb deleted file mode 100644 index d4ad3fd0f..000000000 --- a/roles/aws.rb +++ /dev/null @@ -1,33 +0,0 @@ -name "aws" -description "Role applied to all servers on AWS" - -default_attributes( - :hosted_by => "AWS", - :location => "Ireland", - :networking => { - :nameservers => ["172.31.0.2"], - :roles => { - :internal => { - :inet => { - :prefix => "20", - :gateway => "172.31.0.1" - } - }, - :external => { - :inet => { - :prefix => "32" - } - } - } - } -) - -override_attributes( - :ntp => { - :servers => ["0.ie.pool.ntp.org", "1.ie.pool.ntp.org", "europe.pool.ntp.org"] - } -) - -run_list( - "role[ie]" -) diff --git a/roles/g5solutions.rb b/roles/g5solutions.rb deleted file mode 100644 index 96aaa883b..000000000 --- a/roles/g5solutions.rb +++ /dev/null @@ -1,28 +0,0 @@ -name "g5solutions" -description "Role applied to all servers at G5 Solutions" - -default_attributes( - :accounts => { - :users => { - :g5team => { :status => :administrator } - } - }, - :hosted_by => "G5 Solutions", - :location => "Indonesia", - :networking => { - :nameservers => [ - "8.8.8.8", - "8.8.4.4" - ] - } -) - -override_attributes( - :ntp => { - :servers => ["0.id.pool.ntp.org", "1.id.pool.ntp.org", "asia.pool.ntp.org"] - } -) - -run_list( - "role[id]" -) -- 2.39.5