Use role for akkounts

Lets us search by role
This commit is contained in:
Basti 2020-12-08 19:59:51 +01:00
parent 56d9144ad6
commit 8e0a66184c
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
2 changed files with 14 additions and 3 deletions

View File

@ -68,7 +68,6 @@
},
"run_list": [
"recipe[kosmos-base]",
"recipe[kosmos-akkounts::default]",
"recipe[kosmos-akkounts::nginx]"
"role[akkounts]"
]
}
}

12
roles/akkounts.rb Normal file
View File

@ -0,0 +1,12 @@
name "akkounts"
default_run_list = %w(
kosmos-akkounts::default
kosmos-akkounts::nginx
)
env_run_lists(
'_default' => default_run_list,
'development' => default_run_list,
'production' => default_run_list
)