self-hosting/playbook.yml
2017-12-02 02:00:28 +01:00

12 lines
336 B
YAML

---
- hosts: all
become: true
gather_facts: no
tasks:
- name: Install ansible prerequisites
script: ansible_prerequisites.sh creates=/root/.ansible_prerequisites_installed
become: true
- name: Install required packages
pacman: name={{item}} state=present update_cache=yes
with_items:
- htop