From cf026a377d92ef6edc383f83cb262c5dce2ade6f Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: May 20 2020 18:41:46 +0000 Subject: try yet another syntax because my caveman coding needs to move to flint --- diff --git a/playbooks/groups/download.yml b/playbooks/groups/download.yml index 7aa2ba5..a7f4d2a 100644 --- a/playbooks/groups/download.yml +++ b/playbooks/groups/download.yml @@ -40,7 +40,7 @@ - { role: nfs/client, when: datacenter == "phx2", mnt_dir: '/mnt/koji/compose', nfs_src_dir: 'fedora_koji/koji/compose' } # needed for internal sync - { role: nfs/client, when: datacenter == "rdu", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' } - sudo - - { role: openvpn/client, when: hostvars[inventory_hostname].vpn == True } + - { role: openvpn/client, when: vpn == True } pre_tasks: - include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README