Skip to content

Commit

Permalink
style: prettier YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
markosamuli committed Feb 8, 2020
1 parent a3b7912 commit 70be7b1
Show file tree
Hide file tree
Showing 19 changed files with 7 additions and 27 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

name: Code Quality

# This workflow is triggered on pushes to the repository.
Expand All @@ -8,7 +7,7 @@ on:
branches:
- master
- develop
- 'feature/**'
- "feature/**"
tags:
- v2.*

Expand All @@ -20,11 +19,11 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: "12.x"
- uses: actions/setup-python@v1
with:
python-version: '3.x'
architecture: 'x64'
python-version: "3.x"
architecture: "x64"
- name: Install dependencies
run: |
pip install virtualenv==16.3.0
Expand Down
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# Travis CI configuration
# https://docs.travis-ci.com/
---

# Run tests against pull requests and main branches only
if: |
type = pull_request OR \
Expand Down Expand Up @@ -115,7 +114,6 @@ stages:

jobs:
include:

# Run validation stage in Linux with latest Ansible only
- stage: validate
name: Validate with pre-commit
Expand Down
4 changes: 2 additions & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ galaxy_info:
- eoan
- name: MacOSX
versions:
- '10.13'
- '10.14'
- "10.13"
- "10.14"
galaxy_tags:
- osx
- macos
Expand Down
1 change: 0 additions & 1 deletion tasks/Darwin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

- name: Install pyenv build requirements with Homebrew
homebrew:
name: "{{ pyenv_build_requirements }}"
Expand Down
1 change: 0 additions & 1 deletion tasks/Linux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

- name: Install pyenv build requirements
become: true
package:
Expand Down
2 changes: 0 additions & 2 deletions tasks/detect_existing_install.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

- name: Check if ~/.pyenv directory already exists
stat:
path: "{{ pyenv_root }}"
Expand All @@ -8,7 +7,6 @@
- name: Existing ~/.pyenv install found
when: pyenv_root_st.stat.exists
block:

- name: Check if ~/.pyenv directory is a Git repository
stat:
path: "{{ pyenv_root }}/.git"
Expand Down
1 change: 0 additions & 1 deletion tasks/install_with_git.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

- name: Clone pyenv
git:
repo: https://github.com/pyenv/pyenv.git
Expand Down
1 change: 0 additions & 1 deletion tasks/install_with_homebrew.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

- name: Install pyenv with Homebrew
homebrew:
name: pyenv
Expand Down
3 changes: 1 addition & 2 deletions tasks/python_versions.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

- name: Install Python interpreters
shell: >-
. {{ pyenv_root }}/.pyenvrc &&
Expand All @@ -22,7 +21,7 @@
- name: Set pyenv_global_active fact
set_fact:
pyenv_global_active: "{{ pyenv_global_version.stdout_lines |
join(' ') | trim() }}"
join(' ') | trim() }}"

- name: Check if 'system' version is available
shell: >-
Expand Down
1 change: 0 additions & 1 deletion tasks/remove_homebrew.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

- name: Remove pyenv installed with Homebrew
homebrew:
name: pyenv
Expand Down
1 change: 0 additions & 1 deletion tasks/setup.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

- name: Make sure .pyenv directory exists
file:
path: "{{ pyenv_root }}"
Expand Down
1 change: 0 additions & 1 deletion tasks/shell.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

- name: Set path to .bashrc
set_fact:
pyenv_bashrc_path: "{{ pyenv_home }}/.bashrc"
Expand Down
1 change: 0 additions & 1 deletion tests/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

- hosts: localhost
remote_user: root
roles:
Expand Down
1 change: 0 additions & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
---

pyenv_install_environment: {}
1 change: 0 additions & 1 deletion vars/os/Darwin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

pyenv_build_requirements:
- openssl
- readline
Expand Down
1 change: 0 additions & 1 deletion vars/os/Debian.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

# https://github.com/pyenv/pyenv/wiki/common-build-problems
pyenv_build_requirements:
- make
Expand Down
1 change: 0 additions & 1 deletion vars/os/Pengwin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

# https://github.com/pyenv/pyenv/wiki/common-build-problems
pyenv_build_requirements:
- make
Expand Down
1 change: 0 additions & 1 deletion vars/os/Ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

# https://github.com/pyenv/pyenv/wiki/common-build-problems
pyenv_build_requirements:
- git
Expand Down
1 change: 0 additions & 1 deletion vars/os/default.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
---

pyenv_build_requirements: []

0 comments on commit 70be7b1

Please sign in to comment.