diff options
-rw-r--r-- | roles/git/tasks/main.yml | 4 | ||||
-rw-r--r-- | roles/webserver/tasks/main.yml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml index 15a00df..75dec39 100644 --- a/roles/git/tasks/main.yml +++ b/roles/git/tasks/main.yml @@ -41,8 +41,8 @@ - name: Open port for gitolite ssh port ansible.posix.firewalld: port: 8022/tcp - permanent: yes - immediate: yes + permanent: true + immediate: true state: enabled become: true diff --git a/roles/webserver/tasks/main.yml b/roles/webserver/tasks/main.yml index 7838896..891e962 100644 --- a/roles/webserver/tasks/main.yml +++ b/roles/webserver/tasks/main.yml @@ -32,8 +32,8 @@ - name: Forward port 80/443 to 8080/8443 ansible.posix.firewalld: rich_rule: "rule family=ipv4 forward-port port={{ item.from }} protocol=tcp to-port={{ item.to }}" - permanent: yes - immediate: yes + permanent: true + immediate: true state: enabled become: true loop: |