Set ubuntu apt repository to nearest/fastest mirror.
None.
Available variables are listed below, along with default values (see defaults/main.yml
):
apt_mirror: "http://kambing.ui.ac.id/ubuntu"
apt_upgrade: false
None.
- hosts: server
roles:
- cecepm.apt
Another example, upgrade all packages after updating sources.list
- hosts: server
vars:
apt_upgrade: true
roles:
- cecepm.apt
MIT / BSD
This role was created in 2014 by Cecep Mahbub.