Skip to content

Commit

Permalink
wip: re-creation in one task, skip idempotence-test for that task cur…
Browse files Browse the repository at this point in the history
…rently
  • Loading branch information
stefangweichinger committed Aug 2, 2024
1 parent 9f3004d commit f9a1709
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions tasks/install-bin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,17 @@
with_items: '{{ rclone_packages }}'
when: rclone_packages | length > 0

- name: Remove temporary working directory
- name: Recreate temporary working directory
ansible.builtin.file:
path: "{{ rclone_setup_tmp_dir }}"
state: absent
state: "{{ item }}"
mode: '0775'
with_items:
- absent
- directory
tags:
- molecule-idempotence-notest

- name: Create temporary working directory
ansible.builtin.file:
path: "{{ rclone_setup_tmp_dir }}"
state: directory
mode: '0775'

- name: Do beta install
ansible.builtin.include_tasks: beta.yml
when: rclone_release == 'beta'
Expand Down

0 comments on commit f9a1709

Please sign in to comment.