Files
fedora-infra_ansible/roles/git/server/tasks/main.yml
Mathieu Bridon 3cbdbf5a76 Add a new git/server role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:25 +00:00

17 lines
313 B
YAML

---
# tasklist for setting up a git server (git:// access)
- name: install the needed packages
yum: pkg={{item}} state=present
with_items:
- git-daemon
- xinetd
- name: install the xinetd config file
template: >
src="git.j2"
dest="/etc/xinetd.d/git"
mode=0644
notify:
- restart xinetd