Skip to content

Commit 606d914

Browse files
committed
Fix linting errors
1 parent 968f1f4 commit 606d914

File tree

9 files changed

+22
-21
lines changed

9 files changed

+22
-21
lines changed

defaults/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
# user
23
react_system_user: "react"
34
react_system_group: "www-data"
@@ -21,7 +22,7 @@ react_local_system_wide_dependencies:
2122
react_node_version: 10.x
2223

2324
# app
24-
react_remote_js_build: True
25+
react_remote_js_build: true
2526
react_local_checkout_path: "/tmp/{{ react_local_user }}/reveal"
2627
react_env_name: "prod"
2728
react_app_name: "{{ react_system_user }}"
@@ -36,4 +37,4 @@ react_max_versioned_folders: 10
3637
react_app_settings:
3738
REACT_APP_WEBSITE_NAME: 'React Example App'
3839
GENERATE_SOURCEMAP: "false"
39-
SKIP_PREFLIGHT_CHECK: "true"
40+
SKIP_PREFLIGHT_CHECK: "true"

handlers/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
---
1+
---

meta/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ galaxy_info:
66
min_ansible_version: 2.6
77
license: MIT
88
platforms:
9-
- name: Ubuntu
10-
versions:
11-
- all
9+
- name: Ubuntu
10+
versions:
11+
- all

molecule/default/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
react_app_settings:
1414
GENERATE_SOURCEMAP: "false"
1515
SKIP_PREFLIGHT_CHECK: "true"
16-
react_remote_js_build: False
16+
react_remote_js_build: false

molecule/default/molecule.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ platforms:
99
privileged: true
1010
command: /sbin/init
1111
provisioner:
12-
log: True
12+
log: true
1313
name: ansible
1414
playbook:
1515
prepare: prepare.yml
1616
options:
17-
verbose: True
17+
verbose: true
1818
verifier:
1919
name: testinfra
2020
scenario:

molecule/default/prepare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
state: present
1111
loop:
1212
- curl
13-
- gpg-agent
13+
- gpg-agent

tasks/configure.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,46 +7,46 @@
77
dest: "{{ react_local_checkout_path }}/.env"
88
mode: 0644
99
delegate_to: localhost
10-
become: True
10+
become: true
1111
become_user: "{{ react_local_user }}"
1212

1313
- name: Install Javascript requirements locally
1414
yarn:
1515
path: "{{ react_local_checkout_path }}"
1616
production: false
1717
delegate_to: localhost
18-
become: True
18+
become: true
1919
become_user: "{{ react_local_user }}"
2020

2121
- name: Compile Javascript locally
2222
command: yarn build
2323
args:
2424
chdir: "{{ react_local_checkout_path }}"
2525
delegate_to: localhost
26-
become: True
26+
become: true
2727
become_user: "{{ react_local_user }}"
2828

2929
- name: Remove node_modules before compression
3030
file:
3131
path: "{{ react_local_checkout_path }}/node_modules"
3232
state: absent
3333
delegate_to: localhost
34-
become: True
34+
become: true
3535
become_user: "{{ react_local_user }}"
3636

3737
- name: Compress Build folder locally
3838
archive:
3939
path: "{{ react_local_checkout_path }}/"
4040
dest: "{{ react_local_checkout_path }}.tgz"
4141
delegate_to: localhost
42-
become: True
42+
become: true
4343
become_user: "{{ react_local_user }}"
4444

4545
- name: UnCompress Build folder to remote host
4646
unarchive:
4747
src: "{{ react_local_checkout_path }}.tgz"
4848
dest: "{{ react_checkout_path }}"
49-
become: True
49+
become: true
5050
become_user: "{{ react_system_user }}"
5151
when: "not react_remote_js_build|bool"
5252

@@ -62,14 +62,14 @@
6262
yarn:
6363
path: "{{ react_checkout_path }}"
6464
production: false
65-
become: True
65+
become: true
6666
become_user: "{{ react_system_user }}"
6767

6868
- name: Compile Javascript
6969
command: yarn build
7070
args:
7171
chdir: "{{ react_checkout_path }}"
72-
become: True
72+
become: true
7373
become_user: "{{ react_system_user }}"
7474

7575
when: "react_remote_js_build|bool"
@@ -79,6 +79,6 @@
7979
src: "{{ react_checkout_path }}"
8080
dest: "{{ react_codebase_path }}"
8181
state: link
82-
force: yes
82+
force: true
8383
owner: "{{ react_system_user }}"
8484
group: "{{ react_system_group }}"

tasks/install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
dest: "{{ react_local_checkout_path }}"
3939
version: "{{ react_git_version }}"
4040
depth: 1
41-
force: yes
41+
force: true
4242
become: true
4343
delegate_to: localhost
4444
become_user: "{{ react_local_user }}"

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
- name: Cleanup
1313
include_tasks: cleanup.yml
1414
tags:
15-
- cleanup
15+
- cleanup

0 commit comments

Comments
 (0)