Skip to content

Commit cbe3475

Browse files
committed
create limits file
1 parent bf4de8d commit cbe3475

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/deploy/cluster.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
dest: /etc/security/limits.d/cluster.conf
5454
line: "{{item}}"
5555
state: present
56+
create: true
5657
with_items:
5758
- '{{ansible_ssh_user}} soft nofile 65535'
5859
- '{{ansible_ssh_user}} hard nofile 65535'

tests/deploy/roles/postgres/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
dest: /etc/security/limits.d/cluster.conf
4040
line: "{{item}}"
4141
state: present
42+
create: true
4243
with_items:
4344
- '{{ansible_ssh_user}} soft nofile 65535'
4445
- '{{ansible_ssh_user}} hard nofile 65535'

0 commit comments

Comments
 (0)