aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/main.yml
blob: 0e4a9c2e0ec3558dcca0ff3c919aedc4678e6c16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
- name: include specific distribution variables
  include_vars: "os_{{ ansible_distribution | lower }}.yml"

- name: include packages
  tags: always
  include_tasks:
    file: pkgs.yml
    apply:
      tags: task_pkgs

- name: include operating system setup
  tags: always
  include_tasks:
    file: "os_{{ ansible_distribution | lower }}.yml"
    apply:
      tags: task_system

- name: include shell setup
  tags: always
  include_tasks:
    file: shell.yml
    apply:
      tags: task_shell

- name: include doas setup
  tags: always
  include_tasks:
    file: doas.yml
    apply:
      tags: task_doas

- name: include smartcard setup
  tags: always
  include_tasks:
    file: smartcard.yml
    apply:
      tags: task_smartcard

- name: include ssh setup
  tags: always
  include_tasks:
    file: ssh.yml
    apply:
      tags: task_ssh
  args:
    apply:
      become: true
      become_user: "{{ workstation_user }}"
remember that computers suck.