diff options
Diffstat (limited to 'ansible/roles')
-rw-r--r-- | ansible/roles/apt-repos/tasks/repo.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ansible/roles/apt-repos/tasks/repo.yml b/ansible/roles/apt-repos/tasks/repo.yml index 3ed3632..9554796 100644 --- a/ansible/roles/apt-repos/tasks/repo.yml +++ b/ansible/roles/apt-repos/tasks/repo.yml @@ -4,6 +4,7 @@ url: "{{ item.value.key_url }}" state: "{{ state }}" when: item.value.key_url is defined and item.value.key_id is defined + notify: apt update - name: "apt-key add {{ item.key }} (keyserver)" apt_key: @@ -11,12 +12,12 @@ keyserver: "{{ item.value.keyserver }}" state: "{{ state }}" when: item.value.keyserver is defined and item.value.key_id is defined + notify: apt update - name: "add repo {{ item.key }}" when: item.value.url is defined and state == "present" vars: filename: "{{ item.filename | default(item.key) }}" -# filename: "{{ item.filename if item.filename is defined else item.key }}" copy: dest: "/etc/apt/sources.list.d/{{ item.key }}.list" content: | |