Commit Graph

12 Commits

Author SHA1 Message Date
Ghanshyam Mann d68e447c4b Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: I29fb152050adab2912b2528f304c97ea4534fda4
2024-02-24 11:40:49 -08:00
Sorin Sbarnea 230373ece3 Disable docker iptables support
Fixes: https://bugs.launchpad.net/tripleo/+bug/1845166/
Change-Id: Ib8a28d84d7363f060170c134ea291e84c3231357
2019-10-03 20:12:48 +01:00
Gabriele Cerami 78da67824a expand login subtasks so it can be used in all rdo jobs
With the upcoming activation of RHEL8 pipeline, we decided with infra it
was better to switch rdo registry to restricted access.
This means that all the job in rdo must login to registry to pull
containers.
All the Centos7 jobs must now call this role to login to the registry,
so we are expanding the login part to satisfy the workflow
RHEL8 job with podman will use a internal role instead.

Change-Id: I6e55bdcf493d04bfc88ae22154124a7888563147
2019-09-05 13:08:00 +05:30
Alex Schultz 9bf5868d02 Add docker login support
We need to be able to perform a login prior to pulling containers from
registries that require authentication.

Change-Id: Ic3b720ba35db8e3f3f866cd31d9171e91b04a86c
Related-Bug: #1833584
2019-06-20 15:33:31 -06:00
Mike Fedosin 88c26d2cda Allow to skip docker reconfiguration
This commit adds an option `container_registry_skip_reconfiguration`,
that, when enabled, disables the reconfiguration if docker has already
been configured once.

Change-Id: I0bcaeea9cd24ab35a81d8c3d6fc3a384c1e4c3c2
Related-Bug: #1804790
2018-12-10 13:05:05 +01:00
Steve Baker eb7010fc45 Don't install kolla
This role should really be focused on creating a working docker and
registry, and installing kolla is not really related to that.

Even in CI, if container modifications are required it is more likely
to happen via modifying existing images with
ansible-role-tripleo-modify-image, which doesn't involve the kolla
package.

Change-Id: I7ba8d89b75f206aa92bdfd907712b1b0b44a4c32
2018-05-15 08:57:08 +12:00
Emilien Macchi 7753bfd408 docker: add support for additional sockets
Add support to configure additional sockets with a new parameter (must
be an array):
container_registry_additional_sockets

Example of value:
container_registry_additional_sockets:
  - /var/lib/openstack/docker.sock
  - /var/run/some-other/docker.sock

Change-Id: I0da7f5f1005532b8ba68c46ed6ca065cc333d0d5
2018-05-07 21:49:45 +00:00
Emilien Macchi 72c590c652 Re-add container_registry_selinux
We don't want to automatically enable selinux options, but instead have
control via container_registry_selinux parameter if whether or not we
want to add selinux flags to docker.
2018-04-18 07:22:38 -07:00
Emilien Macchi d480839da5 Restore old task for docker-daemon.json
This code:
  {% if container_registry_mirrors | length > 0 %}registry-mirrors: [{{ container_registry_mirrors }}]{% endif %}

Needs to include the brackets and I haven't found a way yet to include
them without Ansible failure. In the meantime, let's go back on the old
code.
2018-04-16 17:27:04 -07:00
Sam Doran 933411899c Make improvements to role
- add prefix to role variable names to avoid name collisions
- use ini_file rather than blockinfile for setting mount flags
- use ansible_selinux fact rather than depending on variable in role
- use role variables for setting values to be used in tasks rather than in line conditionals
- use filters for creating JSON file rather than a template
- remove '---' from YAML files since Ansible does not user YAML front matter
- update meta/main.yml
2018-04-16 15:39:56 -04:00
Emilien Macchi 9f4336318a Support for multiple insecure registries
Co-Authored-By: @samdoran
Closes #1
2018-04-16 08:16:20 -07:00
Emilien Macchi 161e6adbc1 first commit 2018-04-13 13:38:32 -07:00