Install certbot on machines marked "tls"

parent 6da31ba5
......@@ -9,4 +9,10 @@
- import_playbook: create_user.yml
- import_playbook: force_password_change.yml
- import_playbook: postfix.yml
- import_playbook: unattended-upgrades.yml
\ No newline at end of file
- import_playbook: unattended-upgrades.yml
# for hosts marked "tls"
- import_playbook: tls.yml
# for hosts marked "nginx"
#- import_playbook: nginx.yml
\ No newline at end of file
- hosts: tls
tasks:
- name: Install certbot
become: yes
apt:
name: certbot
state: present
\ No newline at end of file
[ssh]
server-01.example.com
[tls]
server-01.example.com
\ 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