Skip to content

Instantly share code, notes, and snippets.

@Voronenko
Created September 14, 2017 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Voronenko/77fc4743ef7e70d74ee74b7ee62fd7e5 to your computer and use it in GitHub Desktop.
Save Voronenko/77fc4743ef7e70d74ee74b7ee62fd7e5 to your computer and use it in GitHub Desktop.

Temporary hints

(1)

at a moment ansible-container is highly under development. You might spot issues, that are fixed in develop branch only.

In that case you might need to install ansible-container from source, i.e.

git clone https://github.com/ansible/ansible-container.git
cd ansible-container
git checkout develop
pip install -e .[docker,openshift]

If for some reason install is messed (manual packages updates, removals, etc) - try pip install with --ignore-installed flag.

later, when issue fix is released - to uninstall package installed in that way from source:

At {virtualenv}/lib/python2.7/site-packages/ (if not using virtualenv then {system_dir, like /usr/local}/lib/python2.7/dist-packages/)

remove the egg file (e.g. ansible-container.egg-link) if there is any;

from file easy-install.pth, remove the corresponding line (it should be a path to the source directory or of an egg file).

(2)

When using box-example, pay attention to container.yml, in particular, conductor_base should be derived from the same distribution as you're building your target containers with, check list of currently supported base systems:

(3) If your system services are derived from different OS base images, than ... ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment