commit e00c13987075449040f4656c78f07f9a92435b2c
parent fbe1ecaa31439dd521899670adb32f3636c5e35d
Author: pyratebeard <root@pyratebeard.net>
Date: Wed, 10 Jan 2024 15:17:10 +0000
don't need hostca pub key. remove motd stuff
Diffstat:
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/playbook.yml b/playbook.yml
@@ -131,10 +131,6 @@
key: "{{ lookup('community.general.bitwarden', 'userca.pub', field='notes') }}"
dest: "userca.pub"
mode: "0644"
- hostca_pub:
- key: "{{ lookup('community.general.bitwarden', 'hostca-' + domain + '.pub', field='notes') }}"
- dest: "hostca-key.pub"
- mode: "0644"
hostca:
key: "{{ lookup('community.general.bitwarden', 'hostca-' + domain, field='notes') }}"
dest: "hostca-{{ domain }}"
@@ -163,6 +159,16 @@
mode: 0644
notify: reload sshd
+ - name: "forge | delete motd"
+ ansible.builtin.file:
+ path: "{{ item }}"
+ state: absent
+ with_items:
+ - /etc/issue
+ - /etc/issue.net
+ - /etc/motd
+ - /etc/update-motd.d/
+
handlers:
- name: reload sshd
ansible.builtin.service: