Files
fedora-infra_ansible/playbooks/groups/maintainer-test.yml
iamyaash b3d6a90b9a motd generic template added
migrated notes from infra/hosts

motd changes; excluding CSI infos

removed csi_* vars from group_vars; converted csi_purpose & csi_relationship into notes

fixed merge conflicts

minor changes; var

updating YAMLs & playbooks

udpated YAMLs & playbooks again

updated correctly; buildhw.yml

fixing merge conflicts

dest added in motd.yml
2025-01-28 01:10:14 +00:00

42 lines
955 B
YAML

---
- name: Setup maintainer test hosts
hosts: maintainer_test
gather_facts: true
tags:
- maintainer-test
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- base
- rkhunter
- hosts
- nagios_client
- openvpn/client
- ipa/client
tasks:
# this is how you include other task lists
- name: Install packager tools (dnf)
dnf: state=present pkg={{ item }}
with_items:
- fedora-packager
when: ansible_distribution == 'Fedora'
tags:
- packages
- name: Allow packagers to use mock
ansible.builtin.copy: dest=/etc/pam.d/mock src="{{ files }}/common/mock"
tags:
- config
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"