Skip to content

Commit

Permalink
Set buildiso_ppafs in vars/ and move buildiso_ppa_path to tasks/
Browse files Browse the repository at this point in the history
  • Loading branch information
Nafallo Bjälevik authored and marbud0 committed May 3, 2019
1 parent 4d80db3 commit b878e54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tasks/syncppa.yml
Expand Up @@ -5,6 +5,7 @@
buildiso_ppa_url: "{{ buildiso_ppa | regex_replace('ppa:([a-z0-9-]+)/([a-z0-9-]+)', 'http://ppa.launchpad.net/\\1/\\2/ubuntu') }}"
buildiso_ppa_name: "{{ buildiso_ppa | regex_replace('ppa:[a-z0-9-]+/([a-z0-9-]+)', '\\1') }}"
buildiso_ppa_dist: "{{ '/dists/' + buildiso_dist + '/' }}"
buildiso_ppa_path: "{{ buildiso_ppafs + '/ppa' }}"

- name: Fetch PPA information
uri:
Expand Down
2 changes: 1 addition & 1 deletion vars/main.yml
@@ -1,3 +1,3 @@
---
buildiso_image: "{{ buildiso_output | regex_replace(buildiso_output | basename, buildiso_input | basename) }}"
buildiso_ppa_path: "{{ buildiso_ppafs + '/ppa' }}"
buildiso_ppafs: "{{ '/tmp/' + buildiso_output | basename | splitext | first + '.ppafs' }}"

0 comments on commit b878e54

Please sign in to comment.