Add no_log to cert tar tasks

This works around 4MB limit for gitlab CI runner.
This commit is contained in:
Matthew Mosesohn
2017-02-17 01:43:49 +04:00
parent 9c1701f2aa
commit a21eb036ee
2 changed files with 7 additions and 0 deletions

View File

@@ -87,6 +87,7 @@
args:
executable: /bin/bash
register: etcd_master_cert_data
no_log: true
check_mode: no
delegate_to: "{{groups['etcd'][0]}}"
when: inventory_hostname in groups['etcd'] and sync_certs|default(false) and
@@ -98,6 +99,7 @@
args:
executable: /bin/bash
register: etcd_node_cert_data
no_log: true
check_mode: no
delegate_to: "{{groups['etcd'][0]}}"
when: (('calico-rr' in groups and inventory_hostname in groups['calico-rr']) or
@@ -109,6 +111,7 @@
shell: "base64 -d <<< '{{etcd_master_cert_data.stdout|quote}}' | tar xz -C {{ etcd_cert_dir }}"
args:
executable: /bin/bash
no_log: true
changed_when: false
when: inventory_hostname in groups['etcd'] and sync_certs|default(false) and
inventory_hostname != groups['etcd'][0]