diff options
Diffstat (limited to 'roles/apt-repo/aptly/tasks')
-rw-r--r-- | roles/apt-repo/aptly/tasks/main.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/apt-repo/aptly/tasks/main.yml b/roles/apt-repo/aptly/tasks/main.yml new file mode 100644 index 00000000..e11d610e --- /dev/null +++ b/roles/apt-repo/aptly/tasks/main.yml @@ -0,0 +1,16 @@ +--- +- name: add repository key + copy: + src: repo.gpg + dest: /etc/apt/trusted.gpg.d/aptly.gpg + notify: update apt cache + +- name: add repository entry + copy: + content: | + deb http://repo.aptly.info/ squeeze main + dest: /etc/apt/sources.list.d/aptly.list + notify: update apt cache + +- name: update apt cache + meta: flush_handlers |