ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

main.yml (357B)


      1 ---
      2 
      3 - name: Configure Grafana
      4   ini_file:
      5     path: /etc/grafana/grafana.ini
      6     backup: yes
      7     section: "{{ item.section }}"
      8     option: "{{ item.option }}"
      9     value: "{{ item.value }}"
     10     mode: 0640
     11   loop: "{{ grafana__settings }}"
     12 
     13 - name: Enable and restart Grafana service
     14   systemd:
     15     name: grafana-server
     16     enabled: yes
     17     state: restarted