Sha256: 4ebb7ec5b6ed0ebf39f313f7dcce72a08f926d7c2a3036d2b0f00518dee08049

Contents?: true

Size: 856 Bytes

Versions: 16

Compression:

Stored size: 856 Bytes

Contents

---
- name: Update caches
  apt:
    update_cache: yes
    cache_valid_time: "{{ apt_cache_valid_time }}"

- name: Create general configuration file for APT
  template:
    src: apt_10general.j2
    dest: /etc/apt/apt.conf.d/10general
    owner: root
    group: root
    mode: 0644

- name: Install apt packages
  apt:
    pkg: "{{item}}"
    state: present
  with_items:
    [python-apt, unattended-upgrades]

- name: Install packages
  apt:
    pkg: "{{item}}"
    state: present
  with_items:
    apt_install_packages
  when: apt_install_packages is defined

- name: Update parameters
  lineinfile:
    dest: /etc/apt/apt.conf.d/10periodic
    state: present
    regexp: "^{{ item.key }}"
    line: "{{ item.key }} \"{{ item.value }}\";"
    insertafter: EOF
  with_items: apt_unattended_upgrades_config
  when: apt_unattended_upgrades_config is defined

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
taperole-1.2.8 vendor/lxhunter.apt/tasks/main.yml
taperole-1.2.7 vendor/lxhunter.apt/tasks/main.yml
taperole-1.2.6 vendor/lxhunter.apt/tasks/main.yml
taperole-1.2.5 vendor/lxhunter.apt/tasks/main.yml
taperole-1.2.4 vendor/lxhunter.apt/tasks/main.yml
taperole-1.2.3 vendor/lxhunter.apt/tasks/main.yml
taperole-1.2.2 vendor/lxhunter.apt/tasks/main.yml
taperole-1.2.1 vendor/lxhunter.apt/tasks/main.yml
taperole-1.2.0 vendor/lxhunter.apt/tasks/main.yml
taperole-1.1.5 vendor/lxhunter.apt/tasks/main.yml
taperole-1.1.4 vendor/lxhunter.apt/tasks/main.yml
taperole-1.1.3 vendor/lxhunter.apt/tasks/main.yml
taperole-1.1.2 vendor/lxhunter.apt/tasks/main.yml
taperole-1.1.1 vendor/lxhunter.apt/tasks/main.yml
taperole-1.1.0 vendor/lxhunter.apt/tasks/main.yml
taperole-1.0.1 vendor/lxhunter.apt/tasks/main.yml