From a78b7c92e11d7778e646ab9d41af0919ff5c9365 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Fri, 21 Feb 2020 11:07:40 +0100 Subject: [PATCH] copr: move iptables disabling directly to frontend role --- roles/copr/frontend-cloud/tasks/main.yml | 3 +++ tasks/aws_cloud.yml | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/copr/frontend-cloud/tasks/main.yml b/roles/copr/frontend-cloud/tasks/main.yml index d5556e6d45..40557fa0b7 100644 --- a/roles/copr/frontend-cloud/tasks/main.yml +++ b/roles/copr/frontend-cloud/tasks/main.yml @@ -181,3 +181,6 @@ lineinfile: path: /etc/httpd/conf/httpd.conf line: "TimeOut 7200" + +- name: Disable iptables, we have Security Groups in EC2 + service: name=iptables state=stopped enabled=no diff --git a/tasks/aws_cloud.yml b/tasks/aws_cloud.yml index 685cfac8a0..6ce2656aac 100644 --- a/tasks/aws_cloud.yml +++ b/tasks/aws_cloud.yml @@ -134,6 +134,3 @@ ## - name: Include SSH config ## import_role: name=basessh - -- name: Disable iptables, we have Security Groups in EC2 - service: name=iptables state=stopped enabled=no