Skip to content

Commit

Permalink
lint(os_agent_auto_update): fix deprecated syntax in update_os_agent.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jhampson-dbre committed Jul 29, 2024
1 parent a6715c7 commit 94e1309
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions roles/os_agent_auto_update/files/update_os_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@
register: os_agent_latest_url
failed_when: os_agent_latest_url.stdout is not search('os-agent_.*_linux_.*.deb')
changed_when: false
check_mode: no
args:
warn: false
check_mode: false

- name: Install os-agent
apt:
deb: "{{ os_agent_latest_url.stdout|trim }}"
become: true
become: true

0 comments on commit 94e1309

Please sign in to comment.