Add clean_file to wipe saltstack.list contents

This commit is contained in:
James O'Neill 2015-12-09 23:33:00 +13:00
parent d58729e6c1
commit 6d9683ca1f
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ saltstack-pkgrepo:
- name: {{ salt_settings.pkgrepo }} - name: {{ salt_settings.pkgrepo }}
- file: /etc/apt/sources.list.d/saltstack.list - file: /etc/apt/sources.list.d/saltstack.list
- key_url: {{ salt_settings.key_url }} - key_url: {{ salt_settings.key_url }}
- clean_file: True
# Order: 1 because we can't put a require_in on "pkg: salt-{master,minion}" # Order: 1 because we can't put a require_in on "pkg: salt-{master,minion}"
# because we don't know if they are used. # because we don't know if they are used.
- order: 1 - order: 1