aboutsummaryrefslogblamecommitdiff
blob: 2308ff8133f2dc6d7730f1e5fc28692cd541f288 (plain) (tree)
























                                       
                              

































                                     
---
  - 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)