Skip to content

Instantly share code, notes, and snippets.

@jbergstroem
Created October 20, 2016 23:09
Show Gist options
  • Save jbergstroem/e45888ad68977f663b8cc591c92a4616 to your computer and use it in GitHub Desktop.
Save jbergstroem/e45888ad68977f663b8cc591c92a4616 to your computer and use it in GitHub Desktop.
- name: "influxdb : set sane default values"
ini_file:
dest: /etc/influxdb/influxdb.conf
section: "{{ ini.section }}"
option: "{{ ini.option }}"
value: "{{ ini.value }}"
loop_control:
loop_var: ini
with_items:
- { section: admin, option: enabled, value: 'false' }
- { section: data, option: query-log-enabled, value: 'false' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment