diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-11-21 14:27:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-21 14:27:43 -0500 |
commit | c4c3b29396b13cd9e9ba93543f96967c89d81c42 (patch) | |
tree | 83db7f6169cdff2ec3de8d8273b88aa2ece2ef1e /playbooks/openshift-nfs | |
parent | 65464f64236ea0aad56e2be5ece34412ad60f919 (diff) | |
parent | 98815e010d29c670ff15aecf5dd15fb1241c76f0 (diff) | |
download | openshift-c4c3b29396b13cd9e9ba93543f96967c89d81c42.tar.gz openshift-c4c3b29396b13cd9e9ba93543f96967c89d81c42.tar.bz2 openshift-c4c3b29396b13cd9e9ba93543f96967c89d81c42.tar.xz openshift-c4c3b29396b13cd9e9ba93543f96967c89d81c42.zip |
Merge pull request #6148 from mtnbikenc/consolidate-openshift-nfs
Playbook Consolidation - openshift-nfs
Diffstat (limited to 'playbooks/openshift-nfs')
-rw-r--r-- | playbooks/openshift-nfs/config.yml | 4 | ||||
-rw-r--r-- | playbooks/openshift-nfs/private/config.yml | 30 | ||||
l--------- | playbooks/openshift-nfs/private/filter_plugins | 1 | ||||
l--------- | playbooks/openshift-nfs/private/lookup_plugins | 1 | ||||
l--------- | playbooks/openshift-nfs/private/roles | 1 |
5 files changed, 37 insertions, 0 deletions
diff --git a/playbooks/openshift-nfs/config.yml b/playbooks/openshift-nfs/config.yml new file mode 100644 index 000000000..8ee57ce8d --- /dev/null +++ b/playbooks/openshift-nfs/config.yml @@ -0,0 +1,4 @@ +--- +- include: ../init/main.yml + +- include: 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..6ea77e00b --- /dev/null +++ b/playbooks/openshift-nfs/private/config.yml @@ -0,0 +1,30 @@ +--- +- 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: os_firewall + - 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/filter_plugins b/playbooks/openshift-nfs/private/filter_plugins new file mode 120000 index 000000000..99a95e4ca --- /dev/null +++ b/playbooks/openshift-nfs/private/filter_plugins @@ -0,0 +1 @@ +../../../filter_plugins
\ No newline at end of file diff --git a/playbooks/openshift-nfs/private/lookup_plugins b/playbooks/openshift-nfs/private/lookup_plugins new file mode 120000 index 000000000..ac79701db --- /dev/null +++ b/playbooks/openshift-nfs/private/lookup_plugins @@ -0,0 +1 @@ +../../../lookup_plugins
\ No newline at end of file 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 |