Browse Source

Clean up punctuation

Change-Id: I4da7e94b049e2a455aaee1b1ed37d9304e8157f6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
changes/45/624245/1
Paul Belanger 3 years ago
parent
commit
b973f2aa1d
  1. 6
      tasks/install.yaml
  2. 4
      tasks/install/git.yaml
  3. 2
      tasks/install/pip.yaml
  4. 2
      tasks/main.yaml

6
tasks/install.yaml

@ -12,19 +12,19 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Define openstacksdk_build_depends.
- name: Define openstacksdk_build_depends
set_fact:
openstacksdk_build_depends: "{{ __openstacksdk_build_depends | list }}"
when: openstacksdk_build_depends is not defined
- name: Ensure build dependencies are present.
- name: Ensure build dependencies are present
become: yes
package:
name: "{{ openstacksdk_build_depends }}"
state: present
when: openstacksdk_install_method == 'git' or openstacksdk_install_method == 'pip'
- name: Define openstacksdk_pip_executable if needed.
- name: Define openstacksdk_pip_executable if needed
set_fact:
openstacksdk_pip_executable: pip3
when:

4
tasks/install/git.yaml

@ -12,14 +12,14 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Git clone openstacksdk.
- name: Git clone openstacksdk
git:
dest: "{{ openstacksdk_git_dest }}"
repo: "{{ openstacksdk_git_uri }}"
update: "{{ openstacksdk_git_update|default(omit) }}"
version: "{{ openstacksdk_git_version }}"
- name: Set openstacksdk_pip_name to local git repo.
- name: Set openstacksdk_pip_name to local git repo
set_fact:
openstacksdk_pip_name: "file://{{ openstacksdk_git_dest }}"

2
tasks/install/pip.yaml

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Install openstacksdk using pip.
- name: Install openstacksdk using pip
become: yes
pip:
executable: "{{ openstacksdk_pip_executable|default(omit) }}"

2
tasks/main.yaml

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Include OS-specific variables.
- name: Include OS-specific variables
include_vars: "{{ ansible_os_family }}.yaml"
- include: "{{ openstacksdk_task }}.yaml"

Loading…
Cancel
Save