Skip to content

Commit

Permalink
Allow foreman_proxy_content_dev to run as non-vagrant user
Browse files Browse the repository at this point in the history
  • Loading branch information
wbclark authored and ekohl committed Aug 29, 2024
1 parent 4d1a9f2 commit b244460
Showing 1 changed file with 9 additions and 5 deletions.
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

0 comments on commit b244460

Please sign in to comment.