--- - name: Install dependencies apt: name: [python3-pip, prometheus-node-exporter] state: present - name: Copy Prometheus config template: src: prometheus.yml.j2 dest: /etc/prometheus/prometheus.yml notify: restart prometheus - name: Configure AWS credentials from vault template: src: aws_credentials.j2 dest: /home/galion/.aws/credentials mode: '0600'