- name: Update APT cache
  apt: update_cache=yes

- name: Latest and gratest
  apt: upgrade=dist

- name: Install common packages
  apt: pkg=$item state=installed
  with_items:
    - build-essential
    - git
    - curl
    - htop
    - iotop
    - pv
    - rsync
    - tmux
    - vim
    - wget

# the silver searcher
- include: ag.yml
- include: openconnect.yml

- name: Prefer closer APT mirrors
  command: 'sed -i "s/us\.archive\.ubuntu\.com/lt\.archive\.ubuntu\.com/g" /etc/apt/sources.list'

- name: Update APT cache
  apt: update_cache=yes

- name: Latest and gratest
  apt: upgrade=dist

- name: Install common packages
  apt: pkg=$item state=installed
  with_items:
    - build-essential
    - git
    - curl
    - htop
    - iotop
    - pv
    - rsync
    - tmux
    - vim
    - wget

# the silver searcher
- include: ag.yml
- include: openconnect.yml

Use geographically closer APT mirrors
Use geographically closer APT mirrors
