blob: 7cc0c104488af1667ffbaed17ad6355b81399acc (
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
|
---
- name: Base
hosts: tamriel
remote_user: root
become: yes
tasks:
- name: Ensure apt has https transport
apt: name=apt-transport-https
- name: Syncthing gpg keys
apt_key:
url: https://syncthing.net/release-key.txt
- name: Syncthing deb repository
apt_repository:
repo: deb [arch=amd64] https://apt.syncthing.net/ syncthing stable
update_cache: true
- name: Base packages
apt:
name:
- tmux
- htop
- syncthing
- tig
- git
- rsync
- python3-pip
- mc
- mosh
- podman
force_apt_get: true
update_cache: true
- name: Upgrade all packages
apt:
upgrade: full
- name: Enable services
systemd:
enabled: true
state: started
name: "{{ item }}"
with_items:
- "syncthing@pawel"
|