mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 18:36:53 +08:00
34 lines
828 B
YAML
34 lines
828 B
YAML
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=gnome-backups"
|
|
|
|
- name: make the boxen be real for real
|
|
hosts: gnome-backups
|
|
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
|
|
|
|
roles:
|
|
- base
|
|
- rkhunter
|
|
- nagios/client
|
|
- hosts
|
|
- fas_client
|
|
- sudo
|
|
- collectd/base
|
|
- gnome_backups
|
|
- { role: nfs/client,
|
|
mnt_dir: '/gnome_backups',
|
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4",
|
|
nfs_src_dir: 'gnome_backups' }
|
|
|
|
tasks:
|
|
- include: "{{ tasks }}/yumrepos.yml"
|
|
- include: "{{ tasks }}/2fa_client.yml"
|
|
- include: "{{ tasks }}/motd.yml"
|
|
|
|
handlers:
|
|
- include: "{{ handlers }}/restart_services.yml"
|