aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/main.yml
blob: 205834f328489018367f7b12c1f7cb63bcd46f7c (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
49
50
51
52
- 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 }}"

- name: include hosts setup
  include_tasks:
    file: hosts.yml
remember that computers suck.