Sha256: 3b2253317da3b263262b4446ab8d338b0ead5da7c06b9faa1cdd692daf2dc62b

Contents?: true

Size: 847 Bytes

Versions: 33

Compression:

Stored size: 847 Bytes

Contents

---
- name: Update caches
  apt:
    update_cache: yes
    cache_valid_time: "{{ apt_cache_valid_time | default(3600) }}"

- name: Install ansible required apt packages
  apt:
    pkg: "python-apt"
    state: present

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

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

- name: Purge packages
  apt:
    pkg: "{{item}}"
    state: absent
    purge: yes
  with_items:
    apt_purge_packages
  when: apt_purge_packages is defined

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
taperole-1.5.1 vendor/lxhunter.apt/tasks/main.yml
taperole-1.5.0 vendor/lxhunter.apt/tasks/main.yml
taperole-1.4.3 vendor/lxhunter.apt/tasks/main.yml
taperole-1.4.2 vendor/lxhunter.apt/tasks/main.yml
taperole-1.4.1 vendor/lxhunter.apt/tasks/main.yml
taperole-1.4.0 vendor/lxhunter.apt/tasks/main.yml
taperole-1.3.6 vendor/lxhunter.apt/tasks/main.yml
taperole-1.3.5 vendor/lxhunter.apt/tasks/main.yml
taperole-1.3.4 vendor/lxhunter.apt/tasks/main.yml
taperole-1.3.3 vendor/lxhunter.apt/tasks/main.yml
taperole-1.3.2 vendor/lxhunter.apt/tasks/main.yml
taperole-1.3.1 vendor/lxhunter.apt/tasks/main.yml
taperole-1.3.0 vendor/lxhunter.apt/tasks/main.yml