Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions development/playbooks/deploy-dev/deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
foreman_development_enabled_plugins: "{{ foreman_development_enabled_plugins + ['foreman_ansible'] }}"
roles:
- role: pre_install
- role: systemd_target
- role: certificates
- role: postgresql
- role: valkey
Expand Down
9 changes: 9 additions & 0 deletions development/roles/foreman_development/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
---
- name: 'Switch to postgresql:16 module if needed'
ansible.builtin.command: dnf module switch-to -y postgresql:16
register: foreman_development_postgresql_module_result
changed_when: "'Nothing to do' not in foreman_development_postgresql_module_result.stdout"
failed_when: false
when:
- ansible_facts['os_family'] == 'RedHat'
- ansible_facts['distribution_major_version'] == '9'

- name: Enable nodejs module stream
ansible.builtin.command:
cmd: dnf module enable -y nodejs:{{ foreman_development_nodejs_stream | default('22') }}
Expand Down