Merge "Switch to generic package module"

This commit is contained in:
Zuul 2019-12-11 11:04:31 +00:00 committed by Gerrit Code Review
commit 074c1c249a
17 changed files with 29 additions and 29 deletions

View File

@ -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 }}"

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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: |

View File

@ -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: >

View File

@ -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

View File

@ -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 }}"

View File

@ -1,6 +1,6 @@
---
- name: Ensure required packages are installed
yum:
package:
name: "{{ dev_tools_packages }}"
state: installed
state: present
become: True

View File

@ -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

View File

@ -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 }}"

View File

@ -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

View File

@ -3,7 +3,7 @@
- name: Ensure required packages are installed
package:
name: parted
state: installed
state: present
become: True
when: ceph_disks | length > 0

View File

@ -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

View File

@ -14,7 +14,7 @@
name:
- parted
- xfsprogs
state: installed
state: present
become: True
when: swift_block_devices | length > 0

View File

@ -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

View File

@ -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)