Skip to content

Instantly share code, notes, and snippets.

@sshnaidm
Last active April 23, 2020 20:48
Show Gist options
  • Save sshnaidm/9a93d35db6197c91b5a07b9fc8c61507 to your computer and use it in GitHub Desktop.
Save sshnaidm/9a93d35db6197c91b5a07b9fc8c61507 to your computer and use it in GitHub Desktop.
Run tripleo container management playbook
- hosts: localhost
gather_facts: false
become: true
vars:
step: 1
enable_debug: true
tasks:
- name: Deploy HAproxy container
environment:
TRIPLEO_MINOR_UPDATE: '{{ tripleo_minor_update | default(false) }}'
block:
- name: "Manage HAproxy container for step {{ step }} with tripleo-ansible"
include_role:
name: tripleo_container_manage
vars:
tripleo_container_manage_concurrency: 2
tripleo_container_manage_systemd_order: true
tripleo_container_manage_config: "/var/lib/tripleo-config/container-startup-config/step_{{ step }}"
tripleo_container_manage_config_patterns: 'hashed-haproxy.json'
tripleo_container_manage_config_id: "tripleo_step{{ step }}"
tripleo_container_manage_debug: "{{ enable_debug | bool }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment