Optimierung: Common Pakete in einem Task installieren

This commit is contained in:
baldo 2015-08-30 18:03:20 +02:00
parent b56b258d91
commit 58ca61e934
9 changed files with 11 additions and 40 deletions

View file

@ -1,4 +0,0 @@
---
- name: install aptitude
apt: name=aptitude state=latest
tags: aptitude

View file

@ -1,4 +0,0 @@
---
- name: install curl
apt: name=curl state=latest
tags: curl

View file

@ -1,4 +0,0 @@
---
- name: install git
apt: name=git state=latest
tags: git

View file

@ -1,9 +1,12 @@
--- ---
- include: wget.yml - name: install common packages
- include: curl.yml apt: name={{ item }} state=latest
- include: zsh.yml with_items:
- include: git.yml - aptitude
- include: nano.yml - curl
- include: python.yml - git
- include: mosh.yml - mosh
- include: aptitude.yml - nano
- python
- wget
- zsh

View file

@ -1,4 +0,0 @@
---
- name: install mosh
apt: name=mosh state=latest
tags: mosh

View file

@ -1,4 +0,0 @@
---
- name: install nano
apt: name=nano state=latest
tags: nano

View file

@ -1,4 +0,0 @@
---
- name: install python
apt: name=python state=latest
tags: python

View file

@ -1,4 +0,0 @@
---
- name: install wget
apt: name=wget state=latest
tags: wget

View file

@ -1,4 +0,0 @@
---
- name: install zsh
apt: name=zsh state=latest
tags: zsh