Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build for oem partners #735

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@
comment: Delphix User
home: /export/home/delphix
password:
"{{ lookup('env', 'APPLIANCE_PASSWORD') | password_hash('sha512') }}"
"$6$oSDBhe8aMbPzcuGf$Zpnq.v8h6hdq/eYXs61oxvCK/b08mx.5uD61xoJq8SrQS\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really want to make these public? they are now...

should we create a new environment variable instead? e.g. APPLIANCE_PARTNER_PASSWORD?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not intent to merge this PR. This is just a special build that won't ever make it into our repo.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the need to change this line of code at all, actually. If our goal is to do a single manual build, we can set APPLIANCE_PASSWORD to whatever we want in the environment of that build.

tkEO.lzYgBhIEIWCIrF2cImTYZz/FIGGTYbOCvqO0"

- user:
name: root
password:
"{{ lookup('env', 'APPLIANCE_PASSWORD') | password_hash('sha512') }}"
"$6$oSDBhe8aMbPzcuGf$Zpnq.v8h6hdq/eYXs61oxvCK/b08mx.5uD61xoJq8SrQS\
tkEO.lzYgBhIEIWCIrF2cImTYZz/FIGGTYbOCvqO0"

#
# The virtualization package uses the /etc/issue file to store a
Expand Down
23 changes: 23 additions & 0 deletions live-build/variants/external-minimal/ansible/playbook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# Copyright 2018 Delphix
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

---
- hosts: all
gather_facts: no
vars:
ansible_python_interpreter: /usr/bin/python3
roles:
- appliance-build.minimal-common
1 change: 1 addition & 0 deletions live-build/variants/external-minimal/ansible/roles