diff --git a/promtail/local.yaml b/promtail/local.yaml index d5195dc..a8bfa5f 100644 --- a/promtail/local.yaml +++ b/promtail/local.yaml @@ -1,6 +1,7 @@ --- - name: Install promtail to Linux machines for log collection. hosts: all + gather_facts: yes roles: - role: patrickjahns.promtail vars: diff --git a/promtail/roles/requirements.yml b/promtail/roles/requirements.yml index 2fe1df4..d884132 100644 --- a/promtail/roles/requirements.yml +++ b/promtail/roles/requirements.yml @@ -1,5 +1 @@ ---- -roles: - # Install a role from Ansible Galaxy. - - name: patrickjahns.promtail - version: 1.4.0 + - src: patrickjahns.promtail