14 lines
688 B
YAML
14 lines
688 B
YAML
tcib_actions:
|
|
- run: bash /usr/local/bin/uid_gid_manage {{ tcib_user }}
|
|
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
|
|
- copy: /usr/share/tripleo-common/container-images/kolla/ec2-api/extend_start.sh /usr/local/bin/kolla_extend_start
|
|
- run: chmod 755 /usr/local/bin/kolla_extend_start
|
|
- run: sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf && sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
|
|
tcib_gather_files: '{{ lookup(''fileglob'', ''/usr/share/tripleo-common/container-images/kolla/ec2-api/*'', wantlist=True) }}'
|
|
tcib_packages:
|
|
common:
|
|
- httpd
|
|
- mod_ssl
|
|
- openstack-ec2-api
|
|
tcib_user: ec2api
|