diff options
Diffstat (limited to 'playbooks/openshift-nfs')
-rw-r--r-- | playbooks/openshift-nfs/config.yml | 4 | ||||
-rw-r--r-- | playbooks/openshift-nfs/private/config.yml | 29 | ||||
l--------- | playbooks/openshift-nfs/private/roles | 1 |
3 files changed, 34 insertions, 0 deletions
diff --git a/playbooks/openshift-nfs/config.yml b/playbooks/openshift-nfs/config.yml new file mode 100644 index 000000000..c7814207c --- /dev/null +++ b/playbooks/openshift-nfs/config.yml @@ -0,0 +1,4 @@ +--- +- import_playbook: ../init/main.yml + +- import_playbook: private/config.yml diff --git a/playbooks/openshift-nfs/private/config.yml b/playbooks/openshift-nfs/private/config.yml new file mode 100644 index 000000000..3625efcc6 --- /dev/null +++ b/playbooks/openshift-nfs/private/config.yml @@ -0,0 +1,29 @@ +--- +- name: NFS Install Checkpoint Start + hosts: all + gather_facts: false + tasks: + - name: Set NFS install 'In Progress' + run_once: true + set_stats: + data: + installer_phase_nfs: + status: "In Progress" + start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}" + +- name: Configure nfs + hosts: oo_nfs_to_config + roles: + - role: openshift_storage_nfs + +- name: NFS Install Checkpoint End + hosts: all + gather_facts: false + tasks: + - name: Set NFS install 'Complete' + run_once: true + set_stats: + data: + installer_phase_nfs: + status: "Complete" + end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}" diff --git a/playbooks/openshift-nfs/private/roles b/playbooks/openshift-nfs/private/roles new file mode 120000 index 000000000..e2b799b9d --- /dev/null +++ b/playbooks/openshift-nfs/private/roles @@ -0,0 +1 @@ +../../../roles/
\ No newline at end of file |