Adapted: become: yes -> become:true
This commit is contained in:
parent
9847b6b003
commit
84c0df02dc
@ -25,7 +25,7 @@
|
||||
- ansible_distribution_major_version | int == 14
|
||||
|
||||
- name: Install Oracle Java 8
|
||||
become: yes
|
||||
become: true
|
||||
apt: name=openjdk-8-jdk state=latest
|
||||
|
||||
when:
|
||||
|
||||
@ -202,7 +202,7 @@
|
||||
path: /etc/security/limits.conf
|
||||
line: elasticsearch - memlock unlimited
|
||||
create: yes
|
||||
become: yes
|
||||
become: true
|
||||
when:
|
||||
- ansible_distribution == "Ubuntu"
|
||||
- ansible_distribution_major_version | int == 14
|
||||
@ -213,7 +213,7 @@
|
||||
path: /etc/security/limits.d/elasticsearch.conf
|
||||
line: elasticsearch - memlock unlimited
|
||||
create: yes
|
||||
become: yes
|
||||
become: true
|
||||
changed_when: false
|
||||
when:
|
||||
- ansible_distribution == "Ubuntu"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user