File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 {{ shell_header }}
44 {{ oc_header }}
55 CONTROLLER1_SSH="{{ controller1_ssh }}"
6- oc set data secret/osp-secret \
7- "BarbicanSimpleCryptoKEK=$($CONTROLLER1_SSH \
8- "sudo python3 -c \"import configparser; c = configparser.ConfigParser( ); \
9- c.read('/var/lib/config-data/puppet-generated/barbican/etc/barbican/barbican.conf'); print(c['simple_crypto_plugin']['kek'])\"")"
6+ oc set data secret/osp-secret "BarbicanSimpleCryptoKEK=$($CONTROLLER1_SSH \
7+ "sudo python3 -c \"import configparser; c = configparser.ConfigParser(); \
8+ c.read('/var/lib/config-data/puppet-generated/barbican/etc/barbican/barbican.conf' ); \
9+ print(c['simple_crypto_plugin']['kek'])\"")"
1010
1111 - name : deploy podified Barbican
1212 ansible.builtin.shell : |
Original file line number Diff line number Diff line change 244244 {{ ovn_copy_shell_vars }}
245245
246246 oc exec ovn-copy-data -- bash -c "ovsdb-client get-schema --ca-cert=/etc/pki/tls/misc/ca.crt --private-key=/etc/pki/tls/misc/tls.key \
247- --certificate=/etc/pki/tls/misc/tls.crt ssl:$PODIFIED_OVSDB_NB_IP:6641 > /backup/ovs-nb.ovsschema && ovsdb-tool convert /backup/ovs-nb.db /backup/ovs-nb.ovsschema"
247+ --certificate=/etc/pki/tls/misc/tls.crt ssl:$PODIFIED_OVSDB_NB_IP:6641 > /backup/ovs-nb.ovsschema && ovsdb-tool convert /backup/ovs-nb.db /backup/ovs-nb.ovsschema"
248248 oc exec ovn-copy-data -- bash -c "ovsdb-client get-schema --ca-cert=/etc/pki/tls/misc/ca.crt --private-key=/etc/pki/tls/misc/tls.key \
249- --certificate=/etc/pki/tls/misc/tls.crt ssl:$PODIFIED_OVSDB_SB_IP:6642 > /backup/ovs-sb.ovsschema && ovsdb-tool convert /backup/ovs-sb.db /backup/ovs-sb.ovsschema"
249+ --certificate=/etc/pki/tls/misc/tls.crt ssl:$PODIFIED_OVSDB_SB_IP:6642 > /backup/ovs-sb.ovsschema && ovsdb-tool convert /backup/ovs-sb.db /backup/ovs-sb.ovsschema"
250250 when : enable_tlse|bool
251251
252252- name : restore OVN database backups to podified ovsdb-servers
You can’t perform that action at this time.
0 commit comments