ansible-collection-hardening/suse_provision.rb
schurzi 387fc472bd
improve testing (#287)
* fix problem with package_facts on SuSE

SuSE Linux does not work with ansibel module packet_facts, so we need to
exclude this task there.

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

* fix local docker tests for all distributions

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

* fix local vagrant tests for all distributions

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

* simplify travis tests

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

* fix opensuse in travis

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

* add fixes for suse

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

* add special case for suse docker

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
2020-08-03 15:55:27 +02:00

7 lines
No EOL
231 B
Ruby

Vagrant.configure(2) do |config|
config.vm.provision "shell", inline: <<-SHELL
zypper -n install python2-setuptools
mkdir -p /usr/local/lib/python2.7/site-packages/
ln -s /usr/local/bin/pip /usr/bin/
SHELL
end