From cbd376396b6ad9c6bbea507b232d19d77f126d5d Mon Sep 17 00:00:00 2001 From: L3D Date: Wed, 23 Dec 2020 17:09:14 +0100 Subject: [PATCH] update module and ansible config --- ansible.cfg | 2 +- host_vars/web01.l3d.space.yml | 2 +- roles/nginx2 | 2 +- roles/ssh_auth | 2 +- roles/sshd | 2 +- site.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index eb18cb6..53e10e2 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,6 +1,6 @@ [defaults] inventory = ./hosts.ini -remote_user = root +remote_user = ansible retry_files_enabled = False nocows = True diff --git a/host_vars/web01.l3d.space.yml b/host_vars/web01.l3d.space.yml index 791b058..f5b6b3e 100644 --- a/host_vars/web01.l3d.space.yml +++ b/host_vars/web01.l3d.space.yml @@ -25,4 +25,4 @@ nginx_sites: webroot: user: 'webwaffel' -acme_notification_email: "acme_{{ ansible_hosts }}@l3d.yt" +acme_notification_email: "acme_{{ inventory_hostname }}@l3d.yt" diff --git a/roles/nginx2 b/roles/nginx2 index 0b60a92..642aa37 160000 --- a/roles/nginx2 +++ b/roles/nginx2 @@ -1 +1 @@ -Subproject commit 0b60a92826d0971fffed434ca228626766fe39f8 +Subproject commit 642aa37a60f0df627d3cfadc9c6b407640feefa2 diff --git a/roles/ssh_auth b/roles/ssh_auth index fb25cc9..bf16a25 160000 --- a/roles/ssh_auth +++ b/roles/ssh_auth @@ -1 +1 @@ -Subproject commit fb25cc9cd0ce2e260f546d85eba433c8aa542a6d +Subproject commit bf16a2583f44c9b14c54099f33ef859f031a5b7f diff --git a/roles/sshd b/roles/sshd index 8d5e1f3..db846c9 160000 --- a/roles/sshd +++ b/roles/sshd @@ -1 +1 @@ -Subproject commit 8d5e1f32ba5930e9a12d01688a9af8c5e55395c0 +Subproject commit db846c9dc66a4047feabe503516880628890003d diff --git a/site.yml b/site.yml index 37cabdf..d985853 100644 --- a/site.yml +++ b/site.yml @@ -18,6 +18,6 @@ - name: deploy web config hosts: web roles: + - { role: webhost2, tags: [web,webhost]} - { role: acmetool2, tags: [web,acmetool]} - { role: nginx2, tags: [web,nginx]} - - { role: webhost2, tags: [web,webhost]}