blob: 041c8af9341e30afd4586127e6ec146866136677 (
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: ansible_worker
become: yes
tasks:
- apt_key:
url: https://download.docker.com/linux/debian/gpg
- apt: name=apt-transport-https
- apt_repository:
repo: deb [arch=amd64] https://download.docker.com/linux/debian stretch stable
update_cache: true
- name: Base packages
apt:
name: "{{ item }}"
with_items:
- tmux
- htop
- nginx
- syncthing
- docker-ce
#- wireguard
- hugo
- rsync
- python-pip
- mc
- apt:
upgrade: full
- pip:
name: "{{ item }}"
with_items:
- docker
- docker-compose
- systemd:
enabled: true
state: started
name: "{{ item }}"
with_items:
- "syncthing@pawel"
|