2023-05-18 15:28:34 -04:00
|
|
|
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
|
|
|
|
vars:
|
|
|
|
myhosts: "certgetter"
|
2017-09-09 22:06:04 +00:00
|
|
|
|
|
|
|
- name: make the box be real
|
2020-10-14 16:07:41 -07:00
|
|
|
hosts: certgetter
|
2017-09-09 22:06:04 +00:00
|
|
|
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
|
2021-03-24 13:43:28 +01:00
|
|
|
- { role: openvpn/client,
|
|
|
|
when: env != "staging" }
|
2021-03-19 17:25:38 +01:00
|
|
|
- ipa/client
|
2017-09-09 22:06:04 +00:00
|
|
|
- rsyncd
|
|
|
|
- sudo
|
2019-04-06 21:35:46 +00:00
|
|
|
- apache
|
2017-09-09 22:06:04 +00:00
|
|
|
|
2018-08-16 21:27:53 +00:00
|
|
|
pre_tasks:
|
2017-10-17 17:37:03 +00:00
|
|
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
2018-08-16 21:27:53 +00:00
|
|
|
|
|
|
|
tasks:
|
2017-10-17 17:37:03 +00:00
|
|
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
2017-09-09 22:06:04 +00:00
|
|
|
|
2019-04-06 21:35:46 +00:00
|
|
|
- name: make sure certbot is installed
|
|
|
|
package: name=certbot state=installed
|
|
|
|
|
2017-09-09 22:06:04 +00:00
|
|
|
handlers:
|
2017-10-15 20:33:11 +00:00
|
|
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|