- name: Create destination directory {{ destination_path }} ansible.builtin.file: dest: "{{ destination_path }}" state: directory owner: "{{ fiftyohm_user }}" group: "{{ fiftyohm_group }}" mode: '0755' - name: Checkout 50ohm source from {{ fiftyohm_repo }} to {{ destination_path }}/ ansible.builtin.git: repo: "{{ fiftyohm_repo }}" dest: "{{ destination_path }}/50ohm" single_branch: true version: "{{ fiftyohm_branch }}" force: true become: true become_user: "{{ fiftyohm_user }}" - name: Checkout 50ohm-contents-dl from {{ fiftyohm_contents_dl_repo }} to {{ destination_path }} ansible.builtin.git: repo: "{{ fiftyohm_contents_dl_repo }}" dest: "{{ destination_path }}/50ohm-contents-dl" single_branch: true version: "{{ fiftyohm_contents_dl_branch }}" become: true become_user: "{{ fiftyohm_user }}" - name: Create {{ destination_path }}/50ohm/config/config.json ansible.builtin.copy: dest: "{{ destination_path }}/50ohm/config/config.json" content: > { "input": "../50ohm-contents-dl", "output": "build" } owner: "{{ fiftyohm_user }}" group: "{{ fiftyohm_group }}" mode: '0444'