Files
fedora-infra_ansible/roles/fas2discourse/tasks/administration-tasks.yml
Michal Konecny fa58d2541d [fas2discourse] Install make package
Make package is needed as well, let's install it and then remove all the
dangerous packages when we are done.
2025-07-01 17:49:04 +00:00

29 lines
715 B
YAML

---
- name: Create the directories to hold the templates
ansible.builtin.file:
path: "/root/ocp4/openshift-apps/fas2discourse-operator"
state: directory
owner: root
group: root
mode: "0770"
recurse: yes
- name: Install needed packages
ansible.builtin.package:
name:
- git
- make
state: present
- include_tasks: create-operator-namespace.yml
- include_tasks: create-keytab-secret.yml
- include_tasks: create-discourse-apikey-secret.yml
- include_tasks: deploy-fas2discourse-operator.yml
- name: Remove potentially dangerous packages that are not needed anymore
ansible.builtin.package:
name:
- git
- make
state: absent