tag cleanups

This commit is contained in:
Farhad Shahbazi
2016-11-24 16:25:58 +01:00
parent c1dc4d959b
commit 3ed4105c79
8 changed files with 9 additions and 27 deletions

View File

@@ -1,25 +1,20 @@
---
- name: apt - add apt keys
apt_key: id="{{ item.id }}" url="{{ item.url }}" file="{{ item.file }}" state="{{ item.state }}"
tags: ['common', 'apt']
with_items: "{{ common_apt_keys }}"
- name: apt - add repositories
apt_repository: repo="{{ item }}" update_cache=yes
with_items: "{{ common_apt_repositories }}"
tags: ['common', 'apt']
- name: apt - remove /etc/apt/sources.list
file: path=/etc/apt/sources.list state=absent
notify: apt-get update
tags: ['common', 'apt']
- name: install basic tools
apt: pkg="{{ item }}" cache_valid_time=3600 update_cache=yes
with_items: "{{ common_basic_packages }}"
tags: common
#- name: apt - upgrade system
# apt: upgrade="{{ common_apt_upgrade_policy }}"
# when: common_apt_upgrade_policy
# tags: ['common', 'apt']