pycurl is required by ansible apt modules

 * apt key deployment merged in one action
 * template repository url
 * update apt cache once
 * use 'latest' state for packages (update already installed packages)