adding boiler plate for packages role

master
chatton 2 years ago
parent 2a63014b0d
commit f4c7213a30

@ -0,0 +1,6 @@
---
packages:
- sudo
- tmux
- vim
- npm

@ -0,0 +1,11 @@
---
- name: Update Packages
ansible.builtin.apt:
upgrade: dist
update_cache: true
- name: Install desired packages
ansible.builtin.apt:
pkg:
- foo
- foo-tools

@ -1,6 +1,4 @@
--- ---
- hosts: localhost - hosts: localhost
tasks: roles:
- name: Hello world. - install_packages
ansible.builtin.debug:
msg: "Hello World!"

Loading…
Cancel
Save