Migrate shell to FQCN.
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
# https://docs.influxdata.com/influxdb/v2.0/get-started/?t=Linux
|
||||
|
||||
- name: Server | InfluxDB2 | Check
|
||||
shell: which influxd
|
||||
ansible.builtin.shell: which influxd
|
||||
register: influxdb_check
|
||||
ignore_errors: true
|
||||
|
||||
- name: Server | InfluxDB2 | Install
|
||||
shell: "{{ item }}"
|
||||
ansible.builtin.shell: "{{ item }}"
|
||||
args:
|
||||
chdir: "{{ ansible_env.HOME }}/Downloads/"
|
||||
loop:
|
||||
@@ -20,6 +20,6 @@
|
||||
when: influxdb_check.failed
|
||||
|
||||
- name: Server | InfluxDB2 | Config
|
||||
shell: "{{ item }}"
|
||||
ansible.builtin.shell: "{{ item }}"
|
||||
loop:
|
||||
- influx setup -f -u {{ user }} -p initpassword -o Hyperling -b main -r 0
|
||||
|
||||
Reference in New Issue
Block a user