From b4d77d5657fa57493e1a29fbff782fa4ddff42a9 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Tue, 6 Sep 2022 11:10:05 +0200 Subject: [PATCH] refactor roles --- deploy.yml | 60 ++++++++++++++++++++++++------------------------------ 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/deploy.yml b/deploy.yml index 28ffb71..9ebd8df 100644 --- a/deploy.yml +++ b/deploy.yml @@ -1,26 +1,41 @@ --- -- name: snitch deployment - hosts: snitch + +- name: common roles + hosts: + - caladan + - narwhal + - fugu + - snitch become: true roles: - basic - users - sshd - - wifi - - lbu_commit vars: users: - rilla - ansible + - woodpecker -- name: caladan deployment +- name: quality of life tools + hosts: + - caladan + - narwhal + - fugu + become: true + roles: + - quality_of_life + +- name: wifi setup + hosts: snitch + become: true + roles: + - wifi + +- name: caladan-specific things hosts: caladan become: true roles: - - basic - - users - - sshd - - quality_of_life - tinyproxy vars: users: @@ -28,29 +43,8 @@ - ansible - woodpecker -- name: narwhal deployment - hosts: narwhal +- name: lbu commit + hosts: snitch become: true roles: - - basic - - users - - sshd - - quality_of_life - vars: - users: - - rilla - - ansible - - woodpecker - -- name: fugu deployment - hosts: fugu - become: true - roles: - - basic - - users - - sshd - - quality_of_life - vars: - users: - - rilla - - ansible + - lbu_commit