-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved defaults example vars to playbook
- Loading branch information
1 parent
348faa5
commit 4fa2730
Showing
4 changed files
with
172 additions
and
73 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,3 @@ | ||
--- | ||
minor_changes: | ||
- Moved default vars to populate aap playbook for better availability. |
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
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 |
---|---|---|
@@ -1,78 +1,8 @@ | ||
--- | ||
controller_hostname: https://0.0.0.0 | ||
controller_username: admin | ||
controller_password: test | ||
controller_validate_certs: false | ||
controller_configuration_async_retries: 30 | ||
populate_aap_organization_name: Osbuild_org | ||
populate_aap_organization_name: osbuild_org | ||
populate_aap_execution_environment_name: osbuild_ee | ||
populate_aap_inventory_name: osbuild_inventory | ||
populate_aap_project_name: osbuild_project | ||
populate_aap_credential_name: osbuild_credential | ||
populate_aap_organizations: | ||
- name: "{{ populate_aap_organization_name }}" | ||
populate_aap_execution_environments: | ||
- name: "{{ populate_aap_execution_environment_name }}" | ||
image: quay.io/repository/osbuildee/osbuildee | ||
pull: always | ||
organization: "{{ populate_aap_organization_name }}" | ||
populate_aap_inventories: | ||
- name: "{{ populate_aap_inventory_name }}" | ||
organization: "{{ populate_aap_organization_name }}" | ||
populate_aap_hosts: | ||
- name: osbuild_remote_system | ||
inventory: "{{ populate_aap_inventory_name }}" | ||
variables: | ||
ansible_host: 0.0.0.0 | ||
ansible_user: user | ||
populate_aap_projects: | ||
- name: "{{ populate_aap_project_name }}" | ||
organization: "{{ populate_aap_organization_name }}" | ||
default_environment: "{{ populate_aap_execution_environment_name }}" | ||
scm_type: git | ||
scm_url: https://github.com/redhat-cop/infra.osbuild | ||
populate_aap_credentials: | ||
- name: "{{ populate_aap_credential_name }}" | ||
organization: "{{ populate_aap_organization_name }}" | ||
credential_type: Machine | ||
inputs: | ||
username: user | ||
ssh_key_data: "{{ lookup('file', '/home/user/.ssh/id_rsa') }}" | ||
populate_aap_job_templates: | ||
- name: osbuild_setup_server | ||
job_type: run | ||
inventory: "{{ populate_aap_inventory_name }}" | ||
project: "{{ populate_aap_project_name }}" | ||
playbook: playbooks/osbuild_setup_server.yml | ||
credentials: | ||
- "{{ populate_aap_credential_name }}" | ||
|
||
- name: osbuild_builder | ||
job_type: run | ||
inventory: "{{ populate_aap_inventory_name }}" | ||
project: "{{ populate_aap_project_name }}" | ||
playbook: playbooks/osbuild_builder.yml | ||
survey_enabled: true | ||
survey: "{{ lookup('template', 'template_surveys/builder_survey.yml') | from_yaml }}" | ||
ask_variables_on_launch: true | ||
extra_vars: | ||
_docs: 'REPLACE WITH VARS FROM DOCS: https://github.com/redhat-cop/infra.osbuild/blob/main/roles/builder/APP_EXTRA_VARS.md' # yamllint disable-line rule:line-length | ||
|
||
credentials: | ||
- "{{ populate_aap_credential_name }}" | ||
|
||
- name: osbuild_system_info | ||
job_type: run | ||
inventory: "{{ populate_aap_inventory_name }}" | ||
project: "{{ populate_aap_project_name }}" | ||
playbook: playbooks/osbuild_system_info.yml | ||
credentials: | ||
- "{{ populate_aap_credential_name }}" | ||
|
||
- name: osbuild_update_system | ||
job_type: run | ||
inventory: "{{ populate_aap_inventory_name }}" | ||
project: "{{ populate_aap_project_name }}" | ||
playbook: playbooks/osbuild_update_system.yml | ||
credentials: | ||
- "{{ populate_aap_credential_name }}" |