Skip to content

Commit

Permalink
fix(CI): address playbook schema issue (#4)
Browse files Browse the repository at this point in the history
* fix(CI): address playbook schema issue

* chore(CI): run it on PRs
  • Loading branch information
meysam81 authored Sep 22, 2024
1 parent c84519d commit c544276
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- main
tags:
- "v*"
pull_request:
branches:
- main

env:
ANSIBLE_FORCE_COLOR: "1"
Expand Down
8 changes: 4 additions & 4 deletions playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
- name: Ping
ansible.builtin.ping:
roles:
- name: haproxy
- role: haproxy
tags: haproxy
- name: node_exporter
- role: node_exporter
tags: node_exporter
- name: vmagent
- role: vmagent
tags: vmagent
vars:
vmagent_remote_write_url: "{{ lookup('env', 'VMAGENT_REMOTE_WRITE_URL') | default('http://localhost:8428/api/v1/write') }}"
- name: promtail
- role: promtail
tags: promtail
vars:
promtail_remote_write_url: "{{ lookup('env', 'PROMTAIL_REMOTE_WRITE_URL') | default('http://localhost:3100/loki/api/v1/push') }}"

0 comments on commit c544276

Please sign in to comment.