Skip to content

Commit

Permalink
Add ability to specify TAR urls for installing RKE2 and downloading i…
Browse files Browse the repository at this point in the history
…mage tars, convert samples to using yaml based inventories
  • Loading branch information
Michael DAmato authored and Michael DAmato committed Apr 22, 2024
1 parent 078fe5e commit be63194
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rocky8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
- name: Create new inventory hosts.yml with added hosts
run: |
rm hosts.ini
rm hosts.yml
touch hosts.yml
echo "rke2_cluster:" > hosts.yml
echo " children:" >> hosts.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
- name: Create new inventory hosts.yml with added hosts
run: |
rm -f hosts.ini
rm -f hosts.yml
touch hosts.yml
echo "rke2_cluster:" > hosts.yml
echo " children:" >> hosts.yml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ If needed, you can also edit `inventory/my-cluster/group_vars/rke2_agents.yml` a
Start provisioning of the cluster using the following command:

```bash
ansible-playbook site.yml -i inventory/my-cluster/hosts.ini
ansible-playbook site.yml -i inventory/my-cluster/hosts.yml
```

Tarball Install/Air-Gap Install
Expand Down
2 changes: 1 addition & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[defaults]
nocows = True
roles_path = ./roles
inventory = ./inventory/my-cluster/hosts.ini
inventory = ./inventory/my-cluster/hosts.yml

remote_tmp = $HOME/.ansible/tmp
local_tmp = $HOME/.ansible/tmp
Expand Down

0 comments on commit be63194

Please sign in to comment.