Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/devstack_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
- name: Apply role devstack_common
hosts: all
roles:
- ensure-pip
- devstack_common
- { role: validate-host, when:"validate_hosts | default(false) | bool" }
- { role: multi-node-known-hosts, tags: multinode}
- { role: multi-node-bridge, tags: multinode}
- ensure-pip
- configure-swap
4 changes: 4 additions & 0 deletions ansible/roles/devstack_common/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ redhat_pkg_install:
- acl
- wget
- nano
- vim
- bash-completion
pip_pkg_install:
- git-review
debian_pkg_remove:
- cloud-init
- python3-pyyaml
Expand Down
5 changes: 5 additions & 0 deletions ansible/roles/devstack_common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@
state: present
update_cache: yes

- name: Install pip packages
pip:
name: "{{ (pip_pkg_install | join(' ')).split() }}"
become: yes

- name: disable firewall
become: yes
when: disable_firewall | bool
Expand Down