Optimierung: Common Pakete in einem Task installieren
This commit is contained in:
parent
b56b258d91
commit
58ca61e934
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
- name: install aptitude
|
||||
apt: name=aptitude state=latest
|
||||
tags: aptitude
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
- name: install curl
|
||||
apt: name=curl state=latest
|
||||
tags: curl
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
- name: install git
|
||||
apt: name=git state=latest
|
||||
tags: git
|
|
@ -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
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
- name: install mosh
|
||||
apt: name=mosh state=latest
|
||||
tags: mosh
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
- name: install nano
|
||||
apt: name=nano state=latest
|
||||
tags: nano
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
- name: install python
|
||||
apt: name=python state=latest
|
||||
tags: python
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
- name: install wget
|
||||
apt: name=wget state=latest
|
||||
tags: wget
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
- name: install zsh
|
||||
apt: name=zsh state=latest
|
||||
tags: zsh
|
Loading…
Reference in a new issue