Skip to content

Commit 7c176c5

Browse files
committed
enable yamllint truthy
1 parent 711f4dd commit 7c176c5

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.yamllint

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,3 @@ rules:
4646
new-lines:
4747
type: unix
4848
trailing-spaces: enable
49-
truthy: disable

molecule/default/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ lint:
99
platforms:
1010
- name: base-git-centos6
1111
image: centos:6
12-
privileged: True
12+
privileged: true
1313
- name: base-git-centos7
1414
image: milcom/centos7-systemd
15-
privileged: True
15+
privileged: true
1616
- name: base-git-ubuntu
1717
image: ubuntu
18-
privileged: True
18+
privileged: true
1919
provisioner:
2020
name: ansible
2121
config_options:

tasks/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@
5454
- base_git
5555

5656
- name: Install Git software collection
57-
become: yes
57+
become: true
5858
when: collections_enabled|bool and ansible_os_family == 'RedHat'
5959
yum:
6060
name: "{{ base_git_rpms }}"
6161
state: present
62-
update_cache: yes
62+
update_cache: true
6363
register: rhgit_install
6464
until: rhgit_install is success
6565
retries: 3
@@ -96,12 +96,12 @@
9696
- git
9797

9898
- name: Install Git from yum repo
99-
become: ye
99+
become: true
100100
when: not collections_enabled|bool or rhgit_install is failed
101101
yum:
102102
name: git
103103
state: present
104-
update_cache: yes
104+
update_cache: true
105105
register: network_access
106106
until: network_access is success
107107
retries: 10
@@ -111,7 +111,7 @@
111111
- base_git
112112

113113
- name: Install Git from apt repo
114-
become: yes
114+
become: true
115115
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
116116
apt:
117117
name: git

0 commit comments

Comments
 (0)