git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/distrib.yml
diff options
context:
space:
mode:
Diffstat (limited to 'distrib.yml')
-rw-r--r--distrib.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/distrib.yml b/distrib.yml
index f625ec2..d5eb816 100644
--- a/distrib.yml
+++ b/distrib.yml
@@ -5,6 +5,11 @@
vars:
ansible_python_interpreter: "auto_silent"
tasks:
+ - setup:
+ gather_subset:
+ - '!all'
+ - '!min'
+ - 'platform'
- name: "Check that DFDISTRIB is not empty"
assert:
that:
@@ -92,6 +97,9 @@
tags:
- "removal"
- "all"
+ when: inventory_hostname != hostvars['localhost']['ansible_fqdn'] and
+ inventory_hostname != hostvars['localhost']['ansible_hostname'] and
+ inventory_hostname != hostvars['localhost']['ansible_hostname'] | lower
- hosts: "localhost"
connection: "local"
gather_facts: false