Skip to content

Commit

Permalink
Merge pull request #24 from Dunedan/fix-variable-names
Browse files Browse the repository at this point in the history
Fix variable lobby_bots_base_dir name
  • Loading branch information
Dunedan authored Mar 19, 2024
2 parents 8ba20e3 + a5734f4 commit 35e31c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/lobby_bots/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@

- name: Check for existing lobby bot directories
ansible.builtin.command:
cmd: "ls -1 {{ lobby_bot_base_dir }}/"
cmd: "ls -1 {{ lobby_bots_base_dir }}/"
changed_when: false
register: lobby_bot_dirs

- name: Remove outdated lobby bot directories
ansible.builtin.file:
path: "{{ lobby_bot_base_dir }}/{{ bot_name }}"
path: "{{ lobby_bots_base_dir }}/{{ bot_name }}"
state: absent
loop: "{{ lobby_bot_dirs.stdout_lines }}"
loop_control:
Expand Down

0 comments on commit 35e31c6

Please sign in to comment.