Initial Commit

This commit is contained in:
ansible user
2025-11-24 21:44:03 +00:00
commit a1d27055c7
6 changed files with 164 additions and 0 deletions

21
ca-certs.yml Normal file
View File

@@ -0,0 +1,21 @@
- hosts: proxmox_all_lxc
remote_user: root
tasks:
- name: Install ca-certificates
package:
name: ca-certificates
state: present
- name: Ensure ca-certificates folder exist
file:
path: /usr/local/share/ca-certificates
state: directory
- name: Add caofamily root CA
copy:
src: /home/ansible/playbooks/contents/caofamily.pem
dest: /usr/local/share/ca-certificates/caofamily.crt
mode: '0644'
owner: root
group: root
- name: Update CA Trust
shell:
cmd: update-ca-certificates