Start tang playbook and role

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-08-16 19:33:54 +00:00
parent 2458444a10
commit f031fd2c7f
2 changed files with 36 additions and 0 deletions

31
playbooks/groups/tang.yml Normal file
View file

@ -0,0 +1,31 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=tang"
- name: make the box be real
hosts: -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:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
- rkhunter
- nagios_client
- hosts
- fas_client
- rsyncd
- sudo
- tang
tasks:
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
- import_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -0,0 +1,5 @@
- name: install tang
package: name=tang state=present
tags:
- tang
- packages