-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update main.yml * Update defaults/main.yml Co-authored-by: Bruno Travouillon <[email protected]> * install custom packages * install custom packages * install custom packages * add custom debain repositories * install custom packages * install custom packages * fix typo dynamique vars * fix the FQCN * add configure custom repos * add example of custom repo * add new README.md Co-authored-by: Bruno Travouillon <[email protected]> * remove custom package installtion * remove condition slurm_apt_repository * fix typo * remove slurm_apt_repository condition * remove slurm_apt_repository condition * fix custom log directory creation * move var to first part * rename the var to static * fix var --------- Co-authored-by: Bruno Travouillon <[email protected]> Co-authored-by: ahmed <[email protected]>
- Loading branch information
1 parent
b713a8a
commit 68c88a2
Showing
5 changed files
with
46 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
- name: Install GPG-KEY | ||
ansible.builtin.apt_key: | ||
url: "{{ slurm_gpg_key }}" | ||
keyring: /etc/apt/trusted.gpg.d/slurm.gpg | ||
when: slurm_gpg_key is defined | ||
|
||
- name: Configure Slurm repository | ||
ansible.builtin.copy: | ||
content: "{{ slurm_apt_repository }}\n" | ||
dest: /etc/apt/sources.list.d/slurm.list | ||
mode: 0644 | ||
|
||
- name: Configure APT preferences for Slurm repository | ||
ansible.builtin.copy: | ||
content: | | ||
Package: * | ||
Pin: release o=SLURM | ||
Pin-Priority: {{ slurm_apt_priority }} | ||
dest: /etc/apt/preferences.d/priority-slurm | ||
mode: 0644 | ||
when: slurm_apt_priority is defined | ||
|
||
- name: "Update repository cache" | ||
ansible.builtin.apt: | ||
update_cache: yes |
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