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