From 5db801eb24910dccfb498992a012ee2646cd7f8b Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Mon, 10 Feb 2020 10:41:05 +0500 Subject: [PATCH] Move tasks into dirs --- tasks/{certbot.yml => certbot/install.yml} | 0 tasks/{iptables.yml => iptables/install.yml} | 0 tasks/main.yml | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename tasks/{certbot.yml => certbot/install.yml} (100%) rename tasks/{iptables.yml => iptables/install.yml} (100%) diff --git a/tasks/certbot.yml b/tasks/certbot/install.yml similarity index 100% rename from tasks/certbot.yml rename to tasks/certbot/install.yml diff --git a/tasks/iptables.yml b/tasks/iptables/install.yml similarity index 100% rename from tasks/iptables.yml rename to tasks/iptables/install.yml diff --git a/tasks/main.yml b/tasks/main.yml index 0e00100..0191885 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -4,11 +4,11 @@ - include_tasks: ssh.yml - meta: flush_handlers -- include_tasks: iptables.yml +- include_tasks: iptables/install.yml when: common__iptables__state == 'install' - meta: flush_handlers -- include_tasks: certbot.yml +- include_tasks: certbot/install.yml when: common__certbot__state == 'install' - meta: flush_handlers