Update

parent d759fc08
......@@ -9,12 +9,12 @@
- import_playbook: unattended-upgrades.yml
- import_playbook: unbound.yml
# for hosts marked "tls"
- import_playbook: certbot.yml
# for hosts marked "createuser"
- import_playbook: create_user.yml
- import_playbook: force_password_change.yml
# for hosts marked "tls"
- import_playbook: certbot.yml
# for hosts marked "nginx"
#- import_playbook: nginx.yml
\ No newline at end of file
......@@ -32,6 +32,11 @@
apt:
name: net-tools
state: present
- name: Install curl
become: yes
apt:
name: curl
state: present
roles:
- sys-upgrade
- role: dev-sec.os-hardening
......
......@@ -14,4 +14,4 @@
- name: Set unbound as system resolver
become: yes
shell:
cmd: printf "nameserver ::1\nnameserver 127.0.0.1\n" | tee /etc/resolv.conf && chattr +i /etc/resolv.conf
\ No newline at end of file
cmd: mv /etc/resolv.conf /etc/resolv.conf.bak && printf "nameserver ::1\nnameserver 127.0.0.1\n" | tee /etc/resolv.conf && chattr +i /etc/resolv.conf
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment