Vadim Rutkovsky ae27018000 Add ansible 2.6 repo 6 년 전
..
origin-extra-root ae27018000 Add ansible 2.6 repo 6 년 전
root 1faee0942d Fail on openshift_hostname defined; add openshift_kubelet_name_override 6 년 전
Dockerfile 91de02aae6 Dockerfile: install ansible 2.6 and remove epel-testing 6 년 전
Dockerfile.ci 4456b447af Add a new dockerfile to use in CI 6 년 전
Dockerfile.rhel7 0ff444237a google-cloud-sdk is x86_64 only 6 년 전
README_CONTAINER_IMAGE.md e787920946 Adding support for an inventory directory/hybrid inventory 7 년 전
README_INVENTORY_GENERATOR.md f7db81c1d1 Fully qualify all openshift/origin and openshift3/ose images 6 년 전
container.yaml ea0f5777dc adding container.yaml 6 년 전

README_CONTAINER_IMAGE.md

ORIGIN-ANSIBLE IMAGE INSTALLER

Contains Dockerfile information for building an openshift/origin-ansible image based on centos:7 or rhel7.3:7.3-released.

Read additional setup information for this image at: https://hub.docker.com/r/openshift/origin-ansible/

Read additional information about the openshift/origin-ansible at: https://github.com/openshift/openshift-ansible/blob/master/README_CONTAINER_IMAGE.md

Also contains necessary components for running the installer using an Atomic System Container.

System container installer

These files are needed to run the installer using an Atomic System container. These files can be found under root/exports:

  • config.json.template - Template of the configuration file used for running containers.

  • manifest.json - Used to define various settings for the system container, such as the default values to use for the installation.

  • service.template - Template file for the systemd service.

  • tmpfiles.template - Template file for systemd-tmpfiles.

These files can be found under root/usr/local/bin:

  • run-system-container.sh - Entrypoint to the container.

Options

These options may be set via the atomic --set flag. For defaults see root/exports/manifest.json

  • OPTS - Additional options to pass to ansible when running the installer

  • VAR_LIB_OPENSHIFT_INSTALLER - Full path of the installer code to mount into the container

  • VAR_LOG_OPENSHIFT_LOG - Full path of the log file to mount into the container

  • PLAYBOOK_FILE - Full path of the playbook inside the container

  • HOME_ROOT - Full path on host to mount as the root home directory inside the container (for .ssh/, etc..)

  • ANSIBLE_CONFIG - Full path for the ansible configuration file to use inside the container

  • INVENTORY_FILE - Full path for the inventory to use from the host

  • INVENTORY_DIR - Full path for the inventory directory to use (e.g. for use with a hybrid dynamic/static inventory)