Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
e0ece816
Commit
e0ece816
authored
Aug 15, 2017
by
julian.gethmann
Browse files
Add ripgrep
parent
e1ff44c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
hosts
View file @
e0ece816
...
...
@@ -87,6 +87,11 @@ las120.las.kit.edu
las126.las.kit.edu
las-gethmann.las.kit.edu
[ripgrep]
las113.las.kit.edu
las-gethmann.las.kit.edu
las101.las.kit.edu
# semi stable
[local]
# 127.0.0.1 ansible_connection=local
...
...
ripgrep.yml
0 → 100644
View file @
e0ece816
-
hosts
:
ripgrep
roles
:
-
ripgrep
roles/ripgrep/tasks/main.yml
0 → 100644
View file @
e0ece816
---
# There is no good solution as far as I know, but a question on stackoverflow:
# https://stackoverflow.com/questions/42651026/ansible-dnf-module-enable-fedora-copr-repository
-
name
:
activate copr
become
:
yes
command
:
dnf copr enable -y carlwgeorge/ripgrep
changed_when
:
false
when
:
(ansible_distribution == "Fedora" and ansible_distribution_major_version >= 24)
tags
:
ripgrep
-
name
:
install ripgrep
become
:
yes
dnf
:
name
:
ripgrep
state
:
present
when
:
(ansible_distribution == "Fedora" and ansible_distribution_major_version >= 24)
tags
:
ripgrep
# This needs to be done: TODO
# - name: activate copr
# become: yes
# yum_repository:
# name: copr
# https://copr.fedorainfracloud.org/coprs/carlwgeorge/ripgrep/repo/epel-7/carlwgeorge-ripgrep-epel-7.repo
# state: present
# enabled: yes
# yum-config-manager --add-repo=https://copr.fedorainfracloud.org/coprs/carlwgeorge/ripgrep/repo/epel-7/carlwgeorge-ripgrep-epel-7.repo
# when: (ansible_distribution == "CentOS" and ansible_distribution_major_version == 7)
# tags: ripgrep
#
# - name: install ripgrep
# become: yes
# yum:
# name: ripgrep
# state: present
# when: (ansible_distribution == "CentOS" and ansible_distribution_major_version == 7)
# tags: ripgrep
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment