I ALWAYS get this variable name wrong.... You'd think I'd learn...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
d0796a2b7d
commit
2a1f1a6e19
1 changed files with 2 additions and 2 deletions
|
@ -25,11 +25,11 @@
|
|||
- { role: nfs/client,
|
||||
mnt_dir: '/srv/registry',
|
||||
nfs_src_dir: "oci_registry_stg",
|
||||
when: "env == 'staging' and 'candidate' not in ansible_inventory_name" }
|
||||
when: "env == 'staging' and 'candidate' not in inventory_hostname" }
|
||||
- { role: nfs/client,
|
||||
mnt_dir: '/srv/registry',
|
||||
nfs_src_dir: "oci_registry",
|
||||
when: "env != 'staging' and 'candidate' not in ansible_inventory_name" }
|
||||
when: "env != 'staging' and 'candidate' not in inventory_hostname" }
|
||||
|
||||
pre_tasks:
|
||||
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue