diff options
| author | Mathieu Bridon <bochecha@fedoraproject.org> | 2014-07-07 12:28:28 +0200 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2014-08-26 18:28:25 +0000 |
| commit | 3cbdbf5a76d69e2d7268d066668a834340157ab0 (patch) | |
| tree | 09dbf81fdb712703fc0a8b8fdecda90d43a189be /roles/git/server/tasks | |
| parent | fed72f7ba11ee89520f289498bd85aa23b87e69a (diff) | |
| download | ansible-3cbdbf5a76d69e2d7268d066668a834340157ab0.tar.gz ansible-3cbdbf5a76d69e2d7268d066668a834340157ab0.tar.xz ansible-3cbdbf5a76d69e2d7268d066668a834340157ab0.zip | |
Add a new git/server role
This will be needed to migrate Dist Git from puppet to ansible.
Diffstat (limited to 'roles/git/server/tasks')
| -rw-r--r-- | roles/git/server/tasks/main.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/git/server/tasks/main.yml b/roles/git/server/tasks/main.yml new file mode 100644 index 000000000..e8aea839a --- /dev/null +++ b/roles/git/server/tasks/main.yml @@ -0,0 +1,16 @@ +--- +# 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 |
