-
Notifications
You must be signed in to change notification settings - Fork 78
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
No easy way to install Ansible on all OS's #47
Comments
should we move this ticket to hardening-io/ansible-ssh-hardening? I think the issue is not related to the serverspec tests. |
Ansible gets installed during the converge-phase of the tests and this is only relevant for testing, not in real usage. |
I think we should open an issue at https://github.com/neillturner/kitchen-ansible, because I do not see a proper way to fix this issue in our tests. The cross-platform installation should be solved once in kitchen-ansible. Do you agree? |
Yes, you're right. Ansible-kitchen installs Ansible on rhel and ubuntu boxes already, so it should install it on Debian as well. I'll create a issue for it in ansible-kitchen. |
Right now there's no easy way to install Ansible on the different operationg systems:
For Debian ansible-omnibus is currently used: Omnibus downloads and runs the following shell script:
One could also install (with the help of this shell script) python-pip and then install Ansible with
pip install ansible
.The only problem now is that you have to know when to use apt-get or yum or foo-package-manager.
For that we could use pacapt. This script tries to determine the correct package manager and run the appropriate command (e.g. yum or apt-get). Right now pacapt doesn't support unattended upgrades (e.g.
yum install foo --yes
), but I created a issue for that.The text was updated successfully, but these errors were encountered: