install.yml 348 Bytes
Newer Older
1
---
2
3
4
5
6
7
8
9
10
11
12
- name: Update hosts configuration
  template: 
    src: etc/hosts.j2
    dest: /etc/hosts
    force: yes
    backup: yes
    owner: root
    group: root
    mode: 0644
  when: influxdb_overwrite_hosts_file

13
- include: install-redhat.yml
14
15
  when: ansible_os_family == "RedHat"

16
17
- include: install-debian.yml
  when: ansible_os_family == "Debian"