oci-registry: syntax is not my friend
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
8b3346b896
commit
36f819cf4f
1 changed files with 4 additions and 4 deletions
|
@ -22,10 +22,10 @@
|
|||
- sudo
|
||||
- { role: openvpn/client,
|
||||
when: env != "staging" }
|
||||
- { role: nfs/client,
|
||||
mnt_dir: '/srv/registry',
|
||||
nfs_src_dir: "oci_registry",
|
||||
when: inventory_hostname.startswith(('oci-registry01.iad2', 'oci-registry02.iad2')) }
|
||||
- role: nfs/client
|
||||
mnt_dir: '/srv/registry'
|
||||
nfs_src_dir: "oci_registry"
|
||||
when: inventory_hostname.startswith(('oci-registry01.iad2', 'oci-registry02.iad2'))
|
||||
|
||||
pre_tasks:
|
||||
- name: Create /srv/registry on staging and candidate since it does not use NFS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue