some changes for non aio installs
This commit is contained in:
parent
a9280b58f5
commit
24fa5fa2cd
@ -86,7 +86,7 @@
|
|||||||
mode: 0744
|
mode: 0744
|
||||||
owner: 'root'
|
owner: 'root'
|
||||||
group: 'root'
|
group: 'root'
|
||||||
when: not aio_install
|
when: aio_install is undefined or not aio_install
|
||||||
tags:
|
tags:
|
||||||
- interfaces
|
- interfaces
|
||||||
|
|
||||||
@ -95,7 +95,7 @@
|
|||||||
args:
|
args:
|
||||||
chdir: /etc/sysconfig/network-scripts/
|
chdir: /etc/sysconfig/network-scripts/
|
||||||
creates: /etc/sysconfig/network-scripts/ifcfg-br-mgmt
|
creates: /etc/sysconfig/network-scripts/ifcfg-br-mgmt
|
||||||
when: not aio_install
|
when: aio_install is undefined or not aio_install
|
||||||
tags:
|
tags:
|
||||||
- interfaces
|
- interfaces
|
||||||
|
|
||||||
@ -151,7 +151,7 @@
|
|||||||
|
|
||||||
|
|
||||||
- name: Install packages on non-infra hosts
|
- name: Install packages on non-infra hosts
|
||||||
when: tag.find("infra") == -1 or aio_install
|
when: tag.find("infra") != -1 or aio_install
|
||||||
ansible.builtin.dnf:
|
ansible.builtin.dnf:
|
||||||
name:
|
name:
|
||||||
- iputils
|
- iputils
|
||||||
|
@ -47,13 +47,12 @@
|
|||||||
# - bootstrap
|
# - bootstrap
|
||||||
|
|
||||||
- name: Deploy and setup configuration
|
- name: Deploy and setup configuration
|
||||||
when: not aio_install | default('true') # bootstrap-AIO script instead does these things.
|
|
||||||
block:
|
block:
|
||||||
- name: Copy template to etc
|
- name: Copy template to etc
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
src: /opt/openstack-ansible/etc/openstack_deploy/
|
src: /opt/openstack-ansible/etc/openstack_deploy/
|
||||||
dest: /etc/openstack_deploy/
|
dest: /etc/openstack_deploy
|
||||||
directory_mode: yes
|
directory_mode: yes
|
||||||
force: no
|
force: no
|
||||||
|
|
||||||
@ -73,7 +72,8 @@
|
|||||||
args:
|
args:
|
||||||
creates: /etc/openstack_deploy/user_secrets.yml.tar
|
creates: /etc/openstack_deploy/user_secrets.yml.tar
|
||||||
|
|
||||||
- import_tasks: tasks/python3-lxc.yml
|
#- import_tasks: tasks/python3-lxc.yml
|
||||||
|
# tags: python3-lxc
|
||||||
|
|
||||||
- name: "[AIO] Deploy and setup configuration / bootstrap"
|
- name: "[AIO] Deploy and setup configuration / bootstrap"
|
||||||
when: aio_install | default('false')
|
when: aio_install | default('false')
|
||||||
@ -118,7 +118,7 @@
|
|||||||
mode: '0644'
|
mode: '0644'
|
||||||
with_items:
|
with_items:
|
||||||
- lxc_install_dnf
|
- lxc_install_dnf
|
||||||
tags: config
|
tags: config,patch
|
||||||
|
|
||||||
- name: manually patch os_nova role to kill powervmtools and futures== requiresments
|
- name: manually patch os_nova role to kill powervmtools and futures== requiresments
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
@ -127,7 +127,7 @@
|
|||||||
mode: '0644'
|
mode: '0644'
|
||||||
with_items:
|
with_items:
|
||||||
- os_nova.patch
|
- os_nova.patch
|
||||||
tags: config
|
tags: config,patch
|
||||||
|
|
||||||
- name: patch the thing
|
- name: patch the thing
|
||||||
args:
|
args:
|
||||||
|
Loading…
Reference in New Issue
Block a user