Add apt_common role for third party repositories
This commit is contained in:
parent
84b3407b34
commit
bd5b2e1fbe
1 changed files with 19 additions and 0 deletions
19
roles/apt_common/tasks/main.yml
Normal file
19
roles/apt_common/tasks/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
- name: Install GnuPG (to manage the APT keystore)
|
||||||
|
become: true
|
||||||
|
apt:
|
||||||
|
name: gnupg2
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
- name: Install common CA certificates
|
||||||
|
become: true
|
||||||
|
apt:
|
||||||
|
name: ca-certificates
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
- name: Ensure that APT can use HTTPS repositories
|
||||||
|
become: true
|
||||||
|
apt:
|
||||||
|
name: apt-transport-https
|
||||||
|
state: latest
|
||||||
|
...
|
Loading…
Reference in a new issue