-
Notifications
You must be signed in to change notification settings - Fork 11
/
image.yml
28 lines (26 loc) · 1.19 KB
/
image.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
# Before running roles inside this playbook, copy
# ``inventory/builders.sample`` as ``inventory/builders`` and edit it
# to provide info about your build instance(s)
# The base image can be built in a more automated fashio using Packer
# (see README but basically just adjust any variables in `image.json`
# and issue ths command: ``% packer build image.json``)
# or via the following command (in which case make sure you provided
# instance access details in ``inventory/builders`` for
# ``image-builder`` host group and uncommented ``image-builder``
# below):
#
# % ansible-playbook -i inventory/builders image.yml
# --extra-vars vnc_password=$CM_VNC_PWD
# --extra-vars psql_galaxyftp_password=$CM_GALAXY_FTP_PWD
# [--extra-vars cleanup=yes]
#
# - hosts: image-builder
- hosts: localhost
connection: local
sudo: yes
roles:
- role: galaxyprojectdotorg.cloudman-image
# vnc_password: <a_password> # Or specify via the command
# psql_galaxyftp_password: <a_different_password> # Or specify via the command
# ansible-playbook -i inventory/builders image.yml --extra-vars vnc_password=$CM_VNC_PWD --extra-vars psql_galaxyftp_password=$CM_GALAXY_FTP_PWD --extra-vars cleanup=no