diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-10-01 22:28:22 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-10-01 22:28:55 +0200 |
commit | c8de512a98462327b909311d2f89c90c32fb9246 (patch) | |
tree | df11ba3e4c005644e1a4a9c61b8790523333a6ee /roles/workstation/tasks/main.yml | |
parent | e91ac09b9ed3d3768b99315c13366da23a13a3fa (diff) | |
download | rules-c8de512a98462327b909311d2f89c90c32fb9246.tar.gz |
chore: migrate package install in distinct roles
Diffstat (limited to 'roles/workstation/tasks/main.yml')
-rw-r--r-- | roles/workstation/tasks/main.yml | 33 |
1 files changed, 5 insertions, 28 deletions
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 |