Commit Graph

9 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
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
Emilien Macchi 8e490a6932 Add brackets for DockerRegistryMirror for now
DockerRegistryMirror is given as a string in TripleO, so for now, let's
add (missing) brackets and figure out later how we can change tripleo to
change the data type.
2018-04-16 14:03:38 -07:00
Emilien Macchi dbe1af998d Revert "Force container_registry_mirrors as a list"
|list isn't what we want.

This reverts commit e6d5b87da8.
2018-04-16 13:57:58 -07:00
Emilien Macchi e6d5b87da8 Force container_registry_mirrors as a list 2018-04-16 13:50:53 -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 161e6adbc1 first commit 2018-04-13 13:38:32 -07:00