Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed merge conflicts #46

Merged
merged 18 commits into from
Dec 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
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
12 changes: 4 additions & 8 deletions deprecated_playbooks/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@
#become_method: su
#become_user: umcg-envsync
pre_tasks:
# - name: Verify Ansible version meets requirements.
# assert:
# that: "ansible_version.full | version_compare('2.4', '>=')"
# msg: 'You must update Ansible to at least 2.4.x to use this playbook.'

- name: Fail when Ansible version is below 2.4
shell: echo "Please update your Ansible version to 2.4.x or higher."
failed_when: ansible_version.full < "2.4"
- name: Verify Ansible version meets requirements.
assert:
that: "ansible_version.full is version_compare('2.7', '>=')"
msg: 'You must update Ansible to at least 2.7.x to use this playbook.'
roles:
- role: easybuild-install
tasks:
Expand Down
4 changes: 2 additions & 2 deletions deprecated_playbooks/playbook_chaperone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
pre_tasks:
- name: Verify Ansible version meets requirements.
assert:
that: "ansible_version.full | version_compare('2.4', '>=')"
msg: 'You must update Ansible to at least 2.4.x to use this playbook.'
that: "ansible_version.full is version_compare('2.7', '>=')"
msg: 'You must update Ansible to at least 2.7.x to use this playbook.'
roles:
- role: easybuild-install
tasks:
Expand Down
4 changes: 2 additions & 2 deletions inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
Generates Ansible inventory with hostnames from a static inventory file.
By default this script looks for an inventory named
inventory.ini
located in the same dir as this script.
or alternatively for an inventory file name as defined in
located in the same dir as this script or
alternatively for an inventory file name as defined in
export AI_INVENTORY='some_inventory.ini'

The hostnames parsed from the static inventory file can be prefixed
Expand Down
1 change: 1 addition & 0 deletions roles/install-easybuild/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,4 @@
- name: Flush handlers to trigger EasyBuild installation.
meta: flush_handlers
...