Mercurial > hg > Members > anatofuz > wordpress_ansible
changeset 23:71c5fd5fa109
tweak install-firewalld
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 02 Sep 2020 23:11:54 +0900 |
parents | 090c14a0be80 |
children | f987206d7e7a |
files | roles/install-firewalld/tasks/main.yml |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/roles/install-firewalld/tasks/main.yml Wed Sep 02 23:05:36 2020 +0900 +++ b/roles/install-firewalld/tasks/main.yml Wed Sep 02 23:11:54 2020 +0900 @@ -9,13 +9,12 @@ - name: Setting Firewalld become: yes firewalld: - service: "{{ packages }}" + service: "{{ item }}" zone: FedoraServer permanent: yes state: enabled - vars: - packages: - - http - - https + loop: + - http + - https changed_when: True notify: restart_firewalld