Skip to content

Commit

Permalink
Rename Ansible tasks to their intent
Browse files Browse the repository at this point in the history
  • Loading branch information
suhlig committed Oct 2, 2022
1 parent 7aff555 commit 136a78f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
gather_facts: true

pre_tasks:
- name: Build program
- name: Program snapshot is up to date
local_action:
module: ansible.builtin.command
cmd: goreleaser --snapshot --rm-dist
args:
chdir: "{{ playbook_dir }}/.."
become: false

- name: Lookup binary path from artifacts.json
- name: Path to binary is set from artifacts.json
ansible.builtin.set_fact:
binary_path: "{{ item['path'] }}"
when: |
Expand Down

0 comments on commit 136a78f

Please sign in to comment.