diff --git a/tasks/lxc_install.yml b/tasks/lxc_install.yml index 0f441fec..d24b2cd7 100644 --- a/tasks/lxc_install.yml +++ b/tasks/lxc_install.yml @@ -31,7 +31,7 @@ pip: name: "{{ lxc_pip_packages | join(' ') }}" state: latest - extra_args: "{{ pip_install_options|default('') }}" + extra_args: "{{ pip_install_options|default('') }} {{ lxc_hosts_pip_install_options|default('') }}" register: install_packages until: install_packages|success retries: 5 diff --git a/vars/redhat-7.yml b/vars/redhat-7.yml index ea650d77..ff5a13fd 100644 --- a/vars/redhat-7.yml +++ b/vars/redhat-7.yml @@ -83,7 +83,7 @@ lxc_cache_distro_packages: - wget - tar -pip_install_options: > +lxc_hosts_pip_install_options: > --global-option=build_ext --global-option="-L/opt/lxc_embedded/x86_64-linux-gnu/" --global-option="-I/opt/lxc_embedded/include/"