- hosts: - birgitte vars: grafana_basedir: /pool0/ops/grafana tasks: - become: yes name: mkdir /etc/docker-service/ops-server file: dest: /etc/docker-service/ops-server state: directory owner: root group: root mode: u=rx - become: yes template: src: "templates/ops-server/influxdb.conf" dest: "/etc/docker-service/ops-server/" - become: yes name: permissions file: dest: "{{ grafana_basedir }}" owner: "472" recurse: yes - import_role: name: docker-service tags: docker-service vars: service: ops-server template: templates/ops-server/docker-compose.yml # systemd_enabled: no # systemd_state: stopped