Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ansible
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
36
Issues
36
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
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
Options
Browse Files
Download
Email Patches
Plain Diff
Add ripgrep
parent
e1ff44c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
0 deletions
+46
-0
hosts
hosts
+5
-0
ripgrep.yml
ripgrep.yml
+3
-0
roles/ripgrep/tasks/main.yml
roles/ripgrep/tasks/main.yml
+38
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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