New config to deploy RootCA certif and NeoVim install + config (with gitea link)
This commit is contained in:
15
roles/deploy_root_ca/tasks/main.yml
Normal file
15
roles/deploy_root_ca/tasks/main.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: Make sure the folder exists
|
||||
file:
|
||||
path: /usr/local/share/ca-certificates
|
||||
state: directory
|
||||
|
||||
- name: Copy the certificate (Debian, Ubuntu)
|
||||
copy:
|
||||
src: "/home/riesjack/ansible/roles/deploy_root_ca/template/root_ca_teyssier-lan.crt"
|
||||
dest: "/usr/local/share/ca-certificates/root_ca_teyssier-lan.crt"
|
||||
register: result
|
||||
|
||||
- name: Update CA Trust (Debian, Ubuntu)
|
||||
command: update-ca-certificates
|
||||
when: result is changed
|
||||
Reference in New Issue
Block a user