oci-registry: syntax is not my friend

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-06-13 19:52:04 -07:00
parent 8b3346b896
commit 36f819cf4f

View file

@ -22,10 +22,10 @@
- sudo - sudo
- { role: openvpn/client, - { role: openvpn/client,
when: env != "staging" } when: env != "staging" }
- { role: nfs/client, - role: nfs/client
mnt_dir: '/srv/registry', mnt_dir: '/srv/registry'
nfs_src_dir: "oci_registry", nfs_src_dir: "oci_registry"
when: inventory_hostname.startswith(('oci-registry01.iad2', 'oci-registry02.iad2')) } when: inventory_hostname.startswith(('oci-registry01.iad2', 'oci-registry02.iad2'))
pre_tasks: pre_tasks:
- name: Create /srv/registry on staging and candidate since it does not use NFS - name: Create /srv/registry on staging and candidate since it does not use NFS