From c8de512a98462327b909311d2f89c90c32fb9246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 1 Oct 2022 22:28:22 +0200 Subject: chore: migrate package install in distinct roles --- roles/workstation/tasks/main.yml | 33 +++++---------------------------- 1 file changed, 5 insertions(+), 28 deletions(-) (limited to 'roles/workstation/tasks/main.yml') diff --git a/roles/workstation/tasks/main.yml b/roles/workstation/tasks/main.yml index 205834f..ea772d6 100644 --- a/roles/workstation/tasks/main.yml +++ b/roles/workstation/tasks/main.yml @@ -2,46 +2,23 @@ include_vars: "os_{{ ansible_distribution | lower }}.yml" - name: include packages - tags: always - include_tasks: - file: pkgs.yml - apply: - tags: task_pkgs + include_tasks: pkgs.yml - name: include operating system setup - tags: always - include_tasks: - file: "os_{{ ansible_distribution | lower }}.yml" - apply: - tags: task_system + include_tasks: "os_{{ ansible_distribution | lower }}.yml" - name: include shell setup - tags: always - include_tasks: - file: shell.yml - apply: - tags: task_shell + include_tasks: shell.yml - name: include doas setup - tags: always - include_tasks: - file: doas.yml - apply: - tags: task_doas + include_tasks: doas.yml - name: include smartcard setup - tags: always - include_tasks: - file: smartcard.yml - apply: - tags: task_smartcard + include_tasks: smartcard.yml - name: include ssh setup - tags: always include_tasks: file: ssh.yml - apply: - tags: task_ssh args: apply: become: true -- cgit v1.2.3