Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow foreman_proxy_content_dev to run as non-vagrant user #1840

Merged
merged 1 commit into from
Aug 29, 2024
Merged
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
14 changes: 9 additions & 5 deletions playbooks/foreman_proxy_content_dev.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
---
- hosts: server foreman-proxy-content
become: true
vars:
foreman_proxy_content_server_group: "server-{{ inventory_hostname }}"
foreman_proxy_content_server: "{{ groups[foreman_proxy_content_server_group][0] }}"
foreman_server_repositories_katello: true
katello_repositories_version: nightly
foreman_repositories_version: nightly
roles:
- foreman_server_repositories
- etc_hosts
- {role: foreman_proxy_content, foreman_directory: '/home/vagrant/foreman/config/',
devel: True, base_foreman_directory: '/home/vagrant/foreman/'}
- role: foreman_server_repositories
become: true
- role: etc_hosts
become: true
- role: foreman_proxy_content
foreman_directory: "{{ ansible_user_dir }}/foreman/config/"
devel: true
base_foreman_directory: "{{ ansible_user_dir }}/foreman/"
- role: foreman_installer
become: true
foreman_installer_scenario: foreman-proxy-content
foreman_installer_disable_system_checks: true
foreman_installer_options_internal_use_only:
Expand Down
Loading