Skip to content
Merged
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
1 change: 1 addition & 0 deletions ansible/playbooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Before running the playbook, make sure the following settings are correct, and o
| prefix_locales | List of locales to be generated |
| package_sets | List of package sets to be installed |
| prefix_packages | List of additional packages to be installed |
| prefix_remove_packages | List of packages to be removed after the bootstrap |
| reframe_venv | Path where a virtual environment will be created for the ReFrame installation |
| symlinks_to_host | List of paths that should get a symlink to the corresponding host path |

Expand Down
4 changes: 4 additions & 0 deletions ansible/playbooks/roles/compatibility_layer/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ package_sets:

prefix_packages:

prefix_remove_packages:
- dev-lang/go
- dev-lang/go-bootstrap

reframe_venv_dir: /tmp/reframe_venv

# List of locations that should get a symlink $EPREFIX/$LOCATION -> $LOCATION.
Expand Down
7 changes: 7 additions & 0 deletions ansible/playbooks/roles/compatibility_layer/tasks/cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Clean up
---
- name: Remove redundant packages
community.general.portage:
package: "{{ item }}"
state: absent
with_items: "{{ prefix_remove_packages }}"
3 changes: 3 additions & 0 deletions ansible/playbooks/roles/compatibility_layer/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
- name: Create symlinks to host files
ansible.builtin.include_tasks: create_host_symlinks.yml

- name: Clean up
ansible.builtin.include_tasks: cleanup.yml

- name: Test the Prefix installation
ansible.builtin.include_tasks: test.yml
tags:
Expand Down