--- - name: Enable influxdb apt-key apt_key: url="https://repos.influxdata.com/influxdb.key" - name: Enable influxdb repository apt_repository: repo="deb https://repos.influxdata.com/debian {{ ansible_distribution_release }} stable" - name: Install influxdb apt: name=influxdb