Skip to content
Snippets Groups Projects
  1. Oct 12, 2017
    • Marcin Juszkiewicz's avatar
      post-deploy: honour --config-dir argument · c207520c
      Marcin Juszkiewicz authored
      kolla-ansible can take globals.yml from any directory by using
      --config-dir argument. So store admin credentials there as well.
      
      Not everyone runs kolla-ansible as a root.
      
      Change-Id: I0709482ead4b7a67e82796e17f85bde151e71bc0
      c207520c
  2. Sep 25, 2017
    • Duong Ha-Quang's avatar
      Specify 'become' to necessary tasks (general roles) · 26b2c2d9
      Duong Ha-Quang authored
      Add config_owner_user and config_owner_group to group_vars/all,
      which is user and group of Kolla configuration files in /etc/kolla.
      
      Add become to post-deploy playbook.
      
      Add become to only neccesary tasks in roles:
      - certificate
      - common
      - destroy
      - haproxy
      - mariadb
      - memcached
      - rabbitmq
      
      Change-Id: I2aba745a6e3928c52642f64551470fd08cbfd058
      Partial-Implements: blueprint ansible-specific-task-become
      26b2c2d9
  3. Mar 09, 2017
    • zhuzeyu's avatar
      Modify the hosts of the post-deploy.yml playbook · 473a5e0c
      zhuzeyu authored
      The admin-openrc.sh should copy to where the python-openstackclient was installed.
      whatever multinode and all-in-one, the place where python-openstackclient was
      installed is localhost, So admin-openrc.sh should copy to localhost.
      The purpose of "connection: local" in ansible playbook is that make sure this script
      can copy to localhost.In all-in-one, Writting as this is ok, it will copy to localhost,
      but in multinode, this will make a bug, add ansible_connection=ssh in inventory file
      the admin-openrc.sh will not copy to the localhost,the "connection:local" in post-deploy.yml
      will be covered by "ansible_connection=ssh" in inventory file, then the script will be copied
      to target node. So we should modify the hosts to localhost to avoid this bug.
      
      Change-Id: I054717cc2b4adc600808282034a10a58c1184a38
      Closes-Bug: #1666808
      473a5e0c
  4. Nov 23, 2015
    • Hui Kang's avatar
      Create openrc file on the deploy node · 46673b81
      Hui Kang authored
      This task is run as a post-deploy playbook
      
      Implements: blueprint ansible-task-generate-openrc
      Change-Id: I69f4ee895094da5c73494a41dccb2e86eb481656
      46673b81
Loading