aboutsummaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-01-03 23:25:15 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-01-03 23:25:15 +0100
commit584a2f69c0de5fdbb739e54ec59a2da9ac67cccd (patch)
treec8b38ddbbfedc27dfd6ba6bfea9924ffc334caae /roles
parent9503f69d15eb308f8a17f178aaebe2cd9a532a6e (diff)
downloadansible-memzero-584a2f69c0de5fdbb739e54ec59a2da9ac67cccd.tar.gz
ansible-memzero-584a2f69c0de5fdbb739e54ec59a2da9ac67cccd.zip
fix lint
Diffstat (limited to 'roles')
-rw-r--r--roles/git/tasks/main.yml4
-rw-r--r--roles/webserver/tasks/main.yml4
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: