Fix Ansible linting errors
This commit is contained in:
parent
81f8703749
commit
3a63c27f9d
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
- import_tasks: local_actions.yml
|
- import_tasks: local_actions.yml
|
||||||
when:
|
when:
|
||||||
- generate_certs == true
|
- generate_certs
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
|
|
||||||
@ -69,7 +69,7 @@
|
|||||||
delay: 5
|
delay: 5
|
||||||
tags: debug
|
tags: debug
|
||||||
when:
|
when:
|
||||||
- hostvars[inventory_hostname]['private_ip'] is not defined or hostvars[inventory_hostname]['private_ip'] == ""
|
- hostvars[inventory_hostname]['private_ip'] is not defined or not hostvars[inventory_hostname]['private_ip']
|
||||||
|
|
||||||
- name: Wait for Elasticsearch API (Private IP)
|
- name: Wait for Elasticsearch API (Private IP)
|
||||||
uri:
|
uri:
|
||||||
@ -86,9 +86,9 @@
|
|||||||
delay: 5
|
delay: 5
|
||||||
tags: debug
|
tags: debug
|
||||||
when:
|
when:
|
||||||
- hostvars[inventory_hostname]['private_ip'] is defined and hostvars[inventory_hostname]['private_ip'] != ""
|
- hostvars[inventory_hostname]['private_ip'] is defined and hostvars[inventory_hostname]['private_ip']
|
||||||
|
|
||||||
- import_tasks: "RMRedHat.yml"
|
- import_tasks: "RMRedHat.yml"
|
||||||
when: ansible_os_family == "RedHat"
|
when: ansible_os_family == "RedHat"
|
||||||
|
|
||||||
when: perform_installation == true
|
when: perform_installation
|
||||||
|
|||||||
@ -86,7 +86,7 @@
|
|||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
- name: Hashing the custom admin password
|
- name: Hashing the custom admin password
|
||||||
shell: "{{ opendistro_sec_plugin_tools_path }}/hash.sh -p {{ opendistro_admin_password }}"
|
command: "{{ opendistro_sec_plugin_tools_path }}/hash.sh -p {{ opendistro_admin_password }}"
|
||||||
register: opendistro_admin_password_hashed
|
register: opendistro_admin_password_hashed
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
@ -145,7 +145,7 @@
|
|||||||
return_content: yes
|
return_content: yes
|
||||||
timeout: 4
|
timeout: 4
|
||||||
when:
|
when:
|
||||||
- opendistro_custom_user != ""
|
- opendistro_custom_user
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
- security
|
- security
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user