1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-06 02:56:02 +02:00

Use archlinux-contrib over git submodule

Prefer using our maintained version of checkservices from the contrib
repository hosted on our Gitlab repository. This has the benefit of
getting rid of a submodule which isn't cloned by default.
This commit is contained in:
Jelle van der Waa 2020-08-16 16:53:09 +02:00 committed by Sven-Hendrik Haase
parent b3b7dfd2d3
commit d9fdafb0b1
4 changed files with 7 additions and 11 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "roles/common/files/contrib"]
path = roles/common/files/contrib
url = https://github.com/archlinux/contrib

View File

@ -2,9 +2,6 @@
This repository contains the complete collection of ansible playbooks and roles for the Arch Linux infrastructure. This repository contains the complete collection of ansible playbooks and roles for the Arch Linux infrastructure.
It also contains git submodules so you have to run `git submodule update --init
--recursive` after cloning or some tasks will fail to run.
## Requirements ## Requirements
Install these packages: Install these packages:

@ -1 +0,0 @@
Subproject commit 7c791d4179daab4f108b14bbc19bfaf60db4cf8a

View File

@ -151,11 +151,14 @@
- zshrc - zshrc
- dircolors - dircolors
- name: install checkservices - name: install pacman-contrib,archlinux-contrib
copy: src=contrib/admin/checkservices dest=/usr/local/bin/checkservices owner=root group=root mode=0755 pacman: name=pacman-contrib,archlinux-contrib state=installed
- name: install pacman-contrib - name: remove old checkservices copied script (from submodule)
pacman: name=pacman-contrib state=installed file: path=/usr/local/bin/checkservices state=absent
- name: symlink checkservices to /usr/local/bin
file: src=/usr/share/archlinux/contrib/admin/checkservices dest=/usr/local/bin/checkservices state=link
- name: install pacman config - name: install pacman config
template: src=pacman.conf.j2 dest=/etc/pacman.conf mode=0644 owner=root group=root template: src=pacman.conf.j2 dest=/etc/pacman.conf mode=0644 owner=root group=root