summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-12-06 09:55:46 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-12-06 09:55:46 -0500
commitde756349f48b8a7aa764387ea255dd711e4a8e95 (patch)
treecafc6f39c04a7dc6c3233c1c46105cbc2e1e3c88
parent9099dc40ea3f75a2d9d87ba8f30400764508170b (diff)
downloadopenshift-de756349f48b8a7aa764387ea255dd711e4a8e95.tar.gz
openshift-de756349f48b8a7aa764387ea255dd711e4a8e95.tar.bz2
openshift-de756349f48b8a7aa764387ea255dd711e4a8e95.tar.xz
openshift-de756349f48b8a7aa764387ea255dd711e4a8e95.zip
Fix ami building.
-rw-r--r--playbooks/init/main.yml2
-rw-r--r--playbooks/openshift-node/private/image_prep.yml12
2 files changed, 7 insertions, 7 deletions
diff --git a/playbooks/init/main.yml b/playbooks/init/main.yml
index 5a7483b72..b2b972a7d 100644
--- a/playbooks/init/main.yml
+++ b/playbooks/init/main.yml
@@ -18,8 +18,10 @@
- import_playbook: facts.yml
- import_playbook: sanity_checks.yml
+ when: not (skip_sanity_checks | default(False))
- import_playbook: validate_hostnames.yml
+ when: not (skip_validate_hostnames | default(False))
- import_playbook: repos.yml
diff --git a/playbooks/openshift-node/private/image_prep.yml b/playbooks/openshift-node/private/image_prep.yml
index b7ac27bda..6b517197d 100644
--- a/playbooks/openshift-node/private/image_prep.yml
+++ b/playbooks/openshift-node/private/image_prep.yml
@@ -1,12 +1,10 @@
---
- name: normalize groups
- import_playbook: ../../init/evaluate_groups.yml
-
-- name: initialize the facts
- import_playbook: ../../init/facts.yml
-
-- name: initialize the repositories
- import_playbook: ../../init/repos.yml
+ import_playbook: ../../prerequisites.yml
+ vars:
+ skip_version: True
+ skip_sanity_checks: True
+ skip_validate_hostnames: True
- name: run node config setup
import_playbook: setup.yml