[FIX] apt state latest only after adding custom apt repo
This commit is contained in:
parent
2122e7f4eb
commit
7ddcfaee9b
7 changed files with 9 additions and 11 deletions
|
@ -10,9 +10,7 @@
|
|||
become: yes
|
||||
apt:
|
||||
name: borgbackup
|
||||
state: latest
|
||||
update_cache: yes
|
||||
cache_valid_time: 3600
|
||||
state: present
|
||||
when:
|
||||
- borgbackup_host is defined
|
||||
- borgbackup_sub is defined
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
become: yes
|
||||
apt:
|
||||
name: libcap2-bin
|
||||
state: latest
|
||||
state: present
|
||||
- name: caddyserver - Give caddy port binding capabilities
|
||||
become: yes
|
||||
shell: "setcap cap_net_bind_service=+ep /usr/local/bin/caddy"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
become: yes
|
||||
apt:
|
||||
name: "{{ packages }}"
|
||||
state: latest
|
||||
state: present
|
||||
vars:
|
||||
packages:
|
||||
- exim4
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
become: yes
|
||||
apt:
|
||||
name: "{{ packages }}"
|
||||
state: latest
|
||||
state: present
|
||||
vars:
|
||||
packages:
|
||||
- apt-transport-https
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
become: yes
|
||||
apt:
|
||||
name: apt-transport-https
|
||||
state: latest
|
||||
state: present
|
||||
- name: telegraf - Add telegraf repo key
|
||||
become: yes
|
||||
apt_key:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue