Set up basic ansible repo
This commit is contained in:
commit
9c06b98fde
5 changed files with 30 additions and 0 deletions
5
README.md
Normal file
5
README.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Install void linux from arch linux
|
||||||
|
|
||||||
|
Uses btrfs subvolumes, chroot and the void linux root tarball.
|
||||||
|
This is primarily made for _my_ setup to quickly get void linux up and running for playing around with stuff.
|
||||||
|
|
2
ansible.cfg
Normal file
2
ansible.cfg
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[defaults]
|
||||||
|
inventory=inventory
|
2
inventory
Normal file
2
inventory
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[host]
|
||||||
|
127.0.0.1 ansible_connection=local
|
18
play.yaml
Normal file
18
play.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- name: Example task
|
||||||
|
hosts: host
|
||||||
|
tasks:
|
||||||
|
- name: Display facts
|
||||||
|
debug:
|
||||||
|
msg: "Facts collected: {{ ansible_facts }}"
|
||||||
|
|
||||||
|
# - name: Create void btrfs subvol
|
||||||
|
# hosts: host
|
||||||
|
# vars:
|
||||||
|
# - btrfs_target: 441a90a5-3da2-46ce-9e32-987569b746c9
|
||||||
|
# tasks:
|
||||||
|
# - name: Create @voidroot subvool under root
|
||||||
|
# community.general.btrfs_subvolume:
|
||||||
|
# name: /@voidroot
|
||||||
|
# filesystem_uuid: {{ btrfs_target }}
|
3
requirements.yaml
Normal file
3
requirements.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
collections:
|
||||||
|
- community.general
|
Loading…
Reference in a new issue