| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Allow openshift-ansible image to deploy to GCP
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This moves all core functionality into the openshift-ansible repo, adds
the necessary equivalent entrypoint to the openshift-ansible installer
image, and ensures the dynamic inventory mechanisms in openshift-ansible
continue to work.
Notable changes from origin-gce:
* playbook extensions changed to .yml
* dynamic inventory subdirectory created to prevent accidental use
* use the custom entrypoint entrypoint-gcp for this image
* move tasks into openshift_gcp role
|
| |
| |
| |
| |
| | |
Also add libcloud (required for dynamic GCE lookup) and which (relied on
by gcloud).
|
|/
|
|
| |
The centos-based Dockerfile has previously been updated to pull in the python2-boto3 RPM; update the RHEL-based Dockerfile to do the same now that python2-boto3 has been made available in the appropriate repo.
|
|
|
|
| |
There are modules in openshift-ansible that depend on boto3 (I see lib_utils/library/oo_iam_kms and lib_utils/library/oo_ec2_group). Add the dependency so that the origin-ansible container can succesfully run these modules.
|
|
|
|
|
| |
The upstream forces versions on packages, and rpm -V fails when it does
not match. Also add which, used by gcloud.
|
|
|
|
|
|
| |
The installer image will become our default cloud operations image for
tasks that overlap with ansible, and will also be the image for
provioning. We will eventually add others like awscli for support roles.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When attempting to run openshift-ansible in a kubernetes pod, we
attempted to use a configmap to mount in our inventory to run against.
However kubernetes mounts configmaps/secrets volumes through the use of
relative symlinks. The use of "cp -a" in this script then copies a
relative symlink to /tmp which is now dangling, and ansible will fail to
run.
This patch changes to just copy the file regularly resulting in a value
temp file that is not a symlink.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The oc client was left out with the move away from playbook2image.
However it is needed in the image for the `oc cluster up` use case for
installing logging or metrics.
This change adds oc via the latest signed and released client RPM,
which requires adding the centos-openshift-origin repo to the image.
|
|
|
|
|
|
| |
We do not need the builder functionality from playbook2image and the
resulting image was overly complicated, so this simply builds on
Centos/RHEL.
|
|
|
|
|
| |
SUMMARY and DESCRIPTION were coming from python image build, might be
confusing to someone inspecting this image.
|
|
|
|
|
| |
https://bugzilla.redhat.com/show_bug.cgi?id=1465724
Use the provided ansible.cfg and hack needed python system libs into SCL
|
|
|
|
| |
sync the parallel change from Dockerfile into Dockerfile.rhel7
|
|
|
|
|
|
|
|
| |
Change it to /usr/share/atomic-openshift-utils/ansible.cfg
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1461281
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
The provided configuration file was not being honored. This change adds
a new variable called ANSIBLE_CONFIG which points to the ansible.cfg
file within the container. By default it is set to the configuration
provided by openshift-ansible within the container at:
/usr/share/ansible/openshift-ansible/ansible.cfg
|
|\
| |
| | |
System Container and Ansible Retries
|
| |
| |
| |
| |
| |
| |
| | |
This change will allow retry files to be stored in $HOME_ROOT.
- SSH_ROOT replaced with HOME_ROOT
- /root[container] -> $HOME_ROOT[host]
|
|/
|
|
|
|
|
|
| |
Use the DNS configuration from the host.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1460978
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
|
|\
| |
| | |
Merged by openshift-bot
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As discussed in #4279 the container image is being renamed to
openshift/origin-ansible (upstream) and openshift3/ose-ansible (downstream) for
the "oc cluster up" use case, and more generally to make it fit the
imageConfig.format configuration option.
This updates references to the image name accordingly.
Also updating references to playbook2image to account for recent moves of the
repo/image.
|
|/ |
|
|
|
|
|
|
|
|
|
| |
Updating some files to account for recent changes:
- Commit fbadeb4 moved the location of the Dockerfiles
- playbook2image is now available from the openshift org
- downstream image is building with boto 2.34
Adjusting image build scripts and documentation to match these changes.
|
|
|