reorganized file layout
This commit is contained in:
13
local.yml
13
local.yml
@@ -2,10 +2,11 @@
|
|||||||
connection: local
|
connection: local
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
pre_tasks:
|
||||||
|
- name: update repositories
|
||||||
|
apt:
|
||||||
|
update_cache: yes
|
||||||
|
changed_when: False
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install packages
|
- include: tasks/packages.yml
|
||||||
apt:
|
|
||||||
name:
|
|
||||||
- htop
|
|
||||||
- mc
|
|
||||||
- tmux
|
|
||||||
|
|||||||
11
tasks/packages.yml
Normal file
11
tasks/packages.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
connection: local
|
||||||
|
become: true
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Install packages
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- htop
|
||||||
|
- mc
|
||||||
|
- tmux
|
||||||
Reference in New Issue
Block a user