3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 - name: Sync ansible files the other controllers
18 dest: "{{ item.dest }}"
22 when: hostname != installation_controller
24 - { src: "/etc/openstack_deploy", dest: "/etc/" }
25 - { src: "/etc/ansible/ansible.cfg", dest: "/etc/ansible/ansible.cfg" }
26 - { src: "/etc/userconfig/", dest: "/etc/userconfig/" }
30 - name: Sync virtual environment specific files to the other controllers
33 dest: "{{ item.dest }}"
38 - hostname != installation_controller
41 - { src: "/etc/userconfig/id_rsa", dest: "/root/.ssh/"}
45 - name: Set permissions for id_rsa
47 path: "/root/.ssh/id_rsa"
52 - hostname != installation_controller