aboutsummaryrefslogblamecommitdiffstats
path: root/roles/workstation/tasks/main.yml
blob: 0e4a9c2e0ec3558dcca0ff3c919aedc4678e6c16 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                           
                        




                     

                                      




                                                     

                           




                      

                          




                     

                               




                          










                                           
- 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.