Skip to content

kosssi/ansible-role-apt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kosssi.apt

Build Status

Ansible role for execute apt-get update and install apt-repositories and apt-packages.

Role Defaults Variables

See defaults/main.yml for more information.

apt_cache_valid_time: 3600
apt_upgrade: true
apt_upgrade_type: safe          # safe, full or dist
apt_install:
  - python-apt
  - unattended-upgrades
apt_install_repositories: false
apt_remove_repositories: false

Example Playbook

- hosts: localhost
  vars:
      apt_install: [cowsay, cowthink, sl, figlet]
  roles:
    - { role: kosssi.apt, tags: apt }

License

Licensed under the MIT License. See the LICENSE file for details.