diff --git a/playbooks/groups/taskotron.yml b/playbooks/groups/taskotron.yml index af7564bc1c..a749e654aa 100644 --- a/playbooks/groups/taskotron.yml +++ b/playbooks/groups/taskotron.yml @@ -33,7 +33,6 @@ roles: - base - rkhunter - - denyhosts - nagios_client - fas_client - collectd/base diff --git a/playbooks/manual/monitor.yml b/playbooks/manual/monitor.yml new file mode 100644 index 0000000000..55ab4c083f --- /dev/null +++ b/playbooks/manual/monitor.yml @@ -0,0 +1,49 @@ +# create a new monitor server +# +# This server looks for rawhide builds and requests they be signed. +# + +- name: make monitor server + hosts: monitor + user: root + gather_facts: False + accelerate: "{{ accelerated }}" + + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - "{{ private }}/vars.yml" + - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + + tasks: + - include: "{{ tasks }}/virt_instance_create.yml" + + handlers: + - include: "{{ handlers }}/restart_services.yml" + +- name: make the box be real + hosts: monitor + user: root + gather_facts: True + accelerate: "{{ accelerated }}" + + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - "{{ private }}/vars.yml" + - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + + roles: + - base + - rkhunter + - nagios_client + - fas_client + - collectd/base + + tasks: + - include: "{{ tasks }}/hosts.yml" + - include: "{{ tasks }}/yumrepos.yml" + - include: "{{ tasks }}/2fa_client.yml" + - include: "{{ tasks }}/motd.yml" + - include: "{{ tasks }}/sudo.yml" + + handlers: + - include: "{{ handlers }}/restart_services.yml"