summaryrefslogtreecommitdiff
path: root/host-security.yml
diff options
context:
space:
mode:
authorMatthieu Pignolet <m@mpgn.dev>2025-03-17 14:18:03 +0400
committerMatthieu Pignolet <m@mpgn.dev>2025-03-17 14:18:03 +0400
commit5098223d5c81fac49ded8e555ba629281b06d425 (patch)
tree451988b8a7287735ac98704c5f2b1783fd837666 /host-security.yml
parent63efaaf0ba315a9af837d9e9016d331a1327e5e5 (diff)
initial commit: migrate all `MatthieuCoder/pantheon-ansible` files to the oss repo
Diffstat (limited to 'host-security.yml')
-rw-r--r--host-security.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/host-security.yml b/host-security.yml
new file mode 100644
index 0000000..baa641e
--- /dev/null
+++ b/host-security.yml
@@ -0,0 +1,18 @@
+- name: Set sysctl values for host (proxmox)
+ hosts: pve
+ become: true
+ gather_facts: false
+ roles:
+ - role: robertdebock.bootstrap
+ - role: robertdebock.sysctl
+ sysctl_items:
+ - name: net.ipv6.conf.all.forwarding
+ value: 1
+ tasks:
+ - name: generate proxmox repo files
+ ansible.builtin.template:
+ src: "templates/proxmox_sources.j2"
+ dest: "/etc/apt/sources.list.d/proxmox.list"
+ owner: root
+ group: root
+ mode: "0644"