--- - name: Converge hosts: all roles: - ansible-role-influxdb vars: influxdb_init_username: admin influxdb_init_org: init_org influxdb_init_bucket: test influxdb_api_token: SuP3rS3cr3t influxdb_orgs: neworg: description: it's a test init_org: state: absent influxdb_buckets: mybucket: description: KFC retention: 3600 org: neworg influxdb_users: telegraf: user_inactive: status: inactive influxdb_authorizations: - user: telegraf description: write telegraf org: neworg status: active permissions: - action: write resource: type: buckets org: neworg name: mybucket pre_tasks: - name: Update apt cache ansible.builtin.apt: update_cache: true