remove debcache
This commit is contained in:
@@ -1,19 +0,0 @@
|
|||||||
- name: Configure apt proxy
|
|
||||||
ansible.builtin.lineinfile:
|
|
||||||
path: /etc/apt/apt.conf.d/proxy
|
|
||||||
line: 'Acquire::http { Proxy "http://192.168.0.60:3142"; }'
|
|
||||||
state: present
|
|
||||||
create: yes
|
|
||||||
mode: '0644'
|
|
||||||
|
|
||||||
- name: Set up apt proxy configuration
|
|
||||||
copy:
|
|
||||||
content: |
|
|
||||||
Acquire::http::Proxy "http://debcache:3142";
|
|
||||||
dest: /etc/apt/apt.conf.d/00cacher
|
|
||||||
mode: '0644'
|
|
||||||
|
|
||||||
- name: Update apt cache
|
|
||||||
ansible.builtin.apt:
|
|
||||||
update_cache: yes
|
|
||||||
cache_valid_time: 3600
|
|
||||||
@@ -13,9 +13,6 @@
|
|||||||
# restic_password_value: "Stored in vault"
|
# restic_password_value: "Stored in vault"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Set-debcache.yml - Setup apt proxy debcache
|
|
||||||
ansible.builtin.import_tasks: ./setup-debcache.yaml
|
|
||||||
|
|
||||||
- name: Upgrade-packages.yml - update packages
|
- name: Upgrade-packages.yml - update packages
|
||||||
ansible.builtin.import_tasks: ./upgrade-packages.yaml
|
ansible.builtin.import_tasks: ./upgrade-packages.yaml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user