mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 12:03:38 +08:00
use this vpn variable we set
This commit is contained in:
@@ -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: datacenter != "phx2" or datacenter != "iad2" }
|
||||
- { role: openvpn/client, when: hostvars[inventory_hostname].vpn == True }
|
||||
|
||||
pre_tasks:
|
||||
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
|
||||
|
||||
Reference in New Issue
Block a user