blob: 1844d6715b1021c261e46b04713d160b01c1aa70 [file] [log] [blame]
Zack Williamsce63eb02017-02-28 10:46:22 -07001# CORD Master Makefile
2
3# Timestamp for log files
4TS := $(shell date +'%Y%m%dT%H%M%SZ')
5
6# Podconfig must be specified, so an invalid default
7PODCONFIG ?= invalid
8
9# Source path
10BUILD ?= .
11CORD ?= ..
12PI ?= $(BUILD)/platform-install
13MAAS ?= $(BUILD)/maas
Zack Williams2f56eee2017-07-17 09:59:16 -070014ONOS_APPS ?= $(CORD)/onos-apps
Zack Williamsce63eb02017-02-28 10:46:22 -070015
16# Configuration paths
17PODCONFIG_D ?= $(BUILD)/podconfig
18PODCONFIG_PATH ?= $(PODCONFIG_D)/$(PODCONFIG)
19
20SCENARIOS_D ?= $(BUILD)/scenarios
21GENCONFIG_D ?= $(BUILD)/genconfig
22
23# Milestones/logs paths
24M ?= $(BUILD)/milestones
25LOGS ?= $(BUILD)/logs
26
Andy Bavierb36b84e2017-08-10 14:46:32 -070027PREP_MS ?= $(M)/prereqs-check $(M)/build-local-bootstrap $(M)/ciab-ovs $(M)/vagrant-up $(M)/copy-cord $(M)/cord-config $(M)/copy-config $(M)/prep-buildnode $(M)/prep-headnode $(M)/deploy-elasticstack $(M)/prep-computenode
Andy Bavier35d238e2017-07-24 16:47:22 -070028MAAS_MS ?= $(M)/build-maas-images $(M)/maas-prime $(M)/publish-maas-images $(M)/deploy-maas
29OPENSTACK_MS ?= $(M)/glance-images $(M)/deploy-openstack $(M)/deploy-computenode $(M)/onboard-openstack
30XOS_MS ?= $(M)/docker-images $(M)/core-image $(M)/publish-docker-images $(M)/start-xos $(M)/onboard-profile
31ONOS_MS ?= $(M)/build-onos-apps $(M)/publish-onos-apps $(M)/deploy-onos $(M)/deploy-mavenrepo
Andy Bavierb36b84e2017-08-10 14:46:32 -070032POST_INSTALL_MS ?= $(M)/setup-automation $(M)/setup-ciab-pcu $(M)/compute1-up $(M)/compute2-up $(M)/compute3-up
Andy Bavier35d238e2017-07-24 16:47:22 -070033ALL_MILESTONES ?= $(PREP_MS) $(MAAS_MS) $(OPENSTACK_MS) $(XOS_MS) $(ONOS_MS) $(POST_INSTALL_MS)
Zack Williamsce63eb02017-02-28 10:46:22 -070034
35LOCAL_MILESTONES ?= $(M)/local-cord-config $(M)/local-docker-images $(M)/local-core-image $(M)/local-start-xos $(M)/local-onboard-profile
36
37# Configuration files
38MASTER_CONFIG ?= $(GENCONFIG_D)/config.yml
39MAKEFILE_CONFIG ?= $(GENCONFIG_D)/config.mk
40INVENTORY ?= $(GENCONFIG_D)/inventory.ini
41PROFILE_NAME_F ?= $(GENCONFIG_D)/cord_profile
42SCENARIO_NAME_F ?= $(GENCONFIG_D)/cord_scenario
43
44CONFIG_FILES = $(MASTER_CONFIG) $(MAKEFILE_CONFIG) $(INVENTORY) $(PROFILE_NAME_F) $(SCENARIO_NAME_F)
45
46include $(MAKEFILE_CONFIG)
47
48# Set using files from genconfig
49SCENARIO = $(shell cat $(SCENARIO_NAME_F))
50PROFILE = $(shell cat $(PROFILE_NAME_F))
51
52# Host names for SSH commands
53BUILDNODE ?= head1
54HEADNODE ?= ${BUILDNODE}
55
56# Vagrant config
57VAGRANT_PROVIDER ?= libvirt
58VAGRANT_VMS ?= $(HEADNODE)
Andy Bavier35d238e2017-07-24 16:47:22 -070059VAGRANT_SWITCHES ?= leaf1
Zack Williamsce63eb02017-02-28 10:46:22 -070060VAGRANT_CWD ?= $(SCENARIOS_D)/$(SCENARIO)/
61SSH_CONFIG ?= ~/.ssh/config # Vagrant modifies this, should it always?
62
63# Ansible args, for verbosity and other runtime parameters
64ANSIBLE_ARGS ?=
65
66# Commands
67SHELL = bash -o pipefail
68VAGRANT ?= VAGRANT_CWD=$(VAGRANT_CWD) vagrant
69ANSIBLE ?= ansible -i $(INVENTORY)
70ANSIBLE_PB ?= ansible-playbook $(ANSIBLE_ARGS) -i $(INVENTORY) --extra-vars @$(MASTER_CONFIG)
71ANSIBLE_PB_LOCAL ?= ansible-playbook $(ANSIBLE_ARGS) -i $(PI)/inventory/head-localhost --extra-vars "@/opt/cord_profile/genconfig/config.yml"
72ANSIBLE_PB_MAAS ?= ansible-playbook $(ANSIBLE_ARGS) -i /etc/maas/ansible/pod-inventory --extra-vars "@/opt/cord_profile/genconfig/config.yml"
73IMAGEBUILDER ?= python $(BUILD)/scripts/imagebuilder.py
74LOGCMD ?= 2>&1 | tee -a $(LOGS)/$(TS)_$(@F)
75SSH_HEAD ?= ssh $(HEADNODE)
76SSH_BUILD ?= ssh $(BUILDNODE)
77
78# default target, prints help
79.DEFAULT: help
80
81help:
82 @echo "Please specify a target (config, build, teardown, ...)"
83
84# Config file generation
Zack Williams9c4ef852017-09-05 16:14:04 -070085config: $(CONFIG_FILES) $(PODCONFIG_PATH)
Zack Williamsce63eb02017-02-28 10:46:22 -070086
Zack Williamsce63eb02017-02-28 10:46:22 -070087$(CONFIG_FILES):
88 ansible-playbook -i 'localhost,' --extra-vars="cord_podconfig='$(PODCONFIG_PATH)' genconfig_dir='$(GENCONFIG_D)' scenarios_dir='$(SCENARIOS_D)'" $(BUILD)/ansible/genconfig.yml $(LOGCMD)
89
90printconfig: config
91 @echo "Scenario: $(SCENARIO)"
92 @echo "Profile: $(PROFILE)"
93
94# Primary Targets
95# Many of these targets use target-specific variables
96# https://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html
97
98build: $(BUILD_TARGETS)
99
100# Utility targets
101
Zack Williamsa5fcefd2017-07-27 22:06:33 -0700102ansible-ping:
103 $(ANSIBLE) -m ping all $(LOGCMD)
104
105ansible-setup:
106 $(ANSIBLE) -m setup all $(LOGCMD)
107
Zack Williamsa10094b2017-07-23 13:54:12 -0700108collect-diag:
109 $(ANSIBLE_PB) $(PI)/collect-diag-playbook.yml $(LOGCMD)
110
Zack Williamsce63eb02017-02-28 10:46:22 -0700111compute-node-refresh:
112 $(SSH_HEAD) "cd /opt/cord/build; $(ANSIBLE_PB_MAAS) $(PI)/compute-node-refresh-playbook.yml" $(LOGCMD)
113
Zack Williamsce63eb02017-02-28 10:46:22 -0700114clean-images:
Andy Bavier218bed32017-09-01 13:23:20 -0700115 rm -f $(M)/docker-images $(M)/local-docker-images $(M)/core-image $(M)/local-core-image $(M)/build-maas-images $(M)/build-onos-apps $(M)/publish-maas-images $(M)/publish-docker-images $(M)/publish-onos-apps
Zack Williamsce63eb02017-02-28 10:46:22 -0700116
117clean-genconfig:
118 rm -f $(CONFIG_FILES)
119
120clean-profile:
121 rm -rf $(CONFIG_CORD_PROFILE_DIR)
122 rm -f $(M)/cord-config $(M)/copy-config
123
124clean-all: vagrant-destroy clean-profile clean-genconfig
125 rm -f $(ALL_MILESTONES)
126
127clean-local: clean-profile clean-genconfig
128 rm -f $(LOCAL_MILESTONES)
129
Zack Williams9c4ef852017-09-05 16:14:04 -0700130.PHONY: docs
131docs:
132 cd docs; make
133
Andy Bavier4dc66472017-07-18 17:13:24 -0700134local-ubuntu-dev-env:
135 $(ANSIBLE_PB) $(PI)/bootstrap-dev-env.yml $(LOGCMD)
136
Zack Williams9c4ef852017-09-05 16:14:04 -0700137vagrant-destroy:
138 $(VAGRANT) destroy $(LOGCMD)
139 rm -f $(M)/vagrant-up
140
141xos-teardown: xos-update-images
142 $(ANSIBLE_PB) $(PI)/teardown-playbook.yml $(LOGCMD)
143 rm -f $(M)/onboard-profile $(M)/local-onboard-profile
144
145xos-update-images: clean-images
146 rm -f $(M)/start-xos $(M)/local-start-xos
147
Andy Bavier35d238e2017-07-24 16:47:22 -0700148
Zack Williamsce63eb02017-02-28 10:46:22 -0700149# == PREREQS == #
150VAGRANT_UP_PREREQS ?=
Zack Williams9c4ef852017-09-05 16:14:04 -0700151COPY_CORD_PREREQS ?=
Zack Williamsce63eb02017-02-28 10:46:22 -0700152CORD_CONFIG_PREREQS ?=
153COPY_CONFIG_PREREQS ?=
154PREP_BUILDNODE_PREREQS ?=
155PREP_HEADNODE_PREREQS ?=
Zack Williamsa5fcefd2017-07-27 22:06:33 -0700156DOCKER_IMAGES_PREREQS ?=
Zack Williams0a7ef162017-07-18 18:15:26 -0700157START_XOS_PREREQS ?=
158DEPLOY_ONOS_PREREQS ?=
Andy Bavier35d238e2017-07-24 16:47:22 -0700159DEPLOY_OPENSTACK_PREREQS ?=
Andy Bavierafaa5302017-08-15 08:56:15 -0700160DEPLOY_MAVENREPO_PREREQS ?=
Andy Bavier35d238e2017-07-24 16:47:22 -0700161SETUP_AUTOMATION_PREREQS ?=
Zack Williamsce63eb02017-02-28 10:46:22 -0700162
163# == MILESTONES == #
164# empty target files are touched in the milestones dir to indicate completion
165
Andy Bavier35d238e2017-07-24 16:47:22 -0700166# Prep targets
Zack Williamsce63eb02017-02-28 10:46:22 -0700167$(M)/prereqs-check:
168 $(ANSIBLE_PB) $(PI)/prereqs-check-playbook.yml $(LOGCMD)
169 touch $@
170
Andy Bavierafaa5302017-08-15 08:56:15 -0700171$(M)/build-local-bootstrap:
172 $(ANSIBLE_PB) $(BUILD)/ansible/build-local-bootstrap.yml $(LOGCMD)
173 touch $@
174
Andy Bavierb36b84e2017-08-10 14:46:32 -0700175$(M)/ciab-ovs:
176 $(ANSIBLE_PB) $(BUILD)/ansible/ciab-ovs.yml $(LOGCMD)
177 touch $@
178
Zack Williamsce63eb02017-02-28 10:46:22 -0700179$(M)/vagrant-up: | $(VAGRANT_UP_PREREQS)
180 $(VAGRANT) up $(VAGRANT_VMS) --provider $(VAGRANT_PROVIDER) $(LOGCMD)
181 @echo "Configuring SSH for VM's..."
182 $(VAGRANT) ssh-config $(VAGRANT_VMS) > $(SSH_CONFIG)
183 touch $@
184
Zack Williams9c4ef852017-09-05 16:14:04 -0700185$(M)/config-ssh-key: | $(M)/vagrant-up
186 $(ANSIBLE_PB) $(BUILD)/ansible/config-ssh-key.yml $(LOGCMD)
187 touch $@
188
189$(M)/copy-cord: | $(M)/vagrant-up $(COPY_CORD_PREREQS)
Zack Williamsce63eb02017-02-28 10:46:22 -0700190 $(ANSIBLE_PB) $(PI)/copy-cord-playbook.yml $(LOGCMD)
191 touch $@
192
193$(M)/cord-config: | $(M)/vagrant-up $(CORD_CONFIG_PREREQS)
194 $(ANSIBLE_PB) $(PI)/cord-config-playbook.yml $(LOGCMD)
195 cp -r $(GENCONFIG_D) $(CONFIG_CORD_PROFILE_DIR)/genconfig
196 touch $@
197
198$(M)/copy-config: | $(COPY_CONFIG_PREREQS)
199 $(ANSIBLE_PB) $(PI)/copy-profile-playbook.yml $(LOGCMD)
200 touch $@
201
202$(M)/prep-buildnode: | $(M)/vagrant-up $(M)/cord-config $(PREP_BUILDNODE_PREREQS)
203 $(ANSIBLE_PB) $(PI)/prep-buildnode-playbook.yml $(LOGCMD)
Zack Williamsa5fcefd2017-07-27 22:06:33 -0700204 @echo Waiting 20 seconds to timeout SSH ControlPersist, and so future ansible commands gain docker group membership
205 sleep 20
Zack Williamsce63eb02017-02-28 10:46:22 -0700206 touch $@
207
208$(M)/prep-headnode: | $(M)/vagrant-up $(M)/cord-config $(PREP_HEADNODE_PREREQS)
209 $(ANSIBLE_PB) $(PI)/prep-headnode-playbook.yml $(LOGCMD)
210 touch $@
211
Zack Williams0a7ef162017-07-18 18:15:26 -0700212$(M)/deploy-elasticstack: | $(M)/prep-headnode
Zack Williamsce63eb02017-02-28 10:46:22 -0700213 $(ANSIBLE_PB) $(PI)/deploy-elasticstack-playbook.yml $(LOGCMD)
214 touch $@
215
216$(M)/prep-computenode: | $(M)/prep-headnode
217 $(ANSIBLE_PB) $(PI)/prep-computenode-playbook.yml $(LOGCMD)
218 touch $@
219
Andy Bavier35d238e2017-07-24 16:47:22 -0700220
221# MaaS targets
222$(M)/build-maas-images: | $(M)/prep-buildnode $(BUILD_MAAS_IMAGES_PREREQS)
Andy Bavierafaa5302017-08-15 08:56:15 -0700223 $(SSH_BUILD) "cd $(BUILD_CORD_DIR)/build/maas; rm -f consul.image; make MAKE_CONFIG=../$(MAKEFILE_CONFIG) build" $(LOGCMD)
Zack Williamsce63eb02017-02-28 10:46:22 -0700224 touch $@
225
Andy Bavier35d238e2017-07-24 16:47:22 -0700226$(M)/maas-prime: | $(M)/deploy-elasticstack
227 $(ANSIBLE_PB) $(MAAS)/prime-node.yml $(LOGCMD)
Zack Williamsce63eb02017-02-28 10:46:22 -0700228 touch $@
229
Andy Bavier35d238e2017-07-24 16:47:22 -0700230$(M)/publish-maas-images: | $(M)/maas-prime $(M)/build-maas-images
Andy Bavier09410472017-08-15 14:29:35 -0700231 $(SSH_BUILD) "cd $(BUILD_CORD_DIR)/build/maas; rm -f consul.publish; make MAKE_CONFIG=../$(MAKEFILE_CONFIG) publish" $(LOGCMD)
Zack Williamsce63eb02017-02-28 10:46:22 -0700232 touch $@
233
Andy Bavier35d238e2017-07-24 16:47:22 -0700234$(M)/deploy-maas: | $(M)/publish-maas-images $(M)/cord-config $(M)/copy-config
235 $(ANSIBLE_PB) $(MAAS)/head-node.yml $(LOGCMD)
Zack Williamsce63eb02017-02-28 10:46:22 -0700236 touch $@
237
Andy Bavier35d238e2017-07-24 16:47:22 -0700238
239# ONOS targets
240$(M)/build-onos-apps: | $(M)/prep-buildnode $(BUILD_ONOS_APPS_PREREQS)
Andy Bavierafaa5302017-08-15 08:56:15 -0700241 $(SSH_BUILD) "cd $(BUILD_CORD_DIR)/onos-apps; make MAKE_CONFIG=../build/$(MAKEFILE_CONFIG) build" $(LOGCMD)
Andy Bavier35d238e2017-07-24 16:47:22 -0700242 touch $@
243
Andy Bavier61dc81a2017-08-23 15:29:45 -0700244$(M)/publish-onos-apps: | $(M)/deploy-maas $(M)/build-onos-apps
Andy Bavierafaa5302017-08-15 08:56:15 -0700245 $(SSH_BUILD) "cd $(BUILD_CORD_DIR)/onos-apps; make MAKE_CONFIG=../build/$(MAKEFILE_CONFIG) publish" $(LOGCMD)
Andy Bavier35d238e2017-07-24 16:47:22 -0700246 touch $@
247
Andy Bavierafaa5302017-08-15 08:56:15 -0700248$(M)/deploy-mavenrepo: | $(M)/publish-onos-apps $(DEPLOY_MAVENREPO_PREREQS)
Andy Bavier35d238e2017-07-24 16:47:22 -0700249 $(ANSIBLE_PB) $(PI)/deploy-mavenrepo-playbook.yml $(LOGCMD)
250 touch $@
251
252$(M)/deploy-onos: | $(M)/docker-images $(DEPLOY_ONOS_PREREQS)
253 $(ANSIBLE_PB) $(PI)/deploy-onos-playbook.yml $(LOGCMD)
254 touch $@
255
256
257# XOS targets
Zack Williamsa5fcefd2017-07-27 22:06:33 -0700258$(M)/docker-images: | $(M)/prep-buildnode $(DOCKER_IMAGES_PREREQS)
Andy Bavier35d238e2017-07-24 16:47:22 -0700259 $(SSH_BUILD) "cd $(BUILD_CORD_DIR)/build; $(IMAGEBUILDER) -f $(MASTER_CONFIG) -l $(BUILD)/image_logs -g $(BUILD)/ib_graph.dot -a $(BUILD)/ib_actions.yml " $(LOGCMD)
Zack Williamsce63eb02017-02-28 10:46:22 -0700260 touch $@
261
Andy Bavier35d238e2017-07-24 16:47:22 -0700262$(M)/core-image: | $(M)/docker-images
Zack Williamsce63eb02017-02-28 10:46:22 -0700263 $(ANSIBLE_PB) $(PI)/build-core-image-playbook.yml $(LOGCMD)
264 touch $@
265
Andy Bavier35d238e2017-07-24 16:47:22 -0700266# Requires ib_actions.yml file which is on the build host
Andy Bavier61dc81a2017-08-23 15:29:45 -0700267$(M)/publish-docker-images: | $(M)/deploy-maas $(M)/docker-images $(M)/core-image
Andy Bavier35d238e2017-07-24 16:47:22 -0700268 $(SSH_BUILD) "cd $(BUILD_CORD_DIR)/build; $(ANSIBLE_PB_LOCAL) $(PI)/publish-images-playbook.yml" $(LOGCMD)
269 touch $@
270
Zack Williams0a7ef162017-07-18 18:15:26 -0700271$(M)/start-xos: | $(M)/prep-headnode $(M)/core-image $(START_XOS_PREREQS)
Zack Williamsce63eb02017-02-28 10:46:22 -0700272 $(SSH_HEAD) "cd /opt/cord/build; $(ANSIBLE_PB_LOCAL) $(PI)/start-xos-playbook.yml" $(LOGCMD)
273 touch $@
274
Andy Bavier35d238e2017-07-24 16:47:22 -0700275$(M)/onboard-profile: | $(M)/start-xos
276 $(SSH_HEAD) "cd /opt/cord/build; $(ANSIBLE_PB_LOCAL) $(PI)/onboard-profile-playbook.yml" $(LOGCMD)
Zack Williams2f56eee2017-07-17 09:59:16 -0700277 touch $@
278
Andy Bavier35d238e2017-07-24 16:47:22 -0700279
280# OpenStack targets
281$(M)/glance-images: | $(M)/prep-headnode
282 $(ANSIBLE_PB) $(PI)/glance-images-playbook.yml $(LOGCMD)
283 touch $@
284
285$(M)/deploy-openstack: | $(M)/deploy-elasticstack $(M)/prep-headnode $(M)/prep-computenode $(DEPLOY_OPENSTACK_PREREQS)
286 $(ANSIBLE_PB) $(PI)/deploy-openstack-playbook.yml $(LOGCMD)
287 touch $@
288
289$(M)/deploy-computenode: | $(M)/deploy-openstack
290 $(ANSIBLE_PB) $(PI)/deploy-computenode-playbook.yml $(LOGCMD)
Zack Williamsce63eb02017-02-28 10:46:22 -0700291 touch $@
292
Zack Williamsa5fcefd2017-07-27 22:06:33 -0700293$(M)/onos-debug: | $(M)/onboard-profile
294 $(SSH_HEAD) "cd /opt/cord/build; $(ANSIBLE_PB_LOCAL) $(PI)/onos-debug-playbook.yml" $(LOGCMD)
295 touch $@
296
Zack Williamsce63eb02017-02-28 10:46:22 -0700297$(M)/onboard-openstack: | $(M)/deploy-computenode $(M)/glance-images $(M)/deploy-onos $(M)/onboard-profile
298 $(SSH_HEAD) "cd /opt/cord/build; $(ANSIBLE_PB_LOCAL) $(PI)/onboard-openstack-playbook.yml" $(LOGCMD)
299 touch $@
300
Andy Bavier35d238e2017-07-24 16:47:22 -0700301
302# Post-onboarding targets
303$(M)/setup-automation: | $(M)/onboard-profile $(M)/deploy-onos $(SETUP_AUTOMATION_PREREQS)
304 $(ANSIBLE_PB) $(PI)/cord-automation-playbook.yml $(LOGCMD)
305 touch $@
306
307
308# Additional CiaB targets
Andy Bavier35d238e2017-07-24 16:47:22 -0700309$(M)/setup-ciab-pcu: | $(M)/setup-automation
310 $(ANSIBLE_PB) $(MAAS)/setup-ciab-pcu.yml
311 touch $@
312
Andy Bavierb36b84e2017-08-10 14:46:32 -0700313$(M)/compute%-up: | $(M)/setup-ciab-pcu
Andy Bavier35d238e2017-07-24 16:47:22 -0700314 $(VAGRANT) up compute$* --provider $(VAGRANT_PROVIDER) $(LOGCMD)
315 $(SSH_HEAD) "cd /opt/cord/build; $(ANSIBLE_PB_LOCAL) ansible/maas-provision.yml --extra-vars='maas_user=maas vagrant_name=cord_compute$*'" $(LOGCMD)
316 touch $@
317
Andy Bavierb36b84e2017-08-10 14:46:32 -0700318$(M)/refresh-fabric: | $(M)/compute1-up
319 $(SSH_HEAD) "cd /opt/cord/build; $(ANSIBLE_PB_MAAS) $(PI)/cord-refresh-fabric.yml" $(LOGCMD)
320 touch $@
321
Andy Bavier35d238e2017-07-24 16:47:22 -0700322
Zack Williamsce63eb02017-02-28 10:46:22 -0700323# Testing targets
Andy Bavier35d238e2017-07-24 16:47:22 -0700324pod-test: $(M)/setup-automation collect-diag
325 $(SSH_HEAD) "cd /opt/cord/build; $(ANSIBLE_PB_LOCAL) $(PI)/pod-test-playbook.yml" $(LOGCMD)
326
Andy Bavierb36b84e2017-08-10 14:46:32 -0700327fabric-pingtest: $(M)/refresh-fabric
328 $(SSH_HEAD) "cd /opt/cord/build; $(ANSIBLE_PB_MAAS) $(PI)/cord-fabric-pingtest.yml" $(LOGCMD)
Zack Williamsce63eb02017-02-28 10:46:22 -0700329
330# Local Targets, bring up XOS containers without a VM
Zack Williamsce63eb02017-02-28 10:46:22 -0700331$(M)/local-cord-config:
332 $(ANSIBLE_PB) $(PI)/cord-config-playbook.yml $(LOGCMD)
333 touch $@
334
335$(M)/local-docker-images: | $(M)/local-cord-config
336 $(IMAGEBUILDER) -f $(MASTER_CONFIG) -l $(BUILD)/image_logs -g $(BUILD)/ib_graph.dot -a $(BUILD)/ib_actions.yml $(LOGCMD)
337 touch $@
338
339$(M)/local-core-image: | $(M)/local-docker-images
340 $(ANSIBLE_PB) $(PI)/build-core-image-playbook.yml $(LOGCMD)
341 touch $@
342
343$(M)/local-start-xos: | $(M)/local-core-image
344 $(ANSIBLE_PB) $(PI)/start-xos-playbook.yml $(LOGCMD)
345 touch $@
346
347$(M)/local-onboard-profile: | $(M)/local-start-xos
348 $(ANSIBLE_PB) $(PI)/onboard-profile-playbook.yml $(LOGCMD)
349 touch $@
350