Skip to content

Instantly share code, notes, and snippets.

@dch dch/minimal.yml
Last active Sep 25, 2018

What would you like to do?
minimal single-file ansible playbook for FreeBSD
# a minimal FreeBSD oriented ansible playbook
# you can run this as follows:
# ansible-playbook quick.yml -i localhost, -v
# note the trailing , necessary to skip needing an inventory file
- hosts: localhost
connection: local
become: yes
ansible_python_interpreter: /usr/local/bin/python2.7
- name: dmesg
command: dmesg
register: dmesg
- name: output
var: dmesg
verbosity: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.