Merge "Switch to generic package module"
This commit is contained in:
commit
074c1c249a
@ -8,9 +8,9 @@
|
|||||||
controller_host: "{{ groups['controllers'][0] }}"
|
controller_host: "{{ groups['controllers'][0] }}"
|
||||||
tasks:
|
tasks:
|
||||||
- name: Ensure ipmitool is installed
|
- name: Ensure ipmitool is installed
|
||||||
yum:
|
package:
|
||||||
name: ipmitool
|
name: ipmitool
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ controller_host }}"
|
delegate_to: "{{ controller_host }}"
|
||||||
|
@ -43,17 +43,17 @@
|
|||||||
# Install Dell server admin tools.
|
# Install Dell server admin tools.
|
||||||
- block:
|
- block:
|
||||||
- name: Ensure wget is installed
|
- name: Ensure wget is installed
|
||||||
yum:
|
package:
|
||||||
name: wget
|
name: wget
|
||||||
state: installed
|
state: present
|
||||||
|
|
||||||
- name: Ensure Dell srvadmin repository is installed
|
- name: Ensure Dell srvadmin repository is installed
|
||||||
shell: "wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash"
|
shell: "wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash"
|
||||||
|
|
||||||
- name: Ensure Dell srvadmin-idrac7 package is installed
|
- name: Ensure Dell srvadmin-idrac7 package is installed
|
||||||
yum:
|
package:
|
||||||
name: srvadmin-idrac7
|
name: srvadmin-idrac7
|
||||||
state: installed
|
state: present
|
||||||
|
|
||||||
# Configure access to the temporary network on a controller.
|
# Configure access to the temporary network on a controller.
|
||||||
- block:
|
- block:
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
- name: Ensure the python-virtualenv package is installed
|
- name: Ensure the python-virtualenv package is installed
|
||||||
package:
|
package:
|
||||||
name: python-virtualenv
|
name: python-virtualenv
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
- name: Ensure global virtualenv directory exists
|
- name: Ensure global virtualenv directory exists
|
||||||
@ -78,7 +78,7 @@
|
|||||||
- name: Ensure the python-setuptools package is installed
|
- name: Ensure the python-setuptools package is installed
|
||||||
package:
|
package:
|
||||||
name: python-setuptools
|
name: python-setuptools
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
- name: Ensure pip is installed
|
- name: Ensure pip is installed
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
- name: Ensure the python-virtualenv package is installed
|
- name: Ensure the python-virtualenv package is installed
|
||||||
package:
|
package:
|
||||||
name: python-virtualenv
|
name: python-virtualenv
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
- name: Ensure kolla-ansible virtualenv has the latest version of pip installed
|
- name: Ensure kolla-ansible virtualenv has the latest version of pip installed
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
--connection local
|
--connection local
|
||||||
--become
|
--become
|
||||||
-m yum
|
-m yum
|
||||||
-a "name=libguestfs-tools state=installed"'
|
-a "name=libguestfs-tools state=present"'
|
||||||
- name: Template cloud-init-repo
|
- name: Template cloud-init-repo
|
||||||
copy:
|
copy:
|
||||||
content: |
|
content: |
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
--connection local
|
--connection local
|
||||||
--become
|
--become
|
||||||
-m yum
|
-m yum
|
||||||
-a "name=libguestfs-tools state=installed"'
|
-a "name=libguestfs-tools state=present"'
|
||||||
|
|
||||||
- name: Ensure the overcloud host image has bogus name server entries removed
|
- name: Ensure the overcloud host image has bogus name server entries removed
|
||||||
command: >
|
command: >
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
- name: Ensure required packages are installed
|
- name: Ensure required packages are installed
|
||||||
package:
|
package:
|
||||||
name: "{{ bootstrap_package_dependencies }}"
|
name: "{{ bootstrap_package_dependencies }}"
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
- name: Check whether an SSH key exists
|
- name: Check whether an SSH key exists
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
local_action:
|
local_action:
|
||||||
module: package
|
module: package
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: installed
|
state: present
|
||||||
use: "{{ console_allocation_package_manager }}"
|
use: "{{ console_allocation_package_manager }}"
|
||||||
become: True
|
become: True
|
||||||
with_items: "{{ console_allocation_package_dependencies }}"
|
with_items: "{{ console_allocation_package_dependencies }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Ensure required packages are installed
|
- name: Ensure required packages are installed
|
||||||
yum:
|
package:
|
||||||
name: "{{ dev_tools_packages }}"
|
name: "{{ dev_tools_packages }}"
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
- name: Ensure required packages are installed
|
- name: Ensure required packages are installed
|
||||||
yum:
|
package:
|
||||||
name:
|
name:
|
||||||
- libselinux-python
|
- libselinux-python
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
- name: Ensure SELinux is disabled
|
- name: Ensure SELinux is disabled
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
local_action:
|
local_action:
|
||||||
module: package
|
module: package
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: installed
|
state: present
|
||||||
use: "{{ ip_allocation_package_manager }}"
|
use: "{{ ip_allocation_package_manager }}"
|
||||||
become: True
|
become: True
|
||||||
with_items: "{{ ip_allocation_package_dependencies }}"
|
with_items: "{{ ip_allocation_package_dependencies }}"
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
include_vars: "{{ ansible_os_family }}.yml"
|
include_vars: "{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
- name: Ensure EPEL repo is installed
|
- name: Ensure EPEL repo is installed
|
||||||
yum:
|
package:
|
||||||
name: epel-release
|
name: epel-release
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'RedHat'
|
- ansible_os_family == 'RedHat'
|
||||||
@ -14,7 +14,7 @@
|
|||||||
- name: Ensure required packages are installed
|
- name: Ensure required packages are installed
|
||||||
package:
|
package:
|
||||||
name: "{{ kolla_ansible_package_dependencies }}"
|
name: "{{ kolla_ansible_package_dependencies }}"
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
- name: Ensure source code checkout parent directory exists
|
- name: Ensure source code checkout parent directory exists
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
- name: Ensure required packages are installed
|
- name: Ensure required packages are installed
|
||||||
package:
|
package:
|
||||||
name: parted
|
name: parted
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
when: ceph_disks | length > 0
|
when: ceph_disks | length > 0
|
||||||
|
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
---
|
---
|
||||||
- name: Ensure EPEL repo is installed
|
- name: Ensure EPEL repo is installed
|
||||||
yum:
|
package:
|
||||||
name: epel-release
|
name: epel-release
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'RedHat'
|
- ansible_os_family == 'RedHat'
|
||||||
- kolla_install_epel | bool
|
- kolla_install_epel | bool
|
||||||
|
|
||||||
- name: Ensure required packages are installed
|
- name: Ensure required packages are installed
|
||||||
yum:
|
package:
|
||||||
name:
|
name:
|
||||||
- gcc
|
- gcc
|
||||||
- libffi-devel
|
- libffi-devel
|
||||||
@ -17,7 +17,7 @@
|
|||||||
- python-devel
|
- python-devel
|
||||||
- python-pip
|
- python-pip
|
||||||
- python-virtualenv
|
- python-virtualenv
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
- name: Ensure source code checkout path exists
|
- name: Ensure source code checkout path exists
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
name:
|
name:
|
||||||
- parted
|
- parted
|
||||||
- xfsprogs
|
- xfsprogs
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
when: swift_block_devices | length > 0
|
when: swift_block_devices | length > 0
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# any LVM or file system state from them.
|
# any LVM or file system state from them.
|
||||||
|
|
||||||
- name: Ensure LVM2 is installed
|
- name: Ensure LVM2 is installed
|
||||||
yum:
|
package:
|
||||||
name: lvm2
|
name: lvm2
|
||||||
state: present
|
state: present
|
||||||
become: True
|
become: True
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
- name: Yum | Install epel-release (CentOS)
|
- name: Yum | Install epel-release (CentOS)
|
||||||
yum:
|
yum:
|
||||||
name: epel-release
|
name: epel-release
|
||||||
state: installed
|
state: present
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
- name: Template | Copy EPEL repo templates (CentOS)
|
- name: Template | Copy EPEL repo templates (CentOS)
|
||||||
|
Loading…
Reference in New Issue
Block a user