Clean up punctuation

Change-Id: I4da7e94b049e2a455aaee1b1ed37d9304e8157f6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-12-10 18:32:58 -05:00
parent 28286f7f63
commit b973f2aa1d
4 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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