Browse Source

restrucuted tasks

main
Roman Schiwy 4 years ago
parent
commit
c52fb3bb54
  1. 14
      local.yml
  2. 8
      tasks/packages.yml

14
local.yml

@ -3,13 +3,9 @@
- hosts: localhost
connection: local
become: true
tasks:
pre_tasks:
- name: install packages
package:
name:
- htop
- mc
- tmux
state: latest
update_cache: yes
- name: update repositories
apt:
update_cache: yes
changed_when: false

8
tasks/packages.yml

@ -0,0 +1,8 @@
- name: install packages
package:
name:
- htop
- mc
- tmux
state: latest
update_cache: yes
Loading…
Cancel
Save