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
- include: curl.yml
- include: zsh.yml
- include: git.yml
- include: nano.yml
- include: python.yml
- include: mosh.yml
- include: aptitude.yml
- name: install common packages
apt: name={{ item }} state=latest
with_items:
- aptitude
- curl
- git
- mosh
- 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