aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-07 20:43:14 +0100
committerbinary <me@rgoncalves.se>2020-11-07 20:43:14 +0100
commit605d9efb0ad2734278d8bdb5f9e0862d8e0a1a7e (patch)
tree94d415d519d15376d2045593008eaa97cd2ced4f /playbooks
parent0a28c812cb858ea6237b807cf49a08639c1ff9ed (diff)
downloadinfrastructure-605d9efb0ad2734278d8bdb5f9e0862d8e0a1a7e.tar.gz
Playbook tools
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/debug.yml12
l---------playbooks/templates1
2 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/debug.yml b/playbooks/debug.yml
new file mode 100644
index 0000000..432e317
--- /dev/null
+++ b/playbooks/debug.yml
@@ -0,0 +1,12 @@
+---
+
+- name: Debug
+ hosts: all
+ tasks:
+ - name: A
+ debug:
+ var: ansible_facts["distribution"] | lower
+
+ - name: G
+ debug:
+ var: groups["all"]
diff --git a/playbooks/templates b/playbooks/templates
new file mode 120000
index 0000000..564a409
--- /dev/null
+++ b/playbooks/templates
@@ -0,0 +1 @@
+../templates \ No newline at end of file
remember that computers suck.