diff options
author | binary <me@rgoncalves.se> | 2021-02-27 10:30:33 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-02-27 10:30:33 +0100 |
commit | 5acdc00aaf6c65c1353cc02a59f33e0d6ba9a281 (patch) | |
tree | 8bb7737b3efd6055dbf098105858c43c7453fbd6 /roles/workstation/tasks/_archlinux.yml | |
parent | d776d9820aeeb2fb84a4a47ce5eacf3a40823591 (diff) | |
download | infrastructure-5acdc00aaf6c65c1353cc02a59f33e0d6ba9a281.tar.gz |
Break workstation role in sub-roles
Diffstat (limited to 'roles/workstation/tasks/_archlinux.yml')
-rw-r--r-- | roles/workstation/tasks/_archlinux.yml | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/roles/workstation/tasks/_archlinux.yml b/roles/workstation/tasks/_archlinux.yml deleted file mode 100644 index 06110df..0000000 --- a/roles/workstation/tasks/_archlinux.yml +++ /dev/null @@ -1,49 +0,0 @@ - -# workstation ~~ roles/workstation/tasks/_archlinux.yml -# init archlinux based workstation - ---- - -- name: refresh packages list - shell: pacman -Sy - tags: pkgs - -- name: install packages - shell: | - pacman --noconfirm --needed -S {{ item | join(" ") }} - loop: - - "{{ pkgs_common }}" - - "{{ pkgs_archlinux }}" - register: out - tags: pkgs - -- name: packages installation output - debug: - msg: | - {% for item in out.results %} - - {{ item.cmd }} - {% for type in ["stdout_lines", "stderr_lines"] if item[type] %} - -- {{ type }} - {% for line in item[type] %} - --- {{ line }} - {% endfor %} - {% endfor %} - {% endfor %} - when: out is defined - -- name: check doas installation - stat: path=/usr/bin/doas - register: doas - -- name: ensure Xorg subdirectory for configuration exists - file: - path: /etc/X11/xorg.conf.d - owner: root - mode: 0644 - state: directory - -- name: start and enable pcscd service - service: - name: pcscd - state: started - enabled: true |