-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install more tools. Add motd capability (#7536)
Co-authored-by: Wolfgang Kulhanek <[email protected]>
- Loading branch information
Showing
8 changed files
with
97 additions
and
52 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
32 changes: 32 additions & 0 deletions
32
ansible/configs/open-environment-azure-subscription/install_helm.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,32 @@ | ||
--- | ||
- name: Set URL for helm | ||
ansible.builtin.set_fact: | ||
helm_url: >- | ||
{{ '{0}/helm/latest/helm-linux-amd64.tar.gz'.format(ocp4_tools_root_url ) }} | ||
- name: Install Helm as root | ||
become: true | ||
block: | ||
- name: Install helm command | ||
ansible.builtin.unarchive: | ||
src: "{{ helm_url }}" | ||
remote_src: true | ||
dest: /usr/local/bin | ||
mode: "0775" | ||
owner: root | ||
group: root | ||
retries: 10 | ||
register: r_client | ||
until: r_client is success | ||
delay: 30 | ||
|
||
- name: Link downloaded helm command to helm | ||
ansible.builtin.file: | ||
src: /usr/local/bin/helm-linux-amd64 | ||
dest: /usr/local/bin/helm | ||
owner: root | ||
group: root | ||
state: link | ||
|
||
- name: Create Helm Bash completion file | ||
ansible.builtin.shell: /usr/local/bin/helm completion bash >/etc/bash_completion.d/helm |
6 changes: 3 additions & 3 deletions
6
ansible/configs/open-environment-azure-subscription/post_infra.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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- | ||
- name: Step 003 Post Infrastructure | ||
- name: Step 002 Post Infrastructure | ||
hosts: localhost | ||
connection: local | ||
become: false | ||
gather_facts: false | ||
tags: | ||
- step003 | ||
- step002 | ||
- post_infrastructure | ||
tasks: | ||
- ansible.builtin.debug: | ||
msg: "Step 003 Post Infrastructure - Dummy action" | ||
msg: "Step 002 Post Infrastructure - Dummy action" |
4 changes: 2 additions & 2 deletions
4
ansible/configs/open-environment-azure-subscription/post_software.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
6 changes: 3 additions & 3 deletions
6
ansible/configs/open-environment-azure-subscription/pre_infra.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
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
4 changes: 2 additions & 2 deletions
4
ansible/configs/open-environment-azure-subscription/requirements.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
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