diff --git a/woodpecker-agent.yml b/woodpecker-agent.yml index c3db029..2219af9 100644 --- a/woodpecker-agent.yml +++ b/woodpecker-agent.yml @@ -1,6 +1,6 @@ - hosts: woodpecker_agents vars: - - WOODPECKER_VERSION: "2.0.0" + - WOODPECKER_VERSION: "2.2.2" - WOODPECKER_AGENT_SECRET: "{{ vault_woodpecker_agent_secret }}" tasks: - name: Basic setup @@ -22,6 +22,7 @@ apt: deb: "/root/woodpecker-agent_{{WOODPECKER_VERSION}}_amd64.deb" state: present + notify: restart woodpecker agent - name: Create woodpecker agent group group: diff --git a/woodpecker.yml b/woodpecker.yml index cf44a43..97d4323 100644 --- a/woodpecker.yml +++ b/woodpecker.yml @@ -2,7 +2,7 @@ - hosts: woodpeckers vars: - - WOODPECKER_VERSION: "2.0.0" + - WOODPECKER_VERSION: "2.2.2" - WOODPECKER_AGENT_SECRET: "{{ vault_woodpecker_agent_secret }}" - WOODPECKER_GITEA_SECRET: "{{ vault_woodpecker_gitea_secret }}" - WOODPECKER_GITEA_CLIENT: "78903dbe-f90e-4c8d-947a-f6839a1d11c9"