aboutsummaryrefslogtreecommitdiff
blob: 2308ff8133f2dc6d7730f1e5fc28692cd541f288 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
  - name: System initialization
    hosts: localhost
    become: true
    roles:
      - role: gantsign.oh-my-zsh
        users:
          - username: clarkzjw
            oh_my_zsh:
              theme: robbyrussell
              plugins:
                - git
              update_mode: reminder
              update_frequency: 28
    tasks:
      - name: Install required packages
        apt:
          name:
            - debian-archive-keyring
            - apt-transport-https
            - build-essential
            - ca-certificates
            - lsb-release
            - cifs-utils
            - vnstat
            - python3-psycopg2
            - python3-dev
            - python3-pip
            - python3
            - iperf3
            - gnupg2
            - unzip
            - rsync
            - wget
            - sudo
            - htop
            - curl
            - tree
            - zip
            - vim
            - zsh
            - git
          update_cache: true

      - name: Postgresql
        apt:
          name:
            - postgresql
            - postgresql-client
            - postgresql-contrib
          update_cache: true

      - name: Clean unneeded packages
        apt:
          autoremove: true
          purge: true

      - name: Clean unneeded packages
        apt:
          autoclean: true
Powered by cgit v1.2.3 (git 2.41.0)