summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2017-02-10 08:00:16 -0800
committerTim Bielawa <tbielawa@redhat.com>2017-02-14 09:16:29 -0800
commitbeecf009010a2ffa45598c6a04933f5644f3f629 (patch)
tree83bd8876fffdb64194eec25660abb9a6a861ba2a /playbooks/common/openshift-cluster/upgrades/etcd/backup.yml
parent950f5ba4e4f7b849eb6bc75bcd86ab9bd29a9dc8 (diff)
downloadopenshift-beecf009010a2ffa45598c6a04933f5644f3f629.tar.gz
openshift-beecf009010a2ffa45598c6a04933f5644f3f629.tar.bz2
openshift-beecf009010a2ffa45598c6a04933f5644f3f629.tar.xz
openshift-beecf009010a2ffa45598c6a04933f5644f3f629.zip
Trying to fix up/audit note some changes
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/etcd/backup.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/etcd/backup.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml b/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml
index 45aabf3e4..7ef79afa9 100644
--- a/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml
+++ b/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml
@@ -29,12 +29,18 @@
- name: Check available disk space for etcd backup
shell: df --output=avail -k {{ openshift.common.data_dir }} | tail -n 1
register: avail_disk
+ # AUDIT:changed_when: `false` because we are only inspecting
+ # state, not manipulating anything
+ changed_when: false
# TODO: replace shell module with command and update later checks
- name: Check current embedded etcd disk usage
shell: du -k {{ openshift.etcd.etcd_data_dir }} | tail -n 1 | cut -f1
register: etcd_disk_usage
when: embedded_etcd | bool
+ # AUDIT:changed_when: `false` because we are only inspecting
+ # state, not manipulating anything
+ changed_when: false
- name: Abort if insufficient disk space for etcd backup
fail: