-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
129 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
- name: Setting up research environment | ||
hosts: all | ||
become: true | ||
gather_facts: true | ||
|
||
vars: | ||
bielefeld_mirror_service_exist: false | ||
pre_tasks: | ||
- name: Generic PRE Tasks | ||
ansible.builtin.import_tasks: ../generic/generic_pre_tasks.yml | ||
|
||
post_tasks: | ||
- name: Generic POST Tasks | ||
ansible.builtin.import_tasks: ../generic/generic_post_tasks.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"variables":{ | ||
"network":"", | ||
"os_distro":"", | ||
"os_version":"" | ||
}, | ||
"builders":[ | ||
{ | ||
"type":"openstack", | ||
"image_name":"{{user `os_distro`}}{{user `os_version`}} de.NBI ({{isotime `2006-01-02`}})", | ||
"source_image_filter":{ | ||
"filters":{ | ||
"tags":[ | ||
"{{user `base_image_build`}}" | ||
], | ||
"properties":{ | ||
"os_distro":"{{user `os_distro`}}", | ||
"os_version":"{{user `os_version`}}", | ||
"image_type": "image" | ||
|
||
} | ||
}, | ||
"most_recent":true | ||
}, | ||
"networks":"{{user `network`}}", | ||
"flavor":"de.NBI tiny", | ||
"description": "Ubuntu is a free and open source operating system and Linux distribution based on Debian.", | ||
"ssh_username":"ubuntu", | ||
"ssh_clear_authorized_keys": true, | ||
"image_tags":[ | ||
"{{user `base_image_tag`}}", | ||
"deNBI" | ||
], | ||
"metadata": { | ||
"github_hash": "{{user `github_hash`}}", | ||
"md5_hash": "{{user `md5_hash`}}" | ||
} | ||
} | ||
], | ||
"provisioners":[ | ||
{ | ||
"type":"ansible", | ||
"playbook_file":"../base/base.yml", | ||
"use_proxy":false, | ||
"extra_arguments":[ | ||
"-vv" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters