2020-03-30 19:36:05 +01:00
|
|
|
- name: Install security-related packages
|
2019-03-14 21:34:29 +00:00
|
|
|
aur:
|
|
|
|
skip_installed: true
|
|
|
|
name: "{{ item }}"
|
|
|
|
become: true
|
|
|
|
become_user: aur_builder
|
2020-03-30 19:36:05 +01:00
|
|
|
when: item not in installed_packages.stdout_lines
|
2019-12-09 21:09:00 +00:00
|
|
|
loop:
|
2020-04-15 08:50:11 +01:00
|
|
|
- enpass-bin
|
|
|
|
- qomui
|
|
|
|
- wireguard-tools
|
2019-03-14 21:34:29 +00:00
|
|
|
|
2020-04-04 21:19:05 +01:00
|
|
|
- name: Create .ssh directory
|
|
|
|
file:
|
|
|
|
state: directory
|
|
|
|
path: "{{ home }}/.ssh"
|
|
|
|
owner: "{{ user }}"
|
|
|
|
mode: 0700
|
|
|
|
directory_mode: 0700
|
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Install assh config
|
|
|
|
copy:
|
2019-03-14 21:34:29 +00:00
|
|
|
src: ./files/assh.yml
|
2019-05-25 00:21:47 +01:00
|
|
|
dest: "{{ home }}/.ssh/assh.yml"
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ user }}"
|