aboutsummaryrefslogblamecommitdiff
path: root/base_apps.yml
blob: 7cc0c104488af1667ffbaed17ad6355b81399acc (plain) (tree)
1
2
3
4
5
6
7
8
   

                
                   

             

                                        






                                                                         

                       



                   


               
                     

              


                         


                              






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