summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2016-01-22 10:50:25 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2016-01-22 10:50:25 +0000
commit735e5b168753124b280442d9db04fecd0c60d1fc (patch)
tree5375ea698fdc128dc34d4881ed12d5550e01d9db /playbooks
parent1f9a6c167cf734b0a8a36cc2b1789777c5a5b127 (diff)
downloadansible-735e5b168753124b280442d9db04fecd0c60d1fc.tar.gz
ansible-735e5b168753124b280442d9db04fecd0c60d1fc.tar.xz
ansible-735e5b168753124b280442d9db04fecd0c60d1fc.zip
Make regcfp its own role
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/hosts/regcfp.fedorainfracloud.org.yml19
1 files changed, 3 insertions, 16 deletions
diff --git a/playbooks/hosts/regcfp.fedorainfracloud.org.yml b/playbooks/hosts/regcfp.fedorainfracloud.org.yml
index 9dc520764..e1823242e 100644
--- a/playbooks/hosts/regcfp.fedorainfracloud.org.yml
+++ b/playbooks/hosts/regcfp.fedorainfracloud.org.yml
@@ -25,20 +25,7 @@
- name: set hostname (required by some services, at least postfix need it)
shell: "hostname {{inventory_hostname}}"
- tasks:
- - name: add packages
- yum: state=present name={{ item }}
- with_items:
- - git
- - nodejs
- - npm
- - postgresql
- - postgresql-server
- - wget
- - unzip
+ roles:
+ - regcfp
- - name: Clone the regcfp flock2016 branch
- git: repo=https://github.com/puiterwijk/regcfp.git
- dest=/srv/regcfp
- version=flock2016
- clone=yes update=yes
+ tasks: