From 6e4e9329017a1153220642deab3d153fe822e9c4 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Mon, 6 Feb 2017 20:22:04 +0000 Subject: [PATCH] Add blank loopabull playbook Signed-off-by: Patrick Uiterwijk --- playbooks/groups/loopabull.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 playbooks/groups/loopabull.yml diff --git a/playbooks/groups/loopabull.yml b/playbooks/groups/loopabull.yml new file mode 100644 index 0000000000..d5e0dd3709 --- /dev/null +++ b/playbooks/groups/loopabull.yml @@ -0,0 +1,31 @@ +# create a new loopabull server +- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=loopabull-stg" + +- name: make the box be real + hosts: loopabull-stg + user: root + gather_facts: True + + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - "/srv/private/ansible/vars.yml" + - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + + pre_tasks: + - include: "{{ tasks }}/yumrepos.yml" + + roles: + - base + - rkhunter + - nagios/client + - hosts + - fas_client + - collectd/base + - sudo + + tasks: + - include: "{{ tasks }}/2fa_client.yml" + - include: "{{ tasks }}/motd.yml" + + handlers: + - include: "{{ handlers }}/restart_services.yml"