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