Start tang playbook and role
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
2458444a10
commit
f031fd2c7f
2 changed files with 36 additions and 0 deletions
31
playbooks/groups/tang.yml
Normal file
31
playbooks/groups/tang.yml
Normal 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"
|
5
roles/tang/tasks/main.yml
Normal file
5
roles/tang/tasks/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
- name: install tang
|
||||||
|
package: name=tang state=present
|
||||||
|
tags:
|
||||||
|
- tang
|
||||||
|
- packages
|
Loading…
Add table
Add a link
Reference in a new issue