Adapted: become: yes -> become:true

This commit is contained in:
Rshad Zhran 2019-07-17 12:58:44 +02:00
parent 9847b6b003
commit 84c0df02dc
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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"